CN112822510A - 智能机顶盒的内容分发加速方法 - Google Patents
智能机顶盒的内容分发加速方法 Download PDFInfo
- Publication number
- CN112822510A CN112822510A CN202011610632.1A CN202011610632A CN112822510A CN 112822510 A CN112822510 A CN 112822510A CN 202011610632 A CN202011610632 A CN 202011610632A CN 112822510 A CN112822510 A CN 112822510A
- Authority
- CN
- China
- Prior art keywords
- top box
- resource file
- management server
- terminal management
- streaming media
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 230000001133 acceleration Effects 0.000 title claims abstract description 22
- 230000005540 biological transmission Effects 0.000 claims abstract description 7
- 239000012634 fragment Substances 0.000 claims description 3
- 238000007726 management method Methods 0.000 description 22
- 238000013459 approach Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/437—Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/266—Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明涉及一种智能机顶盒的内容分发加速方法,当有终端机顶盒请求IPTV内容时,流媒体服务器生成资源文件A,终端管理服务器从流媒体服务器获取资源文件A;根据IP地址区域选出与当前请求机顶盒最近的n台空闲机顶盒;将资源文件A同时分发给请求的机顶盒和被选中的空闲机顶盒,同时以P2P隧道链接的方式为每台终端机顶盒分配互相建立链接的端口;根据分配的n台空闲机顶盒生成另一资源文件B,发送给当前请求的机顶盒;所有空闲机顶盒收到资源文件A即开始下载缓冲资源,并监听端口等待请求链接;当前机顶盒开始播放资源文件A的列表,在第一段资源结束后,访问资源文件B的列表,即可与附近的机顶盒建立P2P传输链接获取资源,实现加速。
Description
技术领域
本发明涉及机顶盒领域,更具体地说,涉及一种智能机顶盒的内容分发加速方法。
背景技术
随着宽带网络的日益普及,流媒体成为了重要的互联网业务之一,实现流媒体的分发的主流技术有CDN(内容分发网络)及P2P(点对点)。
然而两种技术都有他们各自的局限性,CDN方式需要大量的服务器用于不同层级的分发,同时需要运营商投入人力物力进行维护,P2P方式需要在分发开始就有足够数量的用户对等共享点,启动P2P分发过程。
1:智能机顶盒经多年发展,网络接口已经成为标配;
2:机顶盒主芯片的算力也在提高,DVB功能只占据少数CPU的算力;
3:对于机顶盒厂家,在其主要市场上智能机顶盒基数比较大;
4:大部分机顶盒仍然以收看DVB节目为主,存在CPU和网络资源的可以被使用。
发明内容
本发明要解决的技术问题在于,提供一种智能机顶盒的内容分发加速方法。
本发明解决其技术问题所采用的技术方案是:构造一种智能机顶盒的内容分发加速方法,包括以下步骤:
S1、将流媒体内容分段存储,将流媒体文件化用于分片传输;
S2、终端机顶盒与终端管理服务器建立连接,终端机顶盒上报配置信息到终端管理服务器;
S3、终端管理服务器对联网且空闲机顶盒按IP地址区域分类;
S4、当有终端机顶盒请求IPTV内容时,流媒体服务器生成资源文件A,终端管理服务器从流媒体服务器获取资源文件A;
S5、终端管理服务器根据IP地址区域选出与当前请求机顶盒最近的n台空闲机顶盒;
S6、终端管理服务器将资源文件A同时分发给当前请求的机顶盒和被选中的空闲机顶盒,同时以P2P隧道链接的方式为每台终端机顶盒分配互相建立链接的端口;
S7、终端管理服务器根据分配的n台空闲机顶盒生成另一资源文件B,发送给当前请求的机顶盒;
S8、所有空闲机顶盒收到资源文件A即开始下载缓冲资源,并监听端口等待请求链接;
S9、当前机顶盒开始播放资源文件A的列表,在第一段资源结束后,访问资源文件B的列表,即可与附近的机顶盒建立P2P传输链接获取资源,实现加速。
优选地,所述步骤S1中,采用m3u8格式将流媒体内容分段存储。
优选地,所述步骤S4中,所述资源文件A的格式为m3u8。
优选地,所述步骤S2中,所述配置信息包括公网IP、内存、CPU、上传带宽中的至少一项。
优选地,所述步骤S1中,所述流媒体内容存储在流媒体服务器或数据库。
优选地,所述步骤S3中,终端管理服务器对联网且空闲机顶盒按IP地址区域分类的信息存储在数据库;
所述步骤S5中,终端管理服务器从数据库中根据IP地址区域选出与当前请求机顶盒最近的n台空闲机顶盒。
优选地,所述步骤S3中,管理服务器按终端机顶盒的IP,内存信息进行分类存储。
优选地,所述终端管理服务器与所述机顶盒保持心跳连接。
实施本发明的智能机顶盒的内容分发加速方法,具有以下有益效果:本方法可以实现内容分发和加速,为机顶盒厂家的提供内容分发,节省服务器带宽成本和运维成本,提升服务质量和用户体验;同时还可以基于该分发网络为第三方提供内容分发和加速服务,本方法充分利用机顶盒厂家手中的可利用资源实现流媒体的内容分发加速。
附图说明
下面将结合附图及实施例对本发明作进一步说明,附图中:
图1是本发明实施例中的智能机顶盒的内容分发加速方法的系统原理示意图。
具体实施方式
为了对本发明的技术特征、目的和效果有更加清楚的理解,现对照附图详细说明本发明的具体实施方式。
如图1所示,本发明一个优选实施例中的智能机顶盒的内容分发加速方法包括以下步骤:
S1、将流媒体内容分段存储,将流媒体文件化用于分片传输;
S2、终端机顶盒与终端管理服务器建立连接,终端机顶盒上报配置信息到终端管理服务器;
S3、终端管理服务器对联网且空闲机顶盒按IP地址区域分类;
S4、当有终端机顶盒请求IPTV内容时,流媒体服务器生成资源文件A,终端管理服务器从流媒体服务器获取资源文件A;
S5、终端管理服务器根据IP地址区域选出与当前请求机顶盒最近的n台空闲机顶盒;
S6、终端管理服务器将资源文件A同时分发给当前请求的机顶盒和被选中的空闲机顶盒,同时以P2P隧道链接的方式为每台终端机顶盒分配互相建立链接的端口;
S7、终端管理服务器根据分配的n台空闲机顶盒生成另一资源文件B,发送给当前请求的机顶盒;
S8、所有空闲机顶盒收到资源文件A即开始下载缓冲资源,并监听端口等待请求链接;
S9、当前机顶盒开始播放资源文件A的列表,在第一段资源结束后,访问资源文件B的列表,即可与附近的机顶盒建立P2P传输链接获取资源,实现加速。
本方法可以实现内容分发和加速,为机顶盒厂家的提供内容分发,节省服务器带宽成本和运维成本,提升服务质量和用户体验;同时还可以基于该分发网络为第三方提供内容分发和加速服务,本方法充分利用机顶盒厂家手中的可利用资源实现流媒体的内容分发加速。
优选地,步骤S1中,采用m3u8格式将流媒体内容分段存储。
进一步地,步骤S1中,所述流媒体内容存储在流媒体服务器或数据库。
步骤S2中,所述配置信息包括公网IP、内存、CPU、上传带宽中的至少一项。
优选地,步骤S4中,所述资源文件A的格式为m3u8。
进一步地,步骤S3中,终端管理服务器对联网且空闲机顶盒按IP地址区域分类的信息存储在数据库;
优选地,步骤S3中,管理服务器按终端机顶盒的IP,内存信息进行分类存储。
进一步地,步骤S5中,终端管理服务器从数据库中根据IP地址区域选出与当前请求机顶盒最近的n台空闲机顶盒。
优选地,终端管理服务器与所述机顶盒保持心跳连接。
可以理解地,上述各技术特征可以任意组合使用而不受限制。
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。
Claims (8)
1.一种智能机顶盒的内容分发加速方法,其特征在于,包括以下步骤:
S1、将流媒体内容分段存储,将流媒体文件化用于分片传输;
S2、终端机顶盒与终端管理服务器建立连接,终端机顶盒上报配置信息到终端管理服务器;
S3、终端管理服务器对联网且空闲机顶盒按IP地址区域分类;
S4、当有终端机顶盒请求IPTV内容时,流媒体服务器生成资源文件A,终端管理服务器从流媒体服务器获取资源文件A;
S5、终端管理服务器根据IP地址区域选出与当前请求机顶盒最近的n台空闲机顶盒;
S6、终端管理服务器将资源文件A同时分发给当前请求的机顶盒和被选中的空闲机顶盒,同时以P2P隧道链接的方式为每台终端机顶盒分配互相建立链接的端口;
S7、终端管理服务器根据分配的n台空闲机顶盒生成另一资源文件B,发送给当前请求的机顶盒;
S8、所有空闲机顶盒收到资源文件A即开始下载缓冲资源,并监听端口等待请求链接;
S9、当前机顶盒开始播放资源文件A的列表,在第一段资源结束后,访问资源文件B的列表,即可与附近的机顶盒建立P2P传输链接获取资源,实现加速。
2.根据权利要求1所述的智能机顶盒的内容分发加速方法,其特征在于,所述步骤S1中,采用m3u8格式将流媒体内容分段存储。
3.根据权利要求2所述的智能机顶盒的内容分发加速方法,其特征在于,所述步骤S4中,所述资源文件A的格式为m3u8。
4.根据权利要求1所述的智能机顶盒的内容分发加速方法,其特征在于,所述步骤S2中,所述配置信息包括公网IP、内存、CPU、上传带宽中的至少一项。
5.根据权利要求1至4任一项所述的智能机顶盒的内容分发加速方法,其特征在于,所述步骤S1中,所述流媒体内容存储在流媒体服务器或数据库。
6.根据权利要求5所述的智能机顶盒的内容分发加速方法,其特征在于,所述步骤S3中,终端管理服务器对联网且空闲机顶盒按IP地址区域分类的信息存储在数据库;
所述步骤S5中,终端管理服务器从数据库中根据IP地址区域选出与当前请求机顶盒最近的n台空闲机顶盒。
7.根据权利要求1至4任一项所述的智能机顶盒的内容分发加速方法,其特征在于,所述步骤S3中,管理服务器按终端机顶盒的IP,内存信息进行分类存储。
8.根据权利要求1至4任一项所述的智能机顶盒的内容分发加速方法,其特征在于,所述终端管理服务器与所述机顶盒保持心跳连接。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011610632.1A CN112822510A (zh) | 2020-12-30 | 2020-12-30 | 智能机顶盒的内容分发加速方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011610632.1A CN112822510A (zh) | 2020-12-30 | 2020-12-30 | 智能机顶盒的内容分发加速方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112822510A true CN112822510A (zh) | 2021-05-18 |
Family
ID=75854893
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011610632.1A Pending CN112822510A (zh) | 2020-12-30 | 2020-12-30 | 智能机顶盒的内容分发加速方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112822510A (zh) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859561A (zh) * | 2005-11-01 | 2006-11-08 | 华为技术有限公司 | 流媒体点播系统及方法 |
CN101378494A (zh) * | 2008-10-07 | 2009-03-04 | 中兴通讯股份有限公司 | 一种实现互联网电视媒体交互的系统及方法 |
CN101902389A (zh) * | 2009-05-27 | 2010-12-01 | 北京汉铭通信有限公司 | 基于网络的多媒体数据下载方法 |
CN108270845A (zh) * | 2017-12-13 | 2018-07-10 | 武汉市烽视威科技有限公司 | 一种基于rtsp的p2p点播系统及方法 |
-
2020
- 2020-12-30 CN CN202011610632.1A patent/CN112822510A/zh active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859561A (zh) * | 2005-11-01 | 2006-11-08 | 华为技术有限公司 | 流媒体点播系统及方法 |
CN101378494A (zh) * | 2008-10-07 | 2009-03-04 | 中兴通讯股份有限公司 | 一种实现互联网电视媒体交互的系统及方法 |
WO2010040269A1 (zh) * | 2008-10-07 | 2010-04-15 | 中兴通讯股份有限公司 | 实现互联网电视媒体交互的系统及方法 |
CN101902389A (zh) * | 2009-05-27 | 2010-12-01 | 北京汉铭通信有限公司 | 基于网络的多媒体数据下载方法 |
CN108270845A (zh) * | 2017-12-13 | 2018-07-10 | 武汉市烽视威科技有限公司 | 一种基于rtsp的p2p点播系统及方法 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230216906A1 (en) | Dynamically Switched Multicast Delivery | |
US8386630B1 (en) | Video-aware P2P streaming and download with support for real-time content alteration | |
US20210368239A1 (en) | Distributing method, system, edge node, and central scheduling system for streaming media resource | |
US9674252B2 (en) | System and method for efficient delivery of repetitive multimedia content | |
JP5181031B2 (ja) | 管理型マルチメディア配信ネットワーク内の回復力の高いサービス品質 | |
EP1988666B1 (en) | A streaming media network system, a realization method and a enable entity of streaming media service | |
US20080209065A1 (en) | Method for sending stream media, signaling forwarding device and stream media system | |
US20100153578A1 (en) | Method and Apparatus for Peer to Peer Streaming | |
US20090119734A1 (en) | Distributed Cache Algorithms and System for Time-Shifted, and Live, Peer-to-Peer Video Streaming | |
US20120331513A1 (en) | Content delivery apparatus, content delivery method, and transmitting server | |
JP2011527479A (ja) | プロキシ機能 | |
Lederer et al. | Towards peer-assisted dynamic adaptive streaming over HTTP | |
US20110082943A1 (en) | P2p network system and data transmitting and receiving method thereof | |
US20100332621A1 (en) | Method and Apparatus for Obtaining Media Over a Communications Network | |
CN101145929A (zh) | 一种面向ipv6环境的p2p流媒体点播系统 | |
WO2016155599A1 (zh) | 流媒体服务与文件下载融合的方法、装置及cdn服务器 | |
CN104618738A (zh) | 一种智能电视节目播放方法及装置 | |
US10601910B2 (en) | Method for broadcasting a piece of content in an it network | |
US20100287602A1 (en) | Content delivery device and system, content-on-demand method and network architecture | |
CN108449613B (zh) | 一种融合多业务的cdn系统、融合方法和装置 | |
Bertinat et al. | Goalbit: The first free and open source peer-to-peer streaming network | |
Ghareeb et al. | P2PWeb: A Client/Server and P2P hybrid architecture for content delivery over internet | |
US20120254919A1 (en) | Method for acquiring program content and set top box | |
CN112822510A (zh) | 智能机顶盒的内容分发加速方法 | |
Purandare et al. | An alliance based peering scheme for P2P live media streaming |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210518 |