[go: up one dir, main page]

CN102196008A - Peer-to-peer download method, video device and content delivery method - Google Patents

Peer-to-peer download method, video device and content delivery method Download PDF

Info

Publication number
CN102196008A
CN102196008A CN2010101288041A CN201010128804A CN102196008A CN 102196008 A CN102196008 A CN 102196008A CN 2010101288041 A CN2010101288041 A CN 2010101288041A CN 201010128804 A CN201010128804 A CN 201010128804A CN 102196008 A CN102196008 A CN 102196008A
Authority
CN
China
Prior art keywords
content
fragment
download
file
segment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010101288041A
Other languages
Chinese (zh)
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to CN2010101288041A priority Critical patent/CN102196008A/en
Publication of CN102196008A publication Critical patent/CN102196008A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a downloading method, and relates to the related technical fields of Internet technology, P2P transmission technology, content division and the like. When a user downloads a data file or multimedia program content from the internet, a content provider or a content sharer defines different segments in the same file as different attributes according to different attributes of specific content of the program, classifies the segments, and provides classified information for sharing to other users. When the user downloads the content from the internet, the downloading user can preferentially select the segment list according with the attribute requirement of the user according to the known classification information, preferentially download and use the segments, expand the downloading of the segment classification information according with the requirement of the user, and provide the segment-level right control and management strategy.

Description

点对点下载方法、视频设备和内容发送方法Peer-to-peer download method, video device and content delivery method

技术领域technical field

本发明涉及互联网应用,数字广播,网络传输,P2P下载技术,音视频技术等领域。主要应用了P2P网络传输技术,多媒体压缩与传输技术等。The invention relates to the fields of Internet application, digital broadcasting, network transmission, P2P downloading technology, audio and video technology and the like. It mainly uses P2P network transmission technology, multimedia compression and transmission technology, etc.

背景技术Background technique

随着互联网的普及,互联网用户可以分享互联网上丰富的数据以及多媒体资源。互联网上一种常用的数据共享方式是,内容提供者将内容放置在服务器上,用户从客户端连接到内容所在服务器,从服务器端下载位于该服务器上的共享文件。由于越来越多的多媒体内容在互联网上的共享,大数据量的传输造成了大量的网络传输资源占用,不仅影响到其他用户享用互联网传输的流畅性,同时对下载者本地资源和服务器资源都有很大的消耗。比如:大量的音视频资源占用了大量的服务器和客户端的存储空间,而且下载整个内容文件需要花费很长时间。网络共享内容良莠不齐,很多时候由于预先对文件内容的不了解,下载的文件可能是错误或者不能满足要求的。有时下载过程中由于服务器的中断导致下载不能完成影响用户的使用。因此针对大数据量的文件共享需求一种点对点(P2P:Peer to Peer)的下载技术提供了一对多的下载方式,以解决服务器的负荷,并优化传输资源的合理利用。With the popularity of the Internet, Internet users can share rich data and multimedia resources on the Internet. A commonly used method of data sharing on the Internet is that the content provider places the content on the server, the user connects to the server where the content resides from the client, and downloads the shared file located on the server from the server. Due to the sharing of more and more multimedia content on the Internet, the transmission of large amounts of data has caused a large amount of network transmission resources to be occupied, which not only affects the smoothness of Internet transmission for other users, but also affects the downloader's local resources and server resources. There is a lot of consumption. For example: a large amount of audio and video resources occupy a large amount of server and client storage space, and it takes a long time to download the entire content file. The content of network sharing varies from good to bad. In many cases, due to the lack of understanding of the file content in advance, the downloaded file may be wrong or fail to meet the requirements. Sometimes the download cannot be completed due to the interruption of the server during the download process, which affects the user's use. Therefore, a peer-to-peer (P2P: Peer to Peer) download technology provides a one-to-many download method to solve the load on the server and optimize the rational use of transmission resources for the file sharing of large amounts of data.

P2P的下载原理是:内容提供者将内容按照一定的规则进行片段划分处理,将内容分割成大小一定的多个片段,然后将片段的划分规则和片段的大小信息生成一个索引文件,通过该索引文件,下载客户端就可以以片段为单位进行下载,并将这些片段按照索引文件信息进行重新组合,生成与原始文件一致的文件。以BT(BitTorrent)为例,其索引文件就是BT的种子文件,该种子文件大小相对于需要下载的目标文件来说占用空间非常小,用户可以很方便通过传统方式从互联网上下载得到。BT种子文件中除了包含片段划分规则信息外,还包含跟踪服务器(Tracker服务器)地址信息等。内容提供者将种子文件上传至互联网上供其他用户下载。当普通用户从网上下载了种子文件后,根据种子文件内容访问Tracker服务器,然后Tracker服务器提供拥有该种子文件所对应的目标文件的客户端列表。下载客户端根据该列表访问各个拥有该内容的客户端,并向他们请求下载目标文件中的某一个片段内容,最后当所有的片段都下载完毕后,下载客户端根据种子文件将这些片段组装成与原始下载目标文件一致的文件,完成整个目标文件的下载过程。The principle of P2P downloading is: the content provider divides the content into fragments according to certain rules, divides the content into multiple fragments of a certain size, and then generates an index file based on the division rules of the fragments and the size information of the fragments. file, the download client can download the fragments in units, and reassemble these fragments according to the index file information to generate a file consistent with the original file. Taking BT (BitTorrent) as an example, its index file is the seed file of BT. The size of the seed file is very small compared to the target file to be downloaded, and users can easily download it from the Internet through traditional methods. In addition to segment division rule information, the BT seed file also includes tracking server (Tracker server) address information and the like. Content providers upload torrent files to the Internet for other users to download. After an ordinary user downloads a torrent file from the Internet, he accesses the Tracker server according to the content of the torrent file, and then the Tracker server provides a list of clients having the target file corresponding to the torrent file. The download client visits each client that owns the content according to the list, and requests them to download a segment in the target file. Finally, when all the segments are downloaded, the download client assembles these segments into The file that is consistent with the original download target file completes the download process of the entire target file.

P2P下载中,下载客户端可以同时和多个内容拥有客户端之间进行连接,实现一对多的下载,并根据网络传输优化算法,优先从与下载请求者之间传输速度比较快的客户端那里进行数据请求,实现最大效率的网络利用和最短的下载时间。P2P下载由于采用一对多的方式,下载速度快,可靠性高,现在已经成为互联网上主要的下载方式之一。In P2P downloading, the download client can connect with multiple content-owning clients at the same time to realize one-to-many download, and according to the network transmission optimization algorithm, the client with the fastest transmission speed between the download requester and the download requester will be given priority Data requests are made there for maximum efficiency in network utilization and shortest download times. Due to the one-to-many mode of P2P downloading, the download speed is fast and the reliability is high, and now it has become one of the main download methods on the Internet.

但是在P2P下载中,要求下载请求者必须下载完整个文件后才能够正常使用该文件。而实际情况中经常出现由于部分片段的拥有者数量非常少或者处于离线状态,导致整个文件中部分片段无法成功下载而影像到整个文件无法使用。同时,由于P2P下载中需要完整下载一个文件,因此下载量是固定的,每个用户为此付出的网络流量也是固定的,导致用户即便是只需要其中的部分内容,也要付出整个文件的网络费用及下载等待时间。However, in P2P downloading, it is required that the download requester must download the entire file before he can use the file normally. However, in actual situations, it often happens that some fragments in the entire file cannot be successfully downloaded and the entire file cannot be used because the number of owners of some fragments is very small or they are offline. At the same time, since a complete file needs to be downloaded in P2P downloading, the amount of download is fixed, and the network traffic that each user pays for this is also fixed. As a result, users have to pay for the network traffic of the entire file even if they only need part of the content. Fees and download waiting times.

同时,随着版权意识的深入,网络上共享的文件的权利定义越来越细致,内容提供者希望通过详细的版权保护定义,更加细致地规定使用者的权利范围。具体来说,对于一个影片文件,虽然其整部影片由于商业原因限制了其不能完全免费公开给所有用户,但是其中的一些部分,如片花、内容预告以及广告片段等,内容提供者希望无偿提供给所有用户,以吸引更多的人认识该影片的内容并进行合理的商业下载。当前的解决办法是将这部分内容独立抽取出来作为一个额外的文件,伴随着影片或者独立于影片文件进行发布,免费用户可以下载这部分花或者预告片等内容,而不能下载或播放完整的影片。这无形中增加了下载文件的数量以及下载传输数据量。同样,对于影片内部的不同内容,可能适合不同的用户收看,比如有些内容涉及恐怖、暴力等内容并不适合未成年人收看,此时如果对电影根据内容进行不同的分级,按照不同的文件进行发行,必然造成管理的复杂化和更大的下载流量,不方便节目的制作和用户的下载。At the same time, with the deepening of copyright awareness, the definition of the rights of files shared on the Internet is becoming more and more detailed. Content providers hope to define the scope of users' rights in more detail through detailed definitions of copyright protection. Specifically, for a movie file, although the entire movie cannot be released to all users for free due to commercial reasons, some parts of it, such as clips, content previews, and advertisement clips, etc., the content provider hopes to provide free of charge. To all users, in order to attract more people to know the content of the film and make reasonable commercial downloads. The current solution is to extract this part of the content independently as an additional file, and release it along with the movie or independently of the movie file. Free users can download this part of the flower or trailer, but cannot download or play the complete movie. . This virtually increases the number of downloaded files and the amount of data downloaded and transferred. Similarly, different content in the movie may be suitable for different users to watch. For example, some content involving horror and violence is not suitable for minors to watch. Distribution will inevitably lead to complicated management and greater download traffic, which is inconvenient for program production and user download.

总之,当前的P2P下载中优先考虑下载速度以优化网络传输性能,并没有充分考虑下载请求者对内容的需要程度以及下载请求者的网络使用状况,所有的用户都是需要对目标文件进行完整下载。同时对于如何使用所下载的目标文件,也不能提供任何的个性化建议。当前P2P下载方式是以速度优先,而没有充分考虑每个片段对使用者的需求程度。In short, in the current P2P downloading, the download speed is prioritized to optimize the network transmission performance, and it does not fully consider the download requester's demand for content and the download requester's network usage status. All users need to complete the download of the target file. . At the same time, it cannot provide any personalized advice on how to use the downloaded target file. The current P2P download method is to give priority to speed, but does not fully consider the degree of demand of each segment on the user.

为了弥补当前P2P下载的一些局限性,很多新的实现方法对其进行了扩充,以支持特殊的应用。如对实时收看的流媒体情况,需要对片段的优先顺序按照在流媒体中出现的先后顺序进行调度,使需求更为急迫的片段优先拥有下载权利即使其下载速度较慢,而急迫性较低的片段虽然拥有更高的下载速度也被设置为较低的下载优先权。这类解决方法如公知例:基于P2P协议的媒体文件播放控制方法及装置[CN101227590A]。In order to make up for some limitations of the current P2P download, many new implementation methods have expanded it to support special applications. For example, in the case of streaming media watched in real time, it is necessary to schedule the priority of the clips according to the order in which they appear in the streaming media, so that the clips with more urgent needs have the priority to download even if the download speed is slow and the urgency is low. Fragments that have a higher download speed are also set to a lower download priority. This type of solution is a known example: P2P protocol-based media file playback control method and device [CN101227590A].

该公知例公开了一种面向媒体文件点播的P2P下载控制方法和装置,其核心在于,对流式媒体文件点播,优先地下载文件控制信息所在的控制信息部分分片,对非流式媒体文件点播,优先地下载文件控制信息所在的控制信息分片以及索引信息所在的索引信息分片,从而实现媒体文件在P2P协议下的边下载边播放。其关键点是根据流媒体当前的播放位置,优先下载距离当前播放位置最近的片段,即根据当前播放位置的时间距离决定片段的优先下载顺序。This known example discloses a P2P download control method and device for on-demand media files. , preferentially downloading the control information segment where the file control information is located and the index information segment where the index information is located, so as to implement downloading and playing of the media file under the P2P protocol. The key point is that according to the current playback position of the streaming media, the segment closest to the current playback position is preferentially downloaded, that is, the priority download order of the segments is determined according to the time distance of the current playback position.

另外,作为另一公知例[日本特开2001-344242],公开了先从服务器接收内容的一部分进行再现后根据需要接收全部内容的视频设备。例如,在该专利文献中,记载了一种便携终端装置,从服务器接收了电影的预告片之后,如果用户表示想观看完整的影片,则开始接收独立于上述预告片的完整影片。In addition, as another known example [Japanese Patent Application Laid-Open No. 2001-344242], a video device is disclosed that receives a part of content from a server and reproduces it, and then receives the entire content as necessary. For example, in this patent document, a portable terminal device is described. After receiving a trailer of a movie from a server, if the user indicates that he wants to watch the full movie, he starts to receive the full movie independent of the trailer.

发明内容:Invention content:

公知例[CN101227590A]中提供了一种针对音视频点播的媒体文件应用,按照其应用的特点对P2P下载中片段下载的优先顺序进行动态调整和下载优化,解决了普通P2P不能满足实际点播业务需求的一些不足,有效的确保了点播业务中媒体文件的实时性和播放的流畅性。但是该公知例不能面向不同用户提供个性化的下载和收看方式。The known example [CN101227590A] provides a media file application for audio and video on demand, according to the characteristics of its application, the priority order of segment downloads in P2P downloads is dynamically adjusted and downloaded, which solves the problem that ordinary P2P cannot meet the actual demand for on-demand services Some deficiencies have effectively ensured the real-time performance and fluency of playing media files in the on-demand service. However, this known example cannot provide personalized downloading and viewing methods for different users.

