CN101087403A - Distributed stream media order system based on P2P technology and implementation method for stream media program order - Google Patents

Distributed stream media order system based on P2P technology and implementation method for stream media program order Download PDF

Info

Publication number
CN101087403A
CN101087403A CN 200710069145 CN200710069145A CN101087403A CN 101087403 A CN101087403 A CN 101087403A CN 200710069145 CN200710069145 CN 200710069145 CN 200710069145 A CN200710069145 A CN 200710069145A CN 101087403 A CN101087403 A CN 101087403A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
subsystem
distributed
based
system
server
Prior art date
Application number
CN 200710069145
Other languages
Chinese (zh)
Other versions
CN101087403B (en )
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 distributed flow medium order system and realizing method which are based on P2P technique. The invention includes content management subsystem, content exhibit subsystem, log server subsystem, authentication charging subsystem, data Stat. subsystem, P2P CDN network subsystem, flow medium player subsystem. The quantity of servers of system is distributed based on operation requirement to fit for expand and change of server; nodes inform each other data of itself in real time, and exchange online node information in P2P mode, so real time of online node can be increased greatly, burden of longing on server can be decreased.

Description

基于P2P技术上的分布式流媒体点播系统及其点播流媒体节目的实现方法 Based on the technical implementation of distributed P2P streaming media on-demand system and on-demand streaming media programs

技术领域 FIELD

本发明属于计算机多媒体技术与P2P技术领域,具体是涉及一种基于P2P技术上的分布式流媒体点播系统及其点播流媒体节目的实现方法。 The present invention pertains to computer technology and P2P Multimedia technical field, particularly, to a method of P2P-based technology to achieve a distributed system and on-demand streaming on-demand streaming media program.

背景技术 Background technique

流媒体是一种广为流行的IP网络传输技术,在互联网上实时顺序地传输和播放音/视频等多媒体内容的连续数据流,流媒体技术包括流媒体数据采集、音/视频编解码、存储、传输、播放等领域。 Streaming is a widely popular IP network transmission technology, a continuous data stream over the Internet in real-time multimedia content transmission and sequentially play audio / video, stream media streaming technology comprising data collection, audio / video codecs, storage transmission, broadcast and other fields.

传统的点播系统在传输模式上一般都是采用C/S与B/S相结合的模式,其中以B/S模式使用网页发布影片简介信息,以C/S模式进行实时流媒体数据传输。 Conventional transmission mode on demand system are generally the C / S and B / S combination model, wherein the B / S mode using the release film web profile information, real-time streaming data transmission at C / S model. 当用户点击点播指定影片时,通过流量均衡系统重定向连接到指定的流媒体服务器(支持HTTP/FTP/RTSP/MMS中的一种协议)。 When the user clicks the specified movie on demand, via load balancing system redirected to the specified streaming media server (supports one protocol HTTP / FTP / RTSP / MMS in). 各个客户端只与服务器连接,相互之间没有数据传输(参见图1)。 Each client connected to the server only, no data is transmitted (see FIG. 1) with each other.

在用户数量相对较少而业务量不在的情况下,现有的基于C/S架构实现的流媒体服务系统是一种结构比较简单,使用方便和行之有效的网络系统。 In a relatively small number of users of the traffic is not the case, the existing streaming media service system based on the C / S architecture implementation is a relatively simple structure, easy to use and effective network system. 但是,随着流媒体用户的快速增长,网络环境越来越复杂的情况下,这种系统架构和实现模式的缺点也日益显现:1、由于流媒体服务器的传递量大,实时性与QOS要求很高,在一定的硬件投入下,所支持的在线并发点播人数是有限的。 However, with the rapid growth of streaming media users, the network environment has become increasingly complex, the disadvantage of this system architecture and implementation model are increasingly apparent: 1, due to the transfer of large streaming media server, real-time and QOS requirements high, under certain hardware investment, the number of concurrent online demand supported is limited. 一般一台服务器只能支撑300人左右,这对于拥有众多在线用户的运营商来说硬件成本过高。 General A server can support about 300 people, which is too high hardware costs for users with many online operators. 由于是集中式的单点点播,对于点播服务器的硬件和网络的带宽要求也特别高。 Because it is a single centralized point demand for hardware and network bandwidth requirements is particularly high demand server. 因此,提供服务的流媒体服务器与带宽必须跟着用户数增加而增加,这对运营商而言,无疑是一笔巨大的投资。 Therefore, streaming media servers and the bandwidth to provide services must be followed by the number of users increases, which operators, will undoubtedly be a tremendous investment.

2、集中设置的流媒体服务器群将会给中心机房、网络出口和骨干网络均带来极大的压力,可能产生性能瓶颈,导致QOS下降。 2, streaming media server cluster will be set to the center of the room, and export network backbone network are to bring great pressure, may create a performance bottleneck, resulting QOS decline.

3、传统集中式的点播系统容易造成单点故障,造成用户点播时画面停顿,甚至点播失败。 3, a conventional on-demand system is easy centralized single point of failure, resulting in user demand picture freeze, even fail on demand. 虽然可以通过增加服务器的方式来避免单机故障,但是对于较大的网络带宽波动带来的画面停顿仍然无法解决。 While stand-alone failure can be avoided by increasing the server's way, but for the larger screen of the network bandwidth fluctuations pause still can not resolve.

4、对于热门的影片,由于同时点播相同文件的人数多,很容易会出现点播服务器满的情况。 4, for the popular film, because the number of the same file at the same time demand more, it is easy to appear full circumstances demand server. 虽然硬件投资巨大,但是系统的服务能力始终有限。 While huge investment in hardware, but the service capability of the system is always limited. 特别是对一些特殊的情况下,如体育比赛、文艺演出的实时转播、热门影片等,很容易出现流媒体服务器满,难以满足用户密集突发的点播请求。 Especially for some special cases, such as sports competitions, live broadcast of theatrical performances, popular videos, etc., it is easy to appear full streaming media server, it is difficult to satisfy user demand request intensive burst.

5、昂贵的服务器、带宽和内容分发系统(CDN)导致流媒体业务成本居高不下,因些观看流媒体节目的费用也难以降低。 5, expensive servers, bandwidth and content delivery systems (CDN) resulting in streaming media service costs remain high, due to the cost of those watching streaming media program is also difficult to reduce. 这样会导致以BT为代表的网络盗版迅速流行,在很大程度上阻碍了流媒体业务的进一步发展和繁荣。 This will lead to BT, represented by the rapid popularity of online piracy, to a large extent hindered the further development and prosperity of the streaming service.

发明内容 SUMMARY

正是针对现有技术中上述不足的情况,本发明将流媒体点播系统的传输建立在P2P技术上,通过对等点上的直接交换构造出存贮、运算、报文直接传送和文件安全发送等能力,解决传统客户机/服务器模式的不足,充分利用每台客户机的带宽和运算能力。 For the above-described prior art is insufficient, the present invention is a streaming media on-demand system built on the P2P technology, by direct exchange of points and the like constructed storage, operation, and file transfer packets are directly sent securely such as the ability to address the shortage of traditional client / server model, make full use of bandwidth and computing power of each client. 在P2P运算里,每台计算机都是客户机,也是服务器,可以直接交换信息,共同分担运算任务。 In P2P computing where every computer is the client, the server also can directly exchange information, share common computing tasks. 一个对等点可以启动各种请求,也能响应其他对等点发来的请求。 One peer may initiate various requests, but also in response to other requests for other points sent. 不通过服务器直接交换的能力,把P2P用户从依赖中央服务器的运算方式中解脱出来。 Server capacity is not directly exchanged, freed from the P2P users rely on a central server operation mode. 基于P2P的多点传输上流媒体点播,某点(即使是服务器)出故障,也不会影响用户播放质量。 Failed P2P-based streaming media on-demand multi-point transmission, a point (even if the server), it will not affect the user playback quality.

同时,因为每个客户机都可以共享出自己的音/视频文件,这样就极大丰富了社区的资源。 At the same time, because each client can share their own audio / video files, thus greatly enriched the resources of the community. 在这种新的点播系统里面,并不是所有点播的用户都从服务器去下载播放,相反,仅有极少数用户需要连接到服务器去下载。 In this new on-demand system which not all demand of users to download the player from the server, on the contrary, very few users need to connect to the server to download. 每个点播用户都可以同时从一个或多个用户(包括服务器)处接收数据,在本地保留一部分或全部已收到的数据,提供给后来的用户点播。 Each user can simultaneously demand the user from one or more (including a server) to receive data, retention portion or all of the data has been received locally, then provided to the user on demand. 服务器最少仅需传出一份数据拷贝,就可以给无数的用户点播。 Only a minimum outgoing server copy of the data, you can give numerous user demand.

