CN101388909A - P2P play-on-demand system and service method - Google Patents

P2P play-on-demand system and service method Download PDF

Info

Publication number
CN101388909A
CN101388909A CN 200810216739 CN200810216739A CN101388909A CN 101388909 A CN101388909 A CN 101388909A CN 200810216739 CN200810216739 CN 200810216739 CN 200810216739 A CN200810216739 A CN 200810216739A CN 101388909 A CN101388909 A CN 101388909A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
media
segment
media file
demand
p2p
Prior art date
Application number
CN 200810216739
Other languages
Chinese (zh)
Inventor
健 季
Original Assignee
中兴通讯股份有限公司
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

Links

Abstract

The invention discloses a P2P program ordering system and service method. The system comprises: a management platform, a center storage, a zone management server, a media server and a program ordering terminal; the management platform contains a dividing module for dividing the media file into several sectional files and storing them into the center storage, and a distributing module for distributing all the sectional files onto the appointed media server; the program ordering terminal contains a sectional content storing module. The service method comprises the following steps: the management platform divides a media file into several sectional files and storing them into the center storage; the management platform distributes all the sectional files onto the media server; and the program ordering terminal requests, stores and plays the sectional files. In the invention, the media files are divided into sectional files for storing and distributing, the terminal user can ordering and storing the sectional files, thus, the media file sharing rate on the client end is improved, the wide band flow is optimized, and the cost is saved.

Description

一种P2P点播系统和业务方法 For P2P on-demand system and business methods

技术领域 FIELD

本发明涉及流媒体技术领域,尤其涉及一种P2P点播系统和业务方法。 The present invention relates to a streaming media technology, and more particularly, to a method for P2P services and on-demand system. 背景技术 Background technique

随着视音频编码技术和IP网络传输技术的发展完善,数字媒体业务得到了迅速发展,业已成为宽带的核心应用。 With the improvement of the development of video and audio coding technology and IP network transmission technology, digital media business has been rapid development, it has become the core of broadband applications. 现阶段中国电信数字媒体业务采用集中服务的模式,通过基于C/S或C/S+CDN架构为用户提供服务。 China Telecom stage digital media business model focused on the use of services, by providing services to users based on C / S or C / S + CDN architecture. 伴随着日益增长的业务需求,该架构的系统投资剧增、产出效益不明显的问题日益显现。 With the growing business needs, system architecture of the sharp increase in investment, output efficiency issues become more and more obvious. 虽然该系统不断扩充,但是服务能力始终有限,尤其在一些特殊情况下,如球赛实况转播时,仍然难以满足用户密集突发的流媒体业务需求。 Although the system continues to expand, but the service capacity has been limited, especially in some special cases, such as when the game live, is still difficult to meet the user-intensive burst of streaming media business needs. 相比之下,P2P业务平台具有低成本、高扩展性、高服务质量、 高安全性等先天优势,可解决现有数字媒体业务发展中所面临的平台高投入、低回报、热点效应。 In contrast, P2P service platform has the inherent advantages of low cost, high scalability, high quality of service, high security and so on, to resolve existing digital media business development platform facing high investment, low returns, hotspots effect. 为此,有必要建设P2P业务平台,以优化宽带网络流量,提高现有资源利用率,节省投资,为数字媒体产业的发展构建新型的业务支撑平台,创造良好的发展环境,促进其持续、健康、良性发展。 For this reason, it is necessary to build P2P service platform to optimize the broadband network traffic, improve utilization of existing resources, save investment and business support to build a new platform for the development of the digital media industry, to create a good environment for development, promote the sustainable and healthy healthy development.

目前在P2P的流媒体中,P2P直播的推广比较广泛,因为其最能体现P2P的价值,大家看同一个频道,内容趋同,可以充分利用客户端之间的传递能力,理论上在上/下行对等的基础上,在线用户数可以无限扩展。 Currently in P2P streaming media, the promotion of P2P live more extensive, because it can best reflect the value of P2P, we see the same channel, the convergence of content, you can take advantage of the ability to transfer between the client, in theory, up / down peer basis, the number of online users unlimited expansion. 但是在点播模式下,由于点播的节目源比较多,用户的选择比较多,从而会导致单个片源上的用户比较分散。 In demand mode, however, since more demand programming source, more user's selection, which can lead to the user on a single scattered sources. 另外,用户观看电影时,因为看的影片进度不同,某个用户能从其他用户电脑上读取的资源有限,上述问题导致P2P点播所能节省的服务器带宽资源有限,因此如何提高P2P点播客户端之间的共享率成为P2P点播需要解决的核心问题。 In addition, when users watch movies, watch movies because of the different schedule, a limited user from reading other resources on the computer user, the above-mentioned problems resulting in limited P2P VOD server bandwidth resources can be saved, so how to improve P2P client demand sharing rates between P2P on-demand become the core problem to be solved.

发明内容 SUMMARY

有鉴于此,本发明的目的是为了克服现有技术的不足,提供一种可以提高P2P点播客户端共享率的P2P点播系统和业务方法。 In view of this, object of the present invention is to overcome the deficiencies of the prior art, there is provided a method for P2P services and on-demand system clients demand P2P sharing rate can be increased.