在某些流媒体应用场合,比如下载客户端的速度有限制,即使是优化后的片段下载顺序或者连续下载都不能保证流媒体正常播放的需求,此时的实时播放就会出现内容欠载而导致视频的暂停。同时对非流媒体文件,同样需要下载完全部的文件片段后,下载用户才可以将所有片段根据种子文件的顺序进行重新组合,形成一个完整的文件后,才能开始使用此文件。而在所有的片段下载完毕之前,该文件仍然不能使用,或者使用有一定的问题。而针对音视频媒体文件的特性,用户更加关注的内容往往是其中的部分内容。比如,很多情况下,针对一个影片,用户可能更加希望观看其中的精彩部分,或者希望优先下载其精彩片段用于收看,缩短全部内容下载所需要的等待时间,然后在空闲的时间根据需要再选择其他部分进行收看。或者希望下载其中的内容预告部分来大致了解此影片的故事梗概,或者确认影片内容以及画面质量等等。这些对下载目标文件的部分内容感兴趣的需求是实际存在的,而现在的P2P技术并不能给出很好的解决办法。因此本发明提出了一种P2P的下载方法,支持部分片段的下载并使用,同时也支持用户在收看后对影片精华部分进行自定义,用于反复收看或推荐其他人收看等等。并为不同的用户提供不同的下载播放等级,有利于进行家长控制或版权保护等。In some streaming media applications, such as the download speed of the client is limited, even the optimized download sequence or continuous download cannot guarantee the normal playback of the streaming media. Pause of the video. At the same time, for non-streaming media files, it is also necessary to download all the file fragments, and the downloading user can reassemble all the fragments according to the order of the seed file to form a complete file before starting to use the file. And before all the fragments are downloaded, the file still cannot be used, or there are certain problems in use. In view of the characteristics of audio and video media files, the content that users pay more attention to is often part of the content. For example, in many cases, for a movie, the user may prefer to watch the highlights, or hope to download the highlights for viewing first, shorten the waiting time for downloading all content, and then choose according to the needs in free time. Watch other parts. Or you want to download the preview part of the content to get a general idea of the storyline of the film, or to confirm the content and picture quality of the film, etc. These requirements of being interested in downloading part of the target file actually exist, but the current P2P technology cannot provide a good solution. Therefore, the present invention proposes a P2P downloading method, which supports the download and use of some clips, and also supports the user to customize the essence of the movie after watching it, so as to watch it repeatedly or recommend others to watch it. It also provides different downloading and playing levels for different users, which is conducive to parental control or copyright protection.

因此,本发明的一个目的在于,提供一种P2P下载方法,使得下载用户可以根据自己的具体需求,有选择的下载并播放所需要的内容。Therefore, an object of the present invention is to provide a P2P downloading method, so that downloading users can selectively download and play required content according to their specific needs.

另外,公知例[日本特开2001-344242]公开的视频设备,在接收完整的影片之前,先了解此影片的故事梗概,再判断是否接收完整的影片,因此不必先接收完整的影片。但是,该视频设备存在以下课题:在接收了预告片等部分内容进行再现之后,如果再重新接收完整的影片,由于部分影片内容既属于预告片中的部分,也属于完整影片的部分,再次下载这部分重叠的内容,则会浪费通信资源和通信时间。因此,本发明的另一目的在于,提供能够节约接收影片等内容时的通信资源和通信时间的视频设备和内容发送方法。In addition, the video equipment disclosed in the known example [Japanese Patent Application Laid-Open No. 2001-344242], before receiving a complete movie, first understands the story outline of the movie, and then judges whether to receive the complete movie, so it is not necessary to receive the complete movie first. However, this video device has the following problem: After receiving and reproducing partial content such as a trailer, if the complete movie is received again, since the part of the movie content belongs to both the part of the trailer and the part of the complete movie, it is difficult to download it again. This partially overlapping content will waste communication resources and communication time. Therefore, another object of the present invention is to provide a video device and a content transmission method capable of saving communication resources and communication time when receiving content such as movies.

本发明提供的一种P2P下载方法,其特征在于:基于对内容进行个性化划分的个性化内容定义,对被划分为多个片段的目标文件进行个性化下载,所述方法包括以下步骤:A)下载客户端向内容提供者发出下载请求,下载目标文件中属于指定的个性化级别的片段;B)下载客户端对所下载的片段进行组合,组成符合所述个性化级别的要求的个性化内容A kind of P2P downloading method provided by the present invention is characterized in that: based on the personalized content definition that carries out personalized division to content, carry out personalized download to the target file that is divided into a plurality of fragments, described method comprises the following steps: A ) The download client sends a download request to the content provider, and downloads the fragments belonging to the specified personalization level in the target file; B) The download client combines the downloaded fragments to form a personalization that meets the requirements of the personalization level content

本发明提供的一种视频设备,其特征在于:基于对内容进行个性化划分的个性化内容定义,对被划分为多个片段的目标文件进行个性化下载和播放,包括:下载装置,向内容提供者发出下载请求,下载目标文件中属于指定的个性化级别的片段;组合装置,对所下载的片段进行组合,组成符合所述个性化级别的要求的个性化内容;和播放装置,对所述组合装置所组合的个性化内容进行播放。A kind of video equipment provided by the present invention is characterized in that: based on the personalized content definition for personalized division of content, the target file divided into multiple segments is downloaded and played personalizedly, including: a downloading device, The provider sends a download request to download segments belonging to the specified personalization level in the target file; the combination device combines the downloaded segments to form personalized content that meets the requirements of the personalization level; The personalized content combined by the combination device is played.

本发明提供的另一种视频设备,经由网络接收目标文件的内容的一部分进行再现后,接收另一部分进行再现,其特征在于:所述目标文件的内容的一部分是所述目标文件的内容所包含的内容片段中的多个内容片段,所述另一部分是除所述目标文件的内容的一部分以外的所述目标文件的一部分或全部的内容片段。Another video device provided by the present invention, after receiving a part of the content of the target file via the network for reproduction, receives another part for reproduction, and is characterized in that: a part of the content of the target file is contained in the content of the target file A plurality of content fragments in the content fragments of the target file, the other part is a part or all of the content fragments of the target file except a part of the content of the target file.

本发明提供的另一种视频设备,经由网络接收目标文件的内容的一部分进行再现后,接收另一部分进行再现,其特征在于:所述内容包括多个内容片段,在该内容片段的头部附加有片段头数据,所述片段头数据包括表示所述内容片段的属性的属性信息,在所述视频设备所接收的所述片段头数据包含规定的所述属性信息的情况下,接收附加有所述片段头数据的内容片段,将这些所接收的内容片段再现后,接收所述片段头数据不包含所述规定的属性信息的内容片段,对包含所述规定的属性信息的内容片段和不包含所述规定的属性信息的内容片段进行再现。Another video device provided by the present invention, after receiving a part of the content of the target file via the network for reproduction, receives another part for reproduction, and is characterized in that: the content includes a plurality of content fragments, and an There is segment header data, the segment header data includes attribute information representing the attribute of the content segment, and when the segment header data received by the video device contains the specified attribute information, the received additional After reproducing these received content fragments, receive the content fragments whose fragment header data does not contain the specified attribute information, and for the content fragments containing the specified attribute information and those that do not contain The content segment of the specified attribute information is reproduced.

本发明提供的另一种视频设备,经由网络接收目标文件的内容的一部分进行再现后,接收另一部分进行再现,其特征在于:该视频设备能够与不特定的多个终端连接进行所述内容的发送接收,所述内容包括多个内容片段,这些内容片段存储在不特定的多个终端,所述视频设备从存储有表示所述内容的属性的多个属性信息和各属性信息所包含的内容片段序号的网络服务器接收规定的属性信息所包含的内容片段序号,从对所述不特定的多个终端所具有的内容片段进行管理的管理服务器接收具有所述内容片段序号的终端地址,从该地址的终端接收内容片段进行再现后,接收除所述所接收的内容片段序号以外的内容片段的一部分或全部的内容片段进行再现。Another video device provided by the present invention receives and reproduces a part of the content of the target file via the network, and then receives another part for reproduction, and is characterized in that the video device can be connected to a plurality of unspecified terminals to perform the reproduction of the content The content includes a plurality of content fragments, and these content fragments are stored in a plurality of unspecified terminals, and the video device stores a plurality of attribute information representing the attribute of the content and the content contained in each attribute information The segment number network server receives the content segment number contained in the predetermined attribute information, receives the address of the terminal having the content segment number from the management server that manages the content segments owned by the unspecified plurality of terminals, and receives the content segment number from the management server. After the terminal at the address receives and reproduces the content fragments, it receives a part or all of the content fragments except the received content fragment serial numbers for reproduction.

本发明提供的一种内容发送方法,对接收目标文件的内容的一部分进行再现后对另一部分进行再现的视频设备,经由网络发送所述内容,其特征在于:在所述目标文件的内容所包含的内容片段的头部,附加片段头数据,所述片段头数据包括表示所述内容片段的属性的属性信息。A method for transmitting content provided by the present invention, the video equipment that reproduces a part of the content of the received target file and then reproduces the other part transmits the content via the network, characterized in that: the content contained in the target file The header of the content fragment is appended with fragment header data, and the fragment header data includes attribute information indicating the attribute of the content fragment.

本文所述的发明,在基于P2P基本原理的基础上,通过对具体的文件,根据片段本身所含内容以片段为单位进行片段属性定义,生成不同的片段组合,并将这些组合通过种子文件、Tracker服务器、片段属性定义或者其他方式,将片段组合的定义分发推荐给下载用户。下载用户可以根据自己的具体需求,参考个性化片段组合,有选择的下载所需要的片段。该方法提供了一种人性化和个性化的下载方式,优化了下载片段的下载优先顺序,减少了网络传输数据量,减少了本地存储所需空间,加快了下载的速度,同时能提供一种下载、播放和管理的方法。The invention described in this article is based on the basic principle of P2P, by defining the segment attributes of specific files according to the content contained in the segment itself, different segment combinations are generated, and these combinations are passed through the seed file, Tracker server, segment attribute definition or other methods, recommend the definition distribution of segment combination to download users. Downloading Users can refer to personalized fragment combinations according to their specific needs, and selectively download the desired fragments. This method provides a humanized and personalized download method, optimizes the download priority of download segments, reduces the amount of network transmission data, reduces the space required for local storage, and speeds up the download speed. Methods of downloading, playing and managing.

而且,利用本发明的视频设备,能够节约接收影片等内容时的通信资源和通信时间,提高通信速度。Moreover, using the video equipment of the present invention can save communication resources and communication time when receiving content such as movies, and improve communication speed.

附图说明:Description of drawings:

图1:本发明的基本原理Figure 1: Basic principle of the invention

图2:标准BT种子文件的主要构成Figure 2: The main components of a standard BT seed file

图3:该方法所示的P2P下载方式Figure 3: The P2P download method shown in this method

图4:本发明所示BT种子文件的主要构成Fig. 4: the main composition of BT seed file shown in the present invention

图5:MPEG帧结构简介Figure 5: Introduction to MPEG frame structure

图6:MPEG帧的数据量大小与P2P下载中片段划分Figure 6: The data size of an MPEG frame and the segment division in P2P downloading

图7:下载片段序列及播放时内容Figure 7: Sequence of downloaded clips and content during playback

图8:下载客户端工作流程1Figure 8: Download client workflow 1

图9:种子文件的定义Figure 9: Definition of the torrent file

图10:包含片段控制头的片段Figure 10: Fragment with Fragment Control Header

图11:片段结构定义Figure 11: Fragment structure definition

图12:下载客户端工作流程2Figure 12: Download client workflow 2

图13:下载客户端以属性方式进行内容定制请求Figure 13: The download client makes a content customization request in the form of attributes

图14:片段描述符中可包含的信息Figure 14: Information that can be included in a fragment descriptor

图15:应用本发明的一种视频装置的示意图。Fig. 15: A schematic diagram of a video device applying the present invention.

具体实施方式Detailed ways

本发明是基于现有的P2P的基本原理,即对目标文件进行片段划分,将下载单位从以文件为单位,缩减到以片段为单位进行下载。这种方法可以实现对一个文件同时从多个内容拥有者处下载不同的片段,实现了一对多的下载方式,从而提高了下载速度。The present invention is based on the existing basic principle of P2P, that is, divides the target file into segments, and reduces the download unit from the file as the unit to the segment as the unit for downloading. This method can realize downloading different fragments from multiple content owners for a file at the same time, and realizes a one-to-many downloading mode, thus improving the downloading speed.

BT下载作为本发明的一个基础之一,首先我们对其原理进行简单介绍。在BT下载中,作为文件分片的关键索引信息,种子(seed)文件的作用至关重要,其中规定了所要下载的目标文件的文件信息,文件名,目录名,长度等,然后规定了目标文件的分片状态(如片段划分大小piece_length)和每一个片段的校验码(hash值),用以对下载片段数据完整性和正确性进行校验。同时种子文件中还定义了下载客户端获取拥有该目标文件内容的客户端列表的Tracker服务器(announce tracker)。通过该服务器,下载客户端可以获取其他拥有该内容用户的列表,以及需要下载的目标文件中每一个片段的拥有者。通过这些信息,下载客户端可以直接请求其他客户端以获取指定的目标文件片段,实现不同片段的并行下载。BT download is one of the foundations of the present invention, first of all we briefly introduce its principle. In BT download, as the key index information of file fragmentation, the role of seed (seed) file is very important, which stipulates the file information, file name, directory name, length, etc. of the target file to be downloaded, and then specifies the target The fragmentation status of the file (such as the segment size piece_length) and the check code (hash value) of each segment are used to verify the integrity and correctness of the downloaded segment data. Simultaneously, the Tracker server (announce tracker) that downloads the client and obtains the client list that has the content of the target file is also defined in the seed file. Through the server, the download client can obtain a list of other users who own the content, as well as the owner of each segment in the target file to be downloaded. Through these information, the download client can directly request other clients to obtain the specified target file fragments, so as to realize the parallel download of different fragments.

在BT下载中,数据的请求端和数据的提供者之间通过BT协议来进行信息交互。BT的基本原理可以参考BT官方协议定义书。这里将列举其中几个重要交互信息协议内容。In BitTorrent download, information exchange is carried out between the data requester and the data provider through the BitTorrent protocol. The basic principles of BT can refer to the official agreement definition of BT. Here we will list some of the important content of the interactive information protocol.