为了达到上述目的,本发明提供了一种基于P2P技术上的分布式流媒体点播系统及其点播节目的实现方法,其技术方案包括内容管理子系统、内容展现子系统、登录服务器子系统、认证计费子系统、数据统计子系统、P2P CDN网络子系统、流媒体播放器子系统。 To achieve the above object, the present invention provides a method of P2P technology to realize a distributed system and on-demand streaming on-demand programming, which includes a content management system aspect, content rendering subsystem, the server subsystem login authentication charging subsystem, statistics subsystem, P2P CDN network subsystem, streaming media player subsystem. 其中:1、内容管理子系统实现对媒体文件的录入、编排和发布功能,使之变为可被访问的内容。 Where: 1, content management subsystem enables entry of media files, scheduling and publishing capabilities, make it into content that can be accessed. 内容管理子系统以Web方式操作,由资源制作小组对影片文件、影片内容简介、影片海报图片、影片导演、演员等信息进行录入和分类。 Web-content management subsystem to operate movie files, video content profiles, movie poster images, video directors, actors and other information entered by the resource classification and production team. 当验证该影片资料完备并且影片内容正确时,可以发布到Web页面展现子系统和P2P CDN网络中去。 When verifying the movie complete information and video content correctly, you can publish to the Web page to show the subsystem and P2P CDN networks. 发布完毕后,普通用户可以通过Web或通过客户端软件中搜索来下载/点播该影片。 After the release is complete, the average user can through the Web or through the client software to download search / demand the movie. 媒体文件录入时,对影片名、演员、导演、影片简介等进行关键字分词入库,以便于大大提高用户搜索速度。 When a media file entry, the movie name, actor, director, Synopsis, etc. key word in storage, in order to greatly improve the user search speed.

2、内容展现子系统分为前台和后台两部分。 2, show the contents of sub-divided into two parts, front and back office. 前台是展现给用户的界面,需要处理内容导航的功能。 Reception is presented to the user interface, we need to deal with content navigation functions. 后台是给网页管理员提供的功能,主要管理页面模板。 The background is a web administrator functions, key management page template. 后台管理系统提供自动的内容更新方法,只需要在后台对内容进行分类管理,所有的内容增加、删除、调整都会直接在用户端页面上反映出来。 Background management system provides automatic content update method, you only need to classify content management in the background, all content to add, delete, adjustment will be reflected directly on the client page. 同时,根据需要可以通过后台专门的管理系统定期对版面风格进行方便地更换。 Meanwhile, according to the layout style may need to be easily replaced by a special backstage management system on a regular basis. 除按影片分类来展现外,支持最新影片,本周点播排行榜、专题等表现形式。 Except to show the film classification, the latest manifestation of support for the film, ranking this week on demand, and other topics.

3、登录服务器子系统,实现系统负载均衡、用户注册、用户登录认证、用户搜索、用户资料存取、用户好友管理、通讯中转、手机短讯、文件共享/搜索等功能。 3, the login server sub-system, to achieve load balancing system, user registration, user login authentication, user search, information access, user management friends, communications relay, SMS, file sharing / search functions. 登录服务器子系统由一组服务器组成,具有很强的扩展性、互通性和稳定性,可快速、灵活地部署到实际网络环境。 Login server subsystem consists of a set of servers, has a strong scalability, interoperability and stability can be quickly and flexibly deployed to the actual network environment. 随着在线用户的增加,可以动态增加登录服务器来提高服务能力。 With the increase of online users can dynamically increase the login server to improve service capabilities. 为了减轻服务器的负担,客户端与登录服务器之间全部采用UDP协议通信。 In order to reduce the burden on the server, UDP protocol used in all communications between the client and login server. 由应用程序对所收发的数据包作控制,包括数据包接收确认、超时重传、重复丢弃、根据序号排序等功能。 By the application of the packets transmitted and received as control, comprising receiving acknowledgment data packet, retransmission timeout, discarding duplicate, according to Reference sorting functions.

4、认证计费子系统是系统业务运营的核心要件,它完成对用户访问服务的认证、非法的内容服务请求、为合法用户提供访问授权、生成内容服务的计费信息等,从系统层面上防止对资源的盗用,维护服务系统的安全。 4, authentication and accounting subsystem is the core element of business operations system, which completes the authentication for user access services, illegal content service requests, provide access to legitimate authorized users, generate billing information content services, etc., from the system level prevent misappropriation of resources, maintenance of security service system. 认证服务器(Authentication AppServer)支持以Web标准方式对用户名/密码进行验证,同时也可以使用客户端软件登录认证。 The authentication server (Authentication AppServer) supports a standard way for Web user name / password for authentication, but can also use the client software login authentication. 计费服务器(Fee AppServer)支持对多种包月资费和单点扣费等多种资费方式,支持费用预扣,对同一本影片,针对不同类型的包月用户和单点用户的扣费情况可以不一样,支持计费报表统计、分析、生成等。 Accounting server (Fee AppServer) support for multiple and single monthly tariff deductions and other charges, to support the cost of withholding, for this same movie, deductions, for various types of monthly users and single users can not Like, support accounting reports, statistics, analysis, generation.

5、由客户端(Peer)和资源服务器(Seeder)向数据统计服务器(StatisticsAppServer)报告所需要的统计数据,包括各个Peer/Seeder的上传流量统计、影片点击数据统计、定时点播影片数统计、某文件当前有多少个种子(在线和不在线的)等数据的查询、图形显示。 5, statistical data by the client (Peer) and the resource server (Seeder) (StatisticsAppServer) report to the statistics server need, including various Peer / Seeder upload traffic statistics, video clicks statistics, the timing of on-demand video statistics, a document Access how many seeds (both online and not online) and other data currently, graphic display.

6、用户下载/点播文件的大量数据实际上在P2P CDN网络子系统中传输。 6, a large number of data users download / on-demand file transfer is actually in P2P CDN network subsystem. P2P CDN网络子系统所具有的内容智能路由功能可以在广域宽带网络中将用户的内容请求导向到最佳的访问节点,使用户可以得到快速的服务,实现分布式、全网智能化负载均衡。 P2P CDN network subsystem has intelligent routing capabilities can request content in a user's wide area network broadband content guide to the best access point, allowing users to get fast service and achieve distributed, network-wide intelligent load balancing . 将用户的访问导向到离用户最近的访问节点。 The user's access to the guide closest to the user's access node. 帮助运营商提高对最终用户的服务质量。 Helping operators to improve the quality of end-user services. 内容智能路由可根据一组设定的导向策略(如地理区域、内容类型、网络负载状况等),将用户的内容请求导向到最佳的访问节点。 SUMMARY intelligent routing may be (e.g., geographic region, content type, network load status, etc.), the user's content request directed to the best access node based on a set of policy setting guide. P2P CDN网络子系统具有强大的穿透防火墙能力,支持不同内网之间的用户直接使用UDP互连,使得普通节点间链接成功轨达到90%以上,使普通用户的上行流量最大化,运营商的边缘内容服务器和中心片库的上行流量最小化。 P2P CDN network subsystem has a strong ability to penetrate the firewall, supports between different users within the network directly using UDP interconnected such that the link between ordinary nodes track the success of more than 90%, so that ordinary users to maximize the upstream traffic, operators the edge of the content servers and the upstream traffic is minimized central film library.