本发明的目的是通过以下技术方案加以实现的: Object of the present invention is to be achieved by the following technical solution:

一种P2P点播系统,包括:管理平台,用于管理媒体资源的发布;中心片库,用于存储媒体资源;区域管理服务器,用于管理辖区内媒体资源的发布和检索;媒体服务器,用于提供媒体内容;点播终端,用于发出点播请求、接收和存储媒体内容以及进行媒体播放。 For P2P on-demand system, comprising: a management platform for managing media resources released; the central film library for storing media resources; regional management server for publishing and retrieving media resources within the management area; media server for providing media content; VOD terminal, a request for issuing a demand, to receive and store media content and media playback. 所述管理平台还包括分段模块,用于对媒体文件分割成多个分段媒体文件并存储在所述中心片库中;以及发布模块,用于将所有分段媒体文件发布到指定的媒体服务器上。 The management platform further comprises a segmentation module for the media files into a plurality of segments and media files stored in the central repository sheet; and publishing means for publishing the media files to all segments of the specified media on the server. 所述点播终端还包括分段内容存储模块,用于存储从媒体服务器或其他点播终端传来的分段媒体文件。 The terminal further comprises a segmented demand content storage module for storing the media-on-demand server, or other media files sent by the terminal segment.

上述区域管理服务器还包括分发模块,用于将指定媒体服务器上的所有分段媒体文件分发到其他媒体服务器上,使得其他服务器上分别具有部分分段媒体文件。 Region above the distribution management server further comprises a module configured to distribute segments of all the media files on the media server to specify other media servers, such that each segment has a portion of the media file on a different server.

上述点播终端还包括存储控制模块,用于控制所述分段内容存储模块将从媒体服务器或其他点播终端传来的分段媒体文件数据先写入内存缓冲区,在接收到一个完整分段媒体文件后,再将内存缓冲区内的分段媒体文件写入磁盘缓冲区。 The above-demand terminal further includes storage control means for controlling the segment content storage module from the media server or other on-demand media files sent by the terminal segment data is first written to the memory buffer, receiving a complete media segment after the file, and then segmented media files within the memory buffer is written to disk buffer.

上述分段内容存储模块还包括索弓I模块,用于存储分段媒体文件在整个媒体文件中的位置和该分段媒体文件的写入时间和使用频度,所述存储控制模块根据所述索引模块的存储内容确定分段媒体文件写入磁盘缓冲区的覆盖策略。 Said section further comprising a content storage module index I bow means for writing the time and frequency of use of the storage location in the media file segment in the entire media file and the media file segment, the storage control module according to the storing content indexing module determines the segmented media files are written to the disk buffer coverage strategy.

一种P2P点播业务方法,包括以下步骤: Demand for P2P service method, comprising the steps of:

A) 、管理平台将媒体文件分割成多个分段媒体文件并存储在中心片库 A), the media file management platform is divided into a plurality of segments and media files stored in a central repository sheet

中; in;

B) 、管理平台向媒体服务器发布所有分段媒体文件; B), release management platform for all segments of media files to the media server;

C) 、点播终端请求分段媒体文件并存储、播放。 C), terminal requests a segment-demand media file storage and playback.

上述步骤B是通过管理平台指定媒体服务器到中心片库中下载所有的分段媒体文件来发布的。 Step B above are designated by the management platform to the central media server to download all of the film library of media files to release segment.

上述步骤B和C之间还包括以下步骤:区域管理服务器将指定媒体服务器上的所有分段媒体文件分发到其他媒体服务器上,使得其他媒体服务器上分别具有部分分段媒体文件。 Between the steps B and C further comprises the step of: area management server specifies all the segments on the media files to the media server to distribute other media servers, such that each segment has a portion of the media file on the other media servers.

上述步骤C包括以下步骤: Step C comprises the steps of:

Cl)、点播终端向区域管理服务器发出分段媒体文件点播请求; C2)、区域管理服务器根据点播请求检索具有分段媒体文件的源节点, 并将源节点的信息返回给点播终端; Cl), Demand VOD terminal sends a media file request to the segment region management server; C2), regional demand request management server retrieves a media file segment source node, the source node and returns the information to the VOD terminal;

C3)、点播终端连接源节点获得分段媒体文件并存储和播放。 C3), connecting the source node obtains the VOD terminal segment and to store and play media files. 上述步骤C3存储分段媒体文件的过程包括以下步骤: Sl)、将获得的分段媒体文件数据存储在内存缓冲区中; S2 )、将内存缓冲区中的完整分段媒体文件写入磁盘缓冲区。 Step C3 above storage segment of the media file includes the following steps: Sl), in the memory buffer segment data storage media files obtained; S2), the buffer will be written to disk memory buffer segment in the complete media file Area. 上述步骤S2是依据区域管理服务器对分段媒体文件热度和分发情况确定的概率将内存缓冲区中的完整分段媒体文件写入磁盘缓冲区。 Step S2 is based on the regional management server segment of the media file probability distribution is determined by the heat and the memory buffer is full segmented media file written to disk buffer.

