WO2012034373A1 - Method, device and system for realizing breakpoint continuous playing of program among multi-terminal - Google Patents

Method, device and system for realizing breakpoint continuous playing of program among multi-terminal Download PDF

Info

Publication number
WO2012034373A1
WO2012034373A1 PCT/CN2011/070990 CN2011070990W WO2012034373A1 WO 2012034373 A1 WO2012034373 A1 WO 2012034373A1 CN 2011070990 W CN2011070990 W CN 2011070990W WO 2012034373 A1 WO2012034373 A1 WO 2012034373A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
program
demand
historical
information
Prior art date
Application number
PCT/CN2011/070990
Other languages
French (fr)
Chinese (zh)
Inventor
宋波
Original Assignee
深圳市同洲电子股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市同洲电子股份有限公司 filed Critical 深圳市同洲电子股份有限公司
Publication of WO2012034373A1 publication Critical patent/WO2012034373A1/en

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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • 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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks

Abstract

A method, device and system for realizing breakpoint continuous playing of program among multi-terminal is provided. A global server preserves and maintains history on-demand program information of a terminal reported by a streaming media server cluster. When the message of requesting acquisition of program information sent by the portal server is received, and the message has an identifier of a second terminal, the global server finds out the history on-demand program information of at least one terminal associated with the user ID of a user to which the second terminal belongs according to the identifier of the second terminal, and sends the program information to the portal server. The second terminal can continuously play the history on-demand program from the breakpoint according to the history on-demand program information of the at least one terminal. The method can be used for realizing breakpoint continuous playing of audio/video program among different terminals belonging to the same user.

Description