7、媒体播放器子系统是一个独立的播放器软件,不依赖于任何其它播放器,即使操作系统没安装Windows Media Player和Real Player,本播放器也可以正常运行。 7, media player subsystem is a standalone player software, not dependent on any other player, even if the operating system did not install Windows Media Player and Real Player, the player can also operate normally. 与其它播放器一样,提供常用功能,如:前进/后退、暂停/恢复、停止/开始、最大化/全屏/恢复、前后拖动、音量控制、静音控制、缓冲进度显示、下载进度显示等。 Like other players, providing common functions, such as: forward / backward, pause / resume, stop / start, maximized / fullscreen / restore, front drag, volume control, mute control, buffer progress display, download progress display. 本播放器可支持点播目前大部分流行的媒体格式文件,包括:RealMedia(″.rm″、″.rmvb″、″.ra″、″.ram″);WindowMedia(″.avi″、″.wmv″、″.wma″、″.asf″、″.asx″、″.wav″);MpegMedia(″.mp3″、″.mpg″、″.mpeg″、″.dat″);Ogg(″.ogg″、″.ogm″);其它(″.mid″)等。 The player supports most popular current-demand media format, including: RealMedia ( "rm.", "Rmvb.", "Ra.", "Ram."); WindowMedia ( "avi.", "Wmv. .... "," wma "," asf "," asx "," wav.... "); MpegMedia (" mp3 "," mpg "," mpeg "," dat "); Ogg (". . ogg "," ogm "); the other (" .mid ") and the like. 可根据需要,也可以使用WindowsMedia Player或Real Player作为播放器,之间通过标准流媒体协议(HTTP/FTP/RTSP/MMS)或通过安装播放器插件文件来进行数据传输。 According to need, you may be used WindowsMedia Player or Real Player as a player, or for data transmission by installing the player plug-in via a standard file streaming protocol (HTTP / FTP / RTSP / MMS) between.

所述的系统中,内容管理子系统对影片资讯与内容实行集中式管理,为第三方内容提供商CP提供影片上传功能,第三方内容提供商CP的影片经过审核流程后,可由影片发布小组对不符合标准格式或码率的文件提供转换工具,最终进入中心片库,然后根据各边缘节点内容服务器的负载情况,手动或自动地通过P2P CDN网络子系统推送到种边节点内容服务器或普通用户处。 The system, content management subsystem to implement centralized management of the video information and content, providing video upload capabilities for third-party content provider CP, third-party content provider CP movie after a review process, the video released by the group on -standard file format or bit-rate conversion tools, into the center of the final film library, then according to the load of the content server edge nodes, or manually push content server or seed nodes edge ordinary user P2P CDN network subsystem automatically place.

所述的系统中,普通用户使用的客户端,既是P2P分布式流媒体服务的使用者,同时又是服务的提供者。 The system, the client ordinary users, both distributed P2P streaming media services users, is also the provider of the service. 客户端在本地存储播放过的或由P2P CND主动推送过来的流媒体数据,它可与其它普通用户、边缘内容服务器或中心片库建立点对点链接,彼此交换所需的数据。 The client local storage or played by the P2P CND active push over the streaming media data, it can, the content server or an edge center point link established film library with other general users, the required data exchange with each other.

所述的系统中,普通用户本地存储的流媒体数据需要加密,并且对影片的数据按大小或时间戳为单位进行分片处理,传输过程中接收方要对每一片数据进行校验,校验失败时,优先选择另外的节点重新传输该片数据。 The system, ordinary users locally stored streaming media data to be encrypted, and the data size of video by units of time stamp or fragmentation processing, one for each recipient to verify the data, checking a transmission process failure, preferred additional node retransmit the data sheet. 在读写本地存储的流媒体数据时,在内存建立最近使用的数据片缓存区,减少对硬盘的读写次数。 When reading and writing streaming media data locally stored in the cache memory to establish a data sheet recently used, reduce the number of disk read and write. 同时,通过上层应用程序管理读写文件的Cache、批量写入和数据片预读,解决随机读取文件导致系统可用内存显著减少的问题并大大提高应用程序性能。 Meanwhile, the upper application through the Cache Manager to read and write files, batch writing and data prefetching sheet, cause the file system to solve the random access memory available significantly reduces problems and greatly improve application performance.

所述的系统中,基于P2P技术上的分布式流媒体点播系统,是多点点播模式,即点播一个影片时,同时可与多个节点(包括普通用户、边缘内容服务器、中心片库)建立数据链接。 The system, P2P technology distributed systems based streaming media on demand, is a multi-demand mode, i.e., when a video-on-demand, at the same time with a plurality of nodes (including common user, the edge of the content server, the central film library) established data link. 在P2P传输层与流媒体播放器之间存在一个文件读写管理层,它把一个影片文件看成是一个分布式的文件,影片文件按一定大小或时间戳进行分片,每一个片在众多其它节点中会有很多拷贝,可按当前影片播放的进度来驱动P2P传输层读取所需要的数据片。 Exists between the transport layer and the P2P streaming media player to read and write a management file, a movie file as it is to a distributed file, the movie file must be fragmented according to size or timestamp, each patch in a number of other nodes have many copies of the current progress of the video player can be driven to read data sheet transport layer P2P required.

本发明提供一种基于P2P技术上的分布式流媒体点播系统中点播流媒体节目的实现方法,其技术方案包括下列步骤:(1)选择播放的节目,客户端软件安装,登录:用户在Web上查看影片的资讯,选择播放某个影片;网页检测到用户机器没有安装客户端软件,提示用户安装软件,用户可以选择在网页在线自动或手动下载安装客户端软件;客户端软件自动运行,并读取Web浏览器Cookie取得用户上次点击的影片链接地址(URL),包括影片内容的哈稀值(影片唯一标识)、影片大小、影片名称、影片频道、影片资费方式等,客户端根据影片的计费方式决定该用户是否有权限观看该影片;(2)调度和返回在线节点列表:客户端通过该影片的哈稀值(影片唯一标识)向登录服务器子系统查询当前拥有该影片全部或部分数据的在线节点列表,登录服务器子系统根据一组预先定义好 The present invention provides a method of P2P technology to realize a distributed on-demand streaming system based on demand streaming programs, which aspect comprises the steps of: (a) selecting a program broadcast, the client software is installed, login: user Web View information on the movie, choose to play a movie; page detects that the user machine is not installed client software prompts the user to install the software, the user can select the page online automatically or manually download and install the client software; the client software to run automatically, and reads the Web browser Cookie made the movie link address (URL) user last click, including Kazakhstan dilute the value of video content (video unique identification), the size of the movie, the movie name, movie channels, video tariff methods, according to the video client billing determine whether the user has permission to view the film; (2) online scheduling and return a list of nodes: the client through Kazakhstan dilute the value of the film (the film unique identification) to the login server sub-query currently owns the entire movie or online list of nodes part of the data, the login server sub-system based on a set of pre-defined 控制策略,返回一批符合条件的在线节点列表信息,至少包括节点的网络类型、IP地址、端口号等信息;(3)建立多点链接和实现播放:客户端根据一组预先定义好的控制策略,选择部分优先节点建立点对点链接,并自动打开播放器,由播放器驱动P2P传输层读取所需的数据片,实现流媒体数据缓冲、实时播放; Control strategy, the return line node list a number of qualified information, including information on at least the type of network nodes, IP address, port number; (3) establish and implement multi-link play: the client a set of predefined controls in accordance with strategy, selecting section preferentially node establishes point link, and automatically turn on the player, P2P transport layer driver needed by the player reads the data sheet, the data buffering streaming media, real-time playback;

(4)普通用户客户端同时兼为流媒体数据提供者和消费者:用户在播放该影片的同时,也接受其它普通用户的链接,并为其它普通用户提供该影片的数据片;(5)智能流量控制:用户在边载边放过程中,会定时对流量进行智能调控,尽可能不使用或减少来自边缘内容服务器和中心片库的流量,使普通用户之间的P2P流量最大化。 (4) general user client and at the same time providers and consumers for streaming media data: user while playing the movie, but also ordinary users to accept other links and provides the film's other piece of data for the normal user; (5) intelligent flow control: the user side - load side of the discharge process, the timing of the traffic will intelligent control, or not used to reduce the flow from the center and the edge of the content server library as substrate, so that P2P traffic between users to maximize common.