Have信息,用于表示当前本地所已经下载的且经过校验的数据片段IDHave information, used to indicate the currently downloaded and verified data segment ID

Bitfield信息,用于标示当前本地所拥有的全部片段集合的位置位图表,用以标示本地所拥有的片段状态。Bitfield information, which is used to indicate the location bitmap of all fragment sets currently owned locally, and is used to indicate the state of fragments owned locally.

Request信息,用以下载请求端向内容提供者的请求下载信息,包括请求的片段ID,请求数据片段内的起始位置(相对片段头的偏移量)和请求下载的数据长度。Request information, which is used to download the requested download information from the requesting end to the content provider, including the requested segment ID, the starting position in the requested data segment (the offset relative to the segment header) and the length of the requested data to be downloaded.

Piece信息,用以内容提供者向下载请求端提供其所需要的数据。The Piece information is used by the content provider to provide the data it needs to the download requester.

通过以上几个主要信息,下载请求端和内容提供者之间可以互相知道对方拥有的片段的情况,并且可以进行片段实际数据的传递。Through the above main information, the download requester and the content provider can know each other's fragments and can transfer the actual data of the fragments.

基于以上BT下载原理和协议简介,本发明将提供一种P2P下载方式,支持文件分片下载机制,同时支持不同片段组合下载与播放,通过对不同片段根据其具体内容属性进行定义,极大的方便了基于文件片段的各种应用。Based on the above BT download principle and protocol brief introduction, the present invention will provide a P2P download mode, support the file fragment download mechanism, and support the combined download and playback of different fragments at the same time, by defining different fragments according to their specific content attributes, the huge It facilitates various applications based on file fragments.

在本发明中,通过在种子文件中对片段按照不同内容级别划分和播放是通过多种方式进行实现的,可以通过种子文件中直接定义各个个性化播放级别所对应的片段列表,或者是从文件头的偏移量,或者定义个性化播放使用的片段属性,通过配合片段内的片段属性,有效选择符合其属性的片段序列进行下载和播放。所以在本发明中,具体的实施方法有多种,可以通过定义个性化种子文件,可以是种子文件的附加个性化内容,也可以是用户自定义的片段序列,或者是来自其他用户或者内容提供者或者是网络上的推荐信息包含对该目标文件中片段归类信息的内容。In the present invention, by dividing and playing the fragments according to different content levels in the seed file, it is realized in multiple ways, and the fragment list corresponding to each personalized playback level can be directly defined in the seed file, or from the file The offset of the header, or define the segment attributes used for personalized playback. By cooperating with the segment attributes in the segment, the segment sequence that matches its attributes can be effectively selected for download and playback. Therefore, in the present invention, there are many specific implementation methods, which can be defined by defining a personalized seed file, which can be an additional personalized content of the seed file, or a user-defined sequence of fragments, or from other users or content providers. Or, the recommended information on the network includes the content of segment classification information in the target file.

在得到了片段列表后,下载客户端根据其对个性化级别(Profile)的选择,得到需要下载的该目标文件中的片段列表,然后只下载属于用户选中的个性化profile中定义的片段,而不用全部下载属于该目标文件中的所有片段。在播放过程中,将这些下载的片段(或者是该目标文件中的全部的片段)根据profile中片段序列的定义,对其进行重新排列,组成一个符合profile中定义的目标文件中的部分内容,然后以文件的形式呈现给用户(而在普通的BT下载中,只有所有的片段都下载完毕后才以目标文件的形式呈现给用户)。用户就可以播放属于该profile定义的目标文件中的内容。After obtaining the fragment list, the download client obtains the fragment list in the target file that needs to be downloaded according to its selection of the personalization level (Profile), and then only downloads the fragments defined in the personalized profile that belong to the user's selection, while Not all fragments belonging to the object file are downloaded at all. During playback, these downloaded segments (or all the segments in the target file) are rearranged according to the definition of segment sequences in the profile to form part of the content in the target file that conforms to the definition in the profile, Then it is presented to the user in the form of a file (and in common BT download, it is presented to the user in the form of a target file only after all the segments have been downloaded). The user can play the content in the target file defined by the profile.

比如图1中,profile-1定义的是“预告片”,下载过程中下载客户端根据“预告片profile”中定义出的片段列表,向内容提供者请求下载属于“预告片profile”片段列表中的片段,然后组合成目标文件的预告片内容。而内容提供端依旧以一个完整的目标文件形式存在,不需要提供独立的预告片文件而占用额外的空间,在下载客户端则可以依赖profile的定义,将目标文件生成多种形式的内容级别文件,而同时并不会占用额外的磁盘空间,只是将目标文件以一种片段库的形式存在,在下载和播放过程中根据profile的定义取出其中的部分片段用于播放。For example, in Figure 1, profile-1 defines "trailer". During the download process, the download client requests the content provider to download the fragment list belonging to the "trailer profile" according to the segment list defined in the "trailer profile". , which are then assembled into the trailer content of the target file. The content provider still exists in the form of a complete target file, and does not need to provide an independent trailer file to occupy additional space. The download client can rely on the definition of the profile to generate various forms of content level files from the target file. , and at the same time it does not occupy additional disk space, but the target file exists in the form of a fragment library, and some fragments are taken out for playback according to the definition of the profile during the download and playback process.

如果用户选择完整下载(同样为个性化profile的一个划分级别:完整下载),则属于目标文件的所有片段都会被下载、存储,这种情况类似于现存的普通的P2P下载方式。所以该发明完全兼容现有的下载方式,而同时提供更加多样的个性化下载和播放控制。If the user selects a complete download (also a division level of the personalized profile: complete download), all segments belonging to the target file will be downloaded and stored, which is similar to the existing common P2P download method. Therefore, the invention is fully compatible with existing download methods, while providing more diverse personalized download and playback controls.

需要说明的是,本发明中虽然基于BT的下载原理,但是其应用场景并不局限于BT的下载过程中,本文所述的方法完全可以被利用在整个P2P下载方式中(包括BT下载,emule下载以及迅雷、快车等等的点对点下载方式中),以及类似网络传输中,还可以利用在音视频的广播和下载中以及其他以包或者片段为单位的下载方式中,还可以被利用在以片段或者包为单位进行数据交换的网络传输或者广播信号的传输中,如IP网络或者数字广播信号的传送。该方法通过用户的选择或者视当时的传输情况,手动或者自动选择其中的部分包或者片段进行下载,综合考虑各种因素,提供给用户多种个性化选择方式。需要指出的是,内容包或者片段的选择可以是用户指定的,也可以是来自于服务器推荐的,也可以是内容提供者或内容拥有者推荐的,或者可以是系统自动根据当时状况推荐的等等,可以是预先定义的,也可以是实时变化的。It should be noted that although the present invention is based on the BT download principle, its application scenario is not limited to the BT download process, and the method described herein can be fully utilized in the entire P2P download mode (including BT download, emule Download and point-to-point download methods such as Thunder, Express, etc.), and similar network transmissions, can also be used in audio and video broadcasting and downloading, and other downloading methods in units of packages or segments, and can also be used in In network transmission or broadcast signal transmission for data exchange in units of fragments or packets, such as IP network or digital broadcast signal transmission. The method manually or automatically selects part of the packages or fragments for downloading according to the user's selection or depending on the current transmission situation, and comprehensively considers various factors to provide the user with multiple personalized selection methods. It should be pointed out that the selection of content packages or fragments can be specified by the user, recommended by the server, recommended by the content provider or content owner, or automatically recommended by the system according to the current situation, etc. etc., can be pre-defined or can be changed in real time.

图1显示了本发明的基本原理。在图1中,内容提供者发布了希望共享的原始文件,对下载请求者来说是希望下载的目标文件,其中包括所述目标文件中的所有内容,按照P2P的下载方法,首先对目标文件进行片段划分处理,将内容提供者提供的原始文件分割成大小相等的若干片段(对不同的网络应用,包或者片段的划分规则不同,也可能出现划分的片段大小不一样的情况)。标准的BT下载方式中,这些片段将通过种子文件进行连接,下载客户端将从不同的内容提供者那里同时下载不同片段的内容,然后按照种子文件中的定义进行校验和组合,最终形成与内容提供者提供的文件一致的目标文件,实现完整的下载过程。Figure 1 shows the basic principle of the invention. In Fig. 1, the content provider publishes the original file that wishes to share, and for the download requester, it is the target file that wishes to download, including all the content in the target file, according to the P2P download method, firstly the target file Carry out fragment division processing, divide the original file provided by the content provider into several fragments of equal size (for different network applications, the division rules of packets or fragments are different, and the divided fragments may also have different sizes). In the standard BT download method, these fragments will be connected through the seed file, and the download client will download the content of different fragments from different content providers at the same time, and then perform verification and combination according to the definition in the seed file, and finally form the same The file provided by the content provider is consistent with the target file, enabling the complete download process.

而在本发明所述的方法中,内容提供者或者Tracker服务器向下载客户端提供了多种下载或者包括播放的个性化选择方式,如图1所示的proile-1,profile-2等等。不同的profile定义了不同的内容片段组合,这些片段同样属于内容提供者提供的原始文件中的一部分。如profile-1的属性为完整目标文件的预告片,其中包括了第一,第二片段等,而其他片段并没有包含在profile-1定义中。同样对于profile-4所示,其中大部分片段属于profile-4中的定义,而有些片段由于内容可能不适合未成年人观看,因此在profile-4中并没有包含这些片段。对于这些profile对应的内容,并没有包含所有的目标文件中的片段,因此下载请求客户端如果选择这些下载方式,则只需要下载属于其选定的profile中定义的片段内容,即可享受到所选定的profile的内容,并且进行播放欣赏。按照这种方法,用户只需要下载部分内容,即可欣赏到其所选定等级的播放方式,极大的减少了下载的网络带宽、下载所需要的等待时间以及为之所付出的下载费用等。根据所选等级的下载/播放方式,用户可以根据这些部分内容主观地评判该目标文件是否值得进行完整下载。如果用户根据初始等级选择部分下载,而播放后希望完整的欣赏这些影片,则只需要重新选择内容更加丰富的Profile进行下载,而此时,由于部分片段已经为之前选定的profile定义并且已经进行了下载,此时只需要将现在需求的prifile和之前的profile进行简单差分比较,确定出需要追加下载的内容片段,将这些追加的片段进行下载。在下载完毕后根据新选定的profile进行重新组合,提供用户全新的欣赏内容。However, in the method of the present invention, the content provider or the Tracker server provides multiple downloading or personalized selection modes including playing to the downloading client, such as profile-1, profile-2, etc. as shown in FIG. 1 . Different profiles define different combinations of content fragments, and these fragments are also part of the original file provided by the content provider. For example, the attribute of profile-1 is the trailer of the complete target file, which includes the first and second fragments, etc., while other fragments are not included in the definition of profile-1. Also as shown in profile-4, most of the clips belong to the definition in profile-4, and some clips are not included in profile-4 because the content may not be suitable for minors to watch. The content corresponding to these profiles does not contain all the fragments in the target file, so if the download request client chooses these download methods, it only needs to download the fragment content defined in the selected profile to enjoy all Selected profile content, and play to enjoy. According to this method, users only need to download part of the content to enjoy the playback mode of their selected level, which greatly reduces the network bandwidth for downloading, the waiting time for downloading, and the downloading fees paid for it. . Depending on how the selected grade is downloaded/played, users can subjectively judge whether the target file is worth a full download based on these partial contents. If the user selects part of the download according to the initial grade, and wants to fully enjoy these movies after playing, he only needs to re-select the Profile with richer content to download, and at this time, because some clips have been defined for the previously selected To download, at this time, it is only necessary to perform a simple differential comparison between the profile required now and the previous profile, determine the additional content segments that need to be downloaded, and download these additional segments. After the download is complete, it will be reassembled according to the newly selected profile to provide users with brand-new appreciation content.

而在如profile-3的定义中,包含了所有属于原始文件中的内容片段,而同时将一些片段在文件的末尾进行了重新追加,因此profile-3需要下载所有的原始文件中的片段,同时在播放的时候提供了额外的精彩回忆部分,而这些片段属于原始文件中,因此无需要追加下载内容的大小而在播放时候提供了更加自由的欣赏方式。In the definition such as profile-3, it contains all the content fragments belonging to the original file, and at the same time some fragments are re-appended at the end of the file, so profile-3 needs to download all the fragments in the original file, and at the same time When playing, it provides additional exciting memories, and these clips belong to the original file, so there is no need to add the size of the downloaded content, and it provides a more free way of enjoying during playback.

使用本发明所描述的下载方法,不增加额外的下载内容大小而提供了多种自由选择的下载和欣赏等级,减少了网络占用和下载时间以及本地磁盘空间占用,为用户的下载和欣赏提供了更加自由的方式。而在普通的P2P下载方式中,不同等级的欣赏内容则需要分别下载不同的文件,而这些文件中的大部分内容可能是重复的,使用该发明所述方法,则尽可能避免数据的重复下载而提供多种个性化的下载/播放选择。Using the downloading method described in the present invention does not increase the size of additional downloading content but provides a variety of freely selectable downloading and appreciating levels, reduces network occupation, download time and local disk space occupation, and provides users with more downloading and appreciating levels. way more free. In the common P2P downloading method, different levels of appreciation content need to download different files respectively, and most of the content in these files may be repeated. Using the method described in this invention, repeated downloading of data should be avoided as much as possible. And provide a variety of personalized download / playback options.