实现多终端断点续播节目的方法、 装置及系统 本申请要求于 2010 年 9 月 17 日提交中国专利局、 申请号为 201010287685.4、 发明名称为"实现多终端断点续播节目的方法和装置及系统" 的中国专利申请的优先权, 其全部内容通过 !用结合在本申请中。  Method, device and system for realizing multi-terminal breakpoint continuous broadcast program The present application claims to be submitted to the Chinese Patent Office on September 17, 2010, the application number is 201010287685.4, and the invention is entitled "Method and device for implementing multi-terminal breakpoint continuous broadcast program" And the priority of the Chinese patent application of the system, the entire content of which is passed! Used in conjunction with this application.
技术领域 Technical field
本发明涉及通信技术领域, 具体涉及一种实现多终端断点续播节目的方 法、 全局服务器、 流媒体服务器集群实体和流媒体服务系统。  The present invention relates to the field of communications technologies, and in particular, to a method for implementing a multi-terminal breakpoint continuous broadcast program, a global server, a streaming media server cluster entity, and a streaming media service system.
背景技术 Background technique
目前, 随着互联网、 电信网和广电网三网融合的规划和部署, 运营商希望 基于三网融合平台为用户提供更多元便捷的服务。  At present, with the planning and deployment of the Internet, telecommunications network and the three networks of the grid, operators hope to provide users with more convenient services based on the triple play platform.
例如, 随着数字电视的普及应用, 数字电视终端, 例如机顶盒已经大量的 存在于千家万户。 出于用户需求多元化的考虑, 如何在不同终端之间实现音 / 视频节目的断点续播,是一个极具前景的技术课题, 所述不同终端例如可以是 数字电视终端、 移动终端或个人电脑等。  For example, with the popularization of digital television, digital television terminals, such as set-top boxes, have existed in large numbers in thousands of households. Due to the diversification of user needs, how to implement breakpoint playback of audio/video programs between different terminals is a promising technical issue, such as digital TV terminals, mobile terminals or individuals. Computer, etc.
发明内容 Summary of the invention
本发明实施例提供一种实现多终端断点续播节目的方法和装置及系统,以 在不同终端之间实现音 /视频节目的断点续播。  Embodiments of the present invention provide a method, apparatus, and system for implementing a multi-terminal breakpoint continuous broadcast program to implement breakpoint playback of audio/video programs between different terminals.
为解决上述技术问题, 本发明实施例提供以下技术方案:  To solve the above technical problem, the embodiment of the present invention provides the following technical solutions:
一种实现多终端断点续播节目的方法, 包括:  A method for implementing a multi-terminal breakpoint continuous broadcast program, comprising:
全局服务器接收来自流媒体服务器集群的携带第一终端的历史点播节目 信息的消息, 保存所述第一终端的历史点播节目信息, 其中, 所述第一终端的 历史点播节目信息包括第一终端历史点播的节目对应的节目标识和播放断点 信息;  The global server receives the message of the historical on-demand program information of the first terminal from the cluster of the streaming media server, and stores the historical on-demand program information of the first terminal, where the historical on-demand program information of the first terminal includes the first terminal history. Program identification and playback breakpoint information corresponding to the on-demand program;
接收门户服务器发送的请求获取节目信息的第一消息,所述第一消息携带 第二终端的标识;  Receiving, by the portal server, a first message requesting to acquire program information, where the first message carries an identifier of the second terminal;
根据所述第二终端的标识,查找出所述第二终端所属用户的用户标识所关 联的至少一个终端的历史点播节目信息, 其中, 所述第一终端和第二终端归属 于同一用户,所述至少一个终端的历史点播节目信息中包括第一终端的历史点 播节目信息; 向所述门户服务器发送第二消息,所述第二消息携带查找出的所述至少一 个终端的历史点播节目信息,以使所述第二终端根据所述至少一个终端的历史 点播节目信息中的第一终端的历史点播节目信息,断点续播所述第一终端历史 点播的节目。 And searching, according to the identifier of the second terminal, the historical on-demand program information of the at least one terminal that is associated with the user identifier of the user to which the second terminal belongs, where the first terminal and the second terminal belong to the same user. The historical on-demand program information of the at least one terminal includes historical on-demand program information of the first terminal; Sending, to the portal server, a second message, where the second message carries the historical on-demand program information of the at least one terminal that is found, so that the second terminal is in accordance with historical on-demand program information of the at least one terminal. The historical information of the first terminal is on-demand, and the program of the first terminal history on demand is resumed at a breakpoint.
一种实现多终端断点续播节目的方法, 包括:  A method for implementing a multi-terminal breakpoint continuous broadcast program, comprising:
流媒体服务器集群接收来自第一终端的节目点播请求,其中, 所述节目点 播请求携带请求点播的节目对应的节目标识;  The streaming server cluster receives a program-on-demand request from the first terminal, wherein the program-on-demand request carries a program identifier corresponding to the program requested for on-demand;
向所述第一终端推送所述节目标识所对应节目的媒体流;  Pushing, to the first terminal, a media stream of a program corresponding to the program identifier;
若接收到来自第一终端的携带所述节目标识的节目停播请求,则通知流媒 体服务器停止向所述第一终端推送所述节目的媒体流,并记录所述节目的播放 断点信息;  Receiving, by the first terminal, a program stop request carrying the program identifier, stopping the streaming media server to stop pushing the media stream of the program to the first terminal, and recording playback breakpoint information of the program;
向全局服务器发送携带第一终端的历史点播节目信息的消息,所述第一终 端的历史点播节目信息包括所述节目对应的节目标识和播放断点信息。  The message carrying the historical on-demand program information of the first terminal is sent to the global server, and the historical on-demand program information of the first terminal includes the program identifier and the playback breakpoint information corresponding to the program.
一种全局服务器, 包括:  A global server, including:
接收保存单元,用于接收来自流媒体服务器集群的携带第一终端的历史点 播节目信息的消息, 保存所述第一终端的历史点播节目信息, 其中, 所述第一 终端的历史点播节目信息包括第一终端历史点播的节目对应的节目标识和播 放断点信息;  a receiving and holding unit, configured to receive a message from the streaming media server cluster that carries the historical on-demand program information of the first terminal, and save the historical on-demand program information of the first terminal, where the historical on-demand program information of the first terminal includes The program identification and the playback breakpoint information corresponding to the program of the first terminal history on demand;
第二接收单元, 用于接收门户服务器发送的请求获取节目信息的第一消 息, 所述第一消息携带第二终端的标识;  a second receiving unit, configured to receive a first message that is sent by the portal server to request to obtain program information, where the first message carries an identifier of the second terminal;
查找单元, 用于根据所述第二终端的标识, 查找出所述第二终端所属用户 的用户标识所关联的至少一个终端的历史点播节目信息, 其中, 所述第一终端 和第二终端归属于同一用户,所述至少一个终端的历史点播节目信息中包括第 一终端的历史点播节目信息;  a search unit, configured to search for historical on-demand program information of at least one terminal associated with the user identifier of the user to which the second terminal belongs, according to the identifier of the second terminal, where the first terminal and the second terminal belong to In the same user, the historical on-demand program information of the at least one terminal includes historical on-demand program information of the first terminal;
发送单元, 用于向所述门户服务器发送第二消息, 所述第二消息携带所述 查找单元查找出的所述至少一个终端的历史点播节目信息,以使所述第二终端 根据所述至少一个终端的历史点播节目信息中的第一终端的历史点播节目信 息, 断点续播所述第一终端历史点播的节目。  a sending unit, configured to send a second message to the portal server, where the second message carries historical on-demand program information of the at least one terminal that is searched by the searching unit, so that the second terminal is configured according to the at least one The historical on-demand program information of the first terminal in the historical on-demand program information of one terminal, and the program of the first terminal history on demand is resumed at the breakpoint.
一种流媒体服务器集群实体, 包括: 第三接收模块, 用于接收来自第一终端的节目点播请求, 其中, 所述节目 点播请求携带请求点播的节目对应的节目标识; A streaming media server cluster entity, comprising: a third receiving module, configured to receive a program-on-demand request from the first terminal, where the program-on-demand request carries a program identifier corresponding to the program requested for on-demand;
媒体流推送模块,用于向所述第一终端推送所述节目标识所对应节目的媒 体流;  a media stream pushing module, configured to push, to the first terminal, a media stream of a program corresponding to the program identifier;
播放停止记录单元,用于若接收到来自第一终端的携带所述节目标识的节 目停播请求, 则通知流媒体服务器停止向所述第一终端推送所述节目的媒体 流, 并记录所述节目的播放断点信息;  a play stop recording unit, configured to notify the streaming media server to stop pushing the media stream of the program to the first terminal, if the program stop request for carrying the program identifier from the first terminal is received, and record the Playback breakpoint information of the program;
第二发送单元,用于向全局服务器发送携带第一终端的历史点播节目信息 的消息,所述第一终端的历史点播节目信息包括所述节目对应的节目标识和播 放断点信息。  And a second sending unit, configured to send a message carrying the historical on-demand program information of the first terminal to the global server, where the historical on-demand program information of the first terminal includes the program identifier and the play breakpoint information corresponding to the program.
一种流媒体服务系统, 包括:  A streaming media service system, comprising:
流媒体服务器集群, 用于接收来自第一终端的节目点播请求, 所述节目点 播请求携带请求点播的节目对应的节目标识;向所述第一终端推送所述节目标 识所对应节目的媒体流;若接收到来自第一终端的携带所述节目标识的节目停 播请求, 则通知流媒体服务器停止向所述第一终端推送所述节目的媒体流, 并 记录所述节目的播放断点信息;向全局服务器发送携带第一终端的历史点播节 目信息的消息,所述第一终端的历史点播节目信息包括所述节目对应的节目标 识和播放断点信息;  a streaming media server cluster, configured to receive a program-on-demand request from the first terminal, where the program-on-demand request carries a program identifier corresponding to the program requested to be on-demand; and push the media stream of the program corresponding to the program identifier to the first terminal; Receiving, by the first terminal, a program stop request carrying the program identifier, stopping the streaming media server to stop pushing the media stream of the program to the first terminal, and recording playback breakpoint information of the program; Sending, by the global server, a message carrying the historical on-demand program information of the first terminal, where the historical on-demand program information of the first terminal includes the program identifier and the playback breakpoint information corresponding to the program;
全局服务器,用于接收来自流媒体服务器集群的携带第一终端的历史点播 节目信息的消息, 保存所述第一终端的历史点播节目信息, 其中, 所述第一终 端的历史点播节目信息包括第一终端历史点播的节目对应的节目标识和播放 断点信息;接收门户服务器发送的请求获取节目信息的第一消息, 所述第一消 息携带第二终端的标识; 根据所述第二终端的标识, 查找出所述第二终端所属 用户的用户标识所关联的至少一个终端的历史点播节目信息, 其中, 所述第一 终端和第二终端归属于同一用户,所述至少一个终端的历史点播节目信息中包 括第一终端的历史点播节目信息; 向所述门户服务器发送第二消息, 所述第二 消息携带查找出的所述至少一个终端的历史点播节目信息,以使所述第二终端 根据所述至少一个终端的历史点播节目信息中的第一终端的历史点播节目信 息, 断点续播所述第一终端历史点播的节目。 由上技术方案可见,本发明实施例中由全局服务器保存维护流媒体服务器 集群上报的终端的历史点播节目信息,当接收到门户服务器发送的请求获取节 目信息的消息、且该消息携带第二终端的标识时,全局服务器根据第二终端的 标识,查找出第二终端所属用户的用户标识所关联的至少一个终端的历史点播 节目信息, 并反馈给门户服务器,使得第二终端能够根据上述至少一个终端的 历史点播节目信息中某一终端的历史点播节目信息,断点续播该终端历史点播 的节目, 该机制能够用于在归属于同一用户的不同终端之间实现音 /视频节目 的断点续播。 a global server, configured to receive a message from the streaming media server cluster that carries the historical on-demand program information of the first terminal, and save the historical on-demand program information of the first terminal, where the historical on-demand program information of the first terminal includes a program identifier and a playback breakpoint information corresponding to the program of the terminal on-demand; receiving a first message sent by the portal server to request the program information, the first message carrying the identifier of the second terminal; And searching for the historical on-demand program information of the at least one terminal associated with the user identifier of the user to which the second terminal belongs, wherein the first terminal and the second terminal belong to the same user, and the historical on-demand program of the at least one terminal The information includes historical on-demand program information of the first terminal, and the second message is sent to the portal server, where the second message carries the historical on-demand program information of the at least one terminal that is found, so that the second terminal is configured according to a history of the first terminal in the historical on-demand program information of the at least one terminal The on-demand program information is resumed and the program of the first terminal history on demand is resumed. As shown in the foregoing technical solution, in the embodiment of the present invention, the global server saves the historical on-demand program information of the terminal reported by the maintenance streaming media server cluster, and receives the message requested by the portal server to obtain the program information, and the message carries the second terminal. The global server searches for the historical on-demand program information of the at least one terminal associated with the user identifier of the user to which the second terminal belongs according to the identifier of the second terminal, and feeds back to the portal server, so that the second terminal can be based on the at least one The historical on-demand program information of a terminal in the historical on-demand program information of the terminal, and the program of the historical on-demand broadcast of the terminal is resumed at a breakpoint, and the mechanism can be used to implement a breakpoint of the audio/video program between different terminals belonging to the same user. Resume the broadcast.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所 需要使用的附图作简单地介绍,显而易见地, 下面描述中的附图仅仅是本发明 的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提 下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art based on these drawings without the inventive labor.
图 1是本发明实施例提供的一种三网融合的网络拓朴结构示意图; 图 2是本发明实施例提供的一种实现节目断点续播的方法流程图; 图 3是本发明实施例提供的另一种实现节目断点续播的方法流程图; 图 4是本发明实施例提供的另一种实现节目断点续播的方法流程图; 图 5是本发明实施例提供的一种全局服务器的结构示意图;  1 is a schematic diagram of a network topology structure of a three-network convergence according to an embodiment of the present invention; FIG. 2 is a flowchart of a method for implementing a resume of a program breakpoint according to an embodiment of the present invention; FIG. 4 is a flowchart of another method for implementing a breakpoint resume of a program according to an embodiment of the present invention; FIG. 5 is a flowchart of a method for implementing a resume of a program according to an embodiment of the present invention; A schematic diagram of the structure of the global server;
图 6是本发明实施例提供的一种流媒体服务器集群实体的结构示意图; 图 7是本发明实施例提供的一种流媒体服务系统示意图。  FIG. 6 is a schematic structural diagram of a streaming media server cluster entity according to an embodiment of the present invention; FIG. 7 is a schematic diagram of a streaming media service system according to an embodiment of the present invention.
具体实施方式 detailed description
本发明实施例提供实现多终端断点续播节目的方法和装置及系统,能够在 不同终端之间实现音 /视频节目的断点续播。  Embodiments of the present invention provide a method, apparatus, and system for implementing a multi-terminal breakpoint continuous broadcast program, which can implement breakpoint playback of audio/video programs between different terminals.
为使得本发明的发明目的、 特征、 优点能够更加的明显和易懂, 下面将结 合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而非全部实施例。 基 于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。  In order to make the present invention, the technical solutions in the embodiments of the present invention are clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. The embodiments are merely a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
首先请参见图 1 ,图 1为本发明实施例提供的一种三网融合的网络拓朴结构 示意图, 其中, 可在全网中部署主要负责全局数据信息的管理维护功能的全局 服务器, 以便于整合现有三网的前端系统。 门户服务器即 portal功能实体主要 负责向用户终端提供操作界面等, 流媒体服务器集群主要负责提供音 /视频播 放功能, 流媒体服务器集群可包括接入服务器和至少一个流媒体服务器等, 其 中,接入服务器主要负责用户终端的接入管理功能, 流媒体服务器主要负责提 供媒体流。当然流媒体服务器集群中的接入服务器和流媒体服务器也可以集成 于同一网络实体。 移动终端如手机、 互联网终端如个人电脑、 和数字电视终端 如机顶盒, 可通过各自网络连接到门户服务器和流媒体服务器集群。 为移动终 端、 互联网终端和数字电视终端提供音 /视频播放功能的流媒体服务器集群可 以是相同的, 也可以是不同的。 First, please refer to FIG. 1. FIG. 1 is a network topology structure of three-network convergence according to an embodiment of the present invention. A schematic diagram, in which a global server that is mainly responsible for the management and maintenance functions of global data information can be deployed in the entire network, so as to integrate the existing three-network front-end system. The portal server, that is, the portal function entity is mainly responsible for providing an operation interface to the user terminal, and the streaming media server cluster is mainly responsible for providing audio/video playback functions, and the streaming media server cluster may include an access server and at least one streaming media server, among which, access The server is mainly responsible for the access management function of the user terminal, and the streaming media server is mainly responsible for providing the media stream. Of course, the access server and the streaming server in the streaming server cluster can also be integrated into the same network entity. Mobile terminals such as mobile phones, Internet terminals such as personal computers, and digital television terminals such as set-top boxes can be connected to the portal server and the streaming server cluster through their respective networks. Streaming server clusters that provide audio/video playback capabilities for mobile terminals, Internet terminals, and digital television terminals may be the same or different.
本发明实施例的方案中, 一个用户可以有多个相同或不同网络的终端, 例 如一个用户可以有一个或多个移动终端、一个或多个互联网终端、 以及一个或 多个数字电视终端, 不同终端可以通过不同的标识进行区别, 终端的标识例如 可为: 终端设备标识, 如设备名称或媒介访问控制 (MAC , Media Access Control )地址等; 终端帐号, 例如号码; 终端通讯地址, 例如网际协议地址; 或其它可标识该终端的标识等。 不同的用户可通过不同用户标识例如用户帐 号、 用户名或其它可标识该用户的标识等进行区别。  In the solution of the embodiment of the present invention, a user may have multiple terminals of the same or different networks, for example, one user may have one or more mobile terminals, one or more Internet terminals, and one or more digital television terminals, different The terminal can be distinguished by different identifiers, such as: terminal device identifier, such as device name or media access control (MAC, Media Access Control) address, etc.; terminal account number, such as number; terminal communication address, such as internet protocol Address; or other identifier that identifies the terminal, and so on. Different users can be distinguished by different user identities such as user accounts, user names or other identities that can identify the user.
下面首先以全局服务器的角度,对本发明实施例实现节目断点续播的方法 进行描述。  In the following, a method for implementing a resume of a program breakpoint according to an embodiment of the present invention will be described in the context of a global server.
本发明实现多终端断点续播节目的方法的一个实施例,可包括: 全局服务 器接收来自流媒体服务器集群的携带第一终端的历史点播节目信息的消息,保 存该第一终端的历史点播节目信息,该第一终端的历史点播节目信息包括第一 终端历史点播的节目对应的节目标识和播放断点信息;接收门户服务器发送的 请求获取节目信息的第一消息, 第一消息携带第二终端的标识; 根据第二终端 的标识,查找出第二终端所属用户的用户标识所关联的至少一个终端的历史点 播节目信息, 其中, 第一终端和第二终端归属于同一用户, 上述至少一个终端 的历史点播节目信息中包括第一终端的历史点播节目信息;向上述门户服务器 发送第二消息,该第二消息携带查找出的上述至少一个终端的历史点播节目信 息,以便于第二终端根据上述至少一个终端的历史点播节目信息中的第一终端 的历史点播节目信息, 断点续播第一终端历史点播的节目。 An embodiment of the method for implementing a multi-terminal breakpoint continuous broadcast program may include: the global server receiving a message from the streaming media server cluster carrying the historical on-demand program information of the first terminal, and saving the historical on-demand program of the first terminal The information, the historical on-demand program information of the first terminal includes the program identifier and the playback breakpoint information corresponding to the program of the first terminal history on-demand; receiving the first message sent by the portal server to request the program information, the first message carrying the second terminal And identifying, according to the identifier of the second terminal, the historical on-demand program information of the at least one terminal associated with the user identifier of the user to which the second terminal belongs, where the first terminal and the second terminal belong to the same user, and the at least one terminal The historical on-demand program information includes historical on-demand program information of the first terminal; and the second message is sent to the portal server, where the second message carries the historical on-demand program information of the at least one terminal that is found, so that the second terminal is configured according to the foregoing Historical on-demand program letter of at least one terminal A first terminal Historical on-demand program information, breakpoints continue to broadcast the first terminal historical on-demand program.
参见图 2, 具体步骤可以包括:  Referring to Figure 2, specific steps may include:
210、 全局服务器接收来自流媒体服务器集群的携带第一终端的历史点播 节目信息的消息, 保存该第一终端的历史点播节目信息。  210. The global server receives a message from the streaming media server cluster that carries the historical on-demand program information of the first terminal, and saves the historical on-demand program information of the first terminal.
在一种应用场景下, 流媒体服务器集群可在终端停止点播某节目后, 生成 一条该终端的历史点播节目信息, 并将其上报给全局服务器, 具体可以是主动 上报给全局服务器或在该终端指示时上报给全局服务器。可利用终端的标识对 该终端的历史点播节目信息进行标记。终端的历史点播节目信息可包括该终端 历史点播的节目对应的节目标识和播放断点信息,当然还可包括该终端的标识 信息以及其它一些信息, 其中, 节目标识可为节目的内容标识、 名称标识或其 它标识; 节目的播放断点信息可指播放停止的时间位置或数据位置, 其中时间 位置可以是非直播节目播放停止时间与起始时间的相对时间, 或, 直播节目停 止播放时的绝对时间。  In an application scenario, the streaming media server cluster may generate a historical on-demand program information of the terminal after the terminal stops to order the program, and report the information to the global server, which may be reported to the global server or the terminal. Reported to the global server when indicated. The historical on-demand program information of the terminal can be marked by the identifier of the terminal. The historical on-demand program information of the terminal may include the program identifier and the playback breakpoint information corresponding to the program of the historical on-demand of the terminal, and may further include the identification information of the terminal and other information, wherein the program identifier may be the content identifier and name of the program. Identification or other identification; the playback breakpoint information of the program may refer to a time position or a data position where the playback stops, wherein the time position may be a relative time between the non-live broadcast program playback stop time and the start time, or an absolute time when the live program stops playing. .
其中,流媒体服务器集群可将第一终端的历史点播节目信息携带在某一消 息中向全局服务器发送; 全局服务器则可接收该消息, 并对应保存该第一终端 的历史点播节目信息。  The streaming media server cluster may carry the historical on-demand program information of the first terminal in a certain message to the global server; the global server may receive the message, and correspondingly store the historical on-demand program information of the first terminal.
在实际应用中,全局服务器可将归属于同一用户的所有终端的标识例如终 端帐号与该用户的用户标识例如用户帐号相关联,具体可通过数据表将同一用 户的所有终端的标识该用户的用户标识进行关联记录,全局服务器可根据某终 端的标识查找到该终端所属用户的用户标识,进而可根据该用户标识可查找到 该用户的所有终端的历史点播节目信息,当然还可查找到该用户的终端的其它 一些信息。  In an actual application, the global server may associate the identifiers of all terminals belonging to the same user, for example, the terminal account with the user identifier of the user, such as a user account, and specifically identify all users of the same user by using the data table. The identifier is associated with the record, and the global server can find the user identifier of the user to which the terminal belongs according to the identifier of the terminal, and further can find the historical on-demand program information of all the terminals of the user according to the user identifier, and can also find the user. Some other information about the terminal.
全局服务器可以针对每个用户维护一张历史点播节目信息表,每个用户的 历史点播节目信息表中记录某终端的历史点播节目信息的一条记录可以包括: 用于记录节目标识例如内容标识的节目标识字段、用于节目的播放断点信息的 断点字段, 以及用于记录点播该节目的终端的标识的终端标识字段,还可以包 括用于记录该终端类型如移动终端、互联网终端或数字电视终端的终端类型字 段以及用于记录其它信息的字段等, 而全局服务器则可通过用户标识, 关联查 找到该用户对应的历史点播节目信息表。 当然,全局服务器也可只维护一张对 应多个用户的历史点播节目信息表,而该对应多个用户的历史点播节目信息表 的一条记录除了可包括上述各个字段(如节目标识字段、 断点字段、 终端标识 字段、 终端类型字段等)外, 还可包括用于记录用户标识的用户标识字段。 全 局服务器可根据流媒体服务器集群上报的终端的历史点播节目信息,在历史点 播节目信息表中添加对应的记录。 The global server may maintain a historical on-demand program information table for each user, and a record of the historical on-demand program information of a certain terminal recorded in each user's historical on-demand program information table may include: a program for recording a program identification such as a content identification An identification field, a breakpoint field for playing breakpoint information of the program, and a terminal identification field for recording an identification of the terminal on which the program is to be broadcasted, and may further include for recording the terminal type such as a mobile terminal, an internet terminal, or a digital television The terminal type field of the terminal and the field for recording other information, and the global server can find the historical on-demand program information table corresponding to the user by using the user identifier. Of course, the global server can also maintain only one pair. The program information table should be on-demand of a plurality of users, and a record of the historical on-demand program information table corresponding to the plurality of users may include the above-mentioned various fields (such as a program identification field, a breakpoint field, a terminal identification field, a terminal type field, etc.). In addition, a user identification field for recording the user identification may also be included. The global server may add a corresponding record in the historical on-demand program information table according to the historical on-demand program information of the terminal reported by the streaming media server cluster.
进一步的,全局服务器还可定期或根据指示,删除历史点播节目信息表中 已老化的记录, 其中, 已老化的记录可指该记录的保存时间已经超过了设定的 保存时间阈值, 如 30天、 100天或其它值等。  Further, the global server may delete the aging record in the historical on-demand program information table periodically or according to the indication, wherein the aging record may indicate that the storage time of the record has exceeded the set storage time threshold, such as 30 days. , 100 days or other values, etc.
220、 全局服务器接收门户服务器发送的请求获取节目信息的第一消息, 其中, 该第一消息携带第二终端的标识。  The global server receives the first message that is sent by the portal server to obtain the program information, where the first message carries the identifier of the second terminal.
在一种应用场景下, 当第二终端需要点播节目时, 第二终端可向门户服务 器请求获取节目信息,门户服务器则可向全局服务器请求获取可点播节目的节 目信息、以及与第二终端归属于同一用户的其它至少一个终端的历史点播节目 信息等。 第一消息中还可携带第二终端的类型指示, 此外, 若第一消息中没有 携带终端的标识,可表示门户服务器是要获取可点播节目的节目信息, 而并不 需要获取历史点播节目信息。  In an application scenario, when the second terminal needs to order the program, the second terminal may request the portal server to acquire the program information, and the portal server may request the global server to obtain the program information of the on-demand program and belong to the second terminal. Historically on-demand program information and the like for at least one other terminal of the same user. The first message may also carry the type indication of the second terminal. In addition, if the identifier of the terminal is not carried in the first message, it may indicate that the portal server is to obtain program information of the on-demand program, and does not need to obtain historical on-demand program information. .
在实际应用中,全局服务器可维护一张节目信息表, 节目信息表中记录节 目信息的一条记录可包括: 用于记录节目标识的字段、用于该节目的链接信息 的字段, 以及用于记录该节目简介的字段, 当然还可包括用于记录该节目其它 信息的字段等。 其中, 所述节目标识可以是内容标识。 另外, 需要说明的是, 同一个节目对应到不同的流媒体服务器链接信息可能是不同的, 因此, 一个节 目可能有多条链接信息。进一步的,全局服务器还可以根据当前可点播节目的 变化情况,及时的更新节目信息表, 以保证节目信息表中记录的节目信息的有 效性。  In an actual application, the global server may maintain a program information table, and a record of the program information recorded in the program information table may include: a field for recording the program identification, a field for linking information of the program, and for recording The field of the program profile may of course include fields for recording other information of the program, and the like. The program identifier may be a content identifier. In addition, it should be noted that the same program may have different link information corresponding to different streaming media servers. Therefore, a program may have multiple pieces of link information. Further, the global server may also update the program information table in time according to the change of the current on-demand program to ensure the validity of the program information recorded in the program information table.
特别的, 若某些节目只能被特定类型的终端点播, 则节目信息表中一条记 录还可包括用于记录可点播终端类型的字段,若请求获取节目信息的消息中携 带有终端的类型指示时,全局服务器可根据该类型指示,从节目信息表中筛选 出该类型的终端可点播节目的节目信息,以提高向门户服务器反馈的节目信息 的有效性。 230、 全局服务器根据第二终端的标识, 查找出第二终端所属用户的用户 标识所关联的至少一个终端的历史点播节目信息。 In particular, if some programs can only be requested by a specific type of terminal, a record in the program information table may further include a field for recording the type of the audible terminal, and if the message requesting the program information carries the type indication of the terminal The global server may filter the program information of the terminal-on-demand program of the type from the program information table according to the type indication to improve the validity of the program information fed back to the portal server. 230. The global server searches for historical on-demand program information of at least one terminal associated with the user identifier of the user to which the second terminal belongs according to the identifier of the second terminal.
此处, 若第一终端和第二终端归属于同一用户, 则全局服务器可根据第二 终端的标识,查找出第二终端所属用户的用户标识所关联的至少一个终端的历 史点播节目信息, 当然, 上述至少一个终端的历史点播节目信息中包括全局服 务器此前保存的第一终端的历史点播节目信息,或者还可能包括此前保存的第 二终端的历史点播节目信息。  Here, if the first terminal and the second terminal belong to the same user, the global server may search for historical on-demand program information of at least one terminal associated with the user identifier of the user to which the second terminal belongs, according to the identifier of the second terminal. The historical on-demand program information of the at least one terminal includes historical on-demand program information of the first terminal previously saved by the global server, or may also include historical on-demand program information of the second terminal previously saved.
240、 全局服务器向门户服务器发送第二消息, 该第二消息携带查找出的 上述至少一个终端的历史点播节目信息。  240. The global server sends a second message to the portal server, where the second message carries the historical on-demand program information of the at least one terminal that is found.
在一种应用场景下,第二消息中还可携带一个或多个可点播节目的节目信 息, 该节目信息可包括节目简介、链接信息和内容标识等。 门户服务器在接收 到该第二消息后,可生成并向第二终端发送页面信息, 该页面信息中可包含第 二消息中携带可点播节目的节目信息,以及第二终端所属用户的至少一个终端 的历史点播节目信息, 该历史点播节目信息包括第一终端的历史点播节目信 息。 第二终端在接收到门户服务器反馈的上述页面信息后, 可根据该页面信息 包含的上述至少一个终端的历史点播节目信息中的第一终端的历史点播节目 信息, 通过对应的流媒体服务器集群, 断点续播第一终端历史点播的节目, 当 然第二终端也可选择点播或断点续播其它节目。  In an application scenario, the second message may also carry program information of one or more on-demand programs, and the program information may include program profiles, link information, content identifiers, and the like. After receiving the second message, the portal server may generate and send page information to the second terminal, where the page information may include program information that carries the on-demand program in the second message, and at least one terminal of the user to which the second terminal belongs Historical on-demand program information, the historical on-demand program information including historical on-demand program information of the first terminal. After receiving the page information that is fed back by the portal server, the second terminal may use the corresponding streaming media server cluster according to the historical on-demand program information of the first terminal in the historical on-demand program information of the at least one terminal included in the page information. The program of the first terminal history on demand is resumed at the breakpoint. Of course, the second terminal may also select other programs on demand or breakpoint.
需要说明的是,上述归属于同一用户的第一终端和第二终端可能是同一类 型的终端,也可能是不同类型的终端。 而本发明实施例中主要针对归属于同一 用户的不同类型的终端进行断点续播的场景,即不同网络的终端进行断点续播 的场景。  It should be noted that the first terminal and the second terminal belonging to the same user may be the same type of terminal, or may be different types of terminals. In the embodiment of the present invention, a scenario in which a different type of terminal belonging to the same user performs a breakpoint resume broadcast, that is, a scenario in which a terminal of a different network performs a breakpoint resume broadcast.
由以上方案可见,本实施例中由全局服务器保存维护流媒体服务器集群上 报的终端的历史点播节目信息,当接收到门户服务器发送的请求获取节目信息 的消息、 且该消息携带第二终端的标识时, 全局服务器根据第二终端的标识, 查找出第二终端所属用户的用户标识所关联的至少一个终端的历史点播节目 信息, 并反馈给门户服务器,使得第二终端能够根据上述至少一个终端的历史 点播节目信息中某一终端的历史点播节目信息,断点续播该终端历史点播的节 目, 该机制能够用于在归属于同一用户的不同终端之间实现音 /视频节目的断 点续播。 It can be seen from the above that, in this embodiment, the global server saves the historical on-demand program information of the terminal that is reported by the maintenance of the streaming media server cluster, and receives the message that the portal server sends the request to obtain the program information, and the message carries the identifier of the second terminal. The global server searches for the historical on-demand program information of the at least one terminal associated with the user identifier of the user to which the second terminal belongs according to the identifier of the second terminal, and feeds back to the portal server, so that the second terminal can be based on the at least one terminal. Historical on-demand program information of a certain terminal in the on-demand program information, resumes the program of the terminal's historical on-demand broadcast at a breakpoint, and the mechanism can be used to implement audio/video program disconnection between different terminals belonging to the same user. Continue to broadcast.
下面以流媒体服务器集群的角度,对本发明实施例中的实现节目断点续播 的方法进行描述。  The method for implementing program breakpoint playback in the embodiment of the present invention is described below in the perspective of a streaming server cluster.
本发明实现多终端断点续播节目的方法的另一个实施例, 可包括: 流媒体 服务器集群接收来自第一终端的节目点播请求, 其中, 该节目点播请求携带请 求点播的节目对应的节目标识;向第一终端推送该节目标识所对应节目的媒体 流; 若接收到来自第一终端的携带上述节目标识的节目停播请求, 则停止向该 第一终端推送上述节目的媒体流, 并记录该节目的播放断点信息; 向全局服务 器发送携带第一终端的历史点播节目信息的消息,该第一终端的历史点播节目 信息包括上述节目对应的节目标识和播放断点信息。  Another embodiment of the method for implementing a multi-terminal breakpoint continuous broadcast program may include: a streaming media server cluster receiving a program-on-demand request from a first terminal, wherein the program-on-demand request carries a program identifier corresponding to a program requested for on-demand Transmitting, to the first terminal, a media stream of the program corresponding to the program identifier; if receiving a program off request from the first terminal that carries the program identifier, stopping to push the media stream of the program to the first terminal, and recording Playing the breakpoint information of the program; sending a message carrying the historical on-demand program information of the first terminal to the global server, where the historical on-demand program information of the first terminal includes the program identifier corresponding to the program and the playback breakpoint information.
参见图 3 , 具体步骤可以包括:  Referring to Figure 3, specific steps may include:
310、 流媒体服务器集群接收来自第一终端的节目点播请求, 该节目点播 请求携带请求点播的节目对应的节目标识。  310. The streaming media server cluster receives a program-on-demand request from the first terminal, where the program-on-demand request carries a program identifier corresponding to the program requested for the on-demand.
在实际应用中 ,第一终端发送的节目点播请求还可以携带第一终端的标识 信息以及其它一些信息。  In an actual application, the program-on-demand request sent by the first terminal may further carry the identifier information of the first terminal and other information.
320、 流媒体服务器集群向第一终端推送节目标识所对应节目的媒体流。 在实际应用中, 流媒体服务器集群可先对第一终端进行鉴权, 该鉴权可由 流媒体服务器集群中的接入服务器实体执行,在鉴权通过后, 向第一终端推送 节目标识所对应节目的媒体流,该推送过程可由流媒体服务器集群中的流媒体 服务器实体执行。 特别的, 对于某些无需鉴权的节目点播业务, 流媒体服务器 集群可不对第一终端进行鉴权,而可直接向第一终端推送节目标识所对应节目 的媒体流。  320. The streaming media server cluster pushes the media stream of the program corresponding to the program identifier to the first terminal. In an actual application, the streaming media server cluster may first authenticate the first terminal, and the authentication may be performed by the access server entity in the streaming media server cluster, and after the authentication is passed, the program identifier corresponding to the first terminal is pushed. The media stream of the program, which can be performed by a streaming media server entity in the cluster of streaming media servers. In particular, for some program-on-demand services that do not require authentication, the streaming server cluster may not authenticate the first terminal, but may directly push the media stream of the program corresponding to the program identifier to the first terminal.
在一种应用场景下,若接收到的节目点播请求中还携带有请求点播的节目 的播放断点信息,则流媒体服务器集群可向第一终端推送上述节目标识所对应 节目的起始于上述播放断点的媒体流, 以实现第一终端的断点续播。若第一终 端发送的节目点播请求中还可携带令牌,该令牌可以是此前点播该节目的另一 终端获得, 则流媒体服务器集群可根据令牌默认为第一终端鉴权通过。  In an application scenario, if the received program-on-demand request further carries the playback breakpoint information of the program requesting the on-demand program, the streaming media server cluster may push the program corresponding to the program identifier to the first terminal to start at the foregoing The media stream of the breakpoint is played to implement the breakpoint playback of the first terminal. If the program-on-demand request sent by the first terminal can also carry a token, which may be obtained by another terminal that has previously requested the program, the streaming media server cluster may pass the token authentication for the first terminal by default.
330、 若接收到来自第一终端的携带上述节目标识的节目停播请求, 流媒 体服务器集群则停止向该第一终端推送上述节目的媒体流,并记录该节目的播 放断点信息。 330. If receiving a program off request from the first terminal that carries the program identifier, the streaming server cluster stops pushing the media stream of the program to the first terminal, and records the broadcast of the program. Break point information.
340、 流媒体服务器集群向全局服务器发送携带第一终端的历史点播节目 信息的消息,该第一终端的历史点播节目信息包括上述节目对应的节目标识和 播放断点信息。  340. The streaming media server cluster sends a message carrying the historical on-demand program information of the first terminal to the global server, where the historical on-demand program information of the first terminal includes the program identifier corresponding to the program and the playback breakpoint information.
在一种应用场景下, 流媒体服务器集群可在第一终端停止点播节目后, 生 成一条该终端的历史点播节目信息, 并将其上报给全局服务器, 具体可以是主 动上报给全局服务器或在该终端指示时上报给全局服务器。可利用第一终端的 标识对该终端的历史点播节目信息进行标记。第一终端的历史点播节目信息可 包括第一终端历史点播的节目对应的节目标识和播放断点信息,当然还可包括 第一终端的标识信息以及其它一些信息,其中,节目标识可为节目的内容标识、 名称标识或其它标识;节目的播放断点信息可指播放停止的时间位置或数据位 置, 其中, 时间位置可以是非直播节目播放停止时间与起始时间的相对时间, 或, 直播节目停止播放时的绝对时间。  In an application scenario, the streaming server cluster may generate a historical on-demand program information of the terminal after the first terminal stops the on-demand program, and report the information to the global server, which may be reported to the global server or When the terminal indicates it, it is reported to the global server. The historical on-demand program information of the terminal can be marked with the identity of the first terminal. The historical on-demand program information of the first terminal may include the program identifier and the playback breakpoint information corresponding to the program of the first terminal history on-demand, and may of course include the identification information of the first terminal and other information, wherein the program identifier may be a program The content identifier, the name identifier, or other identifiers; the playback breakpoint information of the program may refer to a time position or a data location where the playback stops, wherein the time location may be a relative time between the non-live broadcast program playback stop time and the start time, or the live broadcast program stops. Absolute time during playback.
全局服务器在接收到携带第一终端的历史点播节目信息的消息后,可对应 保存该第一终端的历史点播节目信息。  After receiving the message carrying the historical on-demand program information of the first terminal, the global server may correspondingly save the historical on-demand program information of the first terminal.
在实际应用中,全局服务器可将归属于同一用户的所有终端的标识例如终 端帐号与该用户的用户标识例如用户帐号相关联,具体可通过数据表将同一用 户的所有终端的标识该用户的用户标识进行关联记录,全局服务器可根据某终 端的标识查找到该终端所属用户的用户标识,进而可根据该用户标识可查找到 该用户的所有终端的历史点播节目信息,当然还可查找到该用户的终端的其它 一些信息。  In an actual application, the global server may associate the identifiers of all terminals belonging to the same user, for example, the terminal account with the user identifier of the user, such as a user account, and specifically identify all users of the same user by using the data table. The identifier is associated with the record, and the global server can find the user identifier of the user to which the terminal belongs according to the identifier of the terminal, and further can find the historical on-demand program information of all the terminals of the user according to the user identifier, and can also find the user. Some other information about the terminal.
全局服务器可以针对每个用户维护一张历史点播节目信息表,每个用户的 历史点播节目信息表中记录某终端的历史点播节目信息的一条记录可以包括: 用于记录节目标识例如内容标识的节目标识字段、用于节目的播放断点信息的 断点字段, 以及用于记录点播该节目的终端的标识的终端标识字段,还可以包 括用于记录该终端类型如移动终端、互联网终端或数字电视终端的终端类型字 段以及用于记录其它信息的字段等, 而全局服务器则可通过用户标识, 关联查 找到该用户对应的历史点播节目信息表。 当然,全局服务器也可只维护一张对 应多个用户的历史点播节目信息表,而该对应多个用户的历史点播节目信息表 的一条记录除了可包括上述各个字段(节目标识字段、 断点字段、 终端标识字 段、终端类型字段等)外,还可包括用于记录用户标识的用户标识字段。此处, 全局服务器可根据流媒体服务器集群上报的第一终端的历史点播节目信息的 消息, 在历史点播节目信息表中添加对应的记录。 The global server may maintain a historical on-demand program information table for each user, and a record of the historical on-demand program information of a certain terminal recorded in each user's historical on-demand program information table may include: a program for recording a program identification such as a content identification An identification field, a breakpoint field for playing breakpoint information of the program, and a terminal identification field for recording an identification of the terminal on which the program is to be broadcasted, and may further include for recording the terminal type such as a mobile terminal, an internet terminal, or a digital television The terminal type field of the terminal and the field for recording other information, and the global server can find the historical on-demand program information table corresponding to the user by using the user identifier. Of course, the global server may also maintain only one historical on-demand program information table corresponding to multiple users, and the historical on-demand program information table corresponding to multiple users In addition to the above various fields (program identification field, breakpoint field, terminal identification field, terminal type field, etc.), a record may also include a user identification field for recording the user identification. Here, the global server may add a corresponding record in the historical on-demand program information table according to the message of the historical information of the first terminal of the first terminal reported by the streaming server cluster.
进一步的,后续当全局服务器接收门户服务器发送的请求获取节目信息的 消息时, 若该消息携带第二终端的标识, 全局服务器根据第二终端的标识, 查 找出第二终端所属用户的用户标识所关联的至少一个终端的历史点播节目信 息; 此处, 若第一终端和第二终端归属于同一用户, 则全局服务器可根据第二 终端的标识,查找出第二终端所属用户的用户标识所关联的至少一个终端的历 史点播节目信息, 当然, 上述至少一个终端的历史点播节目信息中包括全局服 务器此前保存的第一终端的历史点播节目信息,或者还可以包括此前保存的第 二终端的历史点播节目信息。全局服务器可向门户服务器发送携带可点播节目 的节目信息和查找出的上述至少一个终端的历史点播节目信息的消息;门户月良 务器在接收到该消息后, 可生成并向第二终端发送页面信息, 该页面信息中可 包含节目信息和上述至少一个终端的历史点播节目信息,该历史点播节目信息 包括第一终端的历史点播节目信息。第二终端在接收到门户服务器反馈的上述 页面信息后,可根据该页面信息包含的上述至少一个终端的历史点播节目信息 中的第一终端的历史点播节目信息,通过对应的流媒体服务器集群, 断点续播 第一终端历史点播的节目, 第二终端也可选择点播或断点续播其它节目, 以此 类推。  Further, when the global server receives the message for requesting the program information sent by the portal server, if the message carries the identifier of the second terminal, the global server searches for the user identifier of the user to which the second terminal belongs according to the identifier of the second terminal. The historical on-demand program information of the associated at least one terminal; where, if the first terminal and the second terminal belong to the same user, the global server may search for the user identifier of the user to which the second terminal belongs according to the identifier of the second terminal. The historical on-demand program information of the at least one terminal, of course, the historical on-demand program information of the at least one terminal includes the historical on-demand program information of the first terminal previously saved by the global server, or may also include the historical on-demand of the previously saved second terminal. Program information. The global server may send the program information carrying the program information of the on-demand program and the searched historical on-demand program information of the at least one terminal to the portal server; after receiving the message, the portal server may generate and send the message to the second terminal. The page information may include program information and historical on-demand program information of the at least one terminal, where the historical on-demand program information includes historical on-demand program information of the first terminal. After receiving the page information that is fed back by the portal server, the second terminal may use the historical streaming media program information of the first terminal in the historical on-demand program information of the at least one terminal included in the page information to pass the corresponding streaming media server cluster. The breakpoint continues to broadcast the program of the first terminal history on demand, and the second terminal may also select other programs on demand or breakpoints, and so on.
由上可见, 本实施例中流媒体服务器集群在终端停止播放某节目时,记录 该节目的播放断点信息; 并向全局服务器上报的终端的历史点播节目信息, 其 中包括节目对应的节目标识和播放断点信息,而全局服务器可保存维护流媒体 服务器集群上报的终端的历史点播节目信息,使得其它终端可从全局服务器获 得某终端的历史点播节目信息, 并可据此断点续播该终端历史点播的节目, 该 机制能够用于在归属于同一用户的不同终端之间实现音 /视频节目的断点续 播。  It can be seen that, in the embodiment, the streaming media server cluster records the playback breakpoint information of the program when the terminal stops playing a certain program; and displays the program information of the terminal of the terminal reported to the global server, including the program identifier and the program corresponding to the program. Breakpoint information, and the global server can save the historical on-demand program information of the terminal reported by the cluster of the streaming media server, so that other terminals can obtain historical on-demand program information of a terminal from the global server, and can resume the broadcast of the terminal history according to the breakpoint. On-demand program, this mechanism can be used to implement breakpoint playback of audio/video programs between different terminals belonging to the same user.
为便于更好的理解本发明技术方案, 下面以归属于同一用户的移动终端 B 断点续播数字电视终端 A历史点播的节目的一个具体应用场景为例, 对本发明 实施例的技术方案进行更为详尽的介绍。 In order to facilitate a better understanding of the technical solution of the present invention, the following is a specific application scenario in which the mobile terminal B belonging to the same user resumes broadcasting the program of the historical order of the digital television terminal A as an example. The technical solution of the embodiment is described in more detail.
参见图 4, 本发明实施例提供的实现多终端断点续播节目的方法的另一个 实施例, 可包括:  Referring to FIG. 4, another embodiment of a method for implementing a multi-terminal breakpoint continuous broadcast program according to an embodiment of the present invention may include:
401、 数字电视终端 A向门户服务器 P1获取页面。  401. Digital TV terminal A obtains a page from the portal server P1.
402、 门户服务器 P1向全局服务器发送请求获取节目信息的消息 msl。 在实际应用中, 消息 msl可携带对应数字电视终端 A的类型指示, 当然该 类型指示可指示出的设备类型为数字电视终端。  402. The portal server P1 sends a message msl requesting to acquire program information to the global server. In an actual application, the message ms1 may carry a type indication corresponding to the digital television terminal A. Of course, the type indication indicates that the type of the device is a digital television terminal.
403、 全局服务器接收消息 msl , 根据消息 msl携带的类型指示获取数字电 视终端能够点播节目的节目信息;并向门户服务器 P1发送携带获取的节目信息 的消息 msl -2。  403. The global server receives the message msl, and obtains program information that the digital television terminal can order the program according to the type carried by the message msl; and sends the message msl-2 carrying the acquired program information to the portal server P1.
在实际应用中,全局服务器可维护一张节目信息表, 节目信息表中记录节 目信息的一条记录可包括: 用于记录节目标识的字段、用于该节目的链接信息 的字段, 以及用于记录该节目简介的字段, 当然还可包括用于记录该节目其它 信息的字段等。 其中, 所述节目标识可以是内容标识。 另外, 需要说明的是, 由于同一个节目对应到不同的流媒体服务器对应链接信息可能是不同的, 因 此, 一个节目可能有多条链接信息。  In an actual application, the global server may maintain a program information table, and a record of the program information recorded in the program information table may include: a field for recording the program identification, a field for linking information of the program, and for recording The field of the program profile may of course include fields for recording other information of the program, and the like. The program identifier may be a content identifier. In addition, it should be noted that since the same program corresponds to different streaming media server corresponding link information may be different, therefore, a program may have multiple pieces of link information.
特别的,对于存在某些节目只能被特定类型的终端点播的情况, 则节目信 息表中一条记录还可包括用于记录可点播终端类型的字段,若请求获取节目信 息的消息中携带有终端的类型指示时,全局服务器可根据该类型指示,从节目 信息表中筛选出该类型的终端可点播节目的节目信息,以提高向门户服务器反 馈的节目信息的有效性。  In particular, in the case where there are certain programs that can only be called by a specific type of terminal, a record in the program information table may further include a field for recording the type of the audible terminal, and the message requesting to acquire the program information carries the terminal. When the type indicates, the global server may filter the program information of the terminal-on-demand program of the type from the program information table according to the type indication to improve the validity of the program information fed back to the portal server.
进一步的,全局服务器还可以根据当前可点播节目的变化情况,及时的更 新节目信息表, 以保证节目信息表中记录的节目信息的有效性。  Further, the global server may further update the program information table according to the current situation of the on-demand program to ensure the validity of the program information recorded in the program information table.
404、 门户服务器 P1接收消息 msl-2,生成包含全局服务器反馈的节目信息 的页面, 并向数字电视终端 A发送该页面。  404. The portal server P1 receives the message msl-2, generates a page containing program information fed back by the global server, and sends the page to the digital television terminal A.
405、 数字电视终端 A在门户服务器 P1返回的页面中查看选择需要点播的 节目, 向接入服务器 S1-1发送节目点播请求, 该节目点播请求携带请求点播的 节目对应的节目标识。  405. The digital television terminal A views the program selected to be on-demand in the page returned by the portal server P1, and sends a program-on-demand request to the access server S1-1, where the program-on-demand request carries the program identifier corresponding to the program requested for on-demand.
406、接入服务器 S1-1可先对数字电视终端 A进行鉴权, 若鉴权通过, 则可 为数字电视终端 A分配令牌、 频点和视频服务器, 并通知视频服务器 S1-2向数 字电视终端 A推送上述节目标识所对应节目的媒体流。 406. The access server S1-1 may first authenticate the digital television terminal A, and if the authentication passes, The digital television terminal A is assigned a token, a frequency point and a video server, and the video server S1-2 is notified to push the media stream of the program corresponding to the program identification to the digital television terminal A.
407、视频服务器 S1-2向数字电视终端 A推送上述节目标识所对应节目的媒 体流。  407. The video server S1-2 pushes the media stream of the program corresponding to the program identifier to the digital television terminal A.
408、 在播放一段时间后, 若需停止播放, 数字电视终端 A向接入服务器 408. After playing for a period of time, if the playback needs to be stopped, the digital television terminal A accesses the server.
S1-1发送节目停播请求。 S1-1 sends a program off request.
409、接入服务器 S 1 - 1通知视频服务器 S 1 -2停止向数字电视终端 A推送上述 节目标识所对应节目的媒体流, 并记录该节目的播放断点信息。  409. The access server S 1 -1 notifies the video server that S 1 - 2 stops pushing the media stream of the program corresponding to the program identifier to the digital television terminal A, and records the playback breakpoint information of the program.
410、 接入服务器 S1-1向全局服务器发送消息 ms2, 消息 ms2中携带数字电 视终端 A的历史点播节目信息。  410. The access server S1-1 sends a message to the global server, ms2, and the message ms2 carries the historical on-demand program information of the digital television terminal A.
在一种应用场景下, 接入服务器 S1-1可在数字电视终端 A停播节目后, 生 成一条数字电视终端 A的历史点播节目信息, 并通过消息 ms2将其上报给全局 服务器。 数字电视终端 A的历史点播节目信息可包括该终端历史点播的节目对 应的节目标识和播放断点信息,当然还可包括该终端的标识信息以及其它一些 信息。 其中, 节目标识可为节目的内容标识、 名称标识或其它标识; 节目的播 放断点信息可指播放停止的时间位置或数据位置,所述时间位置可以是非直播 节目播放停止时间与起始时间的相对时间, 或, 直播节目停止播放时的绝对时 间。 该终端的标识信息可利用数字电视终端 A的标识对该终端的历史点播节目 信息进行标记。  In an application scenario, the access server S1-1 can generate a historical on-demand program information of the digital television terminal A after the digital television terminal A stops broadcasting the program, and reports it to the global server through the message ms2. The historical on-demand program information of the digital television terminal A may include the program identification and the playback breakpoint information corresponding to the program of the terminal on-demand, and may of course include the identification information of the terminal and other information. The program identifier may be a content identifier, a name identifier, or other identifier of the program. The playback breakpoint information of the program may refer to a time position or a data location where the playback stops, and the time location may be a non-live broadcast program stop time and a start time. Relative time, or, the absolute time when the live program stops playing. The identification information of the terminal can mark the historical on-demand program information of the terminal by using the identifier of the digital television terminal A.
411、 全局服务器接收接入服务器 S1-1发送的消息 ms2, 对应保存消息 ms2 携带的数字电视终端 A的历史点播节目信息。  411. The global server receives the message ms2 sent by the access server S1-1, and corresponds to the historical on-demand program information of the digital television terminal A carried by the save message ms2.
在实际应用中,全局服务器可将归属于同一用户的所有终端的标识例如终 端帐号与该用户的用户标识例如用户帐号相关联,具体可通过数据表将同一用 户的所有终端的标识该用户的用户标识进行关联记录,全局服务器可根据某终 端的标识查找到该终端所属用户的用户标识,进而可根据该用户标识可查找到 该用户的所有终端的历史点播节目信息,当然还可查找到该用户的终端的其它 一些信息。  In an actual application, the global server may associate the identifiers of all terminals belonging to the same user, for example, the terminal account with the user identifier of the user, such as a user account, and specifically identify all users of the same user by using the data table. The identifier is associated with the record, and the global server can find the user identifier of the user to which the terminal belongs according to the identifier of the terminal, and further can find the historical on-demand program information of all the terminals of the user according to the user identifier, and can also find the user. Some other information about the terminal.
全局服务器可以针对每个用户维护一张历史点播节目信息表,每个用户的 历史点播节目信息表中记录某终端的历史点播节目信息的一条记录可以包括: 用于记录节目标识例如内容标识的节目标识字段、用于节目的播放断点信息的 断点字段, 以及用于记录点播该节目的终端的标识的终端标识字段,还可以包 括用于记录该终端类型如移动终端、互联网终端或数字电视终端的终端类型字 段以及用于记录其它信息的字段等, 而全局服务器则可通过用户标识, 关联查 找到该用户对应的历史点播节目信息表。 当然,全局服务器也可只维护一张对 应多个用户的历史点播节目信息表,而该对应多个用户的历史点播节目信息表 的一条记录除了可包括上述各个字段(节目标识字段、 断点字段、 终端标识字 段、 终端类型字段等)外, 还可包括用于记录用户标识的用户标识字段。 全局 服务器可根据接入服务器 S1-1上报的数字电视终端 A的历史点播节目信息, 在 历史点播节目信息表中添加对应的记录。 The global server may maintain a historical on-demand program information table for each user, and a record of the historical on-demand program information of a certain terminal recorded in each user's historical on-demand program information table may include: a program identification field for recording a program identification such as a content identification, a breakpoint field for playing breakpoint information of the program, and a terminal identification field for recording an identification of the terminal on which the program is called, may further include for recording the terminal The terminal type field of the mobile terminal, the Internet terminal or the digital television terminal, and the field for recording other information, and the like, and the global server can find the historical on-demand program information table corresponding to the user by using the user identifier. Of course, the global server may also maintain only one historical on-demand program information table corresponding to multiple users, and a record corresponding to the historical on-demand program information table of the plurality of users may include the above-mentioned various fields (program identification field, breakpoint field). In addition to the terminal identification field, the terminal type field, and the like, a user identification field for recording the user identifier may also be included. The global server may add a corresponding record in the historical on-demand program information table according to the historical on-demand program information of the digital television terminal A reported by the access server S1-1.
进一步的,全局服务器还可定期或根据指示,删除历史点播节目信息表中 已老化的记录, 其中, 已老化的记录可指该记录的保存时间已经超过了设定的 保存时间阈值, 如 15天、 50天或其它值等。  Further, the global server may delete the aging record in the historical on-demand program information table periodically or according to the indication, wherein the aging record may indicate that the storage time of the record has exceeded the set storage time threshold, such as 15 days. , 50 days or other values, etc.
进一步的, 若消息 ms2中还携带接入服务器 S1-1在对数字移动终端 B鉴权 通过后分配的令牌, 则全局服务器还可对应保存该令牌。  Further, if the message ms2 further carries the token allocated by the access server S1-1 after authenticating the digital mobile terminal B, the global server may also save the token.
412、 移动终端 B向门户服务器 P2获取页面。  412. The mobile terminal B acquires a page from the portal server P2.
413、 门户服务器 P2向全局服务器发送请求获取节目信息的消息 ms3。 在实际应用中, 消息 ms3可携带数字移动终端 B的标识, 还可携带对应移 动终端 B的类型指示, 当然该类型指示可指示出的设备类型为移动终端。  413. The portal server P2 sends a message ms3 requesting to obtain program information to the global server. In an actual application, the message ms3 may carry the identifier of the digital mobile terminal B, and may also carry a type indication corresponding to the mobile terminal B. Of course, the type indication may indicate that the device type is a mobile terminal.
414、 全局服务器接收消息 ms3 , 根据消息 ms3携带的类型指示获取移动终 端能够点播节目的节目信息; 根据移动终端 B的标识, 查找出移动终端 B所属 用户的用户标识所关联的至少一个终端的历史点播节目信息。  414. The global server receives the message ms3, and obtains the program information that the mobile terminal can order the program according to the type carried by the message ms3. According to the identifier of the mobile terminal B, finds the history of at least one terminal associated with the user identifier of the user to which the mobile terminal B belongs. On-demand program information.
此处, 由于移动终端 B和数字电视终端 A归属于同一用户, 全局服务器可 根据移动终端 B的标识, 从其维护的历史点播节目信息表中查找出移动终端 B 所属用户的用户标识所关联的至少一个终端的历史点播节目信息, 当然, 上述 至少一个终端的历史点播节目信息中包括全局服务器此前保存的数字电视终 端 A的历史点播节目信息, 或者还可能包括此前保存的移动终端 B的历史点播 节目信息。  Here, since the mobile terminal B and the digital television terminal A belong to the same user, the global server may find out, according to the identifier of the mobile terminal B, the user identifier of the user to which the mobile terminal B belongs, from the historical on-demand program information table maintained by the mobile terminal B. The historical on-demand program information of the at least one terminal, of course, the historical on-demand program information of the at least one terminal includes the historical on-demand program information of the digital television terminal A previously saved by the global server, or may also include the historical on-demand broadcast of the previously saved mobile terminal B. Program information.
全局服务器向门户服务器 P2发送 ms3-2, 其中携带获取的节目信息和上述 至少一个终端的历史点播节目信息。 The global server sends ms3-2 to the portal server P2, which carries the acquired program information and the above Historical on-demand program information for at least one terminal.
415、 门户服务器 P2接收消息 ms3-2,生成包含全局服务器反馈的节目信息 和上述至少一个终端的历史点播节目信息的页面, 并向移动终端 B发送该页 面。  415. The portal server P2 receives the message ms3-2, generates a page containing the program information fed back by the global server and the historical on-demand program information of the at least one terminal, and sends the page to the mobile terminal B.
416、 移动终端 B在门户服务器 P2返回的页面中查看选择需要断点续播的 节目 , 向流媒体服务器集群 S2发送节目点播请求,该节目点播请求携带请求点 播的节目对应的节目标识和播放断点信息。  416. The mobile terminal B selects a program that needs to be resumed by the breakpoint in the page returned by the portal server P2, and sends a program-on-demand request to the streaming media server cluster S2, where the program-on-demand request carries the program identifier corresponding to the program requested to be on-demand and plays off. Point information.
417、 流媒体服务器集群 S2可先对移动终端 B进行鉴权, 若鉴权通过, 则 始于上述播放断点的媒体流。  417. The streaming media server cluster S2 may first authenticate the mobile terminal B, and if the authentication passes, start the media stream starting from the playback breakpoint.
此外, 若全局服务器还在消息 ms3-2中携带接入服务器 S1-1在对数字移动 终端 B鉴权通过后分配的令牌, 则移动终端 B还可在节目点播请求中携带上述 令牌, 在此情况下, 流媒体服务器集群 S2可根据移动终端 B发送的节目点播请 求中携带的令牌, 默认为鉴权通过, 进而直接向移动终端 B推送上述节目标识 所对应节目的起始于上述播放断点的媒体流。可以看出,共享令牌的机制可使 点播节目鉴权的灵活性和关联性。  In addition, if the global server further carries the token that the access server S1-1 allocates after authenticating the digital mobile terminal B, the mobile terminal B may also carry the token in the program-on-demand request. In this case, the streaming media server cluster S2 may be based on the token carried in the program-on-demand request sent by the mobile terminal B, and the authentication is passed by default, and then the program corresponding to the program identifier is directly pushed to the mobile terminal B. Play a media stream of breakpoints. It can be seen that the mechanism for sharing tokens allows flexibility and relevance of on-demand program authentication.
至此, 实现了移动终端 B断点续播数字电视终端 A历史点播的节目。  So far, the mobile terminal B has resumed broadcasting the program of the digital television terminal A historically on demand.
418、 在播放一段时间后, 若需停止播放, 移动终端 B向流媒体服务器集 群 S2发送节目停播请求。  418. After playing for a period of time, if the playback needs to be stopped, the mobile terminal B sends a program off request to the streaming media server cluster S2.
419、 流媒体服务器集群 S2停止向移动终端 B推送上述节目标识所对应节 目的媒体流, 并记录该节目的播放断点信息。  419. The streaming media server cluster S2 stops pushing the media stream of the program corresponding to the program identifier to the mobile terminal B, and records the playback breakpoint information of the program.
420、 流媒体服务器集群 S2向全局服务器发送消息 ms4, 消息 ms4中携带移 动终端 B的历史点播节目信息。  420. The streaming media server cluster S2 sends a message to the global server, ms4, and the message ms4 carries the historical on-demand program information of the mobile terminal B.
在一种应用场景下, 流媒体服务器集群 S2可在移动终端 B停播节目后, 生 成一条移动终端 B的历史点播节目信息, 并通过消息 ms4将其上报给全局服务 器。 移动终端 B的历史点播节目信息可包括该终端历史点播的节目对应的节目 标识和播放断点信息, 当然还可包括该移动终端 B的标识信息以及其它一些信 息。 其中, 节目标识可为节目的内容标识、 名称标识或其它标识; 节目的播放 断点信息可指播放停止的时间位置或数据位置,所述时间位置可以是非直播节 目播放停止时间与起始时间的相对时间,或,直播节目停止播放时的绝对时间。 移动终端 B的标识信息用于对该终端的历史点播节目信息进行标记, 可利用数 字电视终端 B的标识对该终端的历史点播节目信息进行标记。 In an application scenario, the streaming media server cluster S2 may generate a historical on-demand program information of the mobile terminal B after the mobile terminal B stops broadcasting the program, and report it to the global server by using the message ms4. The historical on-demand program information of the mobile terminal B may include the program identification and the playback breakpoint information corresponding to the program of the terminal history on-demand, and may of course include the identification information of the mobile terminal B and other information. The program identifier may be a content identifier, a name identifier, or other identifier of the program. The playback breakpoint information of the program may refer to a time position or a data location where the playback stops, and the time location may be a non-live festival. The relative time between the stop time and the start time, or the absolute time when the live program stops playing. The identification information of the mobile terminal B is used to mark the historical on-demand program information of the terminal, and the historical on-demand program information of the terminal can be marked by using the identifier of the digital television terminal B.
421、 全局服务器接收流媒体服务器集群 S2发送的消息 ms4, 对应保存消 息 ms4携带的移动终端 B的历史点播节目信息。  421. The global server receives the message ms4 sent by the streaming media server cluster S2, and corresponds to the historical on-demand program information of the mobile terminal B carried in the save message ms4.
可以理解的是,本实施例中主要是以移动终端断点续播数字电视终端历史 点播的节目的一种过程为例进行举例描述的,而移动终端断点续播互联网终端 历史点播的节目, 以及, 互联网终端断点续播移动终端或数字电视终端历史点 播的节目, 以及,数字电视终端断点续播移动终端或互联网终端历史点播的节 目的场景, 以及其它类似场景可以此类推, 此处不再赘述。  It can be understood that, in this embodiment, a process in which the mobile terminal resumes broadcasting the program of the historical order of the digital television terminal is described as an example, and the mobile terminal resumes broadcasting the program of the Internet terminal history on demand. And, the Internet terminal resumes broadcasting the program of the historical order of the mobile terminal or the digital television terminal, and the scene of the digital television terminal resuming the broadcast of the mobile terminal or the historical order of the Internet terminal, and the like, and the like, and the like No longer.
由上可见,本实施例中由全局服务器保存维护流媒体服务器集群上报的终 端的历史点播节目信息,当其接收到门户服务器发送的请求获取节目信息的消 息,且该消息携带移动终端或其它类型终端的标识时,全局服务器根据该移动 终端的标识,查找出该移动终端所属用户的用户标识所关联的至少一个终端的 历史点播节目信息, 并反馈给门户服务器,使得移动终端能够根据上述至少一 个终端的历史点播节目信息中某一终端的历史点播节目信息,断点续播该终端 历史点播的节目,该机制能够用于在归属于同一用户的不同类型终端之间实现 音 /视频节目的断点续播。  It can be seen that, in this embodiment, the global server saves the historical on-demand program information of the terminal reported by the maintenance streaming media server cluster, and receives the message requesting the program information sent by the portal server, and the message carries the mobile terminal or other type. When the identifier of the terminal is used, the global server searches for the historical on-demand program information of the at least one terminal associated with the user identifier of the user to which the mobile terminal belongs according to the identifier of the mobile terminal, and feeds back to the portal server, so that the mobile terminal can perform the at least one according to the foregoing. The historical on-demand program information of a terminal in the historical on-demand program information of the terminal, and the program of the historical on-demand broadcast of the terminal is resumed at a breakpoint, and the mechanism can be used to implement the interruption of the audio/video program between different types of terminals belonging to the same user. Continue to broadcast.
进一步的,全局服务器通过数据表来保存维护流媒体服务器集群上报的终 端的历史点播节目信息, 数据维护过程相对简易。  Further, the global server saves the historical on-demand program information of the terminal reported by the cluster of the streaming media server through the data table, and the data maintenance process is relatively simple.
需要说明的是, 对于前述的各方法实施例, 为了简单描述, 故将其都表 述为一系列的动作组合, 但是本领域技术人员应该知悉, 本发明并不受所描述 的动作顺序的限制, 因为依据本发明, 某些步骤可以采用其他顺序或者同时 进行。 其次, 本领域技术人员也应该知悉, 说明书中所描述的实施例均属于 优选实施例, 所涉及的动作和模块并不一定是本发明所必须的。  It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. Further, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中, 对各个实施例的描述都各有侧重, 某个实施例中没 有详述的部分, 可以参见其他实施例的相关描述。  In the above embodiments, the descriptions of the various embodiments are different, and the details are not described in detail in an embodiment, and the related descriptions of other embodiments can be referred to.
为便于更好的实施本发明实施例的上述技术方案, 本发明实施例还提供 用于实施上述方案的全局服务器、 媒体流服务器集群实体和多媒体播放系统。 参见图 5、 本发明实施例提供的一种全局服务器 500, 可以包括: 接收保存单元 510, 用于接收来自流媒体服务器集群的携带第一终端的历 史点播节目信息的消息, 保存所述第一终端的历史点播节目信息, 其中, 所述 第一终端的历史点播节目信息包括第一终端历史点播的节目对应的节目标识 和播放断点信息; In order to facilitate the implementation of the above technical solution of the embodiment of the present invention, the embodiment of the present invention further provides a global server, a media stream server cluster entity, and a multimedia playing system for implementing the foregoing solution. Referring to FIG. 5, a global server 500 according to an embodiment of the present invention may include: a receiving and holding unit 510, configured to receive a message from a streaming media server cluster that carries historical on-demand program information of the first terminal, and save the first The historical on-demand program information of the terminal, where the historical on-demand program information of the first terminal includes a program identifier corresponding to the program of the first terminal history on-demand and playback breakpoint information;
第二接收单元 520, 用于接收门户服务器发送的请求获取节目信息的第一 消息, 所述第一消息携带第二终端的标识;  The second receiving unit 520 is configured to receive a first message that is sent by the portal server to request to obtain program information, where the first message carries an identifier of the second terminal;
查找单元 530, 用于根据所述第二终端的标识, 查找出所述第二终端所属 用户的用户标识所关联的至少一个终端的历史点播节目信息, 其中, 所述第一 终端和第二终端归属于同一用户,所述至少一个终端的历史点播节目信息中包 括第一终端的历史点播节目信息;  The searching unit 530 is configured to search, according to the identifier of the second terminal, historical on-demand program information of at least one terminal associated with the user identifier of the user to which the second terminal belongs, where the first terminal and the second terminal Attributed to the same user, the historical on-demand program information of the at least one terminal includes historical on-demand program information of the first terminal;
发送单元 540, 用于向所述门户服务器发送第二消息, 所述第二消息携带 所述查找单元 530查找出的所述至少一个终端的历史点播节目信息, 以便于所 述第二终端根据所述至少一个终端的历史点播节目信息中的第一终端的历史 点播节目信息, 断点续播所述第一终端历史点播的节目。  The sending unit 540 is configured to send a second message to the portal server, where the second message carries the historical on-demand program information of the at least one terminal that is searched by the searching unit 530, so that the second terminal is configured according to the The historical on-demand program information of the first terminal in the historical on-demand program information of the at least one terminal, and the program of the first terminal history on-demand is resumed at the breakpoint.
在一种应用场景下, 第一终端和第二终端为相同或不同类型的终端, 例如 为数字电视终端、 移动终端或互联网终端; 第二终端为数字电视终端、 移动终 端或互联网终端。  In an application scenario, the first terminal and the second terminal are the same or different types of terminals, such as a digital television terminal, a mobile terminal, or an Internet terminal; and the second terminal is a digital television terminal, a mobile terminal, or an Internet terminal.
在一种应用场景下, 查找单元 530可以包括:  In an application scenario, the searching unit 530 can include:
第一查找子单元(未图示), 用于根据所述第二终端的标识查找出所述第 二终端所属用户的用户标识;  a first locating unit (not shown), configured to find, according to the identifier of the second terminal, a user identifier of a user to which the second terminal belongs;
第二查找子单元(未图示), 用于根据所述用户标识, 在历史点播节目信 息表中查找出所述用户标识所关联的至少一个终端的历史点播节目信息, 其 中, 所述历史点播节目信息表的记录包括: 用于记录节目标识的字段、 用于节 目的播放断点信息的字段, 以及用于记录点播该节目的终端的标识的字段。  a second search subunit (not shown), configured to search, according to the user identifier, historical on-demand program information of at least one terminal associated with the user identifier in a historical on-demand program information table, where the historical on-demand broadcast The record of the program information table includes: a field for recording the program identification, a field for playing the breakpoint information of the program, and a field for recording the identification of the terminal on which the program is called.
可以理解, 本实施例的全局服务器 500可以是如上述方法实施例中的全局 服务器, 其可以用于协助实现方法实施例中的全部技术方案, 其各个功能模块 的功能可以根据上述方法实施例中的方法具体实现 ,其具体实现过程可参照上 述实施例中的相关描述, 此处不再赘述。 由上可见, 本实施例中由全局服务器 500保存维护流媒体服务器集群上报 的终端的历史点播节目信息,当接收到门户服务器发送的请求获取节目信息的 消息, 且该携带第二终端的标识时, 全局服务器根据第二终端的标识, 查找出 第二终端所属用户的用户标识所关联的至少一个终端的历史点播节目信息,并 反馈给门户服务器,使得第二终端能够根据上述至少一个终端的历史点播节目 信息中某一终端的历史点播节目信息, 断点续播该终端历史点播的节目,该机 制能够用于在归属于同一用户的不同终端之间实现音 /视频节目的断点续播。 It can be understood that the global server 500 in this embodiment may be a global server in the foregoing method embodiment, which may be used to assist in implementing all the technical solutions in the method embodiments, and the functions of the respective functional modules may be in accordance with the foregoing method embodiments. The specific implementation of the method may be referred to the related description in the foregoing embodiments, and details are not described herein again. It can be seen from the above that in the embodiment, the global server 500 saves the historical on-demand program information of the terminal that is reported by the maintenance of the streaming media server cluster, and when receiving the message requested by the portal server to obtain the program information, and the identifier of the second terminal is carried The global server searches for the historical on-demand program information of the at least one terminal associated with the user identifier of the user to which the second terminal belongs according to the identifier of the second terminal, and feeds back to the portal server, so that the second terminal can be based on the history of the at least one terminal. The historical on-demand program information of a terminal in the on-demand program information is resumed by the point-of-sale program of the terminal, and the mechanism can be used to implement the breakpoint playback of the audio/video program between different terminals belonging to the same user.
参见图 6, 本发明实施例提供的一种流媒体服务器集群实体 600, 可包括: 第三接收模块 610, 用于接收来自第一终端的节目点播请求, 其中, 所述 节目点播请求携带请求点播的节目对应的节目标识;  Referring to FIG. 6, a streaming media server cluster entity 600 according to an embodiment of the present invention may include: a third receiving module 610, configured to receive a program-on-demand request from a first terminal, where the program-on-demand request carries a request-on-demand Program identification corresponding to the program;
媒体流推送模块 620, 用于向所述第一终端推送所述节目标识所对应节目 的媒体流;  a media stream pushing module 620, configured to push, to the first terminal, a media stream of a program corresponding to the program identifier;
播放停止记录单元 630, 用于若接收到来自第一终端的携带所述节目标识 的节目停播请求,则通知流媒体服务器停止向所述第一终端推送所述节目的媒 体流, 并记录所述节目的播放断点信息;  a play stop recording unit 630, configured to notify the streaming media server to stop pushing the media stream of the program to the first terminal, if the program stop request for carrying the program identifier from the first terminal is received, and record the The playback breakpoint information of the program;
第二发送单元 640, 用于向全局服务器发送携带第一终端的历史点播节目 信息的消息,所述第一终端的历史点播节目信息包括所述节目对应的节目标识 和播放断点信息。  The second sending unit 640 is configured to send, to the global server, a message that carries the historical on-demand program information of the first terminal, where the historical on-demand program information of the first terminal includes the program identifier and the playback breakpoint information corresponding to the program.
在一种应用场景下, 若第三接收模块 610接收的节目点播请求还携带请求 点播的节目的播放断点信息, 媒体流推送模块 620可具体用于向第一终端推送 所述节目标识所对应节目的起始于所述播放断点的媒体流。  In an application scenario, if the program-on-demand request received by the third receiving module 610 further carries the playback breakpoint information of the program that is requested to be on-demand, the media stream pushing module 620 may be specifically configured to push the program identifier to the first terminal. The media stream of the program originating from the playback breakpoint.
可以理解, 本实施例的流媒体服务器集群实体 600可以是如上述方法实施 例中的流媒体服务器集群, 其可以用于协助实现方法实施例中的全部技术方 案, 其各个功能模块的功能可以根据上述方法实施例中的方法具体实现,其具 体实现过程可参照上述实施例中的相关描述, 此处不再赘述。  It can be understood that the streaming media server clustering entity 600 of this embodiment may be a streaming media server cluster in the foregoing method embodiment, which may be used to assist in implementing all the technical solutions in the method embodiments, and the functions of the respective functional modules may be The method in the foregoing method embodiment is specifically implemented. For the specific implementation process, refer to the related description in the foregoing embodiment, and details are not described herein again.
由上可见, 本实施例中流媒体服务器集群实体 700在终端停止播放某节目 时,记录该节目的播放断点信息; 并向全局服务器上报的终端的历史点播节目 信息, 其中包括节目对应的节目标识和播放断点信息, 而全局服务器可保存维 护流媒体服务器集群上报的终端的历史点播节目信息,使得其它终端可从全局 服务器获得某终端的历史点播节目信息,并据此断点续播该终端历史点播的节 目, 该机制能够用于在归属于同一用户的不同终端之间实现音 /视频节目的断 点续播。 It can be seen that, in this embodiment, the streaming media server cluster entity 700 records the playback breakpoint information of the program when the terminal stops playing a certain program; and displays the program information of the terminal of the terminal reported to the global server, including the program identifier corresponding to the program. And playing the breakpoint information, and the global server can save the historical on-demand program information of the terminal reported by the maintenance streaming media server cluster, so that other terminals can be globally The server obtains the historical on-demand program information of a certain terminal, and resumes broadcasting the program of the historical on-demand of the terminal according to the breakpoint. The mechanism can be used to implement the breakpoint playback of the audio/video program between different terminals belonging to the same user.
参见图 7, 本发明实施例提供的一种流媒体服务系统, 可以包括: 流媒体 服务器集群 710和全局服务器 720。 其中:  Referring to FIG. 7, a streaming media service system according to an embodiment of the present invention may include: a streaming media server cluster 710 and a global server 720. among them:
流媒体服务器集群 710, 用于接收来自第一终端的节目点播请求, 所述节 目点播请求携带请求点播的节目对应的节目标识;向所述第一终端推送所述节 目标识所对应节目的媒体流;若接收到来自第一终端的携带所述节目标识的节 目停播请求, 则通知流媒体服务器停止向所述第一终端推送所述节目的媒体 流, 并记录所述节目的播放断点信息; 向全局服务器 720发送携带第一终端的 历史点播节目信息的消息,所述第一终端的历史点播节目信息包括所述节目对 应的节目标识和播放断点信息;  a streaming server cluster 710, configured to receive a program-on-demand request from the first terminal, where the program-on-demand request carries a program identifier corresponding to the program requested to be on-demand; and push the media stream of the program corresponding to the program identifier to the first terminal Receiving a program stop request from the first terminal carrying the program identifier, notifying the streaming server to stop pushing the media stream of the program to the first terminal, and recording the playback breakpoint information of the program Sending a message carrying the historical on-demand program information of the first terminal to the global server 720, where the historical on-demand program information of the first terminal includes the program identifier and the playback breakpoint information corresponding to the program;
全局服务器 720,用于接收来自流媒体服务器集群 710的携带第一终端的历 史点播节目信息的消息, 保存所述第一终端的历史点播节目信息, 其中, 所述 第一终端的历史点播节目信息包括第一终端历史点播的节目对应的节目标识 和播放断点信息;接收门户服务器发送的请求获取节目信息的第一消息, 所述 第一消息携带第二终端的标识; 根据所述第二终端的标识, 查找出所述第二终 端所属用户的用户标识所关联的至少一个终端的历史点播节目信息, 其中, 所 述第一终端和第二终端归属于同一用户,所述至少一个终端的历史点播节目信 息中包括第一终端的历史点播节目信息; 向所述门户服务器发送第二消息, 所 述第二消息携带查找出的所述至少一个终端的历史点播节目信息,以便于所述 第二终端根据所述至少一个终端的历史点播节目信息中的第一终端的历史点 播节目信息, 断点续播所述第一终端历史点播的节目。  The global server 720 is configured to receive a message from the streaming media server cluster 710 that carries the historical on-demand program information of the first terminal, and save the historical on-demand program information of the first terminal, where the first terminal's historical on-demand program information And the first message of the second terminal is received by the first terminal, and the second message is sent by the second terminal. An identifier of the at least one terminal that is associated with the user identifier of the user to which the second terminal belongs, wherein the first terminal and the second terminal belong to the same user, and the history of the at least one terminal The on-demand program information includes historical on-demand program information of the first terminal; and the second message is sent to the portal server, where the second message carries the found historical on-demand program information of the at least one terminal, so as to facilitate the second The terminal according to the historical on-demand program information of the at least one terminal The first terminal historically broadcasts the program information, and the breakpoint continues to broadcast the first terminal historical on-demand program.
在一种应用场景下, 流媒体服务器集群 710接收的节目点播请求还携带请 求点播的节目的播放断点信息, 流媒体服务器 710可向所述第一终端推送所述 节目标识所对应节目的起始于所述播放断点的媒体流。  In an application scenario, the program-on-demand request received by the streaming server cluster 710 further carries the playback breakpoint information of the program requested for the on-demand, and the streaming server 710 can push the program corresponding to the program identifier to the first terminal. A media stream starting at the playback breakpoint.
可以理解,本实施例的流媒体服务系统的各个实体可以是如上述方法实施 例中的对应实体,其可以用于实现方法实施例中的全部技术方案, 其各个功能 模块的功能可以根据上述方法实施例中的方法具体实现,其具体实现过程可参 照上述实施例中的相关描述, 此处不再赘述。 It can be understood that the respective entities of the streaming media service system in this embodiment may be corresponding entities in the foregoing method embodiments, which may be used to implement all the technical solutions in the method embodiments, and the functions of the respective functional modules may be according to the foregoing methods. The method in the embodiment is embodied, and the specific implementation process can be implemented. According to the related description in the above embodiments, details are not described herein again.
综上, 本发明实施例中, 流媒体服务器集群在终端停止播放某节目时, 记 录该节目的播放断点信息并上报给全局服务器,由全局服务器保存维护流媒体 服务器集群上报的终端的历史点播节目信息,当接收到门户服务器发送的请求 获取节目信息的消息,且该携带第二终端的标识时,全局服务器根据第二终端 的标识,查找出第二终端所属用户的用户标识所关联的至少一个终端的历史点 播节目信息, 并反馈给门户服务器,使得第二终端能够根据上述至少一个终端 的历史点播节目信息中某一终端的历史点播节目信息,断点续播该终端历史点 播的节目, 该机制能够用于在归属于同一用户的不同终端之间实现音 /视频节 目的断点续播。  In summary, in the embodiment of the present invention, when the terminal stops playing a certain program, the streaming media server cluster records the playback breakpoint information of the program and reports it to the global server, and the global server saves the historical on-demand broadcast of the terminal reported by the maintenance streaming media server cluster. The program information, when receiving the message sent by the portal server to obtain the program information, and the identifier of the second terminal is carried, the global server searches for the at least the user identifier of the user to which the second terminal belongs according to the identifier of the second terminal. The history information of a terminal is on-demand, and is fed back to the portal server, so that the second terminal can continue to broadcast the program of the historical on-demand of the terminal according to the historical on-demand program information of a certain terminal in the historical on-demand program information of the at least one terminal. This mechanism can be used to implement breakpoint playback of audio/video programs between different terminals belonging to the same user.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步 骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读 存储介质中, 存储介质可以包括: 只读存储器、 随机存储器、 磁盘或光盘等。  A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be completed by a program instructing related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: Read-only memory, random access memory, disk or optical disk, etc.
以上对本发明实施例所提供的实现多终端断点续播节目的方法和装置及 了阐述, 以上实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同 时, 对于本领域的一般技术人员, 依据本发明的思想, 在具体实施方式及应用 范围上均会有改变之处, 综上, 本说明书内容不应理解为对本发明的限制。  The method and apparatus for implementing a multi-terminal breakpoint continuous broadcast program provided by the embodiments of the present invention are described above. The description of the above embodiments is only for helping to understand the method and core ideas of the present invention; The present invention is not limited by the scope of the present invention, and the details of the present invention are not limited by the scope of the present invention.

