WO2013097454A1 - 一种视频插播的方法、装置及系统 - Google Patents

一种视频插播的方法、装置及系统 Download PDF

Info

Publication number
WO2013097454A1
WO2013097454A1 PCT/CN2012/079193 CN2012079193W WO2013097454A1 WO 2013097454 A1 WO2013097454 A1 WO 2013097454A1 CN 2012079193 W CN2012079193 W CN 2012079193W WO 2013097454 A1 WO2013097454 A1 WO 2013097454A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
client
management platform
task
rule
Prior art date
Application number
PCT/CN2012/079193
Other languages
English (en)
French (fr)
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
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2013097454A1 publication Critical patent/WO2013097454A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44016Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving splicing one content stream with another content stream, e.g. for substituting a video clip
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management 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/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a video insertion method, apparatus, and system. Background technique
  • the present invention provides a method and apparatus for video insertion to solve the problem that the prior art cannot perform insertion control for a specific user, and at the same time, the size of the inserted video is not limited.
  • An embodiment of the present invention provides a video insertion method, including: a client login management platform, acquiring an insertion rule; parsing the insertion rule, generating at least one insertion task, monitoring the insertion task, and starting the insertion task When the condition is met, the streaming media server is requested to play the inserted video; the inserted video is received and played.
  • Another embodiment of the present invention provides a video insertion method, including: setting a video insertion rule, where the insertion rule includes a startup condition indicating that a client performs a video insertion; receiving a login request of the client, to the client Transmitting the video insertion rule, so that the client requests to play an interstitial video when the activation condition is satisfied; receiving a request for the client to play an interpolated video, and sending the request to the client according to the request In-stream video.
  • An embodiment of the present invention provides a client for video in-stream video insertion, including: a login module, configured to log in to the management platform; and an obtaining module, configured to acquire a video insertion rule after the login module logs in to the management platform.
  • a parsing module configured to parse the interstitial rule acquired by the acquiring module, to generate at least one interstitial task
  • a monitoring module configured to monitor the interstitial task generated by the parsing module, and satisfy a start condition of the interstitial task Receiving, by the streaming media server, the broadcast video; the receiving module, configured to: after the monitoring module requests the streaming media server to play the inserted video, receive the inserted video sent by the streaming media server, and play the inserted video .
  • Another embodiment of the present invention further provides a management platform, and a method for implementing a video insertion according to an embodiment of the present invention, including: a setting module, configured to set a video insertion rule, where the insertion rule includes an indication client Ending the start condition of the video insertion, so that the client requests the streaming media server to play the inserted video when the starting condition is satisfied; the sending module is configured to send the insertion rule to the client after logging in to the client The client.
  • An embodiment of the present invention further provides a system for video insertion, including a client, a management platform, and a streaming media server, specifically: the client is configured to log in to the management platform, acquire an insertion rule, and parse and generate At least one interstitial task, monitoring the interstitial task, requesting to play the interpolated video to the streaming media server, and receiving the streaming media when the activation condition of the interstitial task is met
  • the management platform is configured to create the insertion rule, and send the insertion rule to the client;
  • the streaming media server is configured to: according to the request of the client, to the The client sends the in-stream video.
  • the parsing of the interstitial rule is transferred from the server to the client, and the client determines whether the insertion condition is satisfied, and initiates a request for inserting the video to the streaming server after the insertion condition is satisfied.
  • the insertion is initiated by the client, so there is no problem that the server initiates a video break affecting all users.
  • FIG. 1 is a schematic diagram of a system for video insertion according to an embodiment of the present invention
  • FIG. 3 is a signaling flowchart of a scheme for independently selling a program in a live channel according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of components of a client according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of an internal component of a management platform according to an embodiment of the present invention. detailed description
  • FIG. 1 is a schematic diagram of a system for inserting video in-stream video according to an embodiment of the present invention. Department The various components of the system and their functions are detailed below:
  • the client 101 is a terminal with video streaming capability.
  • the acquisition, analysis, and insertion control of the insertion rule are implemented, including but not limited to an IPTV set-top box, a computer, and a mobile terminal.
  • the video insertion scheme provided by the embodiment of the present invention is implemented on different types of terminals. The only difference is that the protocol used when transmitting the video stream is different.
  • the IPTV set-top box is used, the video is transmitted by using the Internet Group Management Protocol (IGMP) protocol.
  • IGMP Internet Group Management Protocol
  • the http HyperText Transfer Protocol
  • rtsp Real Time Streaming Protocol
  • the client 101 is configured to log in to the management platform 102, and after obtaining the authentication, obtain the insertion rule and parse it, and regularly monitor the insertion rule; when the insertion condition set in the insertion rule is satisfied, The streaming server 103 requests to play the interstitial video, accepts the interstitial video stream transmitted by the streaming server 103, and plays it.
  • the management platform 102 has functions in two aspects: On the video service provider side, the release management of the video content, the creation and storage of the insertion rules, and the storage of the user information are completed thereon.
  • video service providers include, but are not limited to, telecommunication operators, websites, etc. that provide live video or on-demand services.
  • the management platform 102 is a portal for providing services to the client 101, and provides the client 101 with login authentication, system time transmission, and browsing search of video content, and transmission of the insertion rule. And other services.
  • an administrator creates an insertion rule through the management platform 102 and stores it thereon.
  • the advertisement rule may also be created by itself. Finally stored on the management platform 102.
  • the streaming media server 103 provides a video playback service for the client 101, and transmits a video stream to the client according to the request of the client 101, which may be a live video or an on-demand video.
  • an embodiment of the present invention provides a video.
  • the method of inserting shows the signaling flow chart of the method. The detailed steps are as follows:
  • Step 201 The user logs in to the management platform through the client.
  • Step 202 The management platform authenticates the user to identify the identity of the user, and accordingly returns an accurate insertion rule
  • the management platform authenticates the user, and relies on the user information stored in the management platform, which is submitted by the user when registering on the management platform.
  • Step 203 The management platform returns a login response to the client.
  • Step 204 The client requests to acquire an insertion rule stored in the management platform.
  • Step 205 The management platform returns an insertion rule to the client.
  • Step 206 The client parses the obtained insertion rule.
  • the client parsing the insertion rule is to load the acquired insertion rule file into the memory, and generate a series of insertion tasks, which specify the identification information such as the name and number of the live channel or the on-demand video that needs to be inserted into the video, and the name of the inserted video. And the play address, as well as the start and end date and time of the insertion.
  • Step 207 The client starts a timer, and periodically monitors the insertion task.
  • the function of the timer is to periodically check (for example, every Is check) the in-memory in-memory task to check whether the start condition of the interstitial task is currently met. For example, whether the live channel currently viewed by the user is the channel involved in the video insertion (whether the current on-demand program is a program involved in the video insertion), whether the current date and time is the start date and time of the interstitial video, and the like.
  • the timer should monitor the insertion rules based on the system time of the management platform, not the local time of the client.
  • the client can obtain the system time of the management platform in multiple ways, for example, in step 203.
  • the system time of the management platform is sent to the client in the login response.
  • the management platform carries the system time when the insertion rule is sent to the client, and may be acquired only once or multiple times.
  • the embodiment of the invention is not limited thereto.
  • Step 208 The insertion condition is met, and the client requests the streaming media server to play the inserted video; wherein, the insertion condition is met, that is, the activation condition of the insertion task is satisfied, including the live channel of the video insertion or the on-demand program and the start date of the video insertion. time.
  • the client determines that the insertion condition is satisfied, it reads the name and address of the video file to be inserted and submits it to the streaming server, requesting to play the inserted video. Since the client submits the name and address of the inserted video to the streaming server, requesting to play the inserted video, it does not affect other users; and since the streaming media server is requested to transmit the inserted video stream, the inserted video does not need to be downloaded first. Play again locally, so there is no limit to the length, size and content of the inserted video.
  • Step 209 The streaming media server transmits the inserted video stream to the client according to the inserted video address submitted by the client.
  • Step 210 The client plays the inserted video.
  • the method of the video insertion method provided by the embodiment of the present invention can be seen that the client obtains the insertion rule after logging in to the management platform, and parses the insertion rule, when the user is watching the live channel or the on-demand program that needs to be inserted, and the user needs to insert the broadcast.
  • the client plays the specified in-stream video content instead.
  • the client plays the video content of the live channel or the on-demand program.
  • the resolution of the insertion rule is transferred from the server to the client, and the client determines whether the insertion condition is satisfied, and initiates a request for inserting the video to the streaming server after the insertion condition is satisfied. Since the insertion is initiated by the client, there is no problem that the server initiates the video insertion affecting all users, and then the user-level insertion control can be realized by setting different insertion rules.
  • the insertion rules obtained after the client logs in to the management platform need to be stored in the management platform in advance.
  • the creation of the insertion rules can be done either by the administrator or by the user.
  • the insertion of the insertion rules by the administrator is performed by the administrator on the management platform, and the insertion rules are generated and stored in the management platform.
  • the insertion rules can be generated and stored using the data model shown in the following table:
  • the user When the user inserts the insertion rules, the user needs to log in to the management platform first, and the custom creation of the insertion rules is completed on the management platform and saved on the management platform.
  • the foregoing insertion rule specifies that the condition for triggering the inserted video is a specific date and time.
  • the condition for triggering the insertion may not be limited to a specific date and time, but based on the content characteristics of the program (such as news). , sports, film and television, advertising, etc. triggered, so that the management platform can be analyzed in combination with the user's viewing habits, and the user's preference for viewing the program is obtained, thereby realizing the intelligent creation of the insertion rules.
  • the streaming media server parses the live program list, and obtains the label corresponding to each program.
  • the label information is simultaneously sent, so that the user can set the insertion of the program content characteristic on the client.
  • the insertion is switched.
  • another embodiment of the present invention also proposes an insertion rule that combines the date and time and the content attribute setting of the program. For example, a user can set to watch only news programs during the time period from 8:00 to 10:00. When the client monitors the tags of other programs during this time period, the user can automatically initiate the news program to the streaming server. The request to meet the user's personalized video insertion requirements.
  • the setting and preferences of the insertion rules vary from person to person, and the embodiment of the present invention cannot exhaust all the insertion rule settings.
  • the acquisition, parsing, and insertion control of the insertion rule by the client, and the insertion rule setting method disclosed in the foregoing embodiment can satisfy the video service provider to provide the user level to the greatest extent.
  • the requirements of the insertion control can also be customized by the user through the client login management platform.
  • this embodiment discloses a scheme for independently selling programs in a live channel by setting the insertion rules.
  • the operator can make a live program to be sold separately as a product. Users who have purchased the product can watch the program normally, and the unpurchased user will play the inserted video to block the live program.
  • Figure 3 shows the signaling flow chart of the solution. The detailed steps are as follows:
  • Step 301-302 The administrator creates a live program in a channel as a product on the management platform, and displays information about the related product;
  • Step 303 The administrator sets an insertion rule for the live program: all users who watch the channel insert other videos during the live program time period;
  • Step 304-305 After the user logs in on the management platform by using the client, the user purchases the product corresponding to the live program, and generates a purchase record of the user on the management platform;
  • Step 306 The client acquires the insertion rule through the management platform.
  • Step 307 After receiving the request for the client to obtain the insertion rule, the management platform combines the purchase record with the purchase record.
  • the insertion rules for different users the user who has purchased the live program does not insert the video, and the unpurchased user inserts the video during the live program time period;
  • Step 308 The management platform feeds back the insertion rule generated by the purchase record of the user to the client.
  • Step 309 The client parses the insertion rule and plays the video: the user who has purchased the live program normally plays the live program, and the unpurchased user will play the inserted video during the live program time period.
  • the client parses the insertion rule, and the step of requesting to play the in-stream video has been described in detail in the foregoing embodiment, and details are not described herein again.
  • the popular live broadcast program can be separately produced into products sold on the management platform, and the management platform generates the insertion rules for the user according to the user's purchase record, so that the purchased users can be effectively distinguished.
  • User-level insertion control is implemented with and without purchasing users.
  • the above-mentioned program for selling live programs separately, combined with purchase records to generate targeted insertion rules can also be used to implement hierarchical control of live programs or similar business needs.
  • a live broadcast program is not suitable for minors to watch, the management platform can generate targeted insertion rules according to the age of the user, the adult user can watch the program normally, and for the minor user, the play period of the program Insert other videos for minors to watch.
  • the specific implementation steps may refer to FIG. 3, where the difference is that when the client obtains the insertion rule, the management platform generates the corresponding insertion rule according to the age of the user.
  • the user's age can be obtained from the information submitted by the user when registering, or the user can be required to enter the management platform, and the user can be submitted before the program is played. This embodiment does not limit this.
  • the embodiment of the present invention provides a client for implementing the video insertion solution provided by the foregoing embodiment.
  • the client is a terminal on which streaming media client software is installed, including but not limited to an IPTV set top box, a computer, and a mobile terminal.
  • FIG. 4 is a schematic structural diagram of each component of the client, and the components are as follows:
  • the login module 401 is used to log in to the management platform;
  • the obtaining module 402 is configured to obtain a video insertion rule after the login module 401 logs in to the management platform.
  • the parsing module 403 is configured to parse the rules of the video insertion acquired by the obtaining module 402, and generate at least one interstitial task;
  • the monitoring module 404 is configured to monitor the insertion task generated by the parsing module 403, and request the streaming video server to play the interpolated video when the activation condition of the interstitial task is met;
  • the receiving module 405 is configured to: after the monitoring module 404 requests the streaming media server to play the in-stream video, receive the interstitial video sent by the streaming media server, and play the interstitial video.
  • the obtaining module 402 is further configured to acquire a system time of the management platform.
  • the monitoring module 404 monitors the insertion task generated by the parsing module 403, specifically: the monitoring module 404, the timing monitoring analysis module 403, the start condition of the interstitial task generated, and determines whether the start condition of the interstitial task is met.
  • the resolution of the insertion rule is transferred from the server to the client, and the client determines whether the insertion condition is satisfied, and initiates the initiative to the streaming server after satisfying the insertion condition.
  • a request to insert a video Since the insertion is initiated by the client, there is no problem that the server initiates the video insertion affecting all users, and thus the user-level insertion control can be realized by setting different insertion rules.
  • the embodiment of the present invention provides a management platform for implementing the video insertion method provided in the embodiment of the present invention.
  • the management platform provided by the embodiment of the present invention includes the following component modules:
  • the setting module 501 is configured to set a video insertion rule, where the insertion rule includes a startup condition for instructing the client to perform a video insertion, so that the client requests the streaming media server to play the insertion video when the startup condition is satisfied;
  • the sending module 502 is configured to send the video insertion rule set by the setting module 501 to the client after the client logs in.
  • the sending module 502 is further configured to send the system time of the management platform to the client.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Graphics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明提供一种视频插播的方法,包括:客户端登录管理平台,获取插播规则;解析所述插播规则,生成至少一个插播任务,监测所述插播任务,在所述插播任务的启动条件满足时,向流媒体服务器请求播放插播视频;接收所述插播视频并播放。本发明同时还提供应用该方法的相应客户端、管理平台以及视频插播的系统。使用本发明,能够将插播规则的解析从服务器端转移到客户端,在直播过程中由客户端发起视频插播,从而不会同时对所有用户造成影响。