上述步骤S2中存储分段媒体文件的过程还包括建立并存储分段媒体文件索引的步骤,所述索弓I包括分段媒体文件在整个媒体文件中的位置、 写入时间和使用频度,点播终端根据所述索引记载的写入时间和使用频度, 采用写入时间最近和使用频度最高的分段媒体文件作为最低优先级被覆盖的策略,完成存储过程并更新分段媒体文件索引。 Step S2 segment stored media files and the process further comprises the step of establishing a media storage file index segment, said segment including a position index I bow media file in the entire media file, write time and frequency of use, the write time demand and terminal use frequency according to the index, using the write strategy and the time of the last segment of the highest frequency of use is covered by the media file as the lowest priority, and the update procedure complete segment stored media file index .

上述步骤S2中的使用频度包括最近1小时的使用频度、最近1天的使用频度和最近1周的使用频度。 Frequency of use of the above step S2 comprises the last hour of frequency of use, frequency of use of the last day and the last week of the frequency of use.

上述步骤Cl中还包括点播终端向区域管理服务器上报存储媒体内容的过程;上述步骤C3还包括点播终端向区域管理服务器上报存储媒体内容变化的过程。 The above-described process further comprises the step of Cl-demand media content stored in the terminal reports to the regional management server; and the step C3 further comprises a terminal-demand media content storage process of reporting area changes to the management server.

本发明与现有技术相比较的有益效果是: Compared with the prior art of the present invention are advantageous effects:

(1) 把媒体文件分割成分段文件进行存储和发布,终端用户针对分段文件进行点播和存储,使得媒体文件在客户端之间得到更好的共享,提高了网络资源的利用率; (1) the media file is divided into segments file storage and distribution, and end users demand for storing a file segment, so that the media files between the client better shared, improve the utilization of network resources;

(2) 区域管理服务器对分段文件的分发,有利于负载均衡; (2) distribution of regional management server segment files, help load balancing;

(3) 点播终端对分段文件的存储策略进一步提高了客户端之间的共享率,优化了宽带流量。 (3) on-demand terminal storage strategy to further improve the segmentation file sharing ratio between the client and optimize broadband traffic.

附图说明 BRIEF DESCRIPTION

图1是本发明P2P点播系统具体实施方式结构示意图; 图2是本发明具体实施方式点播终端框架图; FIG 1 is a schematic structural view of P2P VOD system of the present invention DETAILED embodiment; FIG. 2 is a specific embodiment of the present invention FIG frame terminal on demand;

图3是本发明具体实施方式应用环境部署图; 图4是本发明具体实施方式点播交互流程图。 FIG 3 is a specific embodiment of the present invention to deploy the application environment; Figure 4 is a flowchart of on-demand interactive particular embodiment of the present invention.

具体实施方式 Detailed ways

下面用具体实施方式结合附图对本发明作进一步详细说明。 The following figures present invention will be further described in detail in conjunction with specific embodiments. 如图l所示,本发明的一种P2P点播系统,包括管理平台、中心片库、 区域管理服务器RM、媒体服务器、点播终端。 As shown in FIG. L, for P2P-demand system according to the present invention, it comprises a management platform, the central film library, regional management server RM, a media server, a terminal on demand.

管理平台包括分段模块和发布模块。 Management and publishing platform includes segmentation module module. 分段模块对点播的媒体文件,如视频文件,采用分段处理,即对一个视频文件进行切片分割,使其分割成为多个分段文件,优选的实施方式,该分段文件采用固定大小,对于最后一个文件不足的部分可以使用0进行填充。 Segment modules of on-demand media files, such as video files, using segmentation process, i.e. one slice division video file, it is divided into a plurality of segment files, a preferred embodiment, the fixed segment size document, for the last part of the lack of a file can be filled with 0. 一个点播内容将由多个分段文件组成,点播系统的源请求会话、内容上报会话、对外服务会话都是基于分段媒体文件进行的,分割后的分段媒体文件存储在中心片库中。 A plurality of segments by demand content files, the source-demand system requests the session, the session report content, the service session is based on the external segment of the media file, the media file segments of the divided sheet stored in a central repository. 发布模块首先将所有分段媒体文件全部上线到一个指定的媒体服务器上,例如媒体服务器n,该媒体服务器会主动到中心片库里将所有的分段媒体文件通过FTP的方式下载下来,这样该媒体文件分段后在该媒体服务器上有一个完整的备份。 First of all issuing module segments on the line to all the media files on a specific media server, a media server, for example n, the media server will take the initiative to the central segment of the sheet media library all files downloaded via FTP manner such that the after the media file segments to have a complete backup on the media server.