Claims

权 利 要 求 Rights request
1、 一种实现多终端断点续播节目的方法, 其特征在于, 包括:  A method for implementing a multi-terminal breakpoint continuous broadcast program, characterized in that:
全局服务器接收来自流媒体服务器集群的携带第一终端的历史点播节目 信息的消息, 保存所述第一终端的历史点播节目信息, 其中, 所述第一终端的 历史点播节目信息包括第一终端历史点播的节目对应的节目标识和播放断点 信息;  The global server receives the message of the historical on-demand program information of the first terminal from the cluster of the streaming media server, and stores the historical on-demand program information of the first terminal, where the historical on-demand program information of the first terminal includes the first terminal history. Program identification and playback breakpoint information corresponding to the on-demand program;
接收门户服务器发送的请求获取节目信息的第一消息,所述第一消息携带 第二终端的标识;  Receiving, by the portal server, a first message requesting to acquire program information, where the first message carries an identifier of the second terminal;
根据所述第二终端的标识,查找出所述第二终端所属用户的用户标识所关 联的至少一个终端的历史点播节目信息, 其中, 所述第一终端和第二终端归属 于同一用户,所述至少一个终端的历史点播节目信息中包括第一终端的历史点 播节目信息;  And searching, according to the identifier of the second terminal, the historical on-demand program information of the at least one terminal that is associated with the user identifier of the user to which the second terminal belongs, where the first terminal and the second terminal belong to the same user. The historical on-demand program information of the at least one terminal includes historical on-demand program information of the first terminal;
向所述门户服务器发送第二消息,所述第二消息携带查找出的所述至少一 个终端的历史点播节目信息,以使所述第二终端根据所述至少一个终端的历史 点播节目信息中的第一终端的历史点播节目信息,断点续播所述第一终端历史 点播的节目。  Sending, to the portal server, a second message, where the second message carries the historical on-demand program information of the at least one terminal that is found, so that the second terminal is in accordance with historical on-demand program information of the at least one terminal. The historical information of the first terminal is on-demand, and the program of the first terminal history on demand is resumed at a breakpoint.
2、 根据权利要求 1所述的方法, 其特征在于, 所述根据所述第二终端的标 识,查找出所述第二终端所属用户的用户标识所关联的至少一个终端的历史点 播节目信息包括:  The method according to claim 1, wherein the determining, according to the identifier of the second terminal, the historical on-demand program information of the at least one terminal associated with the user identifier of the user to which the second terminal belongs includes: :
根据所述第二终端的标识查找出所述第二终端所属用户的用户标识; 根据所述用户标识,在历史点播节目信息表中查找出所述用户标识所关联 的至少一个终端的历史点播节目信息, 其中, 所述历史点播节目信息表的记录 包括: 用于记录节目标识的字段、 用于节目的播放断点信息的字段, 以及用于 记录点播该节目的终端的标识的字段。  Searching, according to the identifier of the second terminal, a user identifier of the user to which the second terminal belongs; and searching, according to the user identifier, a historical on-demand program of at least one terminal associated with the user identifier in the historical on-demand program information table. Information, wherein the record of the historical on-demand program information table includes: a field for recording a program identification, a field for playing breakpoint information of the program, and a field for recording an identifier of the terminal on which the program is called.
3、 根据权利要求 1或 2所述的方法, 其特征在于,  3. A method according to claim 1 or 2, characterized in that
所述第一终端为数字电视终端、 移动终端、 或互联网终端;  The first terminal is a digital television terminal, a mobile terminal, or an internet terminal;
所述第二终端为数字电视终端、 移动终端、 或互联网终端。  The second terminal is a digital television terminal, a mobile terminal, or an internet terminal.
4、 一种实现多终端断点续播节目的方法, 其特征在于, 包括:  4. A method for implementing a multi-terminal breakpoint continuous broadcast program, characterized in that:
流媒体服务器集群接收来自第一终端的节目点播请求,其中, 所述节目点 播请求携带请求点播的节目对应的节目标识; The streaming media server cluster receives a program on demand request from the first terminal, wherein the program point The broadcast request carries the program identifier corresponding to the program requested for on-demand;
向所述第一终端推送所述节目标识所对应节目的媒体流;  Pushing, to the first terminal, a media stream of a program corresponding to the program identifier;
若接收到来自第一终端的携带所述节目标识的节目停播请求,则通知流媒 体服务器停止向所述第一终端推送所述节目的媒体流,并记录所述节目的播放 断点信息;  Receiving, by the first terminal, a program stop request carrying the program identifier, stopping the streaming media server to stop pushing the media stream of the program to the first terminal, and recording playback breakpoint information of the program;
向全局服务器发送携带第一终端的历史点播节目信息的消息,所述第一终 端的历史点播节目信息包括所述节目对应的节目标识和播放断点信息。  The message carrying the historical on-demand program information of the first terminal is sent to the global server, and the historical on-demand program information of the first terminal includes the program identifier and the playback breakpoint information corresponding to the program.
5、 根据权利要求 4所述的方法, 其特征在于, 所述节目点播请求还携带请 求点播的节目的播放断点信息;所述向所述第一终端推送所述节目标识所对应 节目的媒体流包括: 媒体流。  The method according to claim 4, wherein the program on demand request further carries playback breakpoint information of a program requested to be on-demand; and the medium for pushing the program corresponding to the program identifier to the first terminal Streams include: Media streams.
6、 一种全局服务器, 其特征在于, 包括:  6. A global server, comprising:
接收保存单元,用于接收来自流媒体服务器集群的携带第一终端的历史点 播节目信息的消息, 保存所述第一终端的历史点播节目信息, 其中, 所述第一 终端的历史点播节目信息包括第一终端历史点播的节目对应的节目标识和播 放断点信息;  a receiving and holding unit, configured to receive a message from the streaming media server cluster that carries the historical on-demand program information of the first terminal, and save the historical on-demand program information of the first terminal, where the historical on-demand program information of the first terminal includes The program identification and the playback breakpoint information corresponding to the program of the first terminal history on demand;
第二接收单元, 用于接收门户服务器发送的请求获取节目信息的第一消 息, 所述第一消息携带第二终端的标识;  a second receiving unit, configured to receive a first message that is sent by the portal server to request to obtain program information, where the first message carries an identifier of the second terminal;
查找单元, 用于根据所述第二终端的标识, 查找出所述第二终端所属用户 的用户标识所关联的至少一个终端的历史点播节目信息, 其中, 所述第一终端 和第二终端归属于同一用户,所述至少一个终端的历史点播节目信息中包括第 一终端的历史点播节目信息;  a search unit, configured to search for historical on-demand program information of at least one terminal associated with the user identifier of the user to which the second terminal belongs, according to the identifier of the second terminal, where the first terminal and the second terminal belong to In the same user, the historical on-demand program information of the at least one terminal includes historical on-demand program information of the first terminal;
发送单元, 用于向所述门户服务器发送第二消息, 所述第二消息携带所述 查找单元查找出的所述至少一个终端的历史点播节目信息,以使所述第二终端 根据所述至少一个终端的历史点播节目信息中的第一终端的历史点播节目信 息, 断点续播所述第一终端历史点播的节目。  a sending unit, configured to send a second message to the portal server, where the second message carries historical on-demand program information of the at least one terminal that is searched by the searching unit, so that the second terminal is configured according to the at least one The historical on-demand program information of the first terminal in the historical on-demand program information of one terminal, and the program of the first terminal history on demand is resumed at the breakpoint.
7、 根据权利要求 6所述的全局服务器, 其特征在于, 所述查找单元包括: 第一查找子单元,用于根据所述第二终端的标识查找出所述第二终端所属 用户的用户标识; The global server according to claim 6, wherein the searching unit comprises: a first searching subunit, configured to find out, according to the identifier of the second terminal, the second terminal belongs to User's user ID;
第二查找子单元, 用于根据所述用户标识,在历史点播节目信息表中查找 出所述用户标识所关联的至少一个终端的历史点播节目信息, 其中, 所述历史 点播节目信息表的记录包括: 用于记录节目标识的字段、用于节目的播放断点 信息的字段, 以及用于记录点播该节目的终端的标识的字段。  a second search subunit, configured to search, according to the user identifier, historical on-demand program information of at least one terminal associated with the user identifier in a historical on-demand program information table, where the record of the historical on-demand program information table The method includes: a field for recording a program identification, a field for playing breakpoint information of the program, and a field for recording an identifier of the terminal on which the program is called.
8、 一种流媒体服务器集群实体, 其特征在于, 包括:  8. A streaming media server cluster entity, comprising:
第三接收模块, 用于接收来自第一终端的节目点播请求, 其中, 所述节目 点播请求携带请求点播的节目对应的节目标识;  a third receiving module, configured to receive a program-on-demand request from the first terminal, where the program-on-demand request carries a program identifier corresponding to the program requested for on-demand;
媒体流推送模块,用于向所述第一终端推送所述节目标识所对应节目的媒 体流;  a media stream pushing module, configured to push, to the first terminal, a media stream of a program corresponding to the program identifier;
播放停止记录单元,用于若接收到来自第一终端的携带所述节目标识的节 目停播请求, 则通知流媒体服务器停止向所述第一终端推送所述节目的媒体 流, 并记录所述节目的播放断点信息;  a play stop recording unit, configured to notify the streaming media server to stop pushing the media stream of the program to the first terminal, if the program stop request for carrying the program identifier from the first terminal is received, and record the Playback breakpoint information of the program;
第二发送单元,用于向全局服务器发送携带第一终端的历史点播节目信息 的消息,所述第一终端的历史点播节目信息包括所述节目对应的节目标识和播 放断点信息。  And a second sending unit, configured to send a message carrying the historical on-demand program information of the first terminal to the global server, where the historical on-demand program information of the first terminal includes the program identifier and the play breakpoint information corresponding to the program.
9、 根据权利要求 8所述的流媒体服务器集群实体, 其特征在于, 若第三接收模块接收的节目点播请求还携带请求点播的节目的播放断点 信息, 所述媒体流推送模块具体用于, 向所述第一终端推送所述节目标识所对 应节目的起始于所述播放断点的媒体流。  The streaming media server clustering entity according to claim 8, wherein if the program-on-demand request received by the third receiving module further carries the playback breakpoint information of the program requested for the on-demand, the media stream pushing module is specifically used to And pushing, to the first terminal, a media stream starting from the playback breakpoint of the program corresponding to the program identifier.
10、 一种流媒体服务系统, 其特征在于, 包括:  10. A streaming media service system, comprising:
流媒体服务器集群, 用于接收来自第一终端的节目点播请求, 所述节目点 播请求携带请求点播的节目对应的节目标识;向所述第一终端推送所述节目标 识所对应节目的媒体流;若接收到来自第一终端的携带所述节目标识的节目停 播请求, 则通知流媒体服务器停止向所述第一终端推送所述节目的媒体流, 并 记录所述节目的播放断点信息;向全局服务器发送携带第一终端的历史点播节 目信息的消息,所述第一终端的历史点播节目信息包括所述节目对应的节目标 识和播放断点信息;  a streaming media server cluster, configured to receive a program-on-demand request from the first terminal, where the program-on-demand request carries a program identifier corresponding to the program requested to be on-demand; and push the media stream of the program corresponding to the program identifier to the first terminal; Receiving, by the first terminal, a program stop request carrying the program identifier, stopping the streaming media server to stop pushing the media stream of the program to the first terminal, and recording playback breakpoint information of the program; Sending, by the global server, a message carrying the historical on-demand program information of the first terminal, where the historical on-demand program information of the first terminal includes the program identifier and the playback breakpoint information corresponding to the program;
全局服务器,用于接收来自流媒体服务器集群的携带第一终端的历史点播 节目信息的消息, 保存所述第一终端的历史点播节目信息, 其中, 所述第一终 端的历史点播节目信息包括第一终端历史点播的节目对应的节目标识和播放 断点信息;接收门户服务器发送的请求获取节目信息的第一消息, 所述第一消 息携带第二终端的标识; 根据所述第二终端的标识, 查找出所述第二终端所属 用户的用户标识所关联的至少一个终端的历史点播节目信息, 其中, 所述第一 终端和第二终端归属于同一用户,所述至少一个终端的历史点播节目信息中包 括第一终端的历史点播节目信息; 向所述门户服务器发送第二消息, 所述第二 消息携带查找出的所述至少一个终端的历史点播节目信息,以使所述第二终端 根据所述至少一个终端的历史点播节目信息中的第一终端的历史点播节目信 息, 断点续播所述第一终端历史点播的节目。 a global server for receiving historical on-demand broadcasts from the streaming media server cluster carrying the first terminal a message of the program information, the historical on-demand program information of the first terminal is saved, where the historical on-demand program information of the first terminal includes a program identifier corresponding to a program of the first terminal history on-demand and a playback breakpoint information; Sending a request to obtain a first message of the program information, the first message carrying an identifier of the second terminal; searching, according to the identifier of the second terminal, at least one terminal associated with the user identifier of the user to which the second terminal belongs Historical on-demand program information, wherein the first terminal and the second terminal belong to the same user, the historical on-demand program information of the at least one terminal includes historical on-demand program information of the first terminal; and the first terminal is sent to the portal server And a second message, where the second message carries the historical on-demand program information of the at least one terminal that is found, so that the second terminal according to the historical on-demand program of the first terminal in the historical on-demand program information of the at least one terminal The information, the breakpoint continues to broadcast the first terminal historical on-demand program.
11、 根据权利要求 10所述的流媒体服务系统, 其特征在于, 所述流媒体服 务器集群接收的节目点播请求还携带请求点播的节目的播放断点信息;所述流 媒体服务器向所述第一终端推送所述节目标识所对应节目的媒体流具体为:流 媒体服务器向所述第一终端推送所述节目标识所对应节目的起始于所述播放 断点的媒体流。  The streaming media service system according to claim 10, wherein the program on demand request received by the streaming media server cluster further carries playback breakpoint information of a program requested to be on-demand; The media stream that is sent by the terminal to the program corresponding to the program identifier is specifically: the streaming media server pushes, to the first terminal, a media stream starting from the playback breakpoint of the program corresponding to the program identifier.
PCT/CN2011/070990 2010-09-17 2011-02-15 Method, device and system for realizing breakpoint continuous playing of program among multi-terminal WO2012034373A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010287685.4 2010-09-17
CN 201010287685 CN101964787B (en) 2010-09-17 2010-09-17 Method, device and system for implementation of multiple-terminal breakpoint broadcast of programs