所述点播流媒体节目的实现方法中,客户端链接其它节点和登录服务器子系统返回在线节点列表时遵循以下策略:(1)节点类型优先:链接顺序以普通用户节点优先级别最高,边缘内容服务器节点为第二优先级,中心片库服务器节点优先级最低,这样可大大降低来自运营商服务器群所在的中心机房流量,系统的服务能力随用户的增加而自动扩展,相同带宽条件下,可比传统流媒体系统服务更多的用户;(2)ISP运营商优先:根据用户IP地址判断其所属的宽带网络提供商(如电信、网通、铁通等),优先链接与自己是相同ISP运营商的在线节点,以优化网络流量流向,可以减少不同ISP骨干网之间的流量;(3)地域优先:根据用户IP地址判断其所属的地域,优先选择同一地域或同一内网的在线节点提供服务,可提高传输速度和服务质量;(4)稳定性优先:对普通用户节 Follow the on-demand streaming media programs during implementation, the client links to other nodes and login server sub-system is back online list of nodes following strategies: (1) node type of priority: the highest priority order of the link as a normal user node level, edge server content node is the second priority, the central film library server nodes lowest priority, this would greatly reduce the flow from the center of the room where the server farm operators and service capabilities of the system increases user is automatically extended under the same bandwidth conditions than traditional streaming media service system more user; (2) ISP operator precedence: IP address of the user to determine the broadband network providers to which it belongs (such as Telecom, China Netcom, China Railcom, etc.), they are preferentially linked online with the same ISP carriers nodes, to optimize the network traffic flow, can reduce traffic between different ISP backbone; (3) the priority area: area to which it belongs is determined according to a user IP address, preferred line or on the same node on the same local network to provide service, increase the transmission speed and quality of service; (4) stability priority: normal user section 历史数据进行评估,以在线时间、网络上行速度、操作系统类型、系统负载等作为评估因素,优先选择稳定性在一定健康度以上的在线节点进行链接;(5)缓存Cache优先:优先选择目前同时在点播相同影片的在线节点链接,以便提高客户端内存Cache读写命中率,减少硬盘的读写次数,同时可以减少与种子(即拥有该影片全部数据片)节点的链接数,提高系统服务能力。 Historical data is evaluated to the time line, the speed up network, operating system type, load and other factors as the evaluation, preference stability above a certain link of the health of the online nodes; (5) Cache Cache Priority: while the preferred current online ordering the same node links in the movie, in order to improve client Cache memory read and write hit rate, reduce the number of hard disk read and write, while reducing the number of links with the seed (ie, the film has all the data sheet) node, the ability to improve system services .

所述的系统中,各子系统的各类服务器的数量是根据业务需要进行配置,以适应系统服务能力的扩展和变化;已经建立链接的各个节点之间实时地通知对方自己的数据片的有无,并且定时相互以P2P方式交换在线节点列表信息,这样有助于大大提高在线节点列表的实时性,减少登录服务器子系统的负担。 The system, the number of various types of servers each subsystem is based on business needs to be configured to accommodate expansion and changes in the system service capabilities; notify each other their own piece of data in real time between each node has already established links no, the timing and manner with each other to exchange online P2P node list information, which will help greatly improve real-time online list of nodes, reducing the burden on the login server sub-system.

附图说明 BRIEF DESCRIPTION

附图1是现有技术中流媒体视频点播系统的结构组成示意图;附图2是本发明系统的结构组成示意图;附图3是本发明内容管理流程示意图;附图4是本发明影片发布流程示意图;附图5是本发明P2P播放器在线升级流程示意图;附图6是本发明P2P网络登录流程示意图;附图7是本发明P2P点播流程示意图。 1 is a prior art configuration VOD streaming media schematic composition diagram; Figure 2 is a block schematic diagram illustrating a system of the present invention; FIG. 3 is a schematic view of the present invention, management processes; Fig. 4 is a schematic view of the film release process of the present invention ; Figure 5 is a schematic flow diagram of the present invention, P2P player online upgrade; Figure 6 is a P2P network entry process of the present invention is a schematic diagram; Figure 7 is a schematic flow diagram of demand P2P present invention.

具体实施方式 detailed description

下面通过实施例,并结合附图,对本发明的技术方案作进一步具体的说明。 The following Examples, in conjunction with the accompanying drawings, technical solutions of the present invention will be further specifically described.

实施例:参见图2,本发明是一种基于P2P技术上的分布式流媒体点播系统,该系统的最大特点是运用P2P技术把客户端加入到流媒体服务系统中,并且客户端之间具备强大的穿透防火墙技术,其智能流量控制机制可以大大减少运营商内容服务器和中心片库的压力,提高系统的响应速度和服务质量。 Example: Referring to Figure 2, the present invention is a distributed technology P2P streaming media on demand based systems, the most important feature of the system is the use of P2P technology client to a streaming media service system, and between a client includes powerful penetrate the firewall technology, its intelligent flow control mechanisms can greatly reduce the pressure on operators and content server center film library, improve responsiveness and quality of service system.

本发明系统中,各子系统的各类服务器的数量是根据业务需要进行配置,以适应系统服务能力的扩展和变化。 The system of the present invention, the number of various types of servers each subsystem is configured according to service requirements, the system changes to accommodate expansion and service capabilities. 但是,实际上当流媒体用户大量增加时,可提供上行流量服务的客户端也随之大量增加,即使不增加边缘内容服务器的情况下,系统服务能力仍然会自动地扩展,足以满足用户密集突发的流媒体业务需求。 However, when in fact a substantial increase in streaming media users, can provide the client upstream traffic services will be a substantial increase, even if not to increase the edge of the content server, system service capacity will still be automatically extended, sufficient to meet the user-intensive bursts streaming media business needs.

本系统采用使P2P技术与B/S技术进行有效结合,用户可以通过点击网页上的URL来点播指定的文件,这样对符合普通用户的使用习惯。 The system uses the P2P technology and B / S technology for effective integration, users can specify files on demand by clicking on the web page URL, so that the habits in line with the average user.

系统采用了均衡负载(包括登录服务器子系统负载均衡、内容管理服务器子系统负载均衡、P2P客户端负载均衡),从而任何一台服务器出问题,系统仍然可正常运行,真正达到电信级的要求,并方便实现系统平滑扩展。 The system uses load balance (including login server subsystem load balancing, content management subsystem load balancing server, P2P client load balancing) requirements, so any server problems, the system can still function properly, really achieve carrier-class, and facilitate the smooth extension of the implemented system.

登录服务器子系统:使用负载均服务器(Dispatch Server)来将用户登录请求平均分配到各登录服务器。 Login server subsystem: Use the server load average (Dispatch Server) to the average user logon requests assigned to each login server. 由于负载均衡服务器和登录服务器都使用UDP方式通讯,可处理大量的并发登录请求。 Since the load balancing servers and login servers use UDP communication mode, it can handle a large number of concurrent login requests.

内容管理服务器子系统:各内容服务器和中心片库服务器可设置最大上传链接数、单链接最高速度(或按影片码率大小)、单个影片文件的最大链接数、总的上传流量限制等。 Content Management Server subsystems: the contents of each server and database server center piece can set the maximum number of upload link, single-link maximum speed (or bit rate according to video size), the maximum number of links to a single movie file, the total upload traffic restrictions. 超过最大链接数时,Peer会自支断开并链接其它Peer或资源服务器。 Exceeds the maximum number of links, Peer will be disconnected from support and links to other resources or Peer server.

P2P客户端:可设置最大上传链接数、点播下载时最大链接数、总的下载流量限制、总的上传流量限制等。 P2P client: You can set the maximum number of links to upload, download on demand when the maximum number of links, the total download traffic restrictions, the total upload traffic restrictions. 同时优先使用其它Peer的上行流量,有效降低资源服务器的压力。 With a preference for Peer other upstream traffic, effectively reduce the pressure resource server.

P2P通讯数据安全:对于P2P客户端的与负载均衡服务器、登录服务器、注册服务器、共享服务器、搜索服务器、NAT检测服务器、链接建立协商服务器等通信都对数据包进行加密处理,防止黑客恶意攻击。 P2P communications data security: For P2P client load balancing server, login server, registration server, shared server, a search server, NAT detection server, the link establishment negotiation servers communicate both packet is encrypted to prevent hackers' attacks.

影片数据安全性:因为P2P点播使用多点(即多链接)传输数据,所以很难使用类似StreamBox和Flash等抓流工具来下载、保存影片数据,从技术本身来看,也很难做到。 Videos Data Security: Because P2P on-demand multi-point (ie, multi-link) to transmit data, it is difficult to use Flash and other similar StreamBox and catch workflow tools to download, save the movie data, from a technical point of view itself, but also difficult to achieve. 这样可以有效的保障影片的知识产权,防止非法传播。 This can effectively protect the intellectual property rights of the film, to prevent illegal distribution. 基于同样的考虑,对于在本地硬盘保留的临时数据也进行加密,并定时清理。 Based on similar considerations, the local hard disk for temporary data retention is also encrypted and regular cleaning.