在本发明中,提供了一种个性化选择下载/播放片段的P2P下载方式。原始的P2P下载方式虽然对目标文件进行了片段划分,但在下载和播放时并没有基于片段的划分方式,而仍旧需要下载和播放整个文件的方式,即以文件为单位的下载/播放方式。而在本发明中,下载和播放的方式则以P2P下载的片段为单位,进行片段个性化选择的下载和播放,而这些个性化定制信息则直接定义了以片段为单位的属性信息,即Profile的定义。而在本发明中,并没有限制这些个性化片段属性信息的定义方式,可以是直接定义在BT种子文件中,可以是作为每个片段额外的信息插入在片段内容之前或之后或之中,也可以是直接嵌入在每个片段的内容之中,或者是作为一个独立存在的文件形式而存在。而这些对每个片段属性定义的信息,既可以是种子文件中的一部分随着种子文件分发给各个下载用户,也可以是独立于种子文件而存在的,通过内容提供者、Tracker服务器或者是提供下载的其他客户端提供,或者是下载者自己定义的方式,也可以是用户根据其他信息(如互联网上的评论或者其他用户的口头推荐等)等等方式实现的。In the present invention, a P2P downloading mode for individualized selection of downloading/playing segments is provided. Although the original P2P download method divides the target file into segments, there is no segment-based division method when downloading and playing, but still needs to download and play the entire file, that is, the download/play method with the file as the unit. However, in the present invention, the way of downloading and playing is to use the segment downloaded by P2P as the unit to download and play the segment personalized selection, and these personalized customization information directly define the attribute information with the segment as the unit, that is, Profile Definition. And in the present invention, do not limit the definition mode of these personalized fragment attribute information, can be directly defined in the BT seed file, can be inserted before or after or among the fragment content as extra information of each fragment, also It can be embedded directly within the content of each segment, or exist as a separate file. The information defined for each segment attribute can be a part of the seed file distributed to each download user along with the seed file, or it can exist independently of the seed file, through the content provider, Tracker server or provider. Downloads are provided by other clients, or are defined by the downloader, or can be implemented by the user based on other information (such as comments on the Internet or oral recommendations from other users, etc.).

图2显示了以BT为例子的BT种子文件的标准形式,其中定义了Tracker服务器地址,下载的目录及文件名称列表,每个片段划分的片段长度,以及每个片段的校验码(Hash值)等等。Fig. 2 shows the standard form of the BT seed file taking BT as an example, which defines the Tracker server address, the downloaded directory and file name list, the segment length divided by each segment, and the check code (Hash value) of each segment )etc.

通过此BT种子文件,用户可以得到Tracker服务器的地址,通过此地址访问Tracker服务器(可以有多个Tracker服务器)。然后Tracker服务器向下载客户端提供拥有该目标文件的其他客户端的地址列表以及其有用的属于该目标文件的片段状态,下载客户端可以通过该列表访问其他的客户端进行连接,然后进行实际的片段数据交换。Through this BT seed file, the user can get the address of the Tracker server, and access the Tracker server through this address (there can be multiple Tracker servers). Then the Tracker server provides the download client with the address list of other clients that own the target file and its useful segment status belonging to the target file. The download client can access other clients through this list to connect, and then perform the actual segment data exchange.

图3显示一般的BT下载方式的连接状况,也是本发明所示的连接方法之一。下载客户端通过其他网络方式(HTTP,FTP等)从互联网上得到需要下载的目标文件(或者文件夹)的种子文件,种子文件的结构方式定义在图2中。在图3中,下载客户端(Downloaderclient)首先通过图2所示的已经下载到本地的BT种子文件,连接到种子文件中所示的Tracker服务器,通过此服务器得到其他拥有该内容的内容提供客户端列表(Content Provider-1,...,n),然后下载客户端分别连接其他的内容提供者客户端,然后根据BT协议分别向内容提供者客户端请求下载片段的数据。每个片段的长度和校验用的hash值存储在BT种子文件中。每从其他客户端那里下载到一个完整的片段内容,通过此片段所对应的校验hash值进行校验,以确定该片段的正确性,如果正确则下载到本地的片段文件标记为成功下载,如果校验错误则需要重新下载该片段。Fig. 3 shows the connection status of the general BT download mode, which is also one of the connection methods shown in the present invention. The download client obtains the seed file of the target file (or folder) to be downloaded from the Internet through other network methods (HTTP, FTP, etc.), and the structure of the seed file is defined in Figure 2. In Fig. 3, the download client (Downloaderclient) first connects to the Tracker server shown in the torrent file through the BT torrent file that has been downloaded to the local as shown in Fig. 2, and obtains other content providing customers who have the content through this server end list (Content Provider-1, ..., n), and then the download client connects to other content provider clients respectively, and then requests the content provider client to download segment data according to the BT protocol. The length of each segment and the hash value used for verification are stored in the BT seed file. Every time a complete fragment content is downloaded from other clients, it is verified by the verification hash value corresponding to this fragment to determine the correctness of the fragment. If it is correct, the fragment file downloaded locally is marked as a successful download. If the verification is wrong, the segment needs to be downloaded again.

通过之前所述的BT协议方式,下载客户端与其他内容提供者客户端之间的信息交换可以有多种信息内容,包括下载客户端/内容提供者客户端所拥有的片段列表状态,以及请求的片段ID,以及所请求的片段内的具体数据(即BT协议中Piece协议,包括片段内的起始位置,请求的数据长度等等)。同样,内容提供者客户端则向下载客户端发送其所申请的片段信息具体内容。然后下载客户端将这些同属于一个片段的内容组合起来,然后进行hash校验,校验成功后将整个片段内容存储于本地的存储器中并更新自己的实际片段拥有状态。下载客户端可以同时向多个内容提供者客户端申请属于不同片段的内容,也可以同时申请属于相同片段的不同位置的内容,从而实现多段内容的同时下载。Through the BT protocol mentioned above, the information exchange between the download client and other content provider clients can have a variety of information content, including the status of the fragment list owned by the download client/content provider client, and the request The segment ID, and the specific data in the requested segment (that is, the Piece protocol in the BT protocol, including the starting position in the segment, the length of the requested data, etc.). Similarly, the content provider client sends the specific content of the requested segment information to the download client. Then the download client combines the contents that belong to the same segment, and then performs hash verification. After the verification is successful, the entire segment content is stored in the local storage and the actual segment ownership status is updated. The download client can apply to multiple content provider clients for content belonging to different segments at the same time, and can also apply for content belonging to different locations of the same segment at the same time, so as to realize simultaneous downloading of multiple segments of content.

需要指出的是,下载客户端以及其他内容提供者客户端都可能随时根据需要成为内容下载客户端或者内容提供者客户端,并且根据需要随时/定期向Tracker服务器更新自己的状态信息,以便Tracker服务器能够掌握当前整个网络中拥有该内容的客户端列表以及其状态。It should be pointed out that the download client and other content provider clients may become content download clients or content provider clients at any time as needed, and update their status information to the Tracker server at any time/regularly as needed, so that the Tracker server It is possible to grasp the current list of clients that own the content and their status in the entire network.

图4给出了本发明所述方法的一种实施办法,即目标文件内容分类信息嵌入在BT种子文件内部的一种实现方式。如图4所示,本发明所示的种子文件包含了标准BT种子文件(图2)中的所有内容,同时在种子文件中定义了Profile的信息。在图4中定义了两个Profile(Profile-1和Profile-2),其分别代表了是“预告片”和“精彩章节”两种不同的个性化选择。之后定义了整个个性化片段的一些具体属性,如该个性化片的时间长度(也可是是以字节为单位的长度等),适合的人群(Audience)。最重要的是该个性化内容(即所述的profile)所对应的片段列表,该处所述的片段于图1中所示的片段和标准BT中对片段的划分是一致的。但是与标准的BT种子文件所不同的是,在标准的BT种子文件中包含整个目标文件的所有片段,即从1到n(最后一个片段)的一共n个片段。而在本发明所示的方法中,其片段并不是所有的n个片段,而是多个片段的组合,其中很多片段之间可能是不连续的,如在profile-1中并不包含第3片段。同样在其他的profile定义中也可能只包含n个片段中的一部分片段。FIG. 4 shows an implementation method of the method of the present invention, that is, an implementation method in which the content classification information of the target file is embedded in the BT seed file. As shown in FIG. 4 , the seed file shown in the present invention includes all the content in the standard BT seed file ( FIG. 2 ), and the profile information is defined in the seed file at the same time. Two Profiles (Profile-1 and Profile-2) are defined in FIG. 4 , which respectively represent two different personalized options of "trailer" and "highlight chapter". Afterwards, some specific attributes of the entire personalized segment are defined, such as the time length of the personalized segment (or the length in bytes, etc.), and the suitable audience (Audience). The most important thing is the segment list corresponding to the personalized content (ie, the profile), and the segments described here are consistent with the segments shown in FIG. 1 and the standard BT. However, the difference from the standard BT seed file is that the standard BT seed file contains all segments of the entire target file, that is, a total of n segments from 1 to n (the last segment). However, in the method shown in the present invention, its fragments are not all n fragments, but a combination of multiple fragments, many of which may be discontinuous, such as not including the third in profile-1. fragment. Similarly, other profile definitions may only contain some of the n fragments.

同时在图4本发明中所示的BT种子文件中,还可能包括用于该profile播放时状态的一个定义(piece_playback_offset),如图4中定义了对于每一个片段在该profile状态下用于播放时候的片内数据。如对于第1片段,其段内偏移量为100,即片内的0-100字节的内容并不用于播放,而对第4片段,其偏移量为-100,即片段后部的100个字节并不用于播放。同样还可以是有些片段前后部分都有些需要跳过而只播放片段中部的一些数据。如第x片段,只播放从200字节到-300字节之间的数据。Simultaneously, in the BT seed file shown in Fig. 4 the present invention, may also include a definition (piece_playback_offset) for the state when this profile is played, as Fig. 4 defines for each segment to be used for playing under this profile state Time on-chip data. For example, for the first segment, the offset in the segment is 100, that is, the content of 0-100 bytes in the segment is not used for playback, while for the fourth segment, the offset is -100, that is, the content at the end of the segment 100 bytes are not used for playback. Similarly, it is also possible to skip the front and back parts of some segments and only play some data in the middle of the segment. For example, in the xth fragment, only the data between 200 bytes and -300 bytes will be played.

之所以这样做是因为:首先为了保持与P2P下载协议的一致性,片段作为P2P下载的最小单位,进行下载和用于Hash值的校验以确定整个片段是否完整下载,而并不能实现片段中随机的部分的内容下载的校验。其次考虑到BT对文件的片段划分并不是基于内容的,而只是按照文件长度进行等大小的划分,而包含该需要数据的片段可能是位于某一个片段的内部,而这个片段之前的部分内容并没有实际的播放用途,而BT下载又要求下载整个片段,因此需要定义下载片段和下载片段中由于播放的内容在片段内的偏移量,方便在播放过程中的存取。同时,很多的音视频文件中,其编解码的要求,很多视频帧之间有一定的关联性,比如在MPEG视频编码中,P帧的播放依赖于之前的I帧,因此必须将包含I帧的片段进行下载,而在具体播放中,可能并非从I帧开始播放,而是直接从某一个P帧或者B帧进行播放,但是这些I帧的数据还是需要的,只是在播放过程中直接跨越了I帧进行播放而已。因此个性化的下载和个性化的播放存在有一定的关系而并不一定完全一致。The reason for doing this is: First, in order to maintain consistency with the P2P download protocol, the segment is the smallest unit of P2P download, which is downloaded and used for Hash value verification to determine whether the entire segment is completely downloaded, and it cannot be realized in the segment. Random part of the content download checksum. Secondly, considering that BT's division of file fragments is not based on content, but only divided into equal sizes according to the length of the file, and the fragment containing the required data may be located inside a certain fragment, and some of the content before this fragment is not There is no actual playback purpose, and BT download requires downloading the entire segment, so it is necessary to define the download segment and the offset of the content in the segment due to the playback content in the download segment, so as to facilitate access during playback. At the same time, in many audio and video files, there is a certain correlation between many video frames according to the codec requirements. For example, in MPEG video coding, the playback of P frames depends on the previous I frames, so the I frames must be included In the specific playback, it may not start to play from the I frame, but directly from a certain P frame or B frame, but the data of these I frames is still needed, but directly across the frame during playback The I frame is played only. Therefore, there is a certain relationship between personalized download and personalized playback, but not necessarily completely consistent.

举例说明piece_playback_offset的功能。图5所示的为当前视频中常用的MPEG编码方式的帧结构简介。在MPEG系统中,视频帧数据基本包含三类,即I帧,B帧和P帧,其中I帧为独立编码帧,B帧和P帧分别为后向预测帧和前向预测帧,B帧和P帧为非独立编码帧,即B帧和P帧的完整数据需要依赖I帧的数据进行还原。如图5中,在视频播放时,I帧,B帧和P帧是相互交叉形成等时间间隔视频帧输出到显示屏幕上。然而,在每一帧的数据量上则大有不同。如图6所示,由于I帧为独立编码帧,不依赖于其他帧的数据即可完整显示,所以I帧的数据量比B帧或P帧都要大。而B帧和P帧如果需要还原成完整的用于显示的帧数据,则依赖于其相关的完整的I帧数据,因此如果没有对应的I帧数据,B帧和P帧则不能被解码,也不能被完整显示。通常在这种情况下根据不同设备的策略,会出现屏幕上出现大面积马赛克或者根本没有显示。Give an example to illustrate the function of piece_playback_offset. Fig. 5 shows a brief introduction to the frame structure of the MPEG encoding method commonly used in current video. In the MPEG system, video frame data basically includes three types, namely, I frame, B frame and P frame, wherein I frame is an independently coded frame, B frame and P frame are backward prediction frame and forward prediction frame respectively, and B frame and P frames are non-independent coding frames, that is, the complete data of B frames and P frames need to rely on the data of I frames for restoration. As shown in Figure 5, during video playback, I frame, B frame and P frame are mutually intersected to form video frames with equal time intervals and output to the display screen. However, there is a big difference in the amount of data in each frame. As shown in FIG. 6 , since the I frame is an independently coded frame and can be completely displayed without relying on the data of other frames, the data volume of the I frame is larger than that of the B frame or the P frame. However, if B frames and P frames need to be restored to complete frame data for display, they depend on their related complete I frame data. Therefore, if there is no corresponding I frame data, B frames and P frames cannot be decoded. cannot be fully displayed. Usually in this case, depending on the strategy of different devices, there will be a large mosaic on the screen or no display at all.