Description

说 明 书 一种视频插播的方法、 装置及系统
技术领域
本发明涉及通信技术领域, 具体涉及一种视频插播的方法、 装置及系统。 背景技术
随着网络速度的提升, 用户可以采用多种终端通过网络观看直播视频, 例 如通过 IPTV机顶盒、个人电脑(PC )和移动终端等。和传统的有线电视类似, 运营商在提供视频直播服务时, 会希望在直播中插播一些视频, 典型的例如在 直播中插播广告。
现有技术在实现视频插播时, 常用的做法是增加一个插播控制服务器, 由 该服务器进行插播规则的解析, 引导客户端读取插播视频信息并进行播放, 在 插播结束时, 再引导客户端读取原直播视频的信息并播放, 从而完成视频插播 视频插播。 该方案的主要缺点是插播会影响所有和服务器相连接的客户端, 插 播控制服务器不能针对具体的用户进行插播控制。
现有技术中还有一种在互联网上的视频业务中插播广告的方案, 这类方案 的具体做法是通过将需要插播的广告下载到本地, 需要插播时从本地文件系统 获取要插播的内容。 这种方案的缺点也很明显, 由于需要将插播视频下载到本 地, 所以仅适合于比较短小的广告视频, 文件较小, 不能满足运营商插播长时 间视频节目的需求。 发明内容
本发明提供一种视频插播的方法和装置, 用以解决现有技术无法针对具体 用户进行插播控制的问题, 同时对插播视频的大小也不构成限制。 本发明一个实施例提供一种视频插播的方法, 包括:客户端登录管理平台, 获取插播规则; 解析所述插播规则, 生成至少一个插播任务, 监测所述插播任 务, 在所述插播任务的启动条件满足时, 向流媒体服务器请求播放插播视频; 接收所述插播视频并播放。
本发明另一个实施例提供一种视频插播的方法, 包括:设置视频插播规则, 所述插播规则中包含指示客户端执行视频插播的启动条件; 接收所述客户端 的登录请求, 向所述客户端发送所述视频插播规则, 以使所述客户端在所述启 动条件满足时, 请求播放插播视频; 接收所述客户端播放插播视频的请求, 并 根据所述请求向所述客户端发送所述插播视频。
本发明一个实施例提供了一种客户端, 用于视频插播视频插播, 包括: 登 录模块,用于登录管理平台;获取模块,用于在所述登录模块登录管理平台后, 获取视频插播的规则;解析模块,用于解析所述获取模块获取的所述插播规则, 生成至少一个插播任务; 监测模块, 用于监测所述解析模块生成的所述插播任 务, 在满足所述插播任务的启动条件时, 向流媒体服务器请求播放插播视频; 接收模块, 用于在所述监测模块向所述流媒体服务器请求播放插播视频后, 接 收所述流媒体服务器发送的插播视频, 并播放所述插播视频。
本发明另一个实施例同时还提供一种管理平台, 与客户端结合实施本发明 实施例提供的视频插播的方法, 包括: 设置模块, 用于设置视频插播规则, 所述插播规则中包含指示客户端执行视频插播的启动条件, 使所述客户端在所 述启动条件满足时, 向流媒体服务器请求播放插播视频; 发送模块, 用于在所 述客户端登录后, 将所述插播规则发送给所述客户端。
本发明一个实施例同时还提供了一种视频插播的系统, 包括客户端、 管理 平台和流媒体服务器, 具体为: 所述客户端, 用于登录所述管理平台, 获取插 播规则并解析, 生成至少一个插播任务, 监测所述插播任务, 在所述插播任务 的启动条件满足时, 向所述流媒体服务器请求播放插播视频, 接收所述流媒体 服务器发送的插播视频并播放; 所述管理平台, 用于创建所述插播规则, 向所 述客户端发送所述插播规则;所述流媒体服务器,用于根据所述客户端的请求, 向所述客户端发送所述插播视频。
使用本发明实施例提供的视频插播的方法, 插播规则的解析由服务器端转 移到了客户端, 由客户端判断是否满足插播条件, 在满足插播条件后主动向流 媒体服务器发起插播视频的请求, 由于插播是由客户端主动发起的, 因此不会 产生由服务器发起视频插播影响所有用户的问题。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实施 例或现有技术描述中所需要使用的附图作一筒单地介绍, 显而易见地, 下面描 述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出 创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1所示为本发明实施例提供的视频插播的系统示意图;
图 2所示为本发明实施例提供的视频插播的信令流程图;
图 3所示为本发明实施例提供的在直播频道中独立销售节目的方案的信令 流程图;
图 4所示为本发明实施例提供的一种客户端各组成部分的结构示意图; 图 5所示为本发明实施例提供的一种管理平台内部组成部分的结构示意图。 具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明的一部分实施例, 而不 是全部实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下获得的所有其他实施例, 都属于本发明保护的范围。
图 1所示为本发明一个实施例提供的视频插播视频插播的系统示意图。 系 统的各组成部分及其作用详述如下:
客户端 101 , 是具备视频流媒体播放能力的终端, 在本发明实施例中, 由 其实现插播规则的获取、 解析以及插播控制, 包括但不限于 IPTV机顶盒、 计 算机以及移动终端等。 在不同类型的终端上实施本发明实施例提供的视频插播 方案, 区别只在于传输视频流时采用的协议不同: 使用 IPTV机顶盒时, 采用 IGMP ( Internet Group Management Protocol, Internet组管理协议)协议传输视 频; 使用 PC或移动终端时, 一般采用的是 http ( HyperText Transfer Protocol, 超文本传输协议 )或 rtsp ( Real Time Streaming Protocol, 实时流传输协议 )协 议。
在本发明的一个实施例中, 客户端 101用于登录管理平台 102, 通过其鉴 权后, 获取插播规则并进行解析, 定时监测插播规则; 在满足插播规则中设定 的插播条件时,向流媒体服务器 103请求播放插播视频,接受流媒体服务器 103 传输的插播视频流, 并进行播放。
管理平台 102, 其功能体现在两个方面: 在视频服务提供商方面, 在其上 完成视频内容的发布管理、 插播规则的创建和存储以及用户信息的存储。 其中 视频服务提供商包括但不限于提供视频直播或点播服务的电信运营商、 网站等。
另一方面,在接受视频播放服务的用户方面,管理平台 102是为客户端 101 提供服务的门户, 为客户端 101提供登录鉴权、 系统时间的发送以及视频内容 的浏览搜索, 插播规则的发送等服务。
在本发明的一个实施例中, 管理员通过管理平台 102创建插播规则, 并存 储在其上; 在另一个实施例中, 用户通过客户端 101登录管理平台 102之后, 也可以由自己创建插播规则, 最终存储在管理平台 102之上。
流媒体服务器 103 , 为客户端 101提供视频播放服务, 根据客户端 101的 请求, 向客户端传送视频流, 可以是直播视频, 也可以是点播视频。
结合上述实施例公开的视频插播的系统, 本发明一个实施例提供一种视频 插播的方法。 图 2所示为该方法的信令流程图, 详述步骤如下:
步骤 201、 用户通过客户端登录管理平台;
步骤 202、 管理平台对用户进行鉴权, 以识别用户的身份, 据此返回准确 的插播规则;
其中,管理平台对用户进行鉴权,依靠的是存储在管理平台中的用户信息, 由用户在管理平台上注册时提交。
步骤 203、 管理平台向客户端返回登录响应;
步骤 204、 客户端请求获取存储在管理平台中的插播规则;
步骤 205、 管理平台向客户端返回插播规则;
前已述及, 插播规则的创建可以有两种方式, 一种方式是由管理员创建, 另一种方式是由用户自己创建, 无论是采用哪种方式创建的插播规则, 最终都 会储存在管理平台中, 两种方式下创建插播规则的详细步骤由后续实施例公开。
步骤 206、 客户端解析获取的插播规则;
其中, 客户端解析插播规则是将获取的插播规则文件加载到内存中, 生成 一系列插播任务, 其中规定了需要进行视频插播的直播频道或点播视频的名称、 编号等识别信息、 插播视频的名称和播放地址以及插播的起止日期时间等。
步骤 207、 客户端启动定时器, 定时监测插播任务;
其中, 定时器的作用就是定时检查(例如每 Is检查一次)内存中的插播任 务, 查看当前是否满足插播任务的启动条件。 例如, 用户当前观看的直播频道 是否是视频插播所涉及的频道(当前点播节目是否是视频插播所涉及的节目)、 当前日期时间是否为插播视频的开始日期时间等。
由于视频插播的启动需要依赖于插播规则中规定的管理平台的系统日期 时间, 定时器在监测插播规则时要以管理平台的系统时间为基准, 而不能是客 户端的本地时间。
客户端可以通过多种途径获取管理平台的系统时间, 例如可以在步骤 203 中, 在登录响应中携带管理平台的系统时间发送给客户端; 还可以在步骤 205 中, 管理平台向客户端发送插播规则时携带其系统时间; 可以只获取一次, 也 可以获取多次, 本发明实施例对此不作限定。
步骤 208、 满足插播条件, 客户端向流媒体服务器请求播放插播视频; 其中, 满足插播条件, 也就是满足插播任务的启动条件, 包括视频插播涉 及的直播频道或点播的节目和视频插播开始的日期时间。 客户端确定满足插播 条件后, 读取要插播的视频文件的名称和地址并向流媒体服务器提交, 请求播 放插播视频。 由于是由客户端向流媒体服务器提交插播视频的名称和地址, 请 求播放插播视频, 因此不会影响其他的用户; 同时由于是请求流媒体媒体器传 输插播视频流, 无需将插播视频先下载到本地再进行播放, 因而对插播视频的 长度、 大小以及内容均不会构成限制。
步骤 209、 流媒体服务器根据客户端提交的插播视频地址, 向客户端传输 插播视频流;
步骤 210、 客户端播放插播视频。
通过本发明实施例提供的视频插播的方法步骤可以看出, 客户端在登录管 理平台以后获取到插播规则, 解析插播规则, 当用户在收看需要插播的直播频 道或点播节目时, 且处于需要插播的日期时间时, 客户端改为播放指定的插播 视频内容。 当不处于需要插播的日期时间段时, 客户端播放直播频道或点播节 目的视频内容。
使用本发明实施例提供的视频插播的方法, 插播规则的解析由服务器端转 移到了客户端, 由客户端判断是否满足插播条件, 在满足插播条件后主动向流 媒体服务器发起插播视频的请求。 由于插播是由客户端主动发起的, 因此不会 产生由服务器发起视频插播影响所有用户的问题, 进而通过设置不同的插播规 则, 就可以实现用户级的插播控制。
上述客户端登录管理平台后获取的插播规则需要事先存储在管理平台中, 而插播规则的创建既可以由管理员完成, 也可以由用户完成。 由管理员创建插 播规则是由管理员在管理平台上进行相应的操作, 生成插播规则并储存在管理 平台中。 可以采用下表所示的数据模型生成并存储插播规则:
Figure imgf000008_0001
由用户自定义插播规则时, 首先需要其登录管理平台, 在管理平台上完成 插播规则的自定义创建, 并保存在管理平台上。 前述插播规则中规定了触发插 播视频的条件是具体的日期时间, 在本发明的另一个实施例中, 触发插播的条 件也可以不限于具体的日期时间, 而是基于节目的内容特性(如新闻、 体育、 影视、 广告等)触发, 这样可以由管理平台结合用户的观看习惯进行分析, 得 到用户观看节目的偏好, 从而实现插播规则的智能创建。
在本发明的另一个实施例中, 还可以为直播节目单中的每个直播节目中增 加标签, 标明节目的内容属性, 例如是新闻、 体育、 影视等。 流媒体服务器解 析直播节目单, 获取每个节目对应的标签, 在向客户端传送直播视频流时, 同 时下发该标签信息, 这样用户就可在客户端上设置按节目内容特性进行切换的 插播规则, 在播放时遇到需要插播的内容时, 就进行插播切换。 例如一位用户 喜欢看体育节目, 不喜欢看新闻, 就可以事先在客户端中设置在播放新闻节目 时, 自动切换播放体育节目。 这样当客户端监测到新闻节目的标签时就自动向 流媒体服务器发起播放体育节目的请求, 从而实现新闻节目到体育节目的切换。
此外, 本发明另一个实施例还提出一种结合日期时间和节目的内容属性设 置的插播规则。 例如, 一位用户可以设置在 8:00— 10:00的时段中只收看新闻 类节目, 当客户端监测到在此时段有其他节目的标签时, 就可以自动向流媒体 服务器发起播放新闻节目的请求, 从而满足用户个性化的视频插播要求。 插播 规则的设置与喜好因人而异, 本发明实施例无法穷举所有的插播规则设置。 但 通过本发明实施例中提供的方法, 由客户端进行插播规则的获取、 解析与插播 控制, 再结合上述实施例中公开的插播规则设置方法, 能够最大程度地满足视 频服务提供商提供用户级插播控制的需求, 同时也可以由用户通过客户端登录 管理平台进行插播规则的自定义设置。
结合前述实施例公开的内容, 本实施例公开一种通过插播规则的设置, 在 直播频道中独立销售节目的方案。 使用该方案, 运营商可以将某直播节目制作 为产品单独销售, 购买过该产品的用户可以正常收看该节目, 而未购买的用户 将播放插播视频, 屏蔽该直播节目。 图 3所示为该方案的信令流程图, 详述步 骤如下:
步骤 301— 302、 管理员在管理平台上将某频道中的直播节目制作为产品, 并展示相关产品的信息;
步骤 303、 管理员针对该直播节目设置插播规则: 所有收看该频道的用户 在该直播节目时间段都插播其他视频;
步骤 304— 305、 用户通过客户端在管理平台上登录后, 购买该直播节目对 应的产品, 在管理平台上生成该用户的购买记录;
步骤 306、 客户端通过管理平台获取插播规则;
步骤 307、 管理平台收到客户端获取插播规则的请求后, 结合购买记录生 成针对不同用户的插播规则: 已购买该直播节目的用户不插播视频, 未购买的 用户在该直播节目时间段插播视频;
步骤 308、 管理平台将针对该用户的购买记录生成的插播规则反馈给客户 端;
步骤 309、 客户端解析插播规则, 并播放视频: 已购买直播节目的用户正 常播放该直播节目, 未购买的用户将在此直播节目时间段播放插播视频。
客户端解析插播规则, 请求播放插播视频的步骤前述实施例中已有详细说 明, 此处不再赘述。
使用该实施例中公开的方法, 可以将热门直播节目单独制作成产品在管理 平台上销售, 并由管理平台根据用户的购买记录生成针对该用户的插播规则, 这样就可有效地区分已购买用户和未购买用户, 实现用户级的插播控制。
上述将直播节目单独销售, 结合购买记录生成有针对性的插播规则的方案, 还可以用于实现对直播节目的分级控制或类似的业务需求。 例如: 某直播节目 不适于未成年人观看, 管理平台可以根据用户的年龄生成有针对性的插播规则 , 已成年的用户可以正常观看该节目, 而对未成年用户, 则在该节目的播放时段 插播其他适于未成年人观看的视频。 具体实现步骤可参照图 3, 区别在于, 客 户端在获取插播规则时, 管理平台是根据用户的年龄来生成相应的插播规则。 用户的年龄可以从用户注册时提交的资料获取, 也可以要求用户在登录管理平 台时输入, 还可以在该节目播放之前要求用户提交, 本实施例对此不作限定。
结合上述实施例提供的视频插播的系统以及视频插播的方法, 本发明实施 例提供一种客户端, 用于实施前述实施例提供的视频插播的方案。 所述客户端 是安装了流媒体客户端软件的终端, 包括但不限于 IPTV机顶盒、 计算机以及 移动终端等。
图 4示出了客户端各组成部分的结构示意图, 详述各组成部分如下: 登录模块 401、 用于登录管理平台; 获取模块 402、 用于在登录模块 401登录管理平台后, 获取视频插播的规 则;
解析模块 403、 用于解析获取模块 402获取的视频插播的规则, 生成至少 一个插播任务;
监测模块 404、 用于监测解析模块 403生成的插播任务, 在满足插播任务 的启动条件时, 向流媒体服务器请求播放插播视频;
接收模块 405、用于在监测模块 404向流媒体服务器请求播放插播视频后, 接收流媒体服务器发送的插播视频, 并播放插播视频。
其中, 获取模块 402还用于获取管理平台的系统时间。
监测模块 404监测解析模块 403生成的插播任务, 具体为: 监测模块 404 定时监测解析模块 403生成的插播任务的启动条件, 判断是否满足插播任务的 启动条件。
使用本发明实施例提供的客户端, 在直播中播放插播视频时, 插播规则的 解析由服务器端转移到了客户端, 由客户端判断是否满足插播条件, 在满足插 播条件后主动向流媒体服务器发起插播视频的请求。 由于插播是由客户端主动 发起的, 因此不会产生由服务器发起视频插播影响所有用户的问题, 进而通过 设置不同的插播规则, 就可以实现用户级的插播控制。
与前述实施例中提供的客户端相配合, 本发明实施例提供一种管理平台, 用于实施本发明实施例中提供的视频插播的方法。
如图 5所示, 本发明实施例提供的管理平台包括以下组成模块:
设置模块 501、 用于设置视频插播规则, 所述插播规则中包含指示客户端 执行视频插播的启动条件, 使所述客户端在所述启动条件满足时, 向流媒体服 务器请求播放插播视频;
发送模块 502, 用于在所述客户端登录后, 将所述设置模块 501设置的视 频插播规则发送给所述客户端。 其中, 发送模块 502还用于向客户端发送管理平台的系统时间。 本领域技术人员可以意识到, 结合本文中所公开的实施例中描述的各方法 步骤和单元, 能够以电子硬件、 计算机软件或者二者的结合来实现, 为了清楚 地说明硬件和软件的可互换性, 在上述说明中已经按照功能一般性地描述了各 实施例的步骤及组成。 这些功能究竟以硬件还是软件方式来执行, 取决于技术 方案的特定应用和设计约束条件。 本领域技术人员可以对每个特定的应用使用 不同方法来实现所描述的功能, 但是这种实现不应认为超出本发明的范围。
结合本文中所公开的实施例描述的方法步骤可以用硬件、 处理器执行的软 件程序、或者二者的结合来实施。软件程序可以置于随机存取存储器(RAM )、 内存、 只读存储器(ROM )、 电可编程 ROM、 电可擦除可编程 ROM、 寄存器、 硬盘、 可移动磁盘、 CD-ROM或技术领域内所公知的任意其它形式的存储介质 中,所述的软件或者程序, 包括如下步骤: (方法权利要求)。
尽管已示出和描述了本发明的一些实施例, 但本领域技术人员应该理解, 在不脱离本发明的原理和精神的情况下, 可对这些实施例进行各种修改, 这样 的修改应落入本发明的范围。