图3描述了本发明基于P2P技术上的分布式流媒体点播系统中,CP对媒体文件内容管理的流程,介绍如下:①CP打开内容管理上传客户端程序并登录;②CP选择要发布的影片文件及影片相关资讯,如内容简介、海报图片等;③确认并开始上传,同时将影片和图片等信息保存到中心片库;④上传完毕后,将影片置为待审定状态,同时通知影片内容审核小组进行审核;⑤审核小组对影片内容审核通过后,将该影片状态标志为待发布状态,并通知影片发布小组。 Figure 3 depicts the present invention P2P technology is a distributed system based on streaming media on demand, CP content of the media file management process, described as follows: ①CP open client program to upload content management and log; ②CP select the movie file you want to publish and information about the video, such as Introduction, posters, pictures, etc.; ③ confirm and start uploading, and save movies and pictures and other information to a central film library; ④ after uploading is complete, the movie is set to be validated state, notify the video content audit team review; ⑤ after the audit team of video content approved, the movie is to be released state flag state and inform movie release group. 之后参看影片发布流程。 After publishing process see the movie.

图4,描述了本发明基于P2P技术上的分布式流媒体点播系统中,影片发布小组对媒体文件发布的流程,介绍如下:①影片发布小组成员登录影片发布系统,并选择待发布状态的影片;②对不符合标准格式、码率的影片进行转换,使之符合标准格式、码率;③根据当前各资源服务器的磁盘空间和网络负载,选由合适的资源服务器进行发布;④资源服务器使用FTP链接中心片库,下载该影片到本地磁盘;⑤影片下载完毕后,由seeder服务程序对该文件计算Hash值;⑥影片Hash值计算完毕后,自动共享到P2P网络,同时向APP Server报告新共享文件名和对应的Hash值。 4, describes the present invention is based on P2P technology, distributed streaming media on demand system, video publishing group to process media files released, described as follows: ① movie release group members Log in movie distribution system, and select the movie to be released state ; ② the film does not match the standard format, bit rate conversion, to conform to a standard format, bit rate; ③ according to the current disk space and network load of each server resources, the election be issued by the appropriate resource server; ④ use server resources FTP link center film library, download the movie to your local disk; ⑤ movie after the download is complete, computing Hash value to the file by the seeder service program; ⑥ after the movie Hash value calculated, automatically shared to a P2P network, while the new report to the APP Server share file names and corresponding Hash value.

图5描述了本发明基于P2P技术上的分布式流媒体点播系统中,P2P播放器在线升级流程,介绍如下:①使播放器运行在线升级程序;②播放器停止正在运行的播放器进程和数据传输进程;③从在线升级服务器中下载升级所需要的配置文件;④分析升级配置文件;⑤下载本次升级所需的文件;⑥下载完毕后,自动重新运行播放器程序。 5 depicts the present invention P2P technology distributed on-demand streaming system, P2P player online upgrade process, described as follows: ① the player to upgrade programs to run; ② player the player stops running processes and data transmission process; ③ download the upgrade from the online update server in the required configuration file; ④ analysis upgrade profile; ⑤ download the files needed for this upgrade; ⑥ after the download is complete, the player automatically re-run the program. 之后参看P2P网络登录流程。 See the P2P network login process later.

图6描述了本发明基于P2P技术上的分布式流媒体点播系统中,P2P网络登录流程,介绍如下:①用户打开P2P播放器,检测本地是否已有帐号,没有的话自动注册一个新号码;②使用有效帐号登录到负载均衡服务器(Dispatch Server);③检测P2P播放器是否需要升级,不需要升级就登录到登录服务器(Logon Server);④成功登录后,保持与登录服务器的链接。 6 depicts the present invention P2P technology distributed on-demand streaming system, P2P network entry procedure, described as follows: ① the user opens P2P player, detecting whether an existing local account, if not automatically register a new number; ② use a valid account to log on to the server load balancing (Dispatch server); ③ detect whether P2P players need to upgrade, the upgrade is not required to log in to the login server (logon server); ④ after successful login, the login server to maintain the link.

图7描述了本发明基于P2P技术上的分布式流媒体点播系统中,用户使用P2P网络点播流媒体节目的流程,介绍如下:①用户打开IE浏览器,输入在线点播网址,并检测是否需要登录网站认证;②用户所请求的网页根据APPServer所操作的数据库数据动态生成影片列表;③用户点击想点播的影片;④系统自动运行P2P播放器;⑤用户登录P2P网络;⑥P2P网络根据要点播的影片Hash值,向Logon Server和P2P网络请求搜索当前共享该影片的所有Peer列表;⑦根据返回的Peer列表去连接各个Peer;⑧每个Peer链接成功后,开始传输影片数据流;⑨数据缓冲完成后,播放器开始播放用户所点播的影片。 7 depicts the present invention P2P technology distributed on-demand streaming system, a P2P network using the user-demand streaming media program processes, described as follows: ① user opens IE browser, the URL on demand input line, and detecting whether to log website certification; ② requested by the user dynamically generated web pages based on database data APPServer operated movie list; ③ user clicks on the video you want on-demand; ④ system automatically run P2P player; ⑤ users log on P2P networks; ⑥P2P network movie to demand according to ⑨ When the data buffer is completed; hash value, the request to the Logon Server and Peer P2P network searches the list of all currently shared video; ⑦ according to connect respective Peer Peer list returned; Peer ⑧ after each successful link, begin transmitting video data stream the player starts playing the video user demand.

最后,应当指出,以上实施例仅是本发明较有代表性的例子。 Finally, it should be noted that the above embodiments are merely present invention is more representative examples. 显然,本发明的技术方案并不限于上述实施例,还可以有许多变形。 Clearly, the technical solution of the present invention is not limited to the above embodiments, it can also have many variations. 本领域的普通技术人员能从本发明公开的内容直接导出或联想到的所有变形,均应认为是本发明的保护范围。 All variations of ordinary skill in the art derived directly from or to think of this disclosure, shall be considered to be the scope of the invention.