RM负责管理辖区内媒体资源的发布和检索,媒体资源信息包括源内容标识、资源标识、资源拷贝数,同时还负责处理用户的资源检索请求, 不同区域的RM之间是平等的、分治的,彼此不存在直接的交互。 RM responsible for managing the publishing and retrieval of media assets within the jurisdiction, the media resource information includes the source content identifier, a resource identifier, a resource copy number, is also responsible for processing resource retrieval request from the user, between different regions of the RM are equal, divide and conquer , there is no direct interaction with each other. RM包括分发模块,分发模块对媒体文件的分发是基于分段媒体文件来进行的, 即从指定发布的媒体服务器n上向其他媒体服务器分发分段媒体文件,其他的媒体服务器上只有该文件的某几个分段,而不是所有分段,这样有利于静态节点的负载均衡。 RM including distribution module, distribution module for distributing media files based on file for the media segment, that segment to distribute media files from the specified media server n release to other media servers, media servers on the other only the file certain segments, not all segments, it is a good load-balancing static nodes.

媒体服务器,用于提供媒体内容, 一般为静态节点,正常情况下它始终在线。 Media server for providing media content, usually static nodes, under normal circumstances, it is always online. 在点播过程中,特别是直播时,由于网络上下行不对称(如ADSL 接入)引起的P2P流量供给不足进行补偿,或在会话启动、节点变化频繁以及发生快进、快退等操作时,提供必要的资源补充和快速的资源补给, 媒体服务器采用可靠的电信级设备。 In the on-demand process, especially when live, since the network asymmetric uplink and downlink (e.g. ADSL access) caused by insufficient supply of P2P traffic to compensate, or to start the session, the node changes frequently occur and fast forward, rewind and the like when operation, providing the necessary resources to supplement and rapid replenishment of resources, media server using a reliable carrier-class equipment.

点播终端,用于发出点播请求、接收和存储媒体内容以及进行媒体播放。 VOD terminal, a request for issuing a demand, to receive and store media content and media playback. 它的架构如图2所示,分成总体控制和管理(简称总控)模块层、中间应用功能模块层和支撑平台层三个层次。 Its architecture shown in Figure 2, into the overall control and management (referred to as Total Control) module layer, the intermediate layer and the application function module platform layer supports three levels. 支撑平台提供操作系统、驱动、 基础协议及浏览器等支撑功能,这一层软件是终端,如PC机本身所具备的;总控模块控制和管理各应用模块协调工作,同时完成设置、初始化等工作;中间应用功能模块层包括升级控制、业务控制、内容控制、和媒体子系统,其中媒体子系统包括:媒体控制以及媒体控制下的媒体传输、媒体存储、媒体播放等模块。 Supporting platform operating system, drivers, and protocol browser and other basic support functions, which is a terminal layer software, such as a PC itself has; master control module and control the management of the application module coordination, while completing setup, initialization, etc. work; intermediate layer comprises an application function module upgrade control, service control, the control content, and the media subsystem, wherein the media subsystem comprises: a media control and media transport under control of the medium, media storage, media players and other modules. 媒体存储模块中包括分段内容存储模块和存储控制模块,分段内容存储模块进一步包括索引模块。 Media content storage module comprises a segmented memory modules and memory control module, the memory module further comprises a segmented content index module. 分段内容存储模块用于存储从媒体服务器或其他终端传来的分段媒体文件。 Content storage means for storing the segment from the media server or other media files sent by the terminal segment. 存储控制模块控制分段内容存储模块将从媒体服务器或其他点播终端传来的分段媒体文件数据先写入内存缓冲区,在接收到一个完整分段文件后,再将内存缓冲区内的分段媒体文件写入磁盘缓冲区。 Segmented memory control module controls content storage module from the media server or other on-demand media files sent by the terminal segment data is first written to the memory buffer, after receiving a complete file segment, and then in the sub-memory buffer section of the media file is written to the disk buffer. 索引模块则用于存储分段媒体文件在整个媒体文件中的位置和该分段媒体文件的写入时间和使用频度,存储控制模块根据其索引模块的存储内容确定分段文件写入磁盘缓冲区的覆盖策略。 Time for writing the index module storing the position in the media file segment in the entire media file and the media file segment and frequency of use, the memory control module determines the file is written to disk segment buffer contents stored in its index module covering policy areas.

如图3、图4所示,P2P点播业务方法的一种具体实施方式包括以下步骤: 3, shown in a specific embodiment of the method of the P2P service demand comprises the steps of FIG. 4:

步骤400)、片源的准备。 Step 400), the sources prepared. 首先,管理平台对视频文件进行分割,分割后的分段文件通过内容源管理服务器存储到中心片库中,然后发布到区域中心的媒体服务器,该媒体服务器到中心片库中使用FTP将分段媒体文件全部下载到本地;RM对分段媒体文件在其管理的媒体服务器中进行分发; First, the management platform, the video file is divided, the divided file segment stored by content source to the central management server in the film library, and then posted to the central area of ​​the media server, the media server to a central repository using FTP sheet segment all files downloaded to the local media; RM of segmented media files for distribution in its management of media server;

步骤401)、终端节点首先进行版本检查及升级会话,然后登录管理平台进行认证会话,得到业务授权以及EPG服务器、归属地RM地址等; Step 401), the terminal node first version check and update session and log management platform authentication session, and an EPG server to obtain service authorization, the home address of RM;

步骤402)、终端节点连接RM,并上报自己的资源信息以及节点能力信息,包括接入网类型、可用磁盘空间、内存等; Step 402), the terminal node connections RM, and report their resource capability information and node information, including access network type, available disk space, memory, and the like;