Claims

权 利 要 求 书
1、 一种视频插播的方法, 其特征在于, 所述方法包括:
客户端登录管理平台, 获取插播规则;
解析所述插播规则, 生成至少一个插播任务, 监测所述插播任务, 在所述 插播任务的启动条件满足时, 向流媒体服务器请求播放插播视频;
接收所述插播视频并播放。
2、如权利要求 1所述的方法, 其特征在于, 所述客户端登录管理平台后, 进一步获取所述管理平台的系统时间。
3、 如权利要求 1 所述的方法, 其特征在于, 所述监测所述监测任务, 具 体为:
定时监测所述插播任务的启动条件, 判断所述插播任务的启动条件是已否 满足。
4、 如权利要求 1一 3任一所述的方法, 其特征在于, 所述插播任务的启动 条件包括: 直播频道信息和视频插播开始的时间。
5、 如权利要求 1一 3任一所述的方法, 其特征在于, 所述插播任务的启动 条件包括: 点播节目信息和视频插播开始的时间。
6、 如权利要求 4或 5所述的方法, 其特征在于, 所述插播开始的时间为 所述管理平台的系统时间。
7、 一种视频插播的方法, 其特征在于, 所述方法包括:
设置视频插播规则, 所述插播规则中包含指示客户端执行视频插播的启动 条件;
接收所述客户端的登录请求, 向所述客户端发送所述视频插播规则, 以使 所述客户端在所述启动条件满足时, 请求播放插播视频;
接收所述客户端播放插播视频的请求, 并根据所述请求向所述客户端发送 所述插播视频。
8、 如权利要求 7所述的方法, 其特征在于, 所述启动条件包括: 直播频 道信息和视频插播开始的时间。
9、 如权利要求 7所述的方法, 其特征在于, 所述启动条件包括: 点播节 目信息和视频插播开始的时间。
10、 如权利要求 7— 9任一所述的方法, 其特征在于, 所述接受所述客户 端登录后, 进一步包括: 发送管理平台的系统时间。
11、 一种客户端, 用于视频插播, 其特征在于, 所述客户端包括: 登录模块, 用于登录管理平台;
获取模块, 用于在所述客户端登录管理平台后, 获取视频插播的规则; 解析模块, 用于解析所述获取模块获取的所述插播规则, 生成至少一个插 播任务;
监测模块, 用于监测所述解析模块生成的所述插播任务, 在所述插播任务 的启动条件满足时, 向流媒体服务器请求播放插播视频;
接收模块, 用于在所述监测模块向所述流媒体服务器请求播放插播视频后, 接收所述流媒体服务器发送的插播视频, 并播放所述插播视频。
12、 如权利要求 11所述的客户端, 其特征在于, 所述获取模块还用于: 获取所述管理平台的系统时间。
13、 如权利要求 11或 12所述的客户端, 其特征在于, 所述监测模块用于 监测所述解析模块生成的所述插播任务, 具体为:
所述监测模块定时监测所述解析模块生成的所述插播任务的启动条件, 判 断所述插播任务的启动条件是否已满足。
14、 一种管理平台, 其特征在于, 所述管理平台包括:
设置模块, 用于设置视频插播规则, 所述插播规则中包含指示客户端执 行视频插播的启动条件, 使所述客户端在所述启动条件满足时, 向流媒体服务 器请求播放插播视频; 发送模块,用于在所述客户端登录后,将所述插播规则发送给所述客户端。
15、 如权利要求 10所述的管理平台, 其特征在于, 所述发送模块还用于 向所述客户端发送所述管理平台的系统时间。
16、 一种视频插播的系统, 包括客户端、 管理平台和流媒体服务器, 其特 征在于:
所述客户端, 用于登录所述管理平台, 获取插播规则并解析, 生成至少一 个插播任务, 监测所述插播任务, 在所述插播任务的启动条件满足时, 向所述 流媒体服务器请求播放插播视频, 接收所述流媒体服务器发送的插播视频并播 放;
所述管理平台,用于创建所述插播规则,向所述客户端发送所述插播规则; 所述流媒体服务器, 用于根据所述客户端的请求, 向所述客户端发送所述 插播视频。
17、 如权利要求 16所述的系统, 所述客户端还用于获取所述管理平台的 系统时间。
PCT/CN2012/079193 2011-12-31 2012-07-26 一种视频插播的方法、装置及系统 WO2013097454A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110459811.4 2011-12-31
CN201110459811.4A CN102572558B (zh) 2011-12-31 2011-12-31 一种视频插播的方法、装置及系统