Claims (10)

  1. 1.一种基于P2P技术上的分布式流媒体点播系统,其特征在于:该系统包括七个子系统:(1)内容管理子系统,实现对媒体文件的录入、编排和发布功能,使之变为可被访问的内容;(2)内容展现子系统,提供给网站管理人员对已发布的媒体文件实现内容导航、页面模板管理,并最终以Web方式将媒体文件展现给用户;(3)登录服务器子系统,实现系统负载均衡、用户注册、用户登录认证、用户搜索、用户资料存取、用户好友管理、通讯中转、手机短讯、文件共享/搜索等功能;(4)认证计费子系统,是系统业务运营的核心要件,它完成对用户访问服务的认证,非法的内容服务请求,为合法用户提供访问授权,生成内容服务的计费信息;(5)数据统计子系统,统计和分析各服务器组及网络边缘节点的运行数据,有助于动态分析系统运行障碍和用户的消费行为;(6)P2P A distributed P2P technology based streaming media on demand system, wherein: the system comprises seven subsystems: (1) content management system enables entry of the media files, presentation and publishing, so that turning to be content to be accessed; (2) content rendering subsystem available to site managers implementing content navigation, page templates management of published media files, and eventually to the Web-show media files to the user; (3) Log server subsystem, to achieve load balancing system, user registration, user login authentication, user search, information access, user management friends, communications relay, SMS, file sharing / search functions; (4) authentication and accounting subsystem is the core element of business operations system, which completes the authentication for user access services, illegal content service requests, provide access to legitimate authorized users, generate billing information content and services; (5) subsystem statistics, statistics and analysis each server group and run the data network edge node, dynamic analysis system helps users run obstacles and consumer behavior; (6) P2P CDN网络子系统,以P2P方式对流媒体文件推送到网络边缘节点,所有节点与客户端之间以自适应方式传递各种控件信息和流媒体信息;(7)流媒体播放器子系统,作为独立的播放器软件,支持各种流行的媒体格式与编码,与P2P传输层紧密结合,按数据片的紧急等级控制P2P传输层优先传输那些数据片。 CDN network subsystem, streaming media in a P2P manner to push files to the network edge node to adaptively convey various control information and stream media information between all nodes and the client; (7) streaming media player subsystem, as an independent the player software supports a variety of popular media formats and coding, closely integrated with P2P transport layer, according to an emergency level data sheet transport layer priority control P2P transfer those data sheet.
  2. 2.根据权利要求1所述的基于P2P技术上的分布式流媒体点播系统,其特征在于:内容管理子系统对媒体文件与内容实行集中式管理,为第三方内容提供商CP提供影片上传功能,第三方内容提供商CP的影片经过审核流程后,可由影片发布小组对不符合标准格式或码率的文件提供转换工具,最终进入中心片库,然后根据各边缘节点内容服务器的负载情况,手动或自动地通过P2P CDN子系统推送到种边节点内容服务器或普通用户处;媒体文件录入时,对影片名、演员、导演、影片简介等进行关键字分词入库,以便于大大提高用户搜索速度。 P2P technology according to claim distributed system based streaming media on demand, characterized in that said 1: content management subsystem centralized management of media content files, video uploading provides third-party content provider CP , third-party content provider CP movie after a review process, the video released by the team provides conversion tools for file does not match the standard format or bit rate, and ultimately into the central film library, and then depending on the load of each edge node content server, manually or automatically by pushing subsystem to the kinds of P2P CDN edge server or node content at the ordinary user; when the media file entry, the movie name, actor, director, Synopsis, etc. key word in storage, in order to greatly improve the user search speed .
  3. 3.根据权利要求1所述的基于P2P技术上的分布式流媒体点播系统,其特征在于:各子系统的各类服务器的数量是根据业务需要进行配置,以适应系统服务能力的扩展和变化。 3. P2P technology based distributed streaming media on demand system, wherein the claim 1: the number of all types of servers each subsystem is configured according to service requirements, the system changes to accommodate expansion and service capabilities .
  4. 4.根据权利要求1所述的基于P2P技术上的分布式流媒体点播系统,其特征在于:普通用户使用的客户端,既是P2P分布式流媒体服务的使用者,同时又是服务的提供者,客户端在本地存储播放过的或由P2P CND主动推送过来的流媒体数据,它可与其它普通用户、边缘内容服务器或中心片库建立点对点链接,彼此交换所需的数据。 4. Distributed P2P technology based streaming media on demand system, wherein the claim 1: The client used by ordinary users, both users distributed P2P streaming service, while a service provider the client local storage or played by the P2P CND active push over the streaming media data, it can, the content server or an edge center point link established film library with other general users, the required data exchange with each other.
  5. 5.根据权利要求1或3所述的基于P2P技术上的分布式流媒体点播系统,其特征在于:普通用户本地存储的流媒体数据需要加密,并且对影片的数据按大小或时间戳为单位进行分片处理,传输过程中接收方要对每一片数据进行校验,校验失败时,优先选择另外的节点重新传输该片数据;在读写本地存储的流媒体数据时,在内存建立最近使用的数据片缓存区,减少对硬盘的读写次数,同时通过上层应用程序管理读写文件的Cache、批量写入和数据片预读,解决随机读取文件导致系统可用内存显著减少的问题并大大提高应用程序性能。 The P2P technology based distributed on-demand streaming media system according to claim 13, wherein: the average user locally stored streaming media data to be encrypted, and the data size of video by units of time stamp or fragmentation process, during transport to the receiving side of each piece of data validation when validation fails, preferred additional node retransmit data sheet; at the time of reading and writing streaming media data locally stored in memory recent establishment slice buffer used to reduce the number of disk read and write, while the upper layer application by the cache Manager to read and write files, batch writing and data prefetching sheet, to solve the problem of available random access memory file cause a significant reduction in the system and greatly improve application performance.
  6. 6.根据权利要求1或3或4所述的基于P2P技术上的分布式流媒体点播系统,其特征在于:基于P2P技术上的分布式流媒体点播系统,是多点点播模式,即点播一个影片的同时可与多个节点建立数据链接,多个节点包括普通用户、边缘内容服务器、中心片库,在P2P传输层与流媒体播放器之间存在一个文件读写管理层,它把一个影片文件看成是一个分布式的文件,影片文件按一定大小或时间戳进行分片,每一个片在众多其它节点中会有很多拷贝,可按当前影片播放的进度来驱动P2P传输层读取所需要的数据片。 1 or according to claim 3 or 4, P2P technology based distributed streaming media on demand system, as claimed in claim wherein: P2P technology distributed systems based streaming media on demand, is a multi-demand mode, i.e., a VOD video data links may be established simultaneously, a plurality of nodes comprising a plurality of nodes with a common user, the content edge server, the central film library, the presence of a read-write file management P2P transport layer and between the streaming media player, a video it is distributed as a document file, a movie file must be fragmented according to size or timestamp, each piece will have a lot of copy number of other nodes, according to the current progress of the video player reads a transport layer driver P2P required data slice.
  7. 7.一种基于P2P技术上的分布式流媒体点播系统中点播流媒体节目的实现方法,其特征在于:包括下列步骤:(1)选择播放的节目,客户端软件安装,登录:用户在Web上查看影片的资讯,选择播放某个影片;网页检测到用户机器没有安装客户端软件,提示用户安装软件,用户可以选择在网页在线自动或手动下载安装客户端软件;客户端软件自动运行,并读取Web浏览器Cookie取得用户上次点击的影片链接地址URL,包括影片内容的影片唯一标识哈稀值、影片大小、影片名称、影片频道、影片资费方式等,客户端根据影片的计费方式决定该用户是否有权限观看该影片;(2)调度和返回在线节点列表:客户端通过该影片的影片唯一标识哈稀值向登录服务器子系统查询当前拥有该影片全部或部分数据的在线节点列表,登录服务器子系统根据一组预先定义好的控制策略 A method of media program based on achieving P2P distributed on-demand streaming technology demand streaming system, characterized by: comprising the steps of: (a) selecting a program broadcast, the client software is installed, login: user Web View information on the movie, choose to play a movie; page detects that the user machine is not installed client software prompts the user to install the software, the user can select the page online automatically or manually download and install the client software; the client software to run automatically, and reads the Web browser Cookie obtain the user clicks the last link of the video address URL, including videos that uniquely identifies video content Kazakhstan dilute the value, the size of the movie, the movie name, movie channels, video tariff methods, client billing based on the movie determine whether the user has permission to view the film; (2) online scheduling and return a list of nodes: client uniquely identifies Ha dilute the value of the movie by movie currently owns the video subsystem query all or part of the data online list of nodes to the login server The login server subsystem good control strategy based on a set of pre-defined 返回一批符合条件的在线节点列表信息,至少包括节点的网络类型、IP地址、端口号等信息;(3)建立多点链接和实现播放:客户端根据一组预先定义好的控制策略,选择部分优先节点建立点对点链接,并自动打开播放器,由播放器驱动P2P传输层读取所需的数据片,实现流媒体数据缓冲、实时播放;(4)普通用户客户端同时兼为流媒体数据提供者和消费者:用户在播放该影片的同时,也接受其它普通用户的链接,并为其它普通用户提供该影片的数据片;(5)智能流量控制:用户在边载边放过程中,会定时对流量进行智能调控,尽可能不使用或减少来自边缘内容服务器和中心片库的流量,使普通用户之间的P2P流量最大化。 Returns the number of online information node list meet the conditions, including at least information on the type of network nodes, IP address, port number; (3) establish and implement multi-link play: a set of pre-defined client based on good control strategy, select part priority node establishes point link, and automatically turn on the player, P2P transport layer driver needed by the player reads the data sheet, the data buffering streaming media, real-time playback; (4) general user client and at the same time for the streaming media data providers and consumers: the user while playing the movie, but also ordinary users to accept other links and provides the film's other piece of data for the normal user; (5) intelligent flow control: the user side - load side discharge process, regularly for intelligent traffic control, without the use of or reduce the flow from the edge of the content server and the film library of the center as possible, so that P2P traffic between ordinary users maximized.
  8. 8.根据权利要求7所述的一种基于P2P技术上的分布式流媒体点播系统中点播流媒体节目的实现方法,其特征在于:客户端链接其它节点和登录服务器子系统返回在线节点列表时遵循以下策略:(1)节点类型优先:链接顺序以普通用户节点优先级别最高,边缘内容服务器节点为第二优先级,中心片库服务器节点优先级最低,这样可大大降低来自运营商服务器群所在的中心机房流量,系统的服务能力随用户的增加而自动扩展,相同带宽条件下,可比传统流媒体系统服务更多的用户;(2)ISP运营商优先:根据用户IP地址判断其所属的宽带网络提供商,包括电信、网通、铁通,优先链接与自己是相同ISP运营商的在线节点,以优化网络流量流向,可以减少不同ISP骨干网之间的流量;(3)地域优先:根据用户IP地址判断其所属的地域,优先选择同一地域或同一内网的在线 According to claim 7, wherein one of the media program implemented method P2P technology distributed on-demand streaming on-demand streaming system, comprising: a client nodes and links to other online registration server returns a list of nodes upon subsystem the following strategies: (1) node type of priority: the highest priority order of the link as a normal user node level, edge content server node to the second priority, the central film library server node has the lowest priority, this would greatly reduce the operator's server farm from where the central office service capacity traffic, the system automatically increases the user's extension, same bandwidth than traditional streaming system more user services; (2) ISP operator priority: it belongs to is determined according to a user the broadband IP address network providers, including telecommunications, China Netcom, China Railcom, priority links with their ISP node is the same as online operators to optimize network traffic flow can reduce traffic between different ISP backbone network; (3) priority areas: user IP determine the geographical address to which it belongs, preferences online in the same region or within the same network 节点提供服务,可提高传输速度和服务质量;(4)稳定性优先:对普通用户节点历史数据进行评估,以在线时间、网络上行速度、操作系统类型、系统负载等作为评估因素,优先选择稳定性在一定健康度以上的在线节点进行链接;(5)缓存Cache优先:优先选择目前同时在点播相同影片的在线节点链接,以便提高客户端内存Cache读写命中率,减少硬盘的读写次数,同时可以减少与种子即拥有该影片全部数据片的节点链接数,提高系统服务能力。 Service node, can increase the transmission speed and quality of service; (4) Stability Priority: normal historical data to evaluate the user node, online time, speed up network, type of operating system, system load factor as the evaluation, preference stable sexual health in more than a certain degree online node links; (5) cache cache priority: select priority node link currently online at the same time in the same movie on demand, in order to improve client cache memory read and write hit rate and reduce the number of hard disk read and write, while reducing the number of nodes and links that owns the movie all the seed that is a piece of data, improve system service capabilities.
  9. 9.根据权利要求7所述的一种基于P2P技术上的分布式流媒体点播系统中点播流媒体节目的实现方法,其特征在于:已经建立链接的各个节点之间实时地通知对方自己的数据片的有无,并且定时相互以P2P方式交换在线节点列表信息,这样有助于大大提高在线节点列表的实时性,减少登录服务器子系统的负担。 According to claim 7, wherein one of the media program implemented method P2P technology distributed on-demand streaming on-demand streaming system, comprising: notify each other of their respective real-time data between the node has established a link sheet presence or absence of each other in a P2P manner and the timing of switching node list information online, which will help greatly improve real-time online list of nodes, reducing the burden on the login server sub-system.
  10. 10.根据权利要求7所述的一种基于P2P技术上的分布式流媒体点播系统中点播流媒体节目的实现方法,其特征在于:客户端软件具有强大的穿透防火墙能力,支持不同内网之间的用户直接使用UDP互连,使得普通用户节点间链接成功轨达到90%以上,使普通用户的上行流量最大化,运营商的边缘内容服务器和中心片库的上行流量最小化。 10. A method according to claim 7 implemented method of media program P2P technology distributed on-demand streaming on-demand streaming system, comprising: client software has a powerful ability to penetrate the firewall, to support different network UDP directly between users interconnected, so that a successful link between the user node common rail 90% or more, so that ordinary users to maximize the upstream traffic, the upstream traffic carrier sheet and the center edge of the content repository server is minimized.