步骤403)、终端节点与EPG服务器建立连接,进行内容选择会话, 得到需要播放的内容标识和元数据等信息,进行源请求会话,根据播放内容向RM申请源节点; Step 403), the EPG server terminal node to establish the connection, select the content session, to give the desired broadcast content identification information and metadata, etc., for the source requesting the session, according to the RM application play the content source node;

步骤404)、源节点的请求是以内容分段为单位的,即终端节点向RM 申请具有某分段媒体内容的节点,RM会根据申请的分段内容来确定返回具有该分段内容的源节点,即媒体服务器或其他终端节点,也就是服务Peers地址; Step 404), the source node is requesting content segments as a unit, i.e., the terminal node to the node having an application RM segmented media content, RM will return to the source is determined in accordance with the contents of the segment of the contents of the application segment node, a media server or other terminal node, which is the address of the service Peers;

步骤405)、终端节点媒体传输模块向服务peers发出连接请求; Step 405), the terminal node media transmission module issues a connection request to peers;

步骤406)、服务Peers响应请求与终端节点的媒体传输模块建立连接; 步骤407)、媒体存储模块根据缓冲区中的数据情况向媒体传输模块发出数据请求; Step 406), in response to the service request Peers media transmission module to establish a connection terminal node; step 407), media storage module issues a data request to the media case of the data transmission module according to the buffer;

步骤408)、媒体传输模块向服务Peers发起数据请求; Step 408), the media transmission request to the service module initiates a data Peers;

步骤409)、服务Peers从自身的缓冲区里读取数据回复给媒体传输模 Step 409), the service reply to the Peers read data transmission mode from the media itself in the buffer

块; Piece;

步骤410)、媒体传输模块获得数据后,传给媒体存储模块; 步骤4U)、媒体存储模块先将数据存储在内存缓冲区中,当内存缓 Step 410), after obtaining the media data transmission module, a media storage module pass; step 4U), media storage module the data stored in first memory buffer, when the buffer memory

冲区中出现一个完整的分段文件数据时,则触发相应的磁盘存储策略,该 When a complete file data segments appear in the red zone, triggering the appropriate disk storage strategy, the

策略包括: Strategies include:

551) 、生成两个文件, 一个文件放置实际的分段文件数据,还有一个文件作为索引文件,用于索引各个分段文件在整个文件中的位置以及存储段的相关信息,包括写入时间、最近l小时使用频度、最近l天使用频度、最近1周使用频度等; 551), generates two files, a file placement actual segment data, as well as a file index file, the index position for each segment files and related information in the memory segment of the entire file, including write time recently l hour frequency of use, frequency of use recently l day, frequency of use of last one week and the like;

552) 、内存中的分段文件数据是以一定概率随机写入磁盘,该概率由RM根据影片的热度和影片当前的分发情况来确定,然后由RM通知终端节点; 552), the data memory segment file is written to the disk certain probability, the probability is determined by the RM according to the current distribution and the case of the film heat film, and then notifies the terminal node of RM;

553) 、在进行磁盘存储时,由于占用用户的磁盘空间有限,因此先检查所占用的磁盘缓存,如有空闲空间,则先用空闲空间,否则,需要选择某个段的存储空间被覆盖,具体覆盖策略主要是在将最近写入的分段文件、最近1小时使用频度、最近1天使用频度、最近1周使用频度高的分段文件作为最低覆盖优先级,在其余的空间中随机选择一个分段文件进行覆盖,同时对索引文件做相应更新; 553), during disk storage, due to limited disk space occupied by users, so check the amount of disk cache, if free space, first with free space, otherwise, you need to select a segment of storage space is covered, specific coverage strategy mainly in the segment file written recently, the last hour frequency of use, frequency of use last 1 day, 1 week recently frequently used file segments as a minimum cover priority in the remaining space randomly selecting a file segment covered, while updating the index file accordingly;

步骤412—413)、媒体存储模块启动对内容状态的监控,根据监控事件的发生通过媒体传输模块向RM上报节点内容变化。 Step 412-413), media storage module starts monitoring the state of the content, content changes according to the RM node reports the occurrence of the monitoring events by the media transmission module. 为了减少RM的负荷,本发明的一种具体实施方式采用事件驱动的资源上报机制辅以长周期的心跳监测,在心跳消息中上报节点内容的动态变化。 In order to reduce the load of RM, a specific embodiment of the present invention is event driven reporting mechanisms supported by resource monitoring heart long period, the contents of the dynamic changes in the reported node heartbeat message. 由于内存中的内容是在不断更新的,当一个分段媒体文件播放完后就会将该分段媒体文件所在的缓冲区清空用来接收新的分段媒体文件数据,因此内存中段内容的变化是比较频繁的,对于检测出内存中分段媒体文件减少的事件,则需要再检查一下磁盘中有没有该分段文件,如果磁盘中也没有,则触发事件上报机制,如果磁盘中存储有该分段文件,则不进行上—报; Since the contents of memory are continuously updated, when a media file segment has finished playing media file will be the segment where the empty buffer to receive a new media file data segment, and therefore change the memory contents of the middle are relatively frequent, for the detection of an event in memory of segmented media files to reduce, you need to check there is no disk in the segment file, if there is no disk in the event reporting mechanism is triggered, if the disk is stored in the file segmentation is not performed on - packets;