而在网络传输中,尤其是基于等大小分片机制的P2P传输中,网络传输数据并不关心编码过程中的内部帧结构,在这种情况下,如果有一个I帧数据没有完整下载,则会导致与其关联的其他帧也不能解码和显示,即一段时间内无法解码和显示。如果按照现有的P2P下载方式,如果其中的一些片段没有下载,则会导致与其关联的许多片段视频无法播放,很多情况下会致使整个视频无法播放,这就是当前现有P2P传输中由于没有完整下载而导致整个视频无法播放的原因之一。如图6中,Piece-1和piece-2的分界被划分在第7帧的内部,如果piece-1没有被成功下载而piece-2被成功下载,则会导致标号为1的I帧没有被下载到本地,受其影响,依赖标号为1的I帧数据才能解码的2,3,4,5,6,7,8,9,10都无法解码和播放。由于piece-2的成功下载,致使标号为13的I帧可以被解码,则依赖与标号为13的I帧存在的11,12,14等帧都可以被正常解码和显示。In network transmission, especially in P2P transmission based on the equal-size fragmentation mechanism, network transmission data does not care about the internal frame structure in the encoding process. In this case, if there is an I-frame data that is not completely downloaded, then It will cause other frames associated with it to be unable to be decoded and displayed, that is, unable to be decoded and displayed for a period of time. If according to the existing P2P download method, if some of the clips are not downloaded, it will cause many clips associated with it to be unplayable, and in many cases the entire video cannot be played. One of the reasons why the entire video cannot be played due to downloading. As shown in Figure 6, the boundary between Piece-1 and Piece-2 is divided inside the 7th frame. If Piece-1 is not successfully downloaded and Piece-2 is successfully downloaded, the I frame labeled 1 will not be downloaded. Downloaded to the local, affected by it, 2, 3, 4, 5, 6, 7, 8, 9, 10 that rely on the I frame data labeled 1 to be decoded cannot be decoded and played. Due to the successful download of piece-2, the I-frame labeled 13 can be decoded, and the frames 11, 12, and 14 that depend on the existence of the I-frame labeled 13 can be decoded and displayed normally.

当然导致无法播放的原因有很多,如校验数据没有下载导致相关数据错误导致,或者是其他编码方式的视频由于数据不完整导致部分或者整个视频文件无法播放等等。Of course, there are many reasons why the playback cannot be played, such as related data errors due to failure to download the verification data, or partial or entire video files cannot be played due to incomplete data in other encoding methods, and so on.

图6所示的片段划分和实际视频帧结构的关系中可以看到,在piece-2中,由于前面的7,8,9,10等帧数据虽然随着piece-2被下载下来,但是不能够解码和显示,因此如果通过指定piece内的播放偏移量playback_offset,则可以让播放器自动跳过无法正常解码和显示的数据,从第11帧进行解码和显示,则不会对播放器造成错误影响。因此通过定义片内播放偏移量,可以将下载的个性化内容定义中定义的片段中用于播放的数据进行重新连接,组成可以播放的个性化内容文件。即并不是将这些片段进行简单叠加,而是将其中可以正常解码和显示的数据有机连接起来,形成一个可播放的个性化内容。From the relationship between segment division and actual video frame structure shown in Figure 6, it can be seen that in piece-2, although the previous frame data such as 7, 8, 9, and 10 are downloaded along with piece-2, they are not It can be decoded and displayed, so if you specify the playback offset playback_offset in the piece, you can let the player automatically skip the data that cannot be decoded and displayed normally, and decode and display from the 11th frame without causing any harm to the player error impact. Therefore, by defining the in-slice playback offset, the data used for playback in the segment defined in the downloaded personalized content definition can be reconnected to form a playable personalized content file. That is to say, these clips are not simply superimposed, but the data that can be decoded and displayed normally are organically connected to form a personalized content that can be played.

如图7所示,个性化内容定制要求X,Z,M,N片段都要下载,而同时片段播放偏移量使得这些片段中只有部分内容用于播放,如图7所示组装后的可播放的内容部分。但是这些片断中“下载不用于播放的数据”也会被保存在本地,以供以片为单位的数据校验,以及将来的文件扩充。As shown in Figure 7, personalized content customization requires X, Z, M, and N fragments to be downloaded, and at the same time, the fragment playback offset makes only part of the content of these fragments available for playback, as shown in Figure 7. The content section to play. However, the "downloaded data not used for playback" in these segments will also be saved locally for data verification in units of segments and future file expansion.

图8显示了下载客户端的个性化下载和播放的基本流程。首先用户从互联网上或者其他方式得到了个性化BT种子文件,然后下载客户端软件打开并读取该个性化BT种子文件(S01);并按照种子文件中定义的一些方式进行识别(S02);能够识别出图4中所定义的一些个性化信息,然后将这些个性化选项提供给用户选择(S03),如用户可以选择Profile-1(预告片)也可以选择Profile-2(精彩章节)等等;之后下载客户端按照用户选择的Profile中所定义的片段列表进行下载(S04);同样下载完毕每一个片段后,按照BT种子文件中包含的对应片段的Hash值进行校验,如果校验正确则表示该片段下载成功,在所有的profile对应的片段下载成功后,将这些片段按照Profile所规定的次序和方式进行组合(S05);然后根据个性化种子文件中对应于该Profile所定义的播放方式进行播放(S06),实现了个性化下载和个性化播放。由于对片段的个性化定义对应于片段本身数据来说其数据量是非常小的,因此该个性化定义方式对BT种子文件的影响非常小,并且完全兼容现有的BT下载方式,同时并不对下载目标文件本身有任何的影响。Figure 8 shows the basic flow of personalized downloading and playing of the download client. First the user has obtained the individualized BT seed file from the Internet or in other ways, then downloads the client software to open and read the individualized BT seed file (S01); and identify (S02) according to some modes defined in the seed file; Can identify some personalized information defined in Figure 4, and then provide these personalized options to the user for selection (S03), such as the user can choose Profile-1 (trailer) or Profile-2 (excellent chapter), etc. Etc. Afterwards, the download client downloads according to the segment list defined in the Profile selected by the user (S04); after each segment has been downloaded, it is verified according to the Hash value of the corresponding segment contained in the BT seed file. If it is correct, it means that the segment download is successful. After all the segments corresponding to the profile are successfully downloaded, these segments are combined according to the order and mode specified by the Profile (S05); then according to the profile defined in the personalized seed file The playing mode is played (S06), realizing personalized downloading and personalized playing. Since the personalized definition of the segment corresponds to a very small amount of data corresponding to the data of the segment itself, this personalized definition method has very little impact on the BT seed file, and is fully compatible with the existing BT download method, and does not affect the Downloading the object file itself has no effect.

作为本发明的第二种实现方式,如图9中所示,在种子文件中属于每个Profile的具体片段内容分级以片段属性的形式进行了定义,如Profile-1的片段属性为A,而对Profile-2的片段属性为B。在实际的目标文件划分过程中,通过在片段内容的内部嵌入片段属性控制信息,如图10中所示的在每一个片段具体数据之前加入片段描述符(Piece_descriptor)从而增加了对该片段的更多描述,使得每一个片段都可以根据内容进行个性化描述,如片段1属于A属性,片段2属于B属性,而片段n可能既属于A属性也属于B属性。这样,每个片段的结构定义就类似于图11所示的结构定义方式。既每个片段具体数据之前加入了片段描述符。As the second implementation of the present invention, as shown in Figure 9, the specific fragment content classification belonging to each Profile in the seed file is defined in the form of fragment attributes, such as the fragment attribute of Profile-1 is A, and The segment attribute for Profile-2 is B. In the actual target file division process, by embedding piece attribute control information inside the piece content, as shown in Figure 10, adding a piece descriptor (Piece_descriptor) before the specific data of each piece, thereby increasing the more specificity of the piece. Multiple descriptions allow each segment to be described individually according to its content. For example, segment 1 belongs to attribute A, segment 2 belongs to attribute B, and segment n may belong to both attribute A and attribute B. In this way, the structure definition of each fragment is similar to that shown in FIG. 11 . That is, the fragment descriptor is added before the specific data of each fragment.

在具体的下载过程中,如图12所示。下载客户端首先读取个性化BT种子文件(S11);并识别个性化BT种子文件(S12);通过识别BT种子文件中对内容的分级,提供给用户一个对内容的选择策略(S13);在用户选择后,确定需要下载的片段的具体属性。然后下载客户端需要下载每一个目标文件片段的片段描述符(S14),获取每一个片段的具体属性,以确定实际的目标文件中哪些是用户希望下载的片段(S15);然后根据(S13)中用户的选择和实际的每个片段的属性定义(S15)进行匹配,确定哪些片段是用户希望下载的,哪些是不希望下载的(S16);然后对希望下载的片段进行下载和组合(S17),而对于不属于用户选择的Profile级别的内容,放弃对剩余具体片段数据的下载(S19)。最后根据Profile定义的方法进行播放(S18),从而实现了个性化下载和个性化播放。In the specific downloading process, as shown in FIG. 12 . The download client first reads the personalized BT seed file (S11); and identifies the personalized BT seed file (S12); by identifying the grading of the content in the BT seed file, a selection strategy (S13) to the content is provided to the user; After the user selects, determine the specific attributes of the segment to be downloaded. Then the download client needs to download the segment descriptor (S14) of each target file segment, obtain the specific attributes of each segment, to determine which segments (S15) the user wishes to download in the actual target file; then according to (S13) The user's selection and the actual attribute definition (S15) of each segment are matched to determine which segments the user wishes to download and which do not wish to download (S16); then the segments wishing to download are downloaded and combined (S17 ), and for content that does not belong to the Profile level selected by the user, the download of the remaining specific segment data is abandoned (S19). Finally, play according to the method defined by the Profile (S18), thereby realizing personalized download and personalized playback.

需要指出的是,由于片段描述符(Piece_descriptor)相对于片段的具体内容(Data)来说,其数据量是非常小的。如piece_descriptor可能只有几个位(bit)或者几个字节(Byte)长度,而具体片段内容data,可能是几兆字节长度,片段描述符相对于具体数据几乎可以忽略,因此这种方法对片段的划分几乎不产生影响,对下载数据量的增加时微乎其微的。或者,这样的片段属性控制信息可以直接嵌入到片段原始内容(data)内部,即占用Data中的几个bit位置,用于描述该片段的属性,这样完全不增加原始目标文件的划分方法和内容大小,而嵌入了控制信息用于用户的个性化下载和个性化播放,虽然这种嵌入在data内部的方法对原始文件有一点点的修改。而在音视频文件中,由于其具体的现实和播放效果并不会由于几个bit的变化而在画面和音质上有明显的变化,因此该方法在音视频文件下载和播放中是完全可以允许使用的。It should be pointed out that the data volume of the piece descriptor (Piece_descriptor) is very small relative to the specific content (Data) of the piece. For example, the piece_descriptor may only have a few bits or bytes in length, while the specific piece content data may be several megabytes in length, and the piece descriptor is almost negligible compared to the specific data, so this method is suitable for The division of fragments has almost no impact, and the increase in the amount of downloaded data is negligible. Alternatively, such segment attribute control information can be directly embedded into the original content (data) of the segment, that is, occupying several bit positions in Data to describe the properties of the segment, so that the division method and content of the original target file will not be increased at all. Size, and embedded control information for user's personalized download and personalized playback, although this method of embedding in data has a little modification to the original file. In audio and video files, because of its specific reality and playback effect, there will be no obvious changes in picture and sound quality due to the change of several bits, so this method is completely allowed in the download and playback of audio and video files. in use.

在本发明所述方法中,在实际的传送过程中使用的传送协议同样可以采用BT传输中使用的传送协议。举例来说同样进行:In the method of the present invention, the transmission protocol used in the actual transmission process can also adopt the transmission protocol used in BT transmission. For example, do the same:

1)状态交换协议:当前本地已经成功下载并校验正确的块列表;1) State exchange protocol: the current local has successfully downloaded and verified the correct block list;

2)数据请求协议:下载请求端将希望下载的目标文件中的块的ID,所请求块的内部数据开始位置以及请求数据的长度;2) Data request protocol: the download request end will wish to download the ID of the block in the target file, the internal data start position of the requested block and the length of the requested data;

3)数据传送协议:内容提供者传送给下载请求端目标文件中的具体数据,包括目标文件中的块的ID,所传递的块的内部数据开始位置以及请求的数据长度,然后是具体的块内数据内容。3) Data transmission protocol: the specific data in the target file transmitted by the content provider to the download request end, including the ID of the block in the target file, the starting position of the internal data of the transmitted block and the length of the requested data, and then the specific block internal data content.

以上所述3个协议是BT传送协议中的标准协议,同样适用于该方法的使用。The three protocols mentioned above are standard protocols in the BT transfer protocol, and are also applicable to the use of this method.

在本发明所述的第一种实现方法中,由于对BT种子文件进行了扩充,使得种子文件中能够提供更多的信息。该处所说的种子文件可以是如图4所示的种子文件的扩充,即在传统种子文件中追加对个性化Profile信息的定义,也或者可以是传统的种子文件,通过外部定义的一些Profile信息(可以是文件形式,也可以是一些设置)而并非在种子文件内部,也可以是种子文件内部定义一部分,而其他一部分定义在种子文件外部等等多种方式。通过这些额外的信息定义了一些个性化Profile内容,并且这些个性化内容可以为下载客户端所使用的下载工具识别,转换为多种块的组合,从而根据不同的需要,向内容拥有者进行不同的数据请求以满足不同客户或者不同级别的需求。这就要求下载客户端能够根据个性化信息或者个性化用户配置,支持有选择的进行块数据的请求,并将接收到的数据按照个性化需求进行重新组装,并且支持不同个性化配置之间的切换。In the first implementation method of the present invention, due to the expansion of the BT seed file, more information can be provided in the seed file. The seed file mentioned here can be the expansion of the seed file as shown in Figure 4, that is, the definition of personalized Profile information is added in the traditional seed file, or it can be a traditional seed file, through some Profile information defined externally (It can be in the form of a file, or some settings) instead of inside the seed file, or a part defined inside the seed file, while other parts are defined outside the seed file and so on. Some personalized Profile content is defined through these additional information, and these personalized content can be identified by the download tool used by the download client, and converted into a combination of various blocks, so as to provide different content to content owners according to different needs. Data requests to meet the needs of different customers or different levels. This requires the download client to support selective block data requests based on personalized information or personalized user configurations, reassemble the received data according to personalized needs, and support the exchange between different personalized configurations. switch.