CN 200710069145 2007-05-31 2007-05-31 Distributed stream media order system based on P2P technology and implementation method for stream media program order CN101087403B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710069145 CN101087403B (en) 2007-05-31 2007-05-31 Distributed stream media order system based on P2P technology and implementation method for stream media program order

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710069145 CN101087403B (en) 2007-05-31 2007-05-31 Distributed stream media order system based on P2P technology and implementation method for stream media program order

Publications (2)

Publication Number Publication Date
CN101087403A true true CN101087403A (en) 2007-12-12
CN101087403B CN101087403B (en) 2010-10-06

Family

ID=38938121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710069145 CN101087403B (en) 2007-05-31 2007-05-31 Distributed stream media order system based on P2P technology and implementation method for stream media program order

Country Status (1)

Country Link
CN (1) CN101087403B (en)

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009138006A1 (en) * 2008-05-16 2009-11-19 华为技术有限公司 Method and system for media playing control and metadata execution unit
CN102006238A (en) * 2010-12-14 2011-04-06 武汉大学 Balanced quick searching method in structureless P2P (Peer-to-Peer) network
CN101539945B (en) 2009-04-16 2011-05-18 浙江理工大学 Method for establishing large-scale distributed file system based on P2P
CN102088620A (en) * 2010-12-01 2011-06-08 中兴通讯股份有限公司 Method for downloading media file in content distribution network and client
CN102131114A (en) * 2010-11-17 2011-07-20 华为技术有限公司 Method and system for providing playlist
CN102130914A (en) * 2011-03-10 2011-07-20 中国电信股份有限公司 Method and device for pushing multimedia file
CN102137156A (en) * 2011-02-25 2011-07-27 四川长虹电器股份有限公司 Network player system and implementation method thereof
CN101409729B (en) 2008-11-27 2011-09-21 中兴通讯股份有限公司 P2P medium distribution system and method based on mobile internet
CN102264102A (en) * 2010-05-24 2011-11-30 华为技术有限公司 The method of controlling the localized traffic exchange mobile broadband network, device, and system
CN102428689A (en) * 2009-05-20 2012-04-25 无线电技术研究学院有限公司 Peer-to-peer transmission system for data streams
CN101621539B (en) 2009-08-06 2012-05-30 浙江理工大学 Method for constructing P2P network for vertical virtual group
CN102497387A (en) * 2011-11-11 2012-06-13 合一网络技术(北京)有限公司 Flash video distribution method based on P2P client terminal state analysis
CN102572542A (en) * 2011-12-31 2012-07-11 四川长虹电器股份有限公司 Hotel orientation video and advertisement push system
CN102625287A (en) * 2011-09-09 2012-08-01 威海捷讯通信技术有限公司 Method for downloading mobile phone application software
CN102833581A (en) * 2012-08-27 2012-12-19 中兴通讯股份有限公司 Method and system for content management
CN102883190A (en) * 2011-07-15 2013-01-16 深圳市快播科技有限公司 Optimal bandwidth distribution demand method and device
CN102047244B (en) 2008-04-04 2013-02-27 第三雷沃通讯有限责任公司 Handling long-tail content in a content delivery network (CDN)
CN101883124B (en) 2009-05-08 2013-03-27 北京大学 Data downloading method, device and system of on-demand system
CN103024593A (en) * 2012-12-26 2013-04-03 人民搜索网络股份公司 Online VOD (video on demand) acceleration system and online VOD playing method
CN103259762A (en) * 2012-02-16 2013-08-21 中兴通讯股份有限公司 File encryption and decryption method and system based on cloud storage
CN103843297A (en) * 2011-09-09 2014-06-04 诺基亚通信公司 Method, device and system for providing and selecting candidate nodes for live streaming services
CN104246737A (en) * 2011-12-01 2014-12-24 华为技术有限公司 Systems and methods for connection pooling for video streaming in content delivery networks
CN104320672A (en) * 2014-09-24 2015-01-28 中国人民解放军理工大学 Method for scheduling resources of live streaming media system under CDN-P2P hybrid architecture
CN104333782A (en) * 2014-11-11 2015-02-04 广州华多网络科技有限公司 Anchor formulated task on demand method and system and related device
CN104506897A (en) * 2014-09-24 2015-04-08 中国人民解放军理工大学 A method of weighted randomized chunk selection in a P2P (Peer-to-Peer) live streaming media system
CN104735044A (en) * 2014-11-18 2015-06-24 深圳市同洲电子股份有限公司 Streaming media live broadcast method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020162109A1 (en) 2001-04-26 2002-10-31 Koninklijke Philips Electronics N.V. Distributed storage on a P2P network architecture
CN1217543C (en) 2002-06-28 2005-08-31 国际商业机器公司 Apparatus and method for equivalent VOD system
CN100471260C (en) 2006-06-28 2009-03-18 华中科技大学 Network organization method of overlapped multichannels in video on demand system of peer-to-peer network