步骤414一416)、终端节点选择下线退出,上告RM下线,退出系统。 Step 414 a 416), the terminal node chooses offline exit appealed RM offline, exit the system.

以上内容是结合具体的优选实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。 Above with the specific preferred embodiments of the present invention is further made to the detailed description, specific embodiments of the present invention should not be considered limited to these descriptions. 对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。 Those of ordinary skill in the art for the present invention, without departing from the spirit of the present invention, can make various simple deduction or replacement, should be deemed to belong to the scope of the present invention.

Claims (13)

  1. 1. 一种P2P点播系统,包括:管理平台,用于管理媒体资源的发布;中心片库,用于存储媒体资源;区域管理服务器,用于管理辖区内媒体资源的发布和检索;媒体服务器,用于提供媒体内容;点播终端,用于发出点播请求、接收和存储媒体内容以及进行媒体播放;其特征在于:所述管理平台还包括分段模块,用于将媒体文件分割成多个分段媒体文件并存储在所述中心片库中;以及发布模块,用于将所有分段媒体文件发布到指定的媒体服务器上;所述点播终端还包括分段内容存储模块,用于存储从媒体服务器或其他点播终端传来的分段媒体文件。 A P2P-demand system, comprising: a management platform for managing media resource release; center panel repository for storing media resource; regional management server for publishing and retrieving the media resource management area; media servers, for providing media content; VOD terminal, a request for issuing a demand, to receive and store media content and a media player; wherein: said management platform further comprises a segmentation module, for segmenting a media file into a plurality of segments and media files stored in the central repository sheet; and publishing means for publishing the media files to all of the segments on the designated media server; the jukebox further comprises a terminal segment content storage module for storing the media server from or other on-demand media files sent by the terminal segment.
  2. 2. 根据权利要求1所述的P2P点播系统,其特征在于:所述区域管理服务器还包括分发模块,用于将指定媒体服务器上的所有分段媒体文件分发到其他媒体服务器上,使得其他服务器上分别具有部分分段媒体文件。 The P2P-demand system according to claim 1, wherein: said area management server further comprises a distributing module for distributing all the media files on the segment specified media server to the other media servers, other servers such each segment has a portion on the media file.
  3. 3. 根据权利要求1所述的P2P点播系统,其特征在于:所述点播终端还包括存储控制模块,用于控制所述分段内容存储模块将从媒体服务器或其他点播终端传来的分段媒体文件数据先写入内存缓冲区,在接收到一个完整分段媒体文件后,再将内存缓冲区内的分段媒体文件写入磁盘缓冲区。 The P2P-demand system according to claim 1, wherein: said terminal further includes a storage demand control module for controlling the segment transmitted from the content storage module or other on-demand media server terminal segment data is written to the media file memory buffer, after receiving a complete segment media file, the media file segment in the buffer and then written to disk memory buffer.
  4. 4. 根据权利要求3所述的P2P点播系统,其特征在于:所述分段内容存储模块还包括索引模块,用于存储分段媒体文件在整个媒体文件中的位置和该分段媒体文件的写入时间和使用频度,所述存储控制模块根据所述索引模块的存储内容确定分段媒体文件写入磁盘缓冲区的覆盖策略。 P2P-demand system according to claim according to claim 3, wherein: said memory module further comprises a segmented content index module, for storing the position in the media file segment in the entire media file and the media file segment write time and frequency of use, the storage control module determines policy covering segment buffer media file written to disk the contents stored in the index module.
  5. 5. —种P2P点播业务方法,其特征在于: 包括以下步骤:A)、管理平台将媒体文件分割成多个分段媒体文件并存储在中心片库中;B) 、管理平台向媒体服务器发布所有分段媒体文件;C) 、点播终端请求分段媒体文件并存储、播放。 5. - Species P2P service on demand, characterized in that: comprising the steps of: A), the media file management platform is divided into a plurality of segments and media files stored in a central repository sheet; B), to the media server management platform All media file segments; C), terminal requests a segment-demand media file storage and playback.
  6. 6. 根据权利要求5所述P2P点播业务方法,其特征在于:所述步骤B 是通过管理平台指定媒体服务器到中心片库中下载所有的分段媒体文件来发布的。 6.5 The P2P VOD service method according to claim, wherein: said step B is designated by the management platform to the central media server to download all of the film library of media files to release segment.
  7. 7. 根据权利要求5所述P2P点播业务方法,其特征在于:所述步骤B和C之间还包括以下步骤:区域管理服务器将指定媒体服务器上的所有分段媒体文件分发到其他媒体服务器上,使得其他媒体服务器上分别具有部分分段媒体文件。 5 according to the method as claimed in claim P2P VOD service, characterized by: further comprising the step between steps B and C: area management server specifies all of the segments on the media files to the media server to distribute other media servers each segment having a portion of the media file, such that other media servers.
  8. 8. 根据权利要求5所述P2P点播业务方法,其特征在于:所述步骤C包括以下步骤:Cl)、点播终端向区域管理服务器发出分段媒体文件点播请求; C2)、区域管理服务器根据点播请求检索具有分段媒体文件的源节点, 并将源节点的信息返回给点播终端;C3)、点播终端连接源节点获得分段媒体文件并存储和播放。 5 according to the P2P VOD service method as claimed in claim wherein: said step C comprises the steps of: CI), Demand VOD terminal sends a media file request to the segment region management server; C2), the region management server VOD request to retrieve segments having a media file source node, the source node and returns the information to the VOD terminal; a C3), connecting the source node obtains the VOD terminal segment and to store and play media files.
  9. 9. 根据权利要求8所述的P2P点播业务方法,其特征在于:所述步骤C3存储分段媒体文件的过程包括以下步骤:51) 、将获得的分段媒体文件数据存储在内存缓冲区中;52) 、将内存缓冲区中的完整分段媒体文件写入磁盘缓冲区。 Segmented media file to store the obtained data in the memory buffer 51): 9. The method according to claim P2P VOD service according to claim 8, wherein: said step of storing segments C3 process the media file comprises the steps of ; 52), the memory buffer is full segmented media file written to disk buffer.
  10. 10. 根据权利要求9所述P2P点播业务方法,其特征在于:所述步骤S2是依据区域管理服务器对分段媒体文件热度和分发情况确定的概率将内存缓冲区中的完整分段媒体文件写入磁盘缓冲区。 9 P2P 10. The method according to claim demand service, wherein: the step S2 is based on the regional management server media file segment probability distribution is determined by the heat and the write memory buffer segment of the complete media file the disk buffer.
  11. 11. 根据权利要求9或10所述P2P点播业务方法,其特征在于:所述步骤S2中存储分段媒体文件的过程还包括建立并存储分段媒体文件索引的步骤,所述索引包括分段媒体文件在整个媒体文件中的位置、写入时间和使用频度,点播终端根据所述索引记载的写入时间和使用频度,采用写入时间最近和使用频度最高的分段媒体文件作为最低优先级被覆盖的策略,完成存储过程并更新分段媒体文件索引。 Or 9 10 P2P 11. The method according to claim demand service, wherein: said storing step S2 segment of the media file and the process further comprises the step of establishing a media file indexed memory segment, the segment index comprises media file location in the entire media file, write time and frequency of use, on demand and the terminal according to the writing frequency of use of the time index described, using the latest write time and the highest frequency of use as the media file segment lowest priority policy covered, stored procedures and update the complete segmented media file index.
  12. 12. 根据权利要求11所述P2P点播业务方法,其特征在于:所述步骤S2中的使用频度包括最近1小时的使用频度、最近1天的使用频度和最近1周的使用频度。 11 P2P 12. The method according to claim demand service, wherein: the frequency of use comprises the step S2 is the last hour usage frequency using the frequency of the last day and the last week of the frequency of use .
  13. 13.根据权利要求8所述P2P点播业务方法,其特征在于:所述步骤Cl中还包括点播终端向区域管理服务器上报存储媒体内容的过程;所述步骤C3还包括点播终端向区域管理服务器上报存储媒体内容变化的过程。 8 P2P 13. The method according to claim demand service, wherein: the process further comprises the step of Cl-demand media content stored in the terminal to report to the management server region; C3 further comprising the step of reporting to a terminal region demand management server storing media content change process.