Publications (1)

Publication Number Publication Date
WO2013097454A1 true WO2013097454A1 (zh) 2013-07-04

Family

ID=46416823

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/079193 WO2013097454A1 (zh) 2011-12-31 2012-07-26 一种视频插播的方法、装置及系统

Country Status (2)

Country Link
CN (1) CN102572558B (zh)
WO (1) WO2013097454A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107801059A (zh) * 2017-09-26 2018-03-13 武汉斗鱼网络科技有限公司 一种鉴权方法及服务器

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572558B (zh) * 2011-12-31 2015-11-25 华为技术有限公司 一种视频插播的方法、装置及系统
CN103618950A (zh) * 2013-11-11 2014-03-05 李达航 智能电视内容的插播方法
CN103618921B (zh) * 2013-12-03 2018-09-04 深圳Tcl新技术有限公司 电视节目播放控制的方法及装置
CN104853223B (zh) * 2015-04-29 2018-09-04 小米科技有限责任公司 视频流的插播方法及终端设备
CN105100840A (zh) * 2015-07-28 2015-11-25 上海聚力传媒技术有限公司 一种用于插播推荐媒体信息的方法和装置
CN105656917B (zh) * 2016-02-02 2018-11-16 广州华多网络科技有限公司 控制在线直播频道开播的方法及装置
CN107426582A (zh) * 2017-06-09 2017-12-01 苏州蜗牛数字科技股份有限公司 一种rtmp直播流无缝切换系统及方法
CN109729370A (zh) * 2018-12-13 2019-05-07 上海众源网络有限公司 一种视频直播流生成方法、装置及电子设备
CN114363709A (zh) * 2021-12-30 2022-04-15 南京谦萃智能科技服务有限公司 直播方法、终端设备及计算机可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521831A (zh) * 2008-12-26 2009-09-02 赵照 基于多元多媒体数字电视监测平台的节目插播监测方法
CN101588216A (zh) * 2008-05-21 2009-11-25 华为技术有限公司 在ip电视中实现媒体内容插播的方法、装置及系统
CN102137137A (zh) * 2010-09-17 2011-07-27 华为技术有限公司 基于http流的媒体内容动态插播方法、装置及系统
US20110271299A1 (en) * 2010-04-29 2011-11-03 Srikanth Kakani Method and apparatus for insertion of advertising in a live video stream
CN102572558A (zh) * 2011-12-31 2012-07-11 华为技术有限公司 一种视频插播的方法、装置及系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662650A (zh) * 2008-08-29 2010-03-03 百视通网络电视技术发展有限责任公司 Iptv视频点播中的精确实时广告投放系统及方法
CN101883244B (zh) * 2009-05-05 2013-01-23 百视通网络电视技术发展有限责任公司 在网络电视视频节目中插播广告的系统及方法
CN102111646B (zh) * 2009-12-29 2015-01-07 北京四达时代软件技术股份有限公司 一种视频点播中信息插播的方法和一种视频点播系统
CN102117458A (zh) * 2009-12-31 2011-07-06 华为技术有限公司 广告服务实现方法、装置和系统
CN102238139A (zh) * 2010-04-27 2011-11-09 华为技术有限公司 一种插播广告的方法、装置及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588216A (zh) * 2008-05-21 2009-11-25 华为技术有限公司 在ip电视中实现媒体内容插播的方法、装置及系统
CN101521831A (zh) * 2008-12-26 2009-09-02 赵照 基于多元多媒体数字电视监测平台的节目插播监测方法
US20110271299A1 (en) * 2010-04-29 2011-11-03 Srikanth Kakani Method and apparatus for insertion of advertising in a live video stream
CN102137137A (zh) * 2010-09-17 2011-07-27 华为技术有限公司 基于http流的媒体内容动态插播方法、装置及系统
CN102572558A (zh) * 2011-12-31 2012-07-11 华为技术有限公司 一种视频插播的方法、装置及系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107801059A (zh) * 2017-09-26 2018-03-13 武汉斗鱼网络科技有限公司 一种鉴权方法及服务器
CN107801059B (zh) * 2017-09-26 2018-09-04 武汉斗鱼网络科技有限公司 一种鉴权方法及服务器