作为第二种方法的另外一种实现形式。对于图10中,除了内容下载请求客户端首先下载每个片段的片段描述符进行自己判断外,还可以将请求属性通过请求协议传输给内容提供客户端,内容提供客户端在收到带有内容属性的内容请求时,首先将请求的内容属性与所有片段中的片段描述符中所记载的属性进行匹配,然后整理出符合内容请求者要求的片段序列,再将这些片段内容传送给内容请求者。这种方式对片段内容的判断是在内容拥有者方面完成的。As another form of realization of the second method. For Figure 10, in addition to the content download request client first downloading the fragment descriptor of each fragment for its own judgment, the request attribute can also be transmitted to the content providing client through the request protocol, and the content providing client receives the When requesting the content of attributes, first match the requested content attributes with the attributes recorded in the fragment descriptors in all fragments, then sort out the sequence of fragments that meet the requirements of the content requester, and then send the content of these fragments to the content requester . In this way, the judgment of the content of the fragment is completed on the side of the content owner.

如图13所示,由于在个性化内容定义中已经标记了不同的内容属性代号对应不同的内容分类,如“A”代表“内容简介”。如果用户希望下载属于“内容简介”的内容,只需要将属性“A”通过网络通知一个或者多个内容提供者(S21),内容提供者得到来自下载客户端的请求信息后,即可以了解到内容下载请求者的需求,而在内容提供者端,已经拥有了一些片段的具体内容,因此内容提供者端即可将下载请求者的需求与自己拥有的数据进行检查和匹配,得到其所拥有的可以提供给下载请求者,且满足下载请求者要求的片段列表(S22),然后将这个列表传递给下载请求者(S23)。这样下载请求者即可通过这个列表中所描述的片段序号列表,向该内容提供者或者其他内容提供者请求这些列表中的片段(S24)。然后一个或者多个内容提供者将下载请求者请求的数据发送给下载请求者(S25)。下载请求者将属于“A”属性的片段进行重新组装,生成所需要的属于属性“A”的内容(S26)。As shown in FIG. 13 , since different content attribute codes have been marked in the personalized content definition to correspond to different content categories, for example, "A" stands for "content introduction". If the user wants to download the content belonging to the "content introduction", he only needs to notify one or more content providers of the attribute "A" through the network (S21), and the content provider can know the content after receiving the request information from the download client. The content provider needs to download the demand of the requester, and the content provider already has the specific content of some fragments, so the content provider can check and match the demand of the download requester with the data it owns, and obtain the content it owns. A segment list (S22) that can be provided to the download requester and meets the requirements of the download requester (S22), and then this list is delivered to the download requester (S23). In this way, the download requester can request the fragments in these lists from the content provider or other content providers through the sequence number list of fragments described in the list (S24). Then one or more content providers transmit the data requested by the download requester to the download requester (S25). The download requester reassembles the fragments belonging to the attribute "A" to generate the required content belonging to the attribute "A" (S26).

对于图10中所述的片段描述方法,即在片段数据(Data部分)基础上,添加对片段的描述信息(piece_descriptor)。对于添加的位置,可以是如图14所示的添加在原始片段信息之前,也可以是其他位置,如片段尾部等。由于片段描述信息内容相对片段数据来说占用空间非常小,也可以嵌入在原始片段数据Data中。对于片段的长度,既可以是添加了片段描述符之后的新的片段的总长度,也可以是原始的长度,这种策略可以根据种子文件中的校验值所对应的数据部分定义进行定义,方便对下载数据进行校验。比如种子文件中所描述的只是原始数据Data的校验,虽然完整的片段包括片段描述符和原始片段数据,而校验只针对原始数据进行校验。同理如果校验对应的是片段描述信息与原始数据的组合,则将二者组合之后进行统一校验。For the piece description method described in FIG. 10 , the piece description information (piece_descriptor) is added on the basis of the piece data (Data part). As for the added position, it may be added before the original segment information as shown in FIG. 14 , or it may be other positions, such as the end of the segment. Since the segment description information occupies very little space compared to the segment data, it can also be embedded in the original segment data Data. For the length of the segment, it can be the total length of the new segment after adding the segment descriptor, or the original length. This strategy can be defined according to the data part definition corresponding to the check value in the seed file. It is convenient to verify the downloaded data. For example, what is described in the seed file is only the verification of the original data Data, although the complete segment includes the segment descriptor and the original segment data, and the verification is only for the original data. Similarly, if the verification corresponds to the combination of the fragment description information and the original data, the unified verification is performed after combining the two.

上面所述方法中,对原始P2P分片机制进行了扩展,即按照片段为单位进行内容控制,这种控制信息既可以被内容提供者嵌入到原始发行文件中,也可以是作为额外的文件进行下载,即内容提供者提供1)只包含所有片段数据Data的原始文件,可以通过P2P方式下载,也包括2)每一片段的片段描述信息集合的辅助文件,或者这种片段描述信息集合的辅助文件,由于其文件体积较小,可以通过P2P方式也可以通过其他方式下载,或者通过种子文件的方式传递给用户,即种子文件中不仅描述了每个片段的校验值,也包含每个片段的片段描述信息。In the method described above, the original P2P fragmentation mechanism is extended, that is, content control is carried out in units of fragments. This control information can be embedded in the original distribution file by the content provider, or it can be carried out as an additional file. Download, that is, the content provider provides 1) the original file that only contains all the segment data Data, which can be downloaded through P2P, and also includes 2) the auxiliary file of the segment description information set of each segment, or the auxiliary file of this segment description information set Due to its small file size, it can be downloaded through P2P or other methods, or delivered to users through torrent files, that is, the torrent file not only describes the check value of each segment, but also contains the The fragment description information for .

图14所示的为片段描述信息(Piec_descriptor)的具体使用方法。图中片段描述信息位于片段具体数据Data的前端(如前所述,其位置可以是其他位置或者嵌入在Data之中)。其内容可以包括多种信息,如图中所示的1)内容分类信息,2)版权控制信息,3)其他信息等等。内容分类信息即本发明中所示的内容划分方法,如属性A代表预告片,属性B代表精彩章节等。属性标识是通过一个或多个文字、字母或者数字形式描述并进行记录的。版权控制信息可以实现以片段为单位的版权控制,如拷贝次数、播放次数等,还可以包括家长控制信息等等。其他部分可以根据内容提供者的需求描述很多其他相关信息。在本发明中,片段描述信息中可以包括一种或者多种以上所述的描述信息。在本发明中所述的按照内容分类进行下载的方法中,需要使用的是其中的内容分类信息,以确定该片段内容是否包含用户需求的内容。针对一个片段,其可以同时属于多个内容划分级别,如既可以属于属性A“预告片”的内容,也可以属于属性B“精彩章节”的内容,这些信息都可以被记录在内容分类信息中,具体的记录方式可以按照位记录的方式实现,也可以通过其他方式实现。Figure 14 shows the specific usage method of the piece description information (Piec_descriptor). In the figure, the segment description information is located at the front end of the segment specific data Data (as mentioned above, its position can be other positions or embedded in Data). Its content may include a variety of information, such as 1) content classification information, 2) copyright control information, 3) other information, etc. as shown in the figure. The content classification information is the content division method shown in the present invention, for example, attribute A represents trailers, attribute B represents exciting chapters, and so on. The attribute identification is described and recorded by one or more words, letters or numbers. The copyright control information can implement copyright control in units of fragments, such as the number of times of copying, the number of times of playing, etc., and can also include parental control information, etc. Other parts can describe many other relevant information according to the needs of the content provider. In the present invention, the segment description information may include one or more types of description information described above. In the method for downloading according to content classification in the present invention, it is necessary to use the content classification information therein to determine whether the segment content contains the content required by the user. For a clip, it can belong to multiple content classification levels at the same time, for example, it can belong to the content of attribute A "trailer" or the content of attribute B "excellent chapter". These information can be recorded in the content classification information , the specific recording method can be implemented in the way of bit recording, or in other ways.

按照以位为单位的记录方式,就是在内容描述信息中的内容分类信息中,不同的内容划分级别记录在不同的位置上。举例来说:如(0000,0001)代表的是该片段属于属性A“预告片”内容,而(0000,0010)代表的是该片段属于属性B“精彩章节“内容,那么(0000,0011)代表该片段既属于属性A,也属于属性B的内容。同理可以对一个片段进行多种内容划分的定义。According to the bit-based recording method, in the content classification information in the content description information, different content classification levels are recorded in different positions. For example: if (0000, 0001) means that the segment belongs to attribute A "trailer" content, and (0000, 0010) means that the segment belongs to attribute B "excellent chapter" content, then (0000, 0011) Indicates that the fragment belongs to both attribute A and attribute B content. Similarly, multiple content divisions can be defined for a segment.

该发明所述方法不仅支持用户对下载文件中根据自己的需要进行内容选择(基于一个profile),还支持多个不同内容级别之间的切换,即从profile-1到profile-2或者其他profile之间进行任意切换。举例来说,对Profile-1来说,第3个块并不包含在profile-1中,而对于peofile-2来说,第3块包含在profile-2的定义中。当用户开始下载了profile-1的所有片段进行了播放后,还希望以profile-2的方式进行下载和播放,这样下载客户端对profile-1和profile-2进行比较,发现第3块数据内容由于profile-1级别时并没有下载,而profile-2中需要,这时候下载客户端只需要追加下载第3块内容即可。其基本方法是对profile-1和profile-2进行差分,然后追加下载需要的内容,而无需对profile-2中的所有内容都进行下载。节省了下载空间和时间。等这些希望得到而本地没有的片段被成功下载到本地以后,再将之前拥有的和本次下载的所有片段,按照新的profile的要求的播放规则进行重新组合,得到属于完整下载部分的内容。The method described in this invention not only supports the user to select content in the downloaded file according to his own needs (based on a profile), but also supports switching between multiple different content levels, that is, from profile-1 to profile-2 or between other profiles switch between them at will. For example, for Profile-1, the third block is not included in profile-1, but for peofile-2, the third block is included in the definition of profile-2. When the user starts to download and play all the clips of profile-1, he also hopes to download and play in profile-2. In this way, the download client compares profile-1 and profile-2 and finds the third piece of data content Since there is no download at the profile-1 level, but it is required in profile-2, the download client only needs to download the third piece of content at this time. The basic method is to make a difference between profile-1 and profile-2, and then additionally download the required content without downloading all the content in profile-2. Save download space and time. After the fragments that are desired but not available locally are successfully downloaded to the local, all fragments previously owned and downloaded this time are reassembled according to the playback rules required by the new profile to obtain the content that belongs to the complete download.

同理,从profile-2到profile-3级别的切换也一样,如果已经下载过的片段则不进行再次下载,如果是希望拥有而对之前没有下载过的片段进行重新下载,然后按照新的内容要求进行重新组合。如果是之前的内容级别所包含的内容已经完全包含新的期望内容级别的所有片段的话,则期望内容级别的片段都已经曾经被下载到本地过,则无需进行新的片段的下载,只需要将已有片段按照新的内容划分级别进行重新组合即可。In the same way, the switch from profile-2 to profile-3 level is the same. If you have already downloaded the segment, you will not download it again. If you want to own it, you will re-download the segment that has not been downloaded before, and then follow the new content. A regroup is required. If the content contained in the previous content level has completely contained all the fragments of the new desired content level, then the fragments of the desired content level have been downloaded to the local, and there is no need to download new fragments, only need to Existing fragments can be reassembled according to the new content division level.

对于如图1所示的profile-3既是将部分属于精彩章节中的内容追加在整个文件的末端。这样虽然整个profile-3的内容长度比原始文件还要长,而在profile-3中,追加部分的内容都是属于原始文件中,只是进行了重复和重新组合,因此所需要的下载量还是和原始文件一致。这样即使增加了用户收看的时间长度,而没有增加任何的额外下载量。For the profile-3 as shown in Figure 1, the content belonging to some wonderful chapters is appended to the end of the entire file. In this way, although the content length of the entire profile-3 is longer than the original file, in profile-3, the content of the additional part belongs to the original file, but it is repeated and recombined, so the required download amount is still the same as The original file is consistent. In this way, even if the length of time for users to watch is increased, no additional downloads will be added.

除了之前所述的两种实现方法以外,还可以有其他多种的获得个性化profile定义的方法,同时也可以是用户自己进行定义的。In addition to the two implementation methods described above, there may be other ways to obtain personalized profile definitions, and at the same time, users may define them themselves.

以下说明应用本发明的视频设备的例子。Examples of video equipment to which the present invention is applied are explained below.

图15示出了进行个性化下载和播放的一种视频设备1的框图。视频设备1包括:下载装置11、组合装置12、显示装置13和对这些装置进行控制的控制装置(CPU),根据需要,也可以包括选择装置14,还可以包括存储装置15。本发明的下载和播放方法所涉及的接收、下载、组合、选择等各种动作的执行并不限于这些接收装置、下载装置、组合装置、选择装置等功能模块,也可以通过CPU进行控制来执行。Fig. 15 shows a block diagram of a video device 1 for personalized download and playback. The video equipment 1 includes: a downloading device 11 , a combining device 12 , a display device 13 and a control device (CPU) for controlling these devices, and may also include a selection device 14 and a storage device 15 as required. The execution of various actions such as receiving, downloading, combining, and selecting involved in the downloading and playing method of the present invention is not limited to functional modules such as these receiving devices, downloading devices, combining devices, and selecting devices, and can also be controlled by a CPU. .