CN 200810216739 2008-10-14 2008-10-14 P2P play-on-demand system and service method CN101388909A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810216739 CN101388909A (en) 2008-10-14 2008-10-14 P2P play-on-demand system and service method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810216739 CN101388909A (en) 2008-10-14 2008-10-14 P2P play-on-demand system and service method

Publications (1)

Publication Number Publication Date
CN101388909A true true CN101388909A (en) 2009-03-18

Family

ID=40478081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810216739 CN101388909A (en) 2008-10-14 2008-10-14 P2P play-on-demand system and service method

Country Status (1)

Country Link
CN (1) CN101388909A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010133140A1 (en) * 2009-05-19 2010-11-25 中兴通讯股份有限公司 Multimedia network with content segmentation and service method thereof
WO2010145362A1 (en) * 2009-10-29 2010-12-23 中兴通讯股份有限公司 Method and system for implementing content sharing service
CN101562530B (en) 2009-05-15 2011-10-26 中兴通讯股份有限公司 Transmission method and player for point-to-point mobile streaming media
CN102291629A (en) * 2011-08-29 2011-12-21 中兴通讯股份有限公司 P2p one kind of agent applied and on-demand system implementation method of iptv
CN101626400B (en) 2009-08-11 2012-03-28 华中科技大学 Compensation method of P2P music on-demand system
CN101673380B (en) 2009-10-16 2012-03-28 广东宇天科技有限公司 Method and device for realizing mobile media service
CN102571930A (en) * 2010-12-21 2012-07-11 微软公司 Distributed smooth streaming utilizing dynamic manifests
CN102761524A (en) * 2011-04-27 2012-10-31 中兴通讯股份有限公司 Steaming media storage and playing method and corresponding system
CN104471947A (en) * 2012-07-10 2015-03-25 夏普株式会社 Content transmission device, content playback device, content delivery system, control method for content transmission device, control method for content playback device, data structure, control program, and recording medium
CN105554054A (en) * 2015-09-29 2016-05-04 深圳市美贝壳科技有限公司 Method for file transmission saving between terminals
CN103810027B (en) * 2014-01-24 2016-09-14 暨南大学 A temperature data reconstruction network coding based file systems
WO2016165596A1 (en) * 2015-04-15 2016-10-20 中兴通讯股份有限公司 Multimedia file control method and system

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101562530B (en) 2009-05-15 2011-10-26 中兴通讯股份有限公司 Transmission method and player for point-to-point mobile streaming media
CN101567796B (en) 2009-05-19 2012-05-23 中兴通讯股份有限公司 Multimedia network with fragmented content and business method thereof
WO2010133140A1 (en) * 2009-05-19 2010-11-25 中兴通讯股份有限公司 Multimedia network with content segmentation and service method thereof
CN101626400B (en) 2009-08-11 2012-03-28 华中科技大学 Compensation method of P2P music on-demand system
CN101673380B (en) 2009-10-16 2012-03-28 广东宇天科技有限公司 Method and device for realizing mobile media service
WO2010145362A1 (en) * 2009-10-29 2010-12-23 中兴通讯股份有限公司 Method and system for implementing content sharing service
CN102571930B (en) * 2010-12-21 2015-06-24 微软公司 Distributed smooth streaming utilizing dynamic manifests
US8943215B2 (en) 2010-12-21 2015-01-27 Microsoft Corporation Distributed smooth streaming utilizing dynamic manifests
CN102571930A (en) * 2010-12-21 2012-07-11 微软公司 Distributed smooth streaming utilizing dynamic manifests
WO2012146098A1 (en) * 2011-04-27 2012-11-01 中兴通讯股份有限公司 Method and corresponding system for storing and playing streaming media
CN102761524A (en) * 2011-04-27 2012-10-31 中兴通讯股份有限公司 Steaming media storage and playing method and corresponding system
CN102761524B (en) * 2011-04-27 2017-06-23 中兴通讯股份有限公司 A media storage method and corresponding system stream playback
CN102291629A (en) * 2011-08-29 2011-12-21 中兴通讯股份有限公司 P2p one kind of agent applied and on-demand system implementation method of iptv
CN104471947A (en) * 2012-07-10 2015-03-25 夏普株式会社 Content transmission device, content playback device, content delivery system, control method for content transmission device, control method for content playback device, data structure, control program, and recording medium
CN103810027B (en) * 2014-01-24 2016-09-14 暨南大学 A temperature data reconstruction network coding based file systems
WO2016165596A1 (en) * 2015-04-15 2016-10-20 中兴通讯股份有限公司 Multimedia file control method and system
CN105554054A (en) * 2015-09-29 2016-05-04 深圳市美贝壳科技有限公司 Method for file transmission saving between terminals