Cited By (41)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102047244B (en) 2008-04-04 2013-02-27 第三雷沃通讯有限责任公司 Handling long-tail content in a content delivery network (CDN)
CN101583017B (en) 2008-05-16 2012-11-07 华为技术有限公司 Method and system for controlling media play and metadata execution unit
WO2009138006A1 (en) * 2008-05-16 2009-11-19 华为技术有限公司 Method and system for media playing control and metadata execution unit
CN101409729B (en) 2008-11-27 2011-09-21 中兴通讯股份有限公司 P2P medium distribution system and method based on mobile internet
CN101539945B (en) 2009-04-16 2011-05-18 浙江理工大学 Method for establishing large-scale distributed file system based on P2P
CN101883124B (en) 2009-05-08 2013-03-27 北京大学 Data downloading method, device and system of on-demand system
CN102428689A (en) * 2009-05-20 2012-04-25 无线电技术研究学院有限公司 Peer-to-peer transmission system for data streams
CN102428689B (en) * 2009-05-20 2015-09-30 无线电技术研究学院有限公司 Data stream transmission system and the like
CN101621539B (en) 2009-08-06 2012-05-30 浙江理工大学 Method for constructing P2P network for vertical virtual group
CN102264102A (en) * 2010-05-24 2011-11-30 华为技术有限公司 The method of controlling the localized traffic exchange mobile broadband network, device, and system
CN102131114A (en) * 2010-11-17 2011-07-20 华为技术有限公司 Method and system for providing playlist
CN102131114B (en) 2010-11-17 2013-04-24 华为技术有限公司 Method and system for providing playlist
CN102088620A (en) * 2010-12-01 2011-06-08 中兴通讯股份有限公司 Method for downloading media file in content distribution network and client
CN102088620B (en) 2010-12-01 2014-06-18 中兴通讯股份有限公司南京分公司 Method for downloading media file in content distribution network and client
CN102006238A (en) * 2010-12-14 2011-04-06 武汉大学 Balanced quick searching method in structureless P2P (Peer-to-Peer) network
CN102006238B (en) 2010-12-14 2014-04-02 武汉大学 Balanced quick searching method in structureless P2P (Peer-to-Peer) network
CN102137156B (en) 2011-02-25 2013-11-06 四川长虹电器股份有限公司 Network player system and implementation method thereof
CN102137156A (en) * 2011-02-25 2011-07-27 四川长虹电器股份有限公司 Network player system and implementation method thereof
CN102130914B (en) 2011-03-10 2014-07-09 中国电信股份有限公司 Method and device for pushing multimedia file
CN102130914A (en) * 2011-03-10 2011-07-20 中国电信股份有限公司 Method and device for pushing multimedia file
CN102883190A (en) * 2011-07-15 2013-01-16 深圳市快播科技有限公司 Optimal bandwidth distribution demand method and device
CN102883190B (en) * 2011-07-15 2015-04-29 深圳市云帆世纪科技有限公司 Optimal bandwidth distribution demand method and device
US9621646B2 (en) 2011-09-09 2017-04-11 Nokia Solutions And Networks Oy Method, device and system for providing and selecting candidate nodes for live streaming services
CN103843297B (en) * 2011-09-09 2017-07-11 诺基亚通信公司 A method for real-time streaming service provider and selection of a candidate node, apparatus and system
CN103843297A (en) * 2011-09-09 2014-06-04 诺基亚通信公司 Method, device and system for providing and selecting candidate nodes for live streaming services
CN102625287A (en) * 2011-09-09 2012-08-01 威海捷讯通信技术有限公司 Method for downloading mobile phone application software
CN102497387A (en) * 2011-11-11 2012-06-13 合一网络技术(北京)有限公司 Flash video distribution method based on P2P client terminal state analysis
CN104246737B (en) * 2011-12-01 2017-09-29 华为技术有限公司 System and method for connection pooling video stream in a content distribution network
CN104246737A (en) * 2011-12-01 2014-12-24 华为技术有限公司 Systems and methods for connection pooling for video streaming in content delivery networks
CN102572542A (en) * 2011-12-31 2012-07-11 四川长虹电器股份有限公司 Hotel orientation video and advertisement push system
CN103259762B (en) * 2012-02-16 2016-09-28 中兴通讯股份有限公司 Based on cloud storage file encryption and decryption method and system for
CN103259762A (en) * 2012-02-16 2013-08-21 中兴通讯股份有限公司 File encryption and decryption method and system based on cloud storage
CN102833581B (en) * 2012-08-27 2015-09-16 中兴通讯股份有限公司 Method and system for content management
CN102833581A (en) * 2012-08-27 2012-12-19 中兴通讯股份有限公司 Method and system for content management
CN103024593A (en) * 2012-12-26 2013-04-03 人民搜索网络股份公司 Online VOD (video on demand) acceleration system and online VOD playing method
CN104320672A (en) * 2014-09-24 2015-01-28 中国人民解放军理工大学 Method for scheduling resources of live streaming media system under CDN-P2P hybrid architecture
CN104506897B (en) * 2014-09-24 2017-12-19 中国人民解放军理工大学 P2p live streaming media system, weighted random selection method block
CN104506897A (en) * 2014-09-24 2015-04-08 中国人民解放军理工大学 A method of weighted randomized chunk selection in a P2P (Peer-to-Peer) live streaming media system
CN104333782A (en) * 2014-11-11 2015-02-04 广州华多网络科技有限公司 Anchor formulated task on demand method and system and related device
CN104333782B (en) * 2014-11-11 2018-01-09 广州华多网络科技有限公司 On-demand method and system for anchor develop task-related equipment
CN104735044A (en) * 2014-11-18 2015-06-24 深圳市同洲电子股份有限公司 Streaming media live broadcast method and system

Also Published As

Publication number Publication date Type
CN101087403B (en) 2010-10-06 grant

Similar Documents

Publication Publication Date Title
Guo et al. P2Cast: peer-to-peer patching scheme for VoD service
Choe et al. Improving VoD server efficiency with bittorrent
US20110055881A1 (en) Media file on-demand method, system and appartus
US20020161911A1 (en) Systems and methods for efficient memory allocation for streaming of multimedia files
US20080133767A1 (en) Real-time multicast peer-to-peer video streaming platform
US20090063681A1 (en) Systems and methods for distributing video on demand
US20100268789A1 (en) Network caching for multiple contemporaneous requests
US20100011103A1 (en) System and methods for peer-to-peer media streaming
Hua et al. Video delivery technologies for large-scale deployment of multimedia applications
US20070250880A1 (en) Peer-to-peer video on demand techniques
US20070183342A1 (en) Peer-to-peer broadcast management system
Acharya et al. Middleman: A video caching proxy server
US20100122305A1 (en) Dynamic processing of streamed content
US20100235542A1 (en) Dynamic Variable Rate Media Delivery System
US20120254456A1 (en) Media file storage format and adaptive delivery system
US7761900B2 (en) Distribution of content and advertisement
US20100058405A1 (en) Systems and Methods for Distributing Video on Demand
US20020162109A1 (en) Distributed storage on a P2P network architecture
US20080072264A1 (en) Distribution of content on a network
US20020023164A1 (en) Method and apparatus for client-side authentication and stream selection in a content distribution system
US20100131671A1 (en) Adaptive network content delivery system
US20080222235A1 (en) System and method of minimizing network bandwidth retrieved from an external network
US20110055386A1 (en) Network analytics management
US20100077438A1 (en) Apparatus and method for obtaining media content
US20090031038A1 (en) Adaptive variable fidelity media distribution system and method

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C41 Transfer of the right of patent application or the patent right
ASS Succession or assignment of patent right

Effective date: 20080620

Owner name: WU BIN; APPLICANT

Free format text: FORMER OWNER: WU BIN

COR Bibliographic change or correction in the description

Free format text: CORRECT: ADDRESS; FROM: 310012 5B, BUILDING B, TIANTANG SOFTWARE PARK, NO.3, XIDOUMEN ROAD, XIHU DISTRICT, HANGZHOU CITY, ZHEJIANG PROVINCE TO: 310012 5B.C, BUILDING B, TIANTANG SOFTWARE PARK, NO.3, XIDOUMEN ROAD, XIHU DISTRICT, HANGZHOU CITY, ZHEJIANG PROVINCE

C41 Transfer of the right of patent application or the patent right
ASS Succession or assignment of patent right

Free format text: FORMER OWNER: WU BIN

Effective date: 20100806

Owner name: HANGZHOU PIPI NETWORK CO., LTD.

Free format text: FORMER OWNER: YANG LIANGHAI

C14 Granted