以下,简单说明使用这些功能模块实现本发明的视频设备1。以BT下载为例,选择装置14打开并读取所得到的个性化BT种子文件,并按照种子文件中定义的一些方式进行识别,能够识别出图4中所定义的一些个性化信息,然后将这些个性化选项提供给用户选择,如用户可以选择Profile-1(预告片)也可以选择Profile-2(精彩章节)等等;之后下载装置11按照用户选择的Profile中所定义的片段列表进行下载,同样下载完毕每一个片段后,按照BT种子文件中包含的对应片段的Hash值进行校验,如果校验正确则表示该片段下载成功,在所有的profile对应的片段下载成功后,组合装置12将这些片段按照Profile所规定的次序和方式进行组合,播放装置13根据个性化种子文件中对应于该Profile所定义的播放方式进行播放。另外,下载装置11也可以像图12所示那样,根据片段的片段描述符获取片段的属性,将所获取的属性与属于所指定的个性化级别的片段属性进行匹配,确定需要下载的片段。Hereinafter, the video device 1 implementing the present invention using these functional blocks will be briefly described. Taking BT download as an example, the selection device 14 opens and reads the obtained personalized BT seed file, and identifies it according to some modes defined in the seed file, and can recognize some personalized information defined in Fig. 4, and then These personalized options are provided to the user to choose, as the user can select Profile-1 (trailer) or Profile-2 (exciting chapters) and so on; then the downloading device 11 downloads according to the segment list defined in the Profile selected by the user , after downloading each segment similarly, check according to the Hash value of the corresponding segment contained in the BT seed file, if the verification is correct, it means that the segment download is successful, after the segment corresponding to all profiles is successfully downloaded, the combination device 12 These fragments are combined according to the order and method specified by the Profile, and the playback device 13 plays according to the playback method defined in the personalized seed file corresponding to the Profile. In addition, as shown in FIG. 12 , the downloading device 11 may also obtain the attribute of the segment according to the segment descriptor of the segment, and match the acquired attribute with the attribute of the segment belonging to the specified personalization level to determine the segment to be downloaded.

如果用户根据初始等级选择部分下载,而播放后希望完整的欣赏这些影片,则只需要重新选择内容更加丰富的Profile进行下载,而此时,由于部分片段已经为之前选定的profile定义并且已经进行了下载,此时,下载装置11只需要通过将现在需求的prifile和之前的profile进行简单差分比较,确定出需要追加下载的内容片段,将这些追加的片段进行下载。If the user selects part of the download according to the initial grade, and wants to fully enjoy these movies after playing, he only needs to re-select the Profile with richer content to download, and at this time, because some clips have been defined for the previously selected downloading, at this time, the downloading device 11 only needs to determine the content segments that need to be additionally downloaded by performing a simple difference comparison between the profile required now and the previous profile, and download these additional segments.

另外,当需要下载的内容片段如图10所示,其头部附加有包含片段属性的片段头数据时,下载装置11接收附加有包含规定的属性信息的片段头数据的内容片段,如属于预告片的内容片段,显示装置13将所接收的这些内容片段再现后,当用户还希望观看完整的影片或精彩章节时,下载装置11接收片段头数据不包含规定的属性信息的内容片段,经过组合装置12的组合,显示装置13对两次接收到的内容片段进行再现。In addition, when the content segment to be downloaded is shown in FIG. 10 , and its head is appended with segment header data containing segment attributes, the download device 11 receives the content segment appended with segment header data containing specified attribute information. After the display device 13 reproduces the received content fragments, when the user still wants to watch a complete movie or exciting chapter, the download device 11 receives the content fragments whose segment header data does not contain the specified attribute information, and combines them In combination with the device 12, the display device 13 reproduces the twice received content segments.

另外,下载装置11也可以从存储有表示属性的多个属性信息和各属性信息所包含的内容片段序号的网络服务器接收规定的属性信息所包含的内容片段序号,从管理服务器接收具有该内容片段序号的终端地址,从该终端地址的各个内容提供者处接收内容片段,显示装置13对这些内容片段进行再现后,根据需要,下载装置11接收除再现过的序号以外的内容片段的一部分或全部的内容片段,由显示装置13进行再现。In addition, the download device 11 may receive a content segment number included in predetermined attribute information from a network server that stores a plurality of attribute information indicating attributes and a content segment number included in each attribute information, and may receive a content file with the content segment number from a management server. The terminal address of the serial number receives the content fragments from each content provider of the terminal address. After the display device 13 reproduces these content fragments, the downloading device 11 receives part or all of the content fragments except the reproduced serial number as required. The content segment of is reproduced by the display device 13 .

以上说明的方法和视频设备仅是例示,在不脱离本发明主旨的范围内,可进行各种变更。The method and video equipment described above are merely examples, and various changes can be made without departing from the gist of the present invention.

本发明提供了一种以片段为单位的个性化内容提供和下载以及播放方法,提高了内容提供者和用户对内容的控制方式。The invention provides a method for providing, downloading and playing individualized content in units of fragments, and improves the control mode of the content provider and the user on the content.

该方法可以被用于内容的发行阶段,比如发行商希望通过免费提供给用户一些片花(profile-片花)或者内容简介(profile-简介)以提高用户对该内容的兴趣度,吸引用户通过使用完全(profile-完全)的下载方式进行下载和收看,同时对用户收取一定的费用,也可以是通过不同的profile提供用户不同的收视清晰度等等方式,实现对内容的分级发行。而对用户端来说,希望通过这种方式,个性化自己的下载方式,根据自己的实际需要的现实条件,如家长控制、网络下载速度和网络下载等待时间等等的要求,方便自己分级下载和欣赏内容,实现各取所需的下载方式。This method can be used in the distribution stage of the content. For example, the publisher hopes to increase the user's interest in the content by providing the user with some free clips (profile-film) or content introduction (profile-profile) for free, and attract users to use it completely. The (profile-full) download method is used for downloading and viewing, and at the same time, a certain fee is charged to the user, and different profiles can also be used to provide users with different viewing resolutions, etc., to achieve hierarchical distribution of content. For the client, it is hoped that in this way, it can personalize its own download method, and according to its actual needs and actual conditions, such as parental control, network download speed, and network download waiting time, etc., it is convenient for its own graded download And enjoy the content, to achieve the desired download method.

通过这种方式,用户还可以在播放阶段对播放方式进行定义。比如用户下载了所有的片段内容,即完整的目标文件。而其中的一些片段内容可能并不适合儿童观看,这时候,父母只需要定义一个适合儿童观看的片段列表,在儿童观看时,只允许其选择适合儿童观看的profile进行播放,而不让其选择完整文件的播放方式,这样虽然用户下载了所有的片段内容,但对不同的用户可以实现不同的播放内容,实现了家长控制等个性化方式,极大方便了家庭对内容的管理。In this way, the user can also define the playback mode during the playback phase. For example, the user has downloaded all fragment contents, that is, the complete target file. Some of the clips may not be suitable for children to watch. At this time, parents only need to define a list of clips suitable for children to watch. When children watch, they are only allowed to choose profiles suitable for children to watch, and they are not allowed to choose The playback method of the complete file, so that although the user has downloaded all the fragment content, different playback content can be realized for different users, and personalized methods such as parental control have been realized, which greatly facilitates the family's management of content.

Claims (20)

1. method for down loading is characterized in that:
Based on content being carried out personalized individualized content definition of dividing, the file destination that is divided into a plurality of fragments is carried out personalization download, said method comprising the steps of:
A) download client is sent download request to the content provider, belongs to personalized other fragment of level of appointment in the downloading object file;
B) download client makes up the fragment of being downloaded, and forms the individualized content that meets other requirement of described personalized level.
2. method for down loading as claimed in claim 1 is characterized in that:
Described individualized content definition comprises the fragment list definition, according to the fragment sequence number definition fragment list corresponding of each described fragment with personalized rank,
Download client is only downloaded the fragment with the fragment sequence number that belongs to corresponding fragment list according to specified personalized rank.
3. method for down loading as claimed in claim 1 is characterized in that:
Described individualized content definition comprises the fragment attributes definition, to each described fragment definition fragment attributes corresponding with personalized rank,
Download client is only downloaded the fragment with corresponding fragment attributes according to personalized rank.
4. as each described method for down loading of claim 1~3, it is characterized in that:
Download client provides the option corresponding respectively with a plurality of personalized ranks to the user, determines the fragment that needs are downloaded according to the option of user's appointment, sends described download request to the content provider.
5. method for down loading as claimed in claim 3 is characterized in that:
The content provider determines the fragment that needs are downloaded according to the download request that has the fragment attributes definition that download client is sent, and downloads for download client.
6. as claim 3 or 5 described method for down loading, it is characterized in that:
Obtain the attribute of described each fragment according to the segment descriptors of each fragment of file destination, with the attribute that obtained with mate corresponding to specified personalized other fragment attributes of level, need to determine the fragment of downloading.
7. method for down loading as claimed in claim 1 is characterized in that:
The definition of described individualized content comprises the broadcast side-play amount to described fragment definition, when described individualized content is play, skips a part of data in the described fragment according to described broadcast side-play amount.
8. method for down loading as claimed in claim 1 is characterized in that:
Download client makes up the partial content of being downloaded according to Combination Control information, and described Combination Control information comprises the position of the content that is used to make up in the sign of fragment and the fragment.
9. method for down loading as claimed in claim 7 is characterized in that:
Described Combination Control information comprises initial address and the length in the fragment.
10. method for down loading as claimed in claim 1 is characterized in that:
Described individualized content definition is stored in and is used for the alternative document that seed file is interior or seed file is outer that P2P downloads, and perhaps, described individualized content definition is specified by the user temporarily, perhaps is embedded in the inside of downloading object file.
11. a video equipment is characterized in that:
Based on content being carried out personalized individualized content definition of dividing, the file destination that is divided into a plurality of fragments is carried out personalization download and play, comprising:
Download apparatus sends download request to the content provider, belongs to personalized other fragment of level of appointment in the downloading object file;
Composite set makes up the fragment of being downloaded, and forms the individualized content that meets other requirement of described personalized level; With
Playing device is play the individualized content that described composite set made up.
12. video equipment as claimed in claim 11 is characterized in that: also comprise
Choice device provides the option corresponding respectively with a plurality of personalized ranks to the user, selects for the user,
Described download apparatus sends described download request according to the option of user's appointment to the content provider.
13. video equipment as claimed in claim 11 is characterized in that:
Described download apparatus according to specified personalized rank, is only downloaded and is had the fragment sequence number that belongs to corresponding fragment list or the fragment of corresponding fragment attributes.
14. video equipment as claimed in claim 13 is characterized in that:
Described download apparatus obtains the attribute of described each fragment according to the segment descriptors of each fragment of file destination, with the attribute that obtained with belong to specified personalized other fragment attributes of level and mate, need to determine the fragment of downloading.
15. a video equipment after reproducing via the part of the content of network receiving target file, receives another part and reproduces, and it is characterized in that:
The part of the content of described file destination is a plurality of contents fragments in the contents fragment that content comprised of described file destination, and described another part is part or all a contents fragment of the described file destination except that the part of the content of described file destination.
16. a video equipment after reproducing via the part of the content of network receiving target file, receives another part and reproduces, and it is characterized in that:
Described content comprises a plurality of contents fragments, the slice header data is arranged in that the head of this contents fragment is additional, and described slice header data comprise the attribute information of the attribute of representing described contents fragment,
Comprise in the described slice header data that described video equipment will receive under the situation of described attribute information of regulation, receive the additional contents fragment that described slice header data are arranged, after the contents fragment reproduction that these received, receive the contents fragment that described slice header data do not comprise the attribute information of described regulation, the contents fragment of the attribute information that comprises described regulation and the contents fragment that do not comprise the attribute information of described regulation are reproduced.
17. a video equipment after reproducing via the part of the content of network receiving target file, receives another part and reproduces, and it is characterized in that:
This video equipment can be connected the transmission of carrying out described content with not specific a plurality of terminals and receive, and described content comprises a plurality of contents fragments, and these contents fragments are stored in not specific a plurality of terminals,
The webserver of the contents fragment sequence number that described video equipment is comprised from a plurality of attribute informations of attribute of storing the described content of expression and each attribute information receives the contents fragment sequence number that attribute information comprised of regulation, receive terminal address from the management server that the described not specific contents fragment that a plurality of terminal had is managed with described contents fragment sequence number, after reproducing from the terminal received content fragment of this address, part or all the contents fragment that receives contents fragment except that the described contents fragment sequence number that receives reproduces.
18. each the described video equipment as claim 15~17 is characterized in that:
The amount of information of the part of the content of described file destination is littler than the amount of information of another part.
19. a content delivery method reproduces the back to the video equipment that another part reproduces to the part of the content that receives file destination, sends described content via network, it is characterized in that:
At the head of the contents fragment that content comprised of described file destination, accessory plate paragraph header data, described slice header data comprise the attribute information of the attribute of representing described contents fragment.
20. content delivery method as claimed in claim 19 is characterized in that:
The amount of information of the part of the content of described file destination is littler than the amount of information of another part.
CN2010101288041A 2010-03-08 2010-03-08 Peer-to-peer download method, video device and content delivery method Pending CN102196008A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101288041A CN102196008A (en) 2010-03-08 2010-03-08 Peer-to-peer download method, video device and content delivery method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101288041A CN102196008A (en) 2010-03-08 2010-03-08 Peer-to-peer download method, video device and content delivery method

Publications (1)

Publication Number Publication Date
CN102196008A true CN102196008A (en) 2011-09-21

Family