Similar Documents

Publication Publication Date Title
US7324555B1 (en) Streaming while fetching broadband video objects using heterogeneous and dynamic optimized segmentation size
US6925499B1 (en) Video distribution system using disk load balancing by file copying
US6101547A (en) Inexpensive, scalable and open-architecture media server
US20090083394A1 (en) Multimedia Content Delivery Method and System
Thouin et al. Video-on-demand networks: design approaches and future challenges
US20080133767A1 (en) Real-time multicast peer-to-peer video streaming platform
US20100235438A1 (en) Variable Rate Media Delivery System
US20070250880A1 (en) Peer-to-peer video on demand techniques
US20050235047A1 (en) Method and apparatus for a large scale distributed multimedia streaming system and its media content distribution
US7444662B2 (en) Video file server cache management using movie ratings for reservation of memory and bandwidth resources
US20090030976A1 (en) Variable fidelity media provision system and method
US20100058405A1 (en) Systems and Methods for Distributing Video on Demand
US20030069964A1 (en) Digital content catering system
US20090249222A1 (en) System and method for simultaneous media presentation
Chan et al. Distributed servers architecture for networked video services
Wu et al. Exploring the optimal replication strategy in P2P-VoD systems: Characterization and evaluation
US20080222235A1 (en) System and method of minimizing network bandwidth retrieved from an external network
US7403993B2 (en) System and method for highly-scalable real-time and time-based data delivery using server clusters
US20080059721A1 (en) Predictive Popular Content Replication
US20050262246A1 (en) Systems and methods for load balancing storage and streaming media requests in a scalable, cluster-based architecture for real-time streaming
US20130142499A1 (en) Storage device management techniques for a remote storage digital video recorder that handles multiple bitrate content
Guo et al. Design and evaluation of a scalable and reliable P2P assisted proxy for on-demand streaming media delivery
US20050262245A1 (en) Scalable cluster-based architecture for streaming media
CN101420603A (en) Method for implementing media distribution, positioning by segmented memory and stream media system thereof
CN1972311A (en) A stream media server system based on cluster balanced load

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C12 Rejection of an application for a patent