WO2015109842A1 - 一种处理分段节目的方法、服务器及客户端设备 - Google Patents

一种处理分段节目的方法、服务器及客户端设备 Download PDF

Info

Publication number
WO2015109842A1
WO2015109842A1 PCT/CN2014/085129 CN2014085129W WO2015109842A1 WO 2015109842 A1 WO2015109842 A1 WO 2015109842A1 CN 2014085129 W CN2014085129 W CN 2014085129W WO 2015109842 A1 WO2015109842 A1 WO 2015109842A1
Authority
WO
WIPO (PCT)
Prior art keywords
program
server
data stream
segment
segmented
Prior art date
Application number
PCT/CN2014/085129
Other languages
English (en)
French (fr)
Inventor
周美艳
陈光亮
王芳
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015109842A1 publication Critical patent/WO2015109842A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Definitions

  • the present invention relates to the field of streaming media communication, and in particular, to a method, a server and a client device for processing a segmented program in a streaming media system.
  • the segmented program refers to segmenting the program during the production of the program to generate a plurality of segmented programs and segmentation indexes.
  • the segmentation index is first obtained, and then the segmentation index is obtained according to the segmentation index.
  • This method makes it easy to modify and replace the content of the program, and is compatible with the existing Content Delivery Network (CDN) system.
  • CDN Content Delivery Network
  • the distribution process of the related segmentation program is as shown in FIG. 1.
  • the segmentation index is first obtained, then the index information is parsed, and the corresponding segmentation program is obtained according to the index information.
  • the segmentation index and the program are continuously transmitted on the network, especially the bandwidth-limited mobile network, and the entire program is completely distributed.
  • Increasingly large, continuous transmission of segmentation indexes and parsing indexes wastes network bandwidth and increases overall latency, ultimately reducing the speed of program distribution and timeliness. Summary of the invention
  • the technical problem to be solved by the present invention is to provide a method, a server and a client device for processing a segmented program, so as to realize rapid distribution of segmented programs, reduce the time for distributing the entire program, reduce waste of network bandwidth, and improve user experience. quality.
  • the present invention provides a method for processing a segmented program, which is applied to a server, and includes:
  • the server divides the program source into a plurality of segmented programs and segment indexes, and each segment index corresponds to one or more segmented programs;
  • the server receives a distribution program request from a client;
  • the server transmits all segment indexes of the program specified by the distribution program request and corresponding segmentation programs in the form of data streams.
  • the server sends all the segment indexes of the program specified by the distribution program request and the corresponding segmentation program in the form of a data stream, including:
  • the server transmits all segment indexes and corresponding segmentation programs of the entire program or part of the program specified by the distribution program request in the form of data streams.
  • the server is sent in the form of a data stream, including:
  • the server unicasts to the client in the form of a data stream.
  • the server is sent in the form of a data stream, including:
  • the server multicasts all clients in the group in the form of data streams.
  • the server is sent in the form of a data stream, including:
  • the server transmits through a data stream of a real-time transport protocol or a real-time streaming protocol.
  • a server including:
  • a dividing module configured to: divide the program source into a plurality of segmented programs and segment indexes, each segment index corresponding to one or more segment programs;
  • the receiving module is configured to: receive a distribution program request from the client;
  • the sending module is configured to: send all the segment indexes of the program specified by the distribution program request and the corresponding segmentation program in the form of a data stream.
  • the above server further has the following features:
  • the sending module is configured to: send all segment indexes and corresponding segment programs of the entire program or part of the program specified by the distribution program request in a data stream.
  • the above server further has the following features:
  • the sending module is configured to: send in the form of a data stream, including: in the form of a data stream Uniform to the client.
  • the above server further has the following features:
  • the sending module is configured to: send in the form of a data stream, including: multicasting to all clients in the group in the form of a data stream.
  • the above server further has the following features:
  • the sending module is configured to: send in the form of a data stream, including: sending by using a real-time transport protocol or a data stream of a real-time streaming protocol.
  • the present invention also provides a method for processing a segmented program, which is applied to a client, and includes:
  • the client sends a distribution program request to the server;
  • the client After receiving the data stream responded by the server, the client performs restoration according to the segment index and the corresponding segmentation program in the data stream.
  • the foregoing method further has the following feature: the client sends a distribution program request to the server, including:
  • the client sends a request to the server to distribute the entire specified program request or distribute the specified program request;
  • the client performs the restoration according to the segmentation index and the corresponding segmentation program in the data stream, including:
  • the client restores the entire designated program or the partially designated program according to the segmentation index and the corresponding segmentation program in the data stream.
  • the present invention further provides a client device, including: a sending module, configured to: send a distribution program request to a server;
  • the restoration module is configured to: after receiving the data stream sent by the server, perform restoration according to the segmentation index and the corresponding segmentation program in the data stream.
  • the client device further has the following features:
  • the sending module is configured to: send the distributed program request to: distribute the entire specified program request or distribute part of the specified program request;
  • the restoring module is configured to: restore according to the segmentation index and the corresponding segmentation program in the data stream, including: restoring the entire designation according to the segmentation index and the corresponding segmentation program in the data stream The program or the portion of the specified program.
  • the embodiments of the present invention provide a method, a server, and a client device for processing a segmented program, which can implement fast distribution of segmented programs, reduce the time for distributing the entire program, reduce waste of network bandwidth, and improve user experience quality.
  • 1 is a schematic diagram of related art program distribution
  • FIG. 2 is a flowchart of a method for processing a segmented program by a server side according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for processing a segmented program by a client side according to an embodiment of the present invention
  • FIG. 4 is a flowchart of an embodiment of the present invention. Schematic diagram of the RTP message format
  • FIG. 5 is a flowchart of a method for processing a segmented program according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a server according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a client device according to an embodiment of the present invention.
  • Step 11 The server divides a program source into a plurality of segmented programs and segments. Index, each segment index corresponds to one or more segmented programs;
  • Step 12 The server receives a request for distributing a program of the client.
  • Step 13 The server sends all the segment indexes of the program specified by the distribution program request and the corresponding segment programs in the form of data streams.
  • the server side divides the program source into a plurality of segmented programs and segment indexes in advance, each The segmentation index corresponds to one or more segmentation programs, and each segmentation data includes program decoding information and random access unit information, ensuring that each segmentation data can be independently decoded and played, so that the segmented program after the distribution is convenient can be separately Provide other services, such as on-demand.
  • the server end pushes the segment index and the segmentation program of the entire program to the client through the data stream.
  • the RTP Real-Time Transport Protocol
  • the RTP extension header is used to add some identification information, for example, the tag data type is control information (user passes subfile name, playlist length, subfile type, etc.) or a data packet. It can also indicate that the corresponding packet belongs to the first package, the middle package or the tail package of the file, and so on.
  • the server may unicast the entire program or part of the program requested by the client to the requesting client in the form of a data stream, or may multicast to all clients in the group.
  • FIG. 3 is a flowchart of a method for processing a segmented program on a client side according to an embodiment of the present invention. As shown in FIG. 3, the method in this embodiment includes: Step 21: A client sends a request for distributing a program to a server;
  • Step 22 After receiving the data flow of the server response, the client performs restoration according to the segment index and the corresponding segmentation program in the data stream. In this embodiment, after receiving the data, the client restores the segmentation index and the segmentation program according to the identifier agreed with the server.
  • the segmentation program is distributed, which reduces the delay of the network segmentation and the resolution of the segmentation index in the conventional continuous segmentation index acquisition segmentation program, and also increases the utilization rate of the network bandwidth and improves The user experience, and ultimately achieve a rapid distribution effect.
  • the embodiment uses the MPEG-2 (Moving Picture Experts Group-2) TS (Transport Stream) stream file as a data source, and the file name is file.ts.
  • the program source is segmented on the server side to generate multiple Segmented index and segmentation:
  • the file file.ts is divided into multiple pieces of segmented data of 10 seconds in length, and each segmented data is an MPEG-2 TS file, and each piece of segment data is decoded.
  • the units start with an image keyframe.
  • the plurality of segmented TS files thus obtained are named l.ts, 2.ts, 100.ts
  • the unified resource management file index.idx is generated, and the file contains all the segment index file names, from l.index to 100.index.
  • the client obtains program data through RTSP (Real Time Streaming Protocol)/RTP method according to the uniform resource location URL.
  • RTSP Real Time Streaming Protocol
  • FIG. 5 is a flowchart of a method for processing a segmented program according to an embodiment of the present invention.
  • a client requests a server, for example, sends a URL to a server (rts ://i: ort /path/index.m3u8 ) , where specifies the IP and port of the server, and the directory of the server-side segmentation program.
  • the server After receiving the URL, the server uses the traditional streaming technology to continuously read the segmented program, and sends the read segmented program content to the client through the RTP data stream.
  • the structure of the RTP is shown in Figure 4. .
  • the client determines whether it is an index or a data according to the PT (the payload type in the RTP data format, which is 7 bits, which is used to describe the type of payload in the RTP message, such as GSM audio, JPEM image, etc.).
  • the file name so that the segmentation index and the segmentation program are restored on the client side.
  • FIG. 6 is a schematic diagram of a server according to an embodiment of the present invention.
  • the server in this embodiment includes: a dividing module, configured to divide the program source into a plurality of segmented programs and a segment index, each segment index corresponding to one or more segmented programs;
  • a receiving module configured to receive a distribution program request of the client
  • a sending module configured to send all the segment indexes of the program specified by the distribution program request and the corresponding segmentation program in the form of a data stream.
  • the sending module is specifically configured to send all segment indexes and corresponding segment programs of the entire program or part of the program specified by the distribution program request in the form of data streams.
  • the sending, by the sending module, in the form of a data stream may include: unicasting to the client in the form of a data stream or multicasting to all clients in the group.
  • the sending module sending in the form of a data stream, may include: transmitting by using a data stream of a real-time transport protocol or a real-time streaming protocol.
  • FIG. 7 is a schematic diagram of a client device according to an embodiment of the present invention. As shown in FIG. 7, the client device in this embodiment includes:
  • a sending module configured to send a distribution program request to the server
  • a restoration module configured to: after receiving the data stream sent by the server, perform restoration according to the segmentation index and the corresponding segmentation program in the data stream.
  • the sending module, the sent distribution program request may include: distributing the entire specified program request or distributing part of the specified program request;
  • the restoring module may include: restoring the entire designated program according to the segmentation index and the corresponding segmentation program in the data stream The portion specifies a program.
  • An embodiment of the present invention provides a method, a server, and a client device for processing a segmented program, which can implement fast distribution of segmented programs, reduce the time for distributing the entire program, reduce waste of network bandwidth, and improve user experience quality. .

Abstract

一种处理分段节目的方法、服务器及客户端设备,该方法包括:服务器将节目源划分成多个分段节目和分段索引,每个分段索引对应一个或多个分段节目;所述服务器接收客户端的分发节目请求;所述服务器将所述分发节目请求指定的节目的所有分段索引和对应的分段节目,以数据流的形式进行发送。通过本发明实施例还可以实现分段节目快速分发,能够减少整个节目分发的时间,减少对网络带宽的浪费,提高用户体验质量。

Description

一种处理分段节目的方法、 服务器及客户端设备
技术领域
本发明涉及流媒体通讯领域, 尤其涉及一种流媒体系统中处理分段节目 的方法、 服务器及客户端设备。
背景技术
随着通信技术的发展, 多媒体技术的应用越来越广。 分段节目是指在节 目制作时将节目进行分段, 生成多个分段节目和分段索引, 发布时首先获取 分段索引, 然后根据分段索引获取相应分段节目。 这种方式能够方便地对节 目内容进行修改和替换,而且能够兼容现有的内容分发网络( Content Delivery Network, 简称 CDN ) 系统。
相关的分段节目的分发流程如图 1所示, 客户端获取一个分段节目时, 首先获取分段索引,然后解析索引信息,根据索引信息获取相应的分段节目。 但是随着节目源内容的增加会导致分段节目和分段索引的内容增大, 在网络 上, 特别是带宽受限的移动网络上不断地传送分段索引和节目, 整个节目完 全分发的时间越来越大, 不断的传送分段索引和解析索引浪费了网络带宽也 增加了整体时延, 最终降低节目分发的速度, 时效性也不高。 发明内容
本发明要解决的技术问题是提供一种处理分段节目的方法、 服务器及客 户端设备, 以实现分段节目快速分发, 能够减少整个节目分发的时间, 减少 对网络带宽的浪费, 提高用户体验质量。
为了解决上述技术问题, 本发明提供了一种处理分段节目的方法, 应用 于服务器, 包括:
服务器将节目源划分成多个分段节目和分段索引, 每个分段索引对应一 个或多个分段节目;
所述服务器接收客户端的分发节目请求; 所述服务器将所述分发节目请求指定的节目的所有分段索引和对应的分 段节目, 以数据流的形式进行发送。
优选地, 上述方法还具有下面特点: 所述服务器将所述分发节目请求指 定的节目的所有分段索引和对应的分段节目, 以数据流的形式进行发送, 包 括:
所述服务器将所述分发节目请求指定的整个节目或者部分节目的所有分 段索引和对应的分段节目, 以数据流的形式进行发送。
优选地, 上述方法还具有下面特点: 所述服务器以数据流的形式进行发 送包括:
所述服务器以数据流的形式单播给所述客户端。
优选地, 上述方法还具有下面特点: 所述服务器以数据流的形式进行发 送包括:
所述服务器以数据流的形式组播给组内所有的客户端。
优选地, 上述方法还具有下面特点: 所述服务器以数据流的形式进行发 送包括:
所述服务器通过实时传送协议或实时流传输协议的数据流进行发送。 为了解决上述问题, 本发明还提供了一种服务器, 包括:
划分模块, 设置为: 将节目源划分成多个分段节目和分段索引, 每个分 段索引对应一个或多个分段节目;
接收模块, 设置为: 接收客户端的分发节目请求;
发送模块, 设置为: 将所述分发节目请求指定的节目的所有分段索引和 对应的分段节目, 以数据流的形式进行发送。
优选地, 上述服务器还具有下面特点:
所述发送模块, 设置为: 将所述分发节目请求指定的整个节目或者部分 节目的所有分段索引和对应的分段节目, 以数据流的形式进行发送。
优选地, 上述服务器还具有下面特点:
所述发送模块, 设置为: 以数据流的形式进行发送包括: 以数据流的形 式单播给所述客户端。
优选地, 上述服务器还具有下面特点:
所述发送模块, 设置为: 以数据流的形式进行发送包括: 以数据流的形 式组播给组内所有的客户端。
优选地, 上述服务器还具有下面特点:
所述发送模块, 设置为: 以数据流的形式进行发送包括: 通过实时传送 协议或实时流传输协议的数据流进行发送。
为了解决上述问题, 本发明还提供了一种处理分段节目的方法, 应用于 客户端, 包括:
所述客户端向服务器发送分发节目请求;
所述客户端接收到所述服务器响应的数据流后, 根据所述数据流中的分 段索引和对应的分段节目进行还原。
优选地, 上述方法还具有下面特点: 所述客户端向服务器发送分发节目 请求, 包括:
所述客户端向服务器发送分发整个指定节目请求或分发部分指定节目请 求;
所述客户端根据所述数据流中的分段索引和对应的分段节目进行还原, 包括:
所述客户端根据所述数据流中的分段索引和对应的分段节目还原出所述 整个指定节目或所述部分指定节目。
为了解决上述问题, 本发明还提供了一种客户端设备, 其中, 包括: 发送模块, 设置为: 向服务器发送分发节目请求;
还原模块, 设置为: 接收到所述服务器发送的数据流后, 根据所述数据 流中的分段索引和对应的分段节目进行还原。
优选地, 上述客户端设备还具有下面特点:
所述发送模块, 设置为: 发送的分发节目请求包括: 分发整个指定节目 请求或分发部分指定节目请求; 所述还原模块, 设置为: 根据所述数据流中的分段索引和对应的分段节 目进行还原包括: 根据所述数据流中的分段索引和对应的分段节目还原出所 述整个指定节目或所述部分指定节目。
综上, 本发明实施例提供一种处理分段节目的方法、 服务器及客户端设 备, 可以实现分段节目快速分发, 能够减少整个节目分发的时间, 减少对网 络带宽的浪费, 提高用户体验质量。 附图概述
图 1为相关技术节目分发示意图;
图 2为本发明实施例的服务器侧处理分段节目的方法的流程图; 图 3为本发明实施例的客户端侧处理分段节目的方法的流程图; 图 4为本发明涉及的实施例的 RTP消息格式示意图;
图 5为本发明实施例的处理分段节目的方法的流程图;
图 6为本发明实施例的服务器的示意图;
图 7为本发明实施例的客户端设备的示意图。
本发明的较佳实施方式
下文中将结合附图对本发明的实施例进行详细说明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互任意组合。
图 2为本发明实施例的服务器侧处理分段节目的方法的流程图, 如图 2 所示, 本实施例的方法包括: 步骤 11、 服务器将节目源划分成多个分段节目和分段索引, 每个分段索 引对应一个或多个分段节目;
步骤 12、 服务器接收客户端的分发节目请求;
步骤 13、服务器将所述分发节目请求指定的节目的所有分段索引和对应 的分段节目, 以数据流的形式进行发送。
本实施例中, 服务器端预先将节目源分成多个分段节目和分段索引, 每 个分段索引对应一个或多个分段节目, 每个分段数据都包含节目解码信息和 随机访问单元信息, 保证每一个分段数据可以独立解码播放, 这样方便分发 后的分段节目可以单独提供其他服务, 比如点播。 本实施例中, 服务器端将整个节目的分段索引和分段节目通过数据流的 形式推送给客户端。
对于多码率的节目, 为了便于客户端识别出媒体源推送的数据包是属于 哪个码率, 哪个文件的, 需要对媒体源推送的数据包格式作一些约定。 例如, 利用 RTP ( Real-time Transport Protocol , 实时传送协议) 包格式, SSRC ( Synchronization Source Identifier, 同步源标识)字段用来携带流标识。 不 同流有自己独立的序号空间。 利用 RTP扩展头加一些标识信息, 例如, 标记 数据类型为控制信息 (用户传递子文件名、 播放列表长度、 子文件类型等信 息。 )或数据包。 还可以标明相应的数据包属于文件的首包、 中间包或尾包 等等。
本实施例中, 服务器可以将客户端请求的整个节目或者部分节目, 以数 据流的形式单播给请求的客户端, 也可以组播给组内所有的客户端。
图 3为本发明实施例的客户端侧处理分段节目的方法的流程图, 如图 3 所示, 本实施例的方法包括: 步骤 21、 客户端向服务器发送分发节目请求;
步骤 22、 客户端接收到所述服务器响应的数据流后, 根据所述数据流中 的分段索引和对应的分段节目进行还原。 本实施例中, 客户端收到数据后根据与服务器约定的标识将分段索引跟 分段节目还原。
根据本实施例的方法进行分段节目的分发, 减少了传统的不断解析分段 索引获取分段节目中的网络时延和解析分段索引的时延, 也增加了网络带宽 的利用率, 提高了用户体验, 最终达到一种快速分发的效果。
为便于描述, 实施例釆用 MPEG-2 ( Moving Pictures Experts Group-2, 动 态图像专家组 -2 ) TS ( Transport Stream , 传输流)流文件作为数据源, 文件 名为 file.ts。根据本方法在服务器端按以下步骤将节目源进行分段,生成多个 分段索引和分段节目:
1、 从视频图像关键帧的位置开始将文件 file.ts按照时间切分为 10秒长 度的多个分段数据, 每一个分段数据均为 MPEG-2 TS文件, 每一个分段数 据的解码单位均以图像关键帧开始。 这样得到的多个分段 TS文件, 分别命 名为 l .ts, 2.ts, 100.ts„
2、 利用 XML ( extensible Markup Language, 可扩展标记语言)格式生 成每个小 TS文件对应的索引文件,用来描述小 TS文件的播放时长、文件名、 分段数据系列号范围等信息。 比如 1 index对应 1.ts。
3、构造统一资源管理文件 index.m3u8,该文件用来描述所有的分段索引 信息, 生成 URL ( Uniform Resource Locator, 统一资源定位符) 。
将分段后的多个小 TS文件 l .ts, 2.ts, ... lOO.ts和分段索引文件 l .index, 2.index, ... lOO.index放在服务器的存储设备上, 同时生成统一资源管理文件 index.idx, 文件中包含所有的分段索引文件名, 从 l .index到 100.index。
客户端根据统一资源定位 URL通过 RTSP( Real Time Streaming Protocol, 实时流传输协议 ) /RTP方法获取节目数据。
图 5为本发明实施例的处理分段节目的方法的流程图, 如图 5所示, 本 实施例中, 客户端向服务器端请求, 例如, 向服务器发送 URL ( rts ://i : ort/path/index.m3u8 ) , 其中, 指定了服务器的 IP和端口, 以及服 务器端分段节目的目录。
服务器收到该 URL之后,釆用传统的流媒体技术,不断地读取分段节目, 并将读取的分段节目内容, 通过 RTP数据流发给客户端, RTP的结构如图 4 所示。
客户端根据 PT ( RTP数据格式中的有效载荷类型, 占 7位, 用于说明 RTP报文中有效载荷的类型, 如 GSM音频、 JPEM图像等 )字段判断是索引 还是数据, 从扩展头中获取文件名, 如此将分段索引和分段节目在客户端得 以还原。
图 6为本发明实施例的服务器的示意图, 如图 6所示, 本实施例的服务 器包括: 划分模块, 用于将节目源划分成多个分段节目和分段索引, 每个分段索 引对应一个或多个分段节目;
接收模块, 用于接收客户端的分发节目请求;
发送模块, 用于将所述分发节目请求指定的节目的所有分段索引和对应 的分段节目, 以数据流的形式进行发送。
在一优选实施例中, 所述发送模块, 具体可以用于将所述分发节目请求 指定的整个节目或者部分节目的所有分段索引和对应的分段节目, 以数据流 的形式进行发送。
在一优选实施例中, 所述发送模块以数据流的形式进行发送可以包括: 以数据流的形式单播给所述客户端或者组播给组内所有的客户端。
在一优选实施例中,所述发送模块, 以数据流的形式进行发送可以包括: 通过实时传送协议或实时流传输协议的数据流进行发送。
图 7为本发明实施例的客户端设备的示意图, 如图 7所示, 本实施例的 客户端设备包括:
发送模块, 用于向服务器发送分发节目请求;
还原模块, 用于接收到所述服务器发送的数据流后, 根据所述数据流中 的分段索引和对应的分段节目进行还原。
在一优选实施例中, 所述发送模块, 发送的分发节目请求可以包括: 分 发整个指定节目请求或分发部分指定节目请求;
所述还原模块, 根据所述数据流中的分段索引和对应的分段节目进行还 原可以包括: 根据所述数据流中的分段索引和对应的分段节目还原出所述整 个指定节目或所述部分指定节目。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。
以上仅为本发明的优选实施例, 当然, 本发明还可有其他多种实施例, 在不背离本发明精神及其实质的情况下, 熟悉本领域的技术人员当可根据本 发明作出各种相应的改变和变形, 但这些相应的改变和变形都应属于本发明 所附的权利要求的保护范围。
工业实用性 本发明实施例提供一种处理分段节目的方法、 服务器及客户端设备, 可 以实现分段节目快速分发, 能够减少整个节目分发的时间, 减少对网络带宽 的浪费, 提高用户体验质量。

Claims

权 利 要 求 书
1、 一种处理分段节目的方法, 应用于服务器, 包括:
服务器将节目源划分成多个分段节目和分段索引, 每个分段索引对应一 个或多个分段节目;
所述服务器接收客户端的分发节目请求;
所述服务器将所述分发节目请求指定的节目的所有分段索引和对应的分 段节目, 以数据流的形式进行发送。
2、如权利要求 1所述的方法, 其中, 所述服务器将所述分发节目请求指 定的节目的所有分段索引和对应的分段节目, 以数据流的形式进行发送, 包 括:
所述服务器将所述分发节目请求指定的整个节目或者部分节目的所有分 段索引和对应的分段节目, 以数据流的形式进行发送。
3、如权利要求 1所述的方法, 其中, 所述服务器以数据流的形式进行发 送包括:
所述服务器以数据流的形式单播给所述客户端。
4、如权利要求 1所述的方法, 其中, 所述服务器以数据流的形式进行发 送包括:
所述服务器以数据流的形式组播给组内所有的客户端。
5、 如权利要求 1-4任一项所述的方法, 其中, 所述服务器以数据流的形 式进行发送包括:
所述服务器通过实时传送协议或实时流传输协议的数据流进行发送。
6、 一种服务器, 包括:
划分模块, 设置为: 将节目源划分成多个分段节目和分段索引, 每个分 段索引对应一个或多个分段节目;
接收模块, 设置为: 接收客户端的分发节目请求;
发送模块, 设置为: 将所述分发节目请求指定的节目的所有分段索引和 对应的分段节目, 以数据流的形式进行发送。
7、 如权利要求 6所述的服务器, 其中,
所述发送模块, 设置为: 将所述分发节目请求指定的整个节目或者部分 节目的所有分段索引和对应的分段节目, 以数据流的形式进行发送。
8、 如权利要求 6所述的服务器, 其中,
所述发送模块, 设置为: 以数据流的形式进行发送包括: 以数据流的形 式单播给所述客户端。
9、 如权利要求 6所述的服务器, 其中,
所述发送模块, 设置为: 以数据流的形式进行发送包括: 以数据流的形 式组播给组内所有的客户端。
10、 如权利要求 6-9任一项所述的服务器, 其中,
所述发送模块, 设置为: 以数据流的形式进行发送包括: 通过实时传送 协议或实时流传输协议的数据流进行发送。
11、 一种处理分段节目的方法, 应用于客户端, 包括:
所述客户端向服务器发送分发节目请求;
所述客户端接收到所述服务器响应的数据流后, 根据所述数据流中的分 段索引和对应的分段节目进行还原。
12、 如权利要求 11所述的方法, 其中,
所述客户端向服务器发送分发节目请求, 包括:
所述客户端向服务器发送分发整个指定节目请求或分发部分指定节目请 求;
所述客户端根据所述数据流中的分段索引和对应的分段节目进行还原, 包括:
所述客户端根据所述数据流中的分段索引和对应的分段节目还原出所述 整个指定节目或所述部分指定节目。
13、 一种客户端设备, 包括:
发送模块, 设置为: 向服务器发送分发节目请求;
还原模块, 设置为: 接收到所述服务器发送的数据流后, 根据所述数据 流中的分段索引和对应的分段节目进行还原。
14、 如权利要求 13所述的客户端设备, 其中,
所述发送模块, 设置为: 发送的分发节目请求包括: 分发整个指定节目 请求或分发部分指定节目请求;
所述还原模块, 设置为: 根据所述数据流中的分段索引和对应的分段节 目进行还原包括: 根据所述数据流中的分段索引和对应的分段节目还原出所 述整个指定节目或所述部分指定节目。
PCT/CN2014/085129 2014-01-27 2014-08-25 一种处理分段节目的方法、服务器及客户端设备 WO2015109842A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410038787.0 2014-01-27
CN201410038787.0A CN103796035B (zh) 2014-01-27 2014-01-27 一种处理分段节目的方法、服务器及客户端设备

Publications (1)

Publication Number Publication Date
WO2015109842A1 true WO2015109842A1 (zh) 2015-07-30

Family

ID=50671252

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/085129 WO2015109842A1 (zh) 2014-01-27 2014-08-25 一种处理分段节目的方法、服务器及客户端设备

Country Status (2)

Country Link
CN (1) CN103796035B (zh)
WO (1) WO2015109842A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103796035B (zh) * 2014-01-27 2019-11-05 南京中兴软件有限责任公司 一种处理分段节目的方法、服务器及客户端设备
CN105812831B (zh) * 2014-12-31 2020-06-09 中兴通讯股份有限公司 网络节目的录制方法、装置、系统以及播放方法、装置
CN112350986B (zh) * 2020-09-18 2023-06-23 国家计算机网络与信息安全管理中心 一种音视频网络传输碎片化的整形方法及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238434A (zh) * 2011-07-22 2011-11-09 中兴通讯股份有限公司 一种iptv流媒体文件虚拟分段和使用的方法及系统
CN102487454A (zh) * 2010-12-03 2012-06-06 中兴通讯股份有限公司 一种分段节目快速启动的方法及系统
CN102572555A (zh) * 2012-01-16 2012-07-11 深圳市同洲视讯传媒有限公司 一种实现hls客户端视频直播回看的方法及系统
CN103796035A (zh) * 2014-01-27 2014-05-14 中兴通讯股份有限公司 一种处理分段节目的方法、服务器及客户端设备
CN103813185A (zh) * 2014-01-26 2014-05-21 中兴通讯股份有限公司 一种分段节目快速分发的方法、服务器及客户端

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118428B (zh) * 2010-12-29 2012-12-26 天脉聚源(北京)传媒科技有限公司 一种播放流媒体的方法和系统
CN102843614A (zh) * 2012-07-27 2012-12-26 优视科技有限公司 播放流媒体的方法、装置及系统
CN103152635B (zh) * 2013-03-14 2016-06-08 深圳市茁壮网络股份有限公司 一种解决播放时间跳变的方法及客户端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102487454A (zh) * 2010-12-03 2012-06-06 中兴通讯股份有限公司 一种分段节目快速启动的方法及系统
CN102238434A (zh) * 2011-07-22 2011-11-09 中兴通讯股份有限公司 一种iptv流媒体文件虚拟分段和使用的方法及系统
CN102572555A (zh) * 2012-01-16 2012-07-11 深圳市同洲视讯传媒有限公司 一种实现hls客户端视频直播回看的方法及系统
CN103813185A (zh) * 2014-01-26 2014-05-21 中兴通讯股份有限公司 一种分段节目快速分发的方法、服务器及客户端
CN103796035A (zh) * 2014-01-27 2014-05-14 中兴通讯股份有限公司 一种处理分段节目的方法、服务器及客户端设备

Also Published As

Publication number Publication date
CN103796035B (zh) 2019-11-05
CN103796035A (zh) 2014-05-14

Similar Documents

Publication Publication Date Title
EP3105903B1 (en) Requesting multiple chunks from a network node on the basis of a single request message
CN106233735B (zh) 管理多播视频传送的方法
US9942619B2 (en) Content supply device, content supply method, program, and content supply system
GB2515931B (en) Combined broadcast and unicast delivery
US20150100642A1 (en) Apparatus and method for providing streaming service in a data communication network
US20170127147A1 (en) Multicast streaming
JP2016538754A (ja) コンテンツ配信のための方法及び装置
CN103813185B (zh) 一种分段节目快速分发的方法、服务器及客户端
US20150229685A1 (en) System and method for delivering an audio-visual content to a client device
US20210203709A1 (en) Embedding MQTT messages in media streams
WO2014208377A1 (ja) コンテンツ供給装置、コンテンツ供給方法、プログラム、端末装置、およびコンテンツ供給システム
WO2016136489A1 (ja) 受信装置、受信方法、送信装置、及び、送信方法
WO2011022994A1 (zh) 组播实时传输协议会话快速接入的方法、装置及系统
US10432989B2 (en) Transmission apparatus, transmission method, reception apparatus, receiving method, and program
US20240155019A1 (en) Synchronizing independent media and data streams using media stream synchronization points
WO2015109842A1 (zh) 一种处理分段节目的方法、服务器及客户端设备
EP2932683B1 (en) Method and apparatus for handling files in association with media content delivery
KR102373195B1 (ko) 수신 장치, 송신 장치, 데이터 통신 방법, 및 데이터 처리 방법
US10523409B2 (en) Method of synchronization during the processing, by a multimedia player, of an item of multimedia content transmitted by an MBMS service
WO2016090912A1 (zh) 一种直播视频的生成及播放方法、装置、终端及系统
WO2013040976A1 (zh) 一种分布式业务网络的内容处理方法和系统
WO2011022983A1 (zh) 组播视频数据的方法、装置及系统
WO2015012140A1 (ja) コンテンツ供給装置、コンテンツ供給方法、プログラム、端末装置、およびコンテンツ供給システム
WO2016101626A1 (zh) 一种频道码流处理方法、装置、终端及系统
US20230008021A1 (en) Synchronizing independent media and data streams using media stream synchronization points

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14879531

Country of ref document: EP

Kind code of ref document: A1