Publications (1)

Publication Number Publication Date
WO2012034373A1 true WO2012034373A1 (en) 2012-03-22

Family

ID=43517520

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/070990 WO2012034373A1 (en) 2010-09-17 2011-02-15 Method, device and system for realizing breakpoint continuous playing of program among multi-terminal

Country Status (2)

Country Link
CN (1) CN101964787B (en)
WO (1) WO2012034373A1 (en)

Families Citing this family (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101964787B (en) * 2010-09-17 2013-07-10 深圳市同洲电子股份有限公司 Method, device and system for implementation of multiple-terminal breakpoint broadcast of programs
US8750677B2 (en) * 2011-08-23 2014-06-10 Microsoft Corporation Method for transferring media playback from a different device
CN102523529B (en) * 2011-12-08 2015-05-20 中国联合网络通信集团有限公司 Method for continuously playing videos of multi-terminal equipment and video server
CN103164419B (en) * 2011-12-12 2016-12-28 联想(北京)有限公司 File content output method and electronic equipment
CN102567538A (en) * 2011-12-31 2012-07-11 上海聚力传媒技术有限公司 Method and equipment used for providing object visiting information corresponding to vision operation of user
CN103295609B (en) * 2012-02-22 2018-01-12 腾讯科技(深圳)有限公司 Video broadcasting method, equipment and system
CN102724196A (en) * 2012-06-21 2012-10-10 中兴通讯股份有限公司 Method and device for playing media resource data
CN102932367A (en) * 2012-11-15 2013-02-13 北京奇虎科技有限公司 Terminal equipment, system and method for implementing switching of application program
CN104023252B (en) * 2013-03-01 2017-08-25 中兴通讯股份有限公司 OTT internet television usage record sharing methods and system
CN104080009B (en) * 2013-03-27 2017-12-12 腾讯科技(深圳)有限公司 A kind of method and system of multiple terminals break-point continuous playing
US9633020B2 (en) 2013-05-27 2017-04-25 Tencent Technology (Shenzhen) Company Limited Method and device for playing media synchronously
CN104185039B (en) * 2013-05-27 2019-07-02 腾讯科技(深圳)有限公司 The method and apparatus that audio-visual synchronization plays
CN103327419A (en) * 2013-07-05 2013-09-25 贝壳网际(北京)安全技术有限公司 Method and system for realizing continuous playing after multimedia interruption
TW201514887A (en) * 2013-10-15 2015-04-16 Utechzone Co Ltd Playing system and method of image information
CN103648014A (en) * 2013-11-15 2014-03-19 乐视致新电子科技(天津)有限公司 Method and apparatus for pushing resource to mobile communication terminal by intelligent television
CN103596017B (en) * 2013-11-28 2017-02-15 小米科技有限责任公司 Video downloading method and system
CN103729408A (en) * 2013-12-09 2014-04-16 乐视网信息技术(北京)股份有限公司 Method for transmitting multimedia file and electronic device
CN103686240B (en) * 2013-12-16 2017-06-13 深圳创维数字技术有限公司 A kind of method and system of recommendation program
CN105052165B (en) * 2013-12-19 2019-05-24 华为技术有限公司 Method for processing business, device and system
CN104284255A (en) * 2014-03-26 2015-01-14 深圳深讯和科技有限公司 Method and system for controlling playing of streaming media
CN104301781B (en) * 2014-09-28 2018-04-06 四川长虹电器股份有限公司 The method that mobile terminal controls TV break-point continuous playing
CN104735483A (en) * 2014-11-18 2015-06-24 深圳市同洲电子股份有限公司 Continued broadcast method and system for DVB live program
CN105812957A (en) * 2014-12-29 2016-07-27 中国移动通信集团公司 Continuous playing method and device for multimedia file
CN105049903A (en) * 2015-07-03 2015-11-11 浪潮软件集团有限公司 Method and system for cross-device synchronization of media files and media playing device
CN106878763A (en) * 2015-12-14 2017-06-20 北京奇虎科技有限公司 A kind of method for realizing terminal device switching, device, server and system
CN105872851A (en) * 2015-12-15 2016-08-17 乐视网信息技术(北京)股份有限公司 Method and device for controlling video playing
CN107801058A (en) * 2016-09-05 2018-03-13 中兴通讯股份有限公司 The management method of video management information, apparatus and system
CN108810052B (en) * 2017-05-03 2020-09-04 华为技术有限公司 Live broadcast server selection method and device
CN109495789B (en) * 2017-09-13 2022-02-25 华为技术有限公司 Media file playing method, equipment and communication system
CN108282673B (en) * 2018-01-29 2021-02-23 阿里巴巴(中国)有限公司 Updating method of playing record, server and client
CN109948057B (en) * 2019-03-21 2022-03-01 北京地平线机器人技术研发有限公司 Interested content pushing method and device, electronic equipment and medium
CN111523920B (en) * 2019-04-04 2024-02-23 维肯智能(深圳)有限公司 Information pushing method and device and terminal equipment
CN110392097B (en) * 2019-06-27 2022-05-10 乐安县云智易联科技有限公司 Breakpoint continuous listening method, device and system for vehicle-mounted radio
CN113518247B (en) * 2021-05-27 2023-06-02 北京奇艺世纪科技有限公司 Video playing method, related equipment and computer readable storage medium
CN113949739B (en) * 2021-09-29 2024-01-23 青岛海尔科技有限公司 Cross-device playing method and device, electronic device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004336310A (en) * 2003-05-06 2004-11-25 Nippon Telegr & Teleph Corp <Ntt> Method, system and controller for continuing viewing and listening and terminal device
CN1859562A (en) * 2006-03-13 2006-11-08 华为技术有限公司 Video ordered telecasting method, system, server and terminal
CN101489114A (en) * 2009-01-14 2009-07-22 深圳市同洲电子股份有限公司 Request program playing method, system and request program sending server
CN101741841A (en) * 2009-12-10 2010-06-16 青岛海信宽带多媒体技术有限公司 Method and device for realizing breakpoint continued playing among multimedia devices
CN101764995A (en) * 2010-01-29 2010-06-30 四川长虹电器股份有限公司 Digital TV broadband VOD (video-on-demand) system
CN201585041U (en) * 2009-12-23 2010-09-15 深圳市同洲电子股份有限公司 Digital television receiving terminal
CN101964787A (en) * 2010-09-17 2011-02-02 深圳市同洲电子股份有限公司 Method, device and system for implementation of multiple-terminal breakpoint broadcast of programs

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101351027A (en) * 2007-07-19 2009-01-21 中国移动通信集团公司 Method and system for processing service authentication
US8060525B2 (en) * 2007-12-21 2011-11-15 Napo Enterprises, Llc Method and system for generating media recommendations in a distributed environment based on tagging play history information with location information

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004336310A (en) * 2003-05-06 2004-11-25 Nippon Telegr & Teleph Corp <Ntt> Method, system and controller for continuing viewing and listening and terminal device
CN1859562A (en) * 2006-03-13 2006-11-08 华为技术有限公司 Video ordered telecasting method, system, server and terminal
CN101489114A (en) * 2009-01-14 2009-07-22 深圳市同洲电子股份有限公司 Request program playing method, system and request program sending server
CN101741841A (en) * 2009-12-10 2010-06-16 青岛海信宽带多媒体技术有限公司 Method and device for realizing breakpoint continued playing among multimedia devices
CN201585041U (en) * 2009-12-23 2010-09-15 深圳市同洲电子股份有限公司 Digital television receiving terminal
CN101764995A (en) * 2010-01-29 2010-06-30 四川长虹电器股份有限公司 Digital TV broadband VOD (video-on-demand) system
CN101964787A (en) * 2010-09-17 2011-02-02 深圳市同洲电子股份有限公司 Method, device and system for implementation of multiple-terminal breakpoint broadcast of programs

Also Published As

Publication number Publication date
CN101964787B (en) 2013-07-10
CN101964787A (en) 2011-02-02

Similar Documents

Publication Publication Date Title
WO2012034373A1 (en) Method, device and system for realizing breakpoint continuous playing of program among multi-terminal
US9973812B2 (en) Multi-screen interaction method and system
RU2526744C2 (en) Method for network-wide storage and distribution of data and system for internet protocol television
EP2457349B1 (en) Method and device for a light host management protocol on multicast capable router
WO2012122780A1 (en) Method and system for switching data contents among multiple terminals in real time
US20130219423A1 (en) Algorithmic Media Stream Selection
WO2012122935A1 (en) Method, apparatus and terminal device for internet protocol television content sharing
WO2023115906A1 (en) Video playing method and related device
CN103391277A (en) Media playing method, device and system
CN100596157C (en) Method for realizing stream media switching and stream media server
WO2023061060A1 (en) Audio and video code stream scheduling method, system, medium and electronic apparatus
EP2739076B1 (en) Method, system and device for implementing multicast in shared network
US8325725B2 (en) Efficient host management protocol on multicast capable router
WO2012155679A1 (en) Data processing method and device based on the content delivery network
WO2008141542A1 (en) A method, video device and system for displaying information at the time of switching channels
EP2255471A2 (en) Apparatus and method for providing contents in internet broadcasting system
WO2010025635A1 (en) Method of switching of play, media server, user terminal and system thereof
US10587569B2 (en) Streaming service providing method and device
CN108134965B (en) Method for wireless side group broadcast transmission of order broadcasting service
CN101188740A (en) Multicast method for living broadcast network TV
US11849163B2 (en) Redundant video stream generation
CN102510526A (en) Stream media service system based on distributed cluster file system
CN101521666A (en) Method for direct transmission of content, and associated control device and equipment
CN110704558B (en) Terminal home region acquisition method and device, electronic equipment and storage medium
WO2023246599A1 (en) Service resource delivery method of non-contracted content provider, and video service system

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: 11824444

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16/07/13)

122 Ep: pct application non-entry in european phase

Ref document number: 11824444

Country of ref document: EP

Kind code of ref document: A1