Also Published As

Publication number Publication date
CN102572558B (zh) 2015-11-25
CN102572558A (zh) 2012-07-11

Similar Documents

Publication Publication Date Title
WO2013097454A1 (zh) 一种视频插播的方法、装置及系统
JP7023329B2 (ja) メディアプレゼンテーション記述
EP3122056B1 (en) Method and device for providing content via http adaptive streaming using a general media presentation description and specific media presentation descriptions
EP2545666B1 (en) Method and apparatus for providing broadcast content and system using the same
US8589580B2 (en) Method and apparatus for geofiltering by content
US20160337713A1 (en) Relevancy improvement through targeting of information based on data gathered from a networked device associated with a security sandbox of a client device
US20160344848A1 (en) Relevancy improvement through targeting of information based on data gathered from a networked device associated with a security sandbox of a client device
CN107835156B (zh) 一种流媒体传输处理的方法和装置
US20160094805A1 (en) Surveillance Video Playback Method, Device, and System
WO2017197001A1 (en) System for video playback using a server generated manifest
WO2012113260A1 (zh) 一种视频播放方法及其装置
KR20120092622A (ko) 데이터 세그먼트의 선택적 방송전달을 가지는 스트리밍
US20140189042A1 (en) Method for capturing video related content
WO2018090978A1 (zh) 自适应播放、控制方法、机顶盒及电子节目服务器
US11410199B2 (en) Reception apparatus, transmission apparatus, and data processing method
FR3019428A1 (fr) Dispositif et procede de commande a distance de la restitution de contenus multimedia
WO2014026590A1 (zh) Iptv系统实现边放边下的方法、终端及cdn服务器
WO2013181996A1 (zh) 一种获取信息的方法、设备及系统
WO2015039477A1 (zh) 基于多屏互动的信息系统及信息投放方法、iptv系统
CN110771172B (zh) 来自多个源的动态多媒体流插入的系统和存储介质
WO2012149868A1 (zh) 一种媒体内容分发和点播的方法、机顶盒及系统
WO2011072462A1 (zh) 节目内容获取方法及机顶盒
FR3068852A1 (fr) Procede de gestion du droit d'acces a un contenu numerique
WO2012131708A2 (en) Video messaging and mailing service
WO2021178559A1 (en) Smart notification for over-the-top (ott) streaming among multiple devices

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12862790

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12862790

Country of ref document: EP

Kind code of ref document: A1