ID=44603394

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101288041A Pending CN102196008A (en) 2010-03-08 2010-03-08 Peer-to-peer download method, video device and content delivery method

Country Status (1)

Country Link
CN (1) CN102196008A (en)

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413361A (en) * 2011-11-25 2012-04-11 青岛海信传媒网络技术有限公司 Friend information sharing method and system based on smart television
CN102546768A (en) * 2011-12-23 2012-07-04 深圳市同洲电子股份有限公司 Content sharing method, device and system
CN103281395A (en) * 2013-06-08 2013-09-04 河海大学 Data piece equipartition selecting system and method based on number of client-sides
CN103491457A (en) * 2012-06-11 2014-01-01 Rgb网络有限公司 Methods and apparatus for combining assets for streaming video signal
CN103514243A (en) * 2012-06-18 2014-01-15 株式会社日立制作所 Spatio-temporal data management system, spatio-temporal data management method, and program thereof
CN103517084A (en) * 2012-06-20 2014-01-15 联想(北京)有限公司 Data processing method and electronic equipment
CN103686375A (en) * 2013-11-19 2014-03-26 乐视致新电子科技(天津)有限公司 Video sharing method and device
CN103795774A (en) * 2012-10-30 2014-05-14 汤姆逊许可公司 Method for downloading content according to communication parameters, and associated content receiver
CN103902337A (en) * 2014-03-14 2014-07-02 北京金山网络科技有限公司 Data download method and device
CN104080013A (en) * 2014-07-09 2014-10-01 三星电子(中国)研发中心 Special-effect playing method and device
CN104348899A (en) * 2014-06-25 2015-02-11 深圳市天朗时代科技有限公司 Client and server multimedia content sharing method and sharing system
WO2015043403A1 (en) * 2013-09-27 2015-04-02 Tencent Technology (Shenzhen) Company Limited Method, apparatus, and terminal for obtaining video data
CN104572839A (en) * 2014-12-11 2015-04-29 百度在线网络技术(北京)有限公司 Retrieval method and retrieval system for resource file
CN104822087A (en) * 2015-04-30 2015-08-05 无锡天脉聚源传媒科技有限公司 Processing method and apparatus of video segment
CN104915350A (en) * 2014-03-12 2015-09-16 北京风行在线技术有限公司 Method and device for obtaining multimedia files based on P2P mode
CN104980773A (en) * 2014-09-23 2015-10-14 腾讯科技(深圳)有限公司 Streaming media processing method and device, terminal and server
CN105049957A (en) * 2015-07-13 2015-11-11 无锡天脉聚源传媒科技有限公司 Video synthesis method based on Web terminal and device thereof
CN106028154A (en) * 2016-06-30 2016-10-12 青岛海信电器股份有限公司 Program playing method and device based on HLS (HTTP Live Streaming) protocol
CN106254561A (en) * 2016-10-12 2016-12-21 上海安馨信息科技有限公司 The real-time offline download method of a kind of Internet resources file and system
CN106302362A (en) * 2015-06-11 2017-01-04 北京三星通信技术研究有限公司 Content of multimedia sending method, sharing method, method of reseptance and corresponding intrument
CN106888239A (en) * 2015-12-16 2017-06-23 天脉聚源(北京)科技有限公司 A kind of file user-defined method for down loading of P2P and system
CN106899866A (en) * 2015-12-17 2017-06-27 上海交通大学 A method for describing personalized presentation information of associated multimedia content
CN107005747A (en) * 2014-07-31 2017-08-01 麦恩得赛特米迪尔公司 Method, equipment and the product of delivering media content are presented via at user option narration
CN107181774A (en) * 2016-03-09 2017-09-19 伊姆西公司 Data movement between distributive data center
CN108696505A (en) * 2017-04-07 2018-10-23 佳能株式会社 Video distribution apparatus, video reception apparatus, method of video distribution and recording medium
CN109040191A (en) * 2018-07-03 2018-12-18 平安科技(深圳)有限公司 Document down loading method, device, computer equipment and storage medium
CN109582805A (en) * 2018-12-17 2019-04-05 湖州职业技术学院 A method of by checking that game movie contents recommend APP come divided rank
CN110995830A (en) * 2019-11-29 2020-04-10 武汉卓讯互动信息科技有限公司 Network resource processing method and device
CN113301095A (en) * 2020-12-08 2021-08-24 阿里巴巴集团控股有限公司 Method and device for providing data of cloud object

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001344242A (en) * 2000-05-31 2001-12-14 Kyubunkan:Kk Server device, terminal equipment and recording medium
CN1968390A (en) * 2006-10-19 2007-05-23 李卫红 Digital video classification coding and playing system
CN101217638A (en) * 2007-12-28 2008-07-09 深圳市迅雷网络技术有限公司 Method, system and device for segmented downloading of video files
US20090083812A1 (en) * 2007-01-19 2009-03-26 Beijing Funshion Online Technologies Ltd. Method and apparatus for controlling on-demand play of media files based on P2P protocols
CN101459619A (en) * 2009-01-05 2009-06-17 杭州华三通信技术有限公司 Method and apparatus for packet transmission processing in network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001344242A (en) * 2000-05-31 2001-12-14 Kyubunkan:Kk Server device, terminal equipment and recording medium
CN1968390A (en) * 2006-10-19 2007-05-23 李卫红 Digital video classification coding and playing system
US20090083812A1 (en) * 2007-01-19 2009-03-26 Beijing Funshion Online Technologies Ltd. Method and apparatus for controlling on-demand play of media files based on P2P protocols
CN101217638A (en) * 2007-12-28 2008-07-09 深圳市迅雷网络技术有限公司 Method, system and device for segmented downloading of video files
CN101459619A (en) * 2009-01-05 2009-06-17 杭州华三通信技术有限公司 Method and apparatus for packet transmission processing in network

Cited By (45)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413361A (en) * 2011-11-25 2012-04-11 青岛海信传媒网络技术有限公司 Friend information sharing method and system based on smart television
CN102546768A (en) * 2011-12-23 2012-07-04 深圳市同洲电子股份有限公司 Content sharing method, device and system
CN103491457A (en) * 2012-06-11 2014-01-01 Rgb网络有限公司 Methods and apparatus for combining assets for streaming video signal
CN103491457B (en) * 2012-06-11 2018-02-27 想象通信公司 For combining the method and apparatus of the assets for streaming video signal
CN103514243A (en) * 2012-06-18 2014-01-15 株式会社日立制作所 Spatio-temporal data management system, spatio-temporal data management method, and program thereof
CN103514243B (en) * 2012-06-18 2016-12-28 株式会社日立制作所 Temporal-spatial data management system and Temporal-spatial data management method
CN103517084A (en) * 2012-06-20 2014-01-15 联想(北京)有限公司 Data processing method and electronic equipment
CN103517084B (en) * 2012-06-20 2016-12-21 联想(北京)有限公司 A kind of data processing method and electronic equipment
CN103795774A (en) * 2012-10-30 2014-05-14 汤姆逊许可公司 Method for downloading content according to communication parameters, and associated content receiver
CN103281395B (en) * 2013-06-08 2016-04-06 河海大学 A kind of data slice based on client terminal quantity divides equally selective system and method
CN103281395A (en) * 2013-06-08 2013-09-04 河海大学 Data piece equipartition selecting system and method based on number of client-sides
WO2015043403A1 (en) * 2013-09-27 2015-04-02 Tencent Technology (Shenzhen) Company Limited Method, apparatus, and terminal for obtaining video data
CN103686375A (en) * 2013-11-19 2014-03-26 乐视致新电子科技(天津)有限公司 Video sharing method and device
CN104915350A (en) * 2014-03-12 2015-09-16 北京风行在线技术有限公司 Method and device for obtaining multimedia files based on P2P mode
CN103902337A (en) * 2014-03-14 2014-07-02 北京金山网络科技有限公司 Data download method and device
CN104348899B (en) * 2014-06-25 2018-08-17 深圳市天朗时代科技有限公司 The sharing method and share system of client, server-side multimedia content
CN104348899A (en) * 2014-06-25 2015-02-11 深圳市天朗时代科技有限公司 Client and server multimedia content sharing method and sharing system
CN104080013A (en) * 2014-07-09 2014-10-01 三星电子(中国)研发中心 Special-effect playing method and device
CN107005747A (en) * 2014-07-31 2017-08-01 麦恩得赛特米迪尔公司 Method, equipment and the product of delivering media content are presented via at user option narration
CN104980773B (en) * 2014-09-23 2019-12-13 腾讯科技(深圳)有限公司 streaming media processing method and device, terminal and server
CN104980773A (en) * 2014-09-23 2015-10-14 腾讯科技(深圳)有限公司 Streaming media processing method and device, terminal and server
CN104572839A (en) * 2014-12-11 2015-04-29 百度在线网络技术(北京)有限公司 Retrieval method and retrieval system for resource file
CN104822087A (en) * 2015-04-30 2015-08-05 无锡天脉聚源传媒科技有限公司 Processing method and apparatus of video segment
CN104822087B (en) * 2015-04-30 2017-11-28 无锡天脉聚源传媒科技有限公司 A kind of processing method and processing device of video-frequency band
CN106302362A (en) * 2015-06-11 2017-01-04 北京三星通信技术研究有限公司 Content of multimedia sending method, sharing method, method of reseptance and corresponding intrument
US11089073B2 (en) 2015-06-11 2021-08-10 Samsung Electronics Co., Ltd. Method and device for sharing multimedia content
CN105049957B (en) * 2015-07-13 2018-07-24 无锡天脉聚源传媒科技有限公司 A kind of image synthesizing method and device based on the ends Web
CN105049957A (en) * 2015-07-13 2015-11-11 无锡天脉聚源传媒科技有限公司 Video synthesis method based on Web terminal and device thereof
CN106888239A (en) * 2015-12-16 2017-06-23 天脉聚源(北京)科技有限公司 A kind of file user-defined method for down loading of P2P and system
CN106899866B (en) * 2015-12-17 2019-08-09 上海交通大学 A method for describing personalized presentation information of associated multimedia content
CN106899866A (en) * 2015-12-17 2017-06-27 上海交通大学 A method for describing personalized presentation information of associated multimedia content
CN107181774A (en) * 2016-03-09 2017-09-19 伊姆西公司 Data movement between distributive data center
CN107181774B (en) * 2016-03-09 2020-11-20 伊姆西Ip控股有限责任公司 Data movement between distributed data centers
CN106028154A (en) * 2016-06-30 2016-10-12 青岛海信电器股份有限公司 Program playing method and device based on HLS (HTTP Live Streaming) protocol
CN106028154B (en) * 2016-06-30 2019-05-03 青岛海信电器股份有限公司 A kind of program broadcasting method and device based on HLS protocol
CN106254561A (en) * 2016-10-12 2016-12-21 上海安馨信息科技有限公司 The real-time offline download method of a kind of Internet resources file and system
CN106254561B (en) * 2016-10-12 2019-12-17 上海安馨信息科技有限公司 real-time off-line downloading method and system for network resource file
CN108696505A (en) * 2017-04-07 2018-10-23 佳能株式会社 Video distribution apparatus, video reception apparatus, method of video distribution and recording medium
US11102527B2 (en) 2017-04-07 2021-08-24 Canon Kabushiki Kaisha Video distribution apparatus, video reception apparatus, video distribution method, and recording medium
CN109040191A (en) * 2018-07-03 2018-12-18 平安科技(深圳)有限公司 Document down loading method, device, computer equipment and storage medium
CN109040191B (en) * 2018-07-03 2021-11-09 平安科技(深圳)有限公司 File downloading method and device, computer equipment and storage medium
CN109582805A (en) * 2018-12-17 2019-04-05 湖州职业技术学院 A method of by checking that game movie contents recommend APP come divided rank
CN110995830A (en) * 2019-11-29 2020-04-10 武汉卓讯互动信息科技有限公司 Network resource processing method and device
CN113301095A (en) * 2020-12-08 2021-08-24 阿里巴巴集团控股有限公司 Method and device for providing data of cloud object
CN113301095B (en) * 2020-12-08 2024-05-10 阿里巴巴集团控股有限公司 Method and device for providing data of cloud object

Similar Documents

Publication Publication Date Title
CN102196008A (en) Peer-to-peer download method, video device and content delivery method
CN101438526B (en) Advertisement rotation
CN103559165B (en) Comprise the video distribution system of broadcasting continuously
US8661098B2 (en) Live media delivery over a packet-based computer network
US8943215B2 (en) Distributed smooth streaming utilizing dynamic manifests
US10305947B2 (en) Pre-buffering audio streams
JP5288710B2 (en) Information storage medium recording multimedia data, reproducing method and reproducing apparatus thereof
US8775566B2 (en) File format for media distribution and presentation
KR101484900B1 (en) Audio splitting with codec-enforced frame sizes
US8150992B2 (en) Dynamic media bit rates based on enterprise data transfer policies
US7315899B2 (en) System for controlling and enforcing playback restrictions for a media file by splitting the media file into usable and unusable portions for playback
US9176955B2 (en) Method and apparatus for sharing media files among network nodes
KR101731133B1 (en) Assembling streamed content for on-demand presentation
CN1941899A (en) System and method for downloading contents
CN104429087B (en) Transcriber, reproducting method, distributing device, dissemination method
US20020147985A1 (en) Video distribution system and video distribution method
US20020147827A1 (en) Method, system and computer program product for streaming of data
JP2009543488A (en) System and method for downloading multimedia content in a terminal
US20130144985A1 (en) Terminal, distribution system, distribution server, playback method, and program
EP1451958A2 (en) File splitting scalade coding and asynchronous transmission in streamed data transfer
KR101383904B1 (en) Method and apparatus for providing advertisement into streaming service
JP2004159057A (en) Reproduction information distribution system and reproduction information distribution method
CN101236769A (en) Multimedia file playing processing method
CN101919276B (en) Server, system and method for providing additional content
KR100577001B1 (en) Method and system for providing wired and wireless video streaming packaging service

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110921