CN104602035A - Streaming media on-demand method and streaming media on-demand system - Google Patents

Streaming media on-demand method and streaming media on-demand system Download PDF

Info

Publication number
CN104602035A
CN104602035A CN201510066206.9A CN201510066206A CN104602035A CN 104602035 A CN104602035 A CN 104602035A CN 201510066206 A CN201510066206 A CN 201510066206A CN 104602035 A CN104602035 A CN 104602035A
Authority
CN
China
Prior art keywords
server
demand
streaming media
streaming
storage
Prior art date
Application number
CN201510066206.9A
Other languages
Chinese (zh)
Other versions
CN104602035B (en
Inventor
李江涛
Original Assignee
深圳中兴网信科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳中兴网信科技有限公司 filed Critical 深圳中兴网信科技有限公司
Priority to CN201510066206.9A priority Critical patent/CN104602035B/en
Publication of CN104602035A publication Critical patent/CN104602035A/en
Application granted granted Critical
Publication of CN104602035B publication Critical patent/CN104602035B/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23103Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion using load balancing strategies, e.g. by placing or distributing content on different disks, different memories or different servers
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/232Content retrieval operation locally within server, e.g. reading video streams from disk arrays
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests

Abstract

The invention provides a streaming media on-demand method and a streaming media on-demand system. The method includes that when any streaming media server in a streaming media server cluster receives a streaming media demand request from a terminal, the any streaming media server sends the streaming media demand request to a distributed storage device; the distributed storage device selects a target storage server from a distributed storage server cluster and sends the streaming media demand request to the target storage server; the target storage server acquires target data according to an index number in the streaming media demand request and sends the target data to the any streaming media server; the any streaming media server performs preset processing operation on the target data according to a preset streaming media protocol and distributes streamed data obtained after processing to the terminal. The streaming media on-demand method and the streaming media on-demand system have the advantages that data storage of the on-demand system is achieved, and video-on-demand localization is solved quite conveniently by combining distribution and deployment characteristics of distributed storage, so that user experience is improved.

Description

流媒体点播方法和流媒体点播系统 And on-demand streaming method STREAMING SYSTEM

技术领域 FIELD

[0001] 本发明涉及媒体点播技术领域,具体而言,涉及一种流媒体点播方法和一种流媒体点播系统。 [0001] The present invention relates to the field of media-on-demand technology, particularly, to a method and an on-demand streaming media streaming on-demand system.

背景技术 Background technique

[0002] 随着日益增长的对流媒体应用的需求,视频点播系统是通过网络为用户提供包括视频、音频等媒体数据的点播业务,它是今年来新兴的一种网络媒体方式,是计算机、网络通信技术等交叉的一门综合性技术。 [0002] With the growing demand for streaming media applications, video-on-demand system is to provide users with on-demand services through a network including video, audio and other media data, it is this year emerging as a way to network media, is a computer network crossing a communication technology integrated technology.

[0003] 现有的点播的传输方式,很容易导致服务器的性能瓶颈,不能有效的支持流媒体的大规模数据分发,并且视频点播系统中存在高宽带、高储存、低并发性等问题,且点播系统流化文件时必须从本地读取文件,这样造成了大量数据冗余。 [0003] Existing transmission demand, a server can easily lead to performance bottlenecks can not effectively support large-scale streaming data distribution, and high-speed, high storage, low concurrency problems like VOD system, and demand system when streaming files must be read from a local file, which caused a large number of data redundancy.

[0004]因此需要一种新的技术方案,既能实现点播系统内容的本地化,又能解决点播系统流化文件时必须从本地读取文件而造成的大量数据冗余。 [0004] Therefore, a need for a new technical solution, not only to achieve localized content-on-demand system, it can help solve a lot of redundant data on demand system when streaming files must be caused to read from the local file.

发明内容 SUMMARY

[0005] 本发明正是基于上述问题,提出了一种新的技术方案,既能实现点播系统内容的本地化,又能解决点播系统流化文件时必须从本地读取文件而造成的大量数据冗余。 [0005] The present invention is based on the above-described problem, a new technical solution localized, on-demand system can not only realize the content, but also solve a large number of data files on demand system fluidizing caused must read the file from the local redundancy.

[0006] 有鉴于此,本发明提出了一种流媒体点播方法,包括:当流媒体服务器集群中的任一流媒体服务器接收到来自终端的流媒体点播请求时,将所述流媒体点播请求发送至分布式存储装置;所述分布式存储装置从分布式存储服务器集群中选择出目标存储服务器,并将所述流媒体点播请求发送至所述目标存储服务器;所述目标存储服务器根据所述流媒体点播请求中的索引号获取目标数据,并将所述目标数据发送至所述任一流媒体服务器;所述任一流媒体服务器根据预设的流媒体协议对所述目标数据进行预设处理操作,并将处理后得到的流化数据发布至所述终端。 [0006] Accordingly, the present invention provides a method for on-demand streaming media, comprising: when a streaming media server in any cluster class media server receives streaming media on demand request from a terminal, the streaming media on demand request to the distributed storage means; said distributed storage means to select a server from the distributed storage target storage server cluster, and the on-demand streaming request to the target storage server; the target storage server according to the flow index media on-demand request acquiring target data and the target data to the media server of any class; class media server according to any predetermined processing operation on the target data according to a preset streaming protocols, and publish the stream data obtained after processing to the terminal.

[0007] 在该技术方案中,流媒体服务器传递内容索引号给分布式存储服务器集群,分布式存储服务器集群根据索引号路由到目标储存节点获取数据,并返回数据给流媒体服务器,流媒体服务器直接把接收到的数据进行点播流化处理,并通过流媒体协议为终端提供点播服务。 [0007] In this aspect, the streaming server transmitting the contents to the distributed index number storage server cluster, the server cluster distributed storage to the target storage node acquires the routing number of the index data, and returns the data to the streaming server, the streaming server directly to the received data stream for processing on demand and on-demand streaming service to a terminal by the protocol. 这样,将流媒体系统与分布式存储相结合,解决了点播服务器流化文件时产生大量临时文件的问题,同时通过分布储存的分布特点,可以很方便地实现点播系统内容的本地化。 In this way, the streaming media system combined with distributed storage, to solve the problem of a large number of temporary files when streaming files on demand server, and distributed by distribution of storage, you can easily achieve system-on-demand content localization.

[0008] 其中,目标存储节点可以是最近的存储节点,具体地,最近的存储节点可以根据节点的网络运行状况、访问速度、负载量等情况进行确定。 [0008] wherein, the target storage node may be the most recent storage node, in particular, recent storage node may be determined according to operating conditions of the network nodes, access speed, load and the like.

[0009] 在上述技术方案中,优选地,还包括:根据接收到的存储命令,将流媒体的内容数据通过所述分布式存储服务器集群进行存储。 [0009] In the above aspect, preferably, further comprising: a storage command according to the received streaming media content data stored by said storing distributed server cluster.

[0010] 在该技术方案中,通过分布式服务器将流媒体的内容数据进行集群储存,可以便利的索引流媒体的内容数据。 [0010] In this aspect, a distributed storage clustering server streaming media content data, the content data may be conveniently index streaming.

[0011] 在上述技术方案中,优选地,还包括:对所述分布式服务器集群中每个存储服务器存储的流媒体的内容数据对应的索引号进行统计,以得到索引号统计表;所述分布式存储装置根据所述流媒体点播请求中的所述索引号、所述索引号统计表和所述分布式存储服务器集群中每个存储服务器的使用情况,选择出所述目标存储服务器。 [0011] In the above aspect, preferably, further comprising: a streaming media content data distributed server cluster for each said storage server stores the index number corresponding statistics, index number tables to obtain; the the flow of the distributed storage usage index number of media on-demand request, and the index number tables stored in said distributed server cluster for each storage server, selects the target storage server.

[0012] 在该技术方案中,通过统计储存的流媒体的内容数据对应的索引号,可以知道在哪些储存服务器中可以查找到内容数据,进而在可查找到内容数据的所有储存服务器中查找出网络状况最好,访问速度最快的储存服务器(即最近的存储节点)从而提高流媒体内容数据的点播效率,提升用户的使用体验。 [0012] In this aspect, the content data streaming through statistics stored corresponding to the index number can be known in which the storage server can find the content data, and further in can find all the storage server content data to find out the best network conditions, access to the fastest storage server (ie the nearest storage node) to improve the efficiency of on-demand streaming media content data, improve the user experience.

[0013] 在上述技术方案中,优选地,还包括:所述任一流媒体服务器通过第一预设接口将所述流媒体点播请求发送至所述分布式存储装置以及所述任一流媒体服务器通过第二预设接口将处理后得到的流化数据发布至所述终端。 [0013] In the above aspect, preferably, further comprising: said media server according to any class by the interface a first predetermined demand streaming request to the distributed storage device and the media server by any one class a second interface to streaming data obtained after a predetermined process to release the terminal.

[0014] 在该技术方案中,流媒体服务器通过约定好的接口将流媒体点播请求发送至分布式存储服务器,并通过约定好的接口将流化数据发布至终端,为终端提供公布服务。 [0014] In this aspect, the streaming server interface by convention good demand streaming media distributed storage request to the server, and a good agreement by the interface data stream release to the terminal, the terminal provides service announcement.

[0015] 在上述技术方案中,优选地,所述预设处理操作包括流化操作。 [0015] In the above aspect, preferably, the predetermined processing operations include a fluidized operation.

[0016] 在该技术方案中,流媒体服务器直接根据流媒体协议对数据进行流化,这样,解决了现有技术中流媒体服务器流化文件时产生大量临时文件的问题,避免产生大量的冗余数据。 [0016] In this aspect, the data streaming server issues a large number of fluidizing temporary files, so that the prior art to solve the streaming media server streaming files directly from the streaming protocol, to avoid a large amount of redundant data.

[0017] 根据本发明另一方面,还提供了一种流媒体点播系统,包括:流媒体服务器集群;分布式存储装置;发送单元,当所述流媒体服务器集群中的任一流媒体服务器接收到来自终端的流媒体点播请求时,将所述流媒体点播请求发送至所述分布式存储装置;选择单元,从所述分布式存储装置的分布式存储服务器集群中选择出目标存储服务器,并将所述流媒体点播请求发送至所述目标存储服务器;获取单元,根据所述流媒体点播请求中的索引号从所述目标存储服务器获取目标数据,并将所述目标数据发送至所述任一流媒体服务器;处理单元,控制所述任一流媒体服务器根据预设的流媒体协议对所述目标数据进行预设处理操作,并将处理后得到的流化数据发布至所述终端。 [0017] According to another aspect of the present invention, there is provided a streaming media on-demand system, comprising: a streaming media server cluster; distributed storage means; transmitting unit, when the streaming media server in any cluster class media server receives the when streaming media on demand request from a terminal, the streaming media on demand request to the distributed storage means; selecting means selects the target storage server from the distributed storage server cluster distributed storage device, and the on-demand streaming request to the target storage server; acquiring unit acquires target data from the target storage server according to the on-demand streaming media index number of the request, and the target data to any one of the class the media server; processing unit for controlling the media server of any class preset data processing operation of the target according to a preset streaming protocol, and to publish the stream data obtained after processing to the terminal.

[0018] 在该技术方案中,流媒体服务器传递内容索引号给分布式存储服务器集群,分布式存储服务器集群根据索引号路由到目标储存节点获取数据,并返回数据给流媒体服务器,流媒体服务器直接把接收到的数据进行点播流化处理,并通过流媒体协议为终端提供点播服务。 [0018] In this aspect, the streaming server transmitting the contents to the distributed index number storage server cluster, the server cluster distributed storage to the target storage node acquires the routing number of the index data, and returns the data to the streaming server, the streaming server directly to the received data stream for processing on demand and on-demand streaming service to a terminal by the protocol. 这样,将流媒体系统与分布式存储相结合,解决了点播服务器流化文件时产生大量临时文件的问题,同时通过分布储存的分布特点,可以很方便地实现点播系统内容的本地化。 In this way, the streaming media system combined with distributed storage, to solve the problem of a large number of temporary files when streaming files on demand server, and distributed by distribution of storage, you can easily achieve system-on-demand content localization.

[0019] 其中,目标存储节点可以是最近的存储节点,具体地,最近的存储节点可以根据节点的网络运行状况、访问速度、负载量等情况进行确定。 [0019] wherein, the target storage node may be the most recent storage node, in particular, recent storage node may be determined according to operating conditions of the network nodes, access speed, load and the like.

[0020] 在上述技术方案中,优选地,还包括:存储单元,根据接收到的存储命令,将流媒体的内容数据通过所述分布式存储服务器集群进行存储。 [0020] In the above aspect, preferably, further comprising: a storage unit, stores the received commands according to the streaming media content data stored by said storing distributed server cluster.

[0021 ] 在该技术方案中,通过分布式服务器将流媒体的内容数据进行集群储存,可以便利的索引流媒体的内容数据。 [0021] In this aspect, a distributed storage clustering server streaming media content data, the content data may be conveniently index streaming.

[0022] 在上述技术方案中,优选地,还包括:统计单元,对所述分布式服务器集群中每个存储服务器存储的流媒体的内容数据对应的索引号进行统计,以得到索引号统计表;所述选择单元具体用于:根据所述流媒体点播请求中的所述索引号、所述索引号统计表和所述分布式存储服务器集群中每个存储服务器的使用情况,从所述分布式存储装置的分布式存储服务器集群中选择出所述目标存储服务器。 [0022] In the above aspect, preferably, further comprising: a counting unit, the stream media content data distributed server cluster each storage server stores the index number corresponding to statistics, index tables to obtain ; the selecting unit is configured to: according to the use of the streaming media on-demand request in the index number, the index number tables stored in the distributed server cluster and each storage server, from the distribution distributed storage server cluster storage device selects the target storage server.

[0023] 在该技术方案中,通过统计储存的流媒体的内容数据对应的索引号,可以知道在哪些储存服务器中可以查找到内容数据,进而在可查找到内容数据的所有储存服务器中查找出网络状况最好,访问速度最快的储存服务器(即最近的存储节点)从而提高流媒体内容数据的点播效率,提升用户的使用体验。 [0023] In this aspect, the content data streaming through statistics stored corresponding to the index number can be known in which the storage server can find the content data, and further in can find all the storage server content data to find out the best network conditions, access to the fastest storage server (ie the nearest storage node) to improve the efficiency of on-demand streaming media content data, improve the user experience.

[0024] 在上述技术方案中,优选地,还包括:通过第一预设接口将所述流媒体点播请求发送至所述分布式存储装置以及通过第二预设接口将将处理后得到的流化数据发布至所述终端。 [0024] In the above aspect, preferably, further comprising: transmitting to the storage means by a first predetermined distributed interface to streaming the on-demand request by a second predetermined interface process stream obtained after release data to the terminal.

[0025] 在该技术方案中,流媒体服务器通过约定好的接口将流媒体点播请求发送至分布式存储服务器,并通过约定好的接口将流化数据发布至终端,为终端提供公布服务。 [0025] In this aspect, the streaming server interface by convention good demand streaming media distributed storage request to the server, and a good agreement by the interface data stream release to the terminal, the terminal provides service announcement.

[0026] 在上述技术方案中,优选地,所述预设处理操作包括流化操作。 [0026] In the above aspect, preferably, the predetermined processing operations include a fluidized operation.

[0027] 在该技术方案中,流媒体服务器直接根据流媒体协议对数据进行流化,这样,解决了现有技术中流媒体服务器流化文件时产生大量临时文件的问题,避免产生大量的冗余数据。 [0027] In this aspect, the data streaming server issues a large number of fluidizing temporary files, so that the prior art to solve the streaming media server streaming files directly from the streaming protocol, to avoid a large amount of redundant data.

[0028] 通过以上技术方案,针对视频点播系统中的高宽带、高储存、低并发性等问题,本发明提出了一种基于分布式储存的流媒体点播方式,即能实现点播系统内容的本地化,又能解决点播系统流化文件时必须从本地读取文件造成的大量数据冗余的问题。 [0028] Through the above technical solution, for high speed, high storage, low concurrency issues VOD system, the present invention provides local-demand streaming media based on the distributed storage, i.e. to achieve on-demand system content technology, but also solve the problem of large amounts of data redundancy fluidized-demand system files must be read from the local file caused.

附图说明 BRIEF DESCRIPTION

[0029] 图1示出了根据本发明的实施例的流媒体点播方法的流程图; [0029] FIG. 1 shows a flow diagram according to an embodiment of on-demand streaming media according to the present invention is a method;

[0030]图2示出了根据本发明的实施例的流媒体点播系统的框图; [0030] FIG. 2 shows a block diagram of a streaming media on demand system according to embodiments of the present invention;

[0031] 图3示出了根据本发明的一个实施例的流媒体点播方法的具体流程图; [0031] FIG. 3 shows a detailed flowchart of a method of on-demand streaming media according to an embodiment of the present invention;

[0032]图4示出了根据本发明的一个实施例的流媒体点播系统的框图。 [0032] FIG. 4 shows a block diagram of a streaming media on demand system in accordance with one embodiment of the present invention.

具体实施方式 Detailed ways

[0033] 为了能够更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。 [0033] In order to more clearly understand the present invention the above object, features and advantages, the following specific embodiments and accompanying drawings further detailed description of the invention. 需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。 Incidentally, in the case of no conflict, the embodiments of the present application and the features in the embodiments may be combined with each other.

[0034] 在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明的保护范围并不受下面公开的具体实施例的限制。 [0034] numerous specific details are set forth in the following description in order to provide a thorough understanding of the present invention, however, the present invention may also be in other ways other than described in the embodiment to use, therefore, the scope of the present invention is not limited by the following limiting embodiment of the disclosed specific embodiments.

[0035] 图1示出了根据本发明的实施例的流媒体点播方法的流程图。 [0035] FIG. 1 shows a flow diagram according to an embodiment of on-demand streaming media according to the present invention is a method.

[0036] 如图1所示,本发明的一方面提出了一种流媒体点播方法,所述方法包括:步骤102,当流媒体服务器集群中的任一流媒体服务器接收到来自终端的流媒体点播请求时,将所述流媒体点播请求发送至分布式存储装置;步骤104,所述分布式存储装置从分布式存储服务器集群中选择出目标存储服务器,并将所述流媒体点播请求发送至所述目标存储服务器;步骤106,所述目标存储服务器根据所述流媒体点播请求中的索引号获取目标数据,并将所述目标数据发送至所述任一流媒体服务器;步骤108,所述任一流媒体服务器根据预设的流媒体协议对所述目标数据进行预设处理操作,并将处理后得到的流化数据发送至所述终端。 [0036] 1, an aspect of the present invention proposes a method of on-demand streaming media, said method comprising: a step 102, the streaming media server when any cluster class media streaming media on demand server receives from the terminal when requested, the request is sent to the on-demand streaming media distributed storage means; step 104, the distributed storage means storing the selected target server from the distributed storage server cluster, and the on-demand streaming request to the said target storage server; step 106, the target storage server obtains the target data according to the streaming media on demand request index number, and the target data to the media server of any class; step 108, any of the class media server predetermined processing operation on the target data according to a predetermined streaming protocol, and transmits the streaming data obtained after processing to the terminal.

[0037] 在该技术方案中,流媒体服务器传递内容索引号给分布式存储服务器集群,分布式存储服务器集群根据索引号路由到目标储存节点获取数据,并返回数据给流媒体服务器,流媒体服务器直接把接收到的数据进行点播流化处理,并通过流媒体协议为终端提供点播服务。 [0037] In this aspect, the streaming server transmitting the contents to the distributed index number storage server cluster, the server cluster distributed storage to the target storage node acquires the routing number of the index data, and returns the data to the streaming server, the streaming server directly to the received data stream for processing on demand and on-demand streaming service to a terminal by the protocol. 这样,将流媒体系统与分布式存储相结合,解决了点播服务器流化文件时产生大量临时文件的问题,同时通过分布储存的分布特点,可以很方便地实现点播系统内容的本地化。 In this way, the streaming media system combined with distributed storage, to solve the problem of a large number of temporary files when streaming files on demand server, and distributed by distribution of storage, you can easily achieve system-on-demand content localization.

[0038] 其中,目标存储节点可以是最近的存储节点,具体地,最近的存储节点可以根据节点的网络运行状况、访问速度、负载量等情况进行确定。 [0038] wherein, the target storage node may be the most recent storage node, in particular, recent storage node may be determined according to operating conditions of the network nodes, access speed, load and the like.

[0039] 在上述技术方案中,优选地,还包括:根据接收到的存储命令,将流媒体的内容数据通过所述分布式存储服务器集群进行存储。 [0039] In the above aspect, preferably, further comprising: a storage command according to the received streaming media content data stored by said storing distributed server cluster.

[0040] 在该技术方案中,通过分布式服务器将流媒体的内容数据进行集群储存,可以便利的索引流媒体的内容数据。 [0040] In this aspect, a distributed storage clustering server streaming media content data, the content data may be conveniently index streaming.

[0041] 在上述技术方案中,优选地,还包括:对所述分布式服务器集群中每个存储服务器存储的流媒体的内容数据对应的索引号进行统计,以得到索引号统计表;所述分布式存储装置根据所述流媒体点播请求中的所述索引号、所述索引号统计表和所述分布式存储服务器集群中每个存储服务器的使用情况,选择出所述目标存储服务器。 [0041] In the above aspect, preferably, further comprising: a streaming media content data distributed server cluster for each said storage server stores the index number corresponding statistics, index number tables to obtain; the the flow of the distributed storage usage index number of media on-demand request, and the index number tables stored in said distributed server cluster for each storage server, selects the target storage server.

[0042] 在该技术方案中,通过统计储存的流媒体的内容数据对应的索引号,可以知道在哪些储存服务器中可以查找到内容数据,进而在可查找到内容数据的所有储存服务器中查找出网络状况最好,访问速度最快的储存服务器(即最近的存储节点)从而提高流媒体内容数据的点播效率,提升用户的使用体验。 [0042] In this aspect, the content data streaming through statistics stored corresponding to the index number can be known in which the storage server can find the content data, and further in can find all the storage server content data to find out the best network conditions, access to the fastest storage server (ie the nearest storage node) to improve the efficiency of on-demand streaming media content data, improve the user experience.

[0043] 在上述技术方案中,优选地,还包括:所述任一流媒体服务器通过第一预设接口将所述流媒体点播请求发送至所述分布式存储装置以及所述任一流媒体服务器通过第二预设接口将处理后得到的流化数据发布至所述终端。 [0043] In the above aspect, preferably, further comprising: said media server according to any class by the interface a first predetermined demand streaming request to the distributed storage device and the media server by any one class a second interface to streaming data obtained after a predetermined process to release the terminal.

[0044] 在该技术方案中,流媒体服务器通过约定好的接口将流媒体点播请求发送至分布式存储服务器,并通过约定好的接口将流化数据发布至终端,为终端提供公布服务。 [0044] In this aspect, the streaming server interface by convention good demand streaming media distributed storage request to the server, and a good agreement by the interface data stream release to the terminal, the terminal provides service announcement.

[0045] 在上述技术方案中,优选地,所述预设处理操作包括流化操作。 [0045] In the above aspect, preferably, the predetermined processing operations include a fluidized operation.

[0046] 在该技术方案中,流媒体服务器直接根据流媒体协议对数据进行流化,这样,解决了现有技术中流媒体服务器流化文件时产生大量临时文件的问题,避免产生大量的冗余数据。 [0046] In this aspect, the data streaming server issues a large number of fluidizing temporary files, so that the prior art to solve the streaming media server streaming files directly from the streaming protocol, to avoid a large amount of redundant data.

[0047]图2示出了根据本发明的实施例的流媒体点播系统的框图。 [0047] FIG. 2 shows a block diagram of a streaming media on demand system according to embodiments of the present invention.

[0048] 如图2所示,本发明的另一方面提出了一种流媒体点播系统200,流媒体服务器集群;分布式存储装置;发送单元202,当所述流媒体服务器集群中的任一流媒体服务器接收到来自终端的流媒体点播请求时,将所述流媒体点播请求发送至所述分布式存储装置;选择单元204,从所述分布式存储装置的分布式存储服务器集群中选择出目标存储服务器,并将所述流媒体点播请求发送至所述目标存储服务器;获取单元206,根据所述流媒体点播请求中的索引号从所述目标存储服务器获取目标数据,并将所述目标数据发送至所述任一流媒体服务器;处理单元208,控制所述任一流媒体服务器根据预设的流媒体协议对所述目标数据进行预设处理操作,并将处理后得到的流化数据发布至所述终端。 [0048] 2, another aspect of the present invention proposes a system of on-demand streaming media 200, a media streaming server cluster; distributed storage means; transmitting unit 202, when any of the streaming media server cluster class when the streaming media server receives a request from a terminal on demand, the demand streaming request to the distributed storage means; selecting unit 204, a target selected from the distributed server cluster storage device of the distributed storage storage server, and the streaming media on demand request to the target storage server; acquiring unit 206 acquires the target data from the target storage server according to the request on-demand streaming media index number, and the target data transmitting to said any one media server class; processing unit 208, the controlling media server to any class preset data processing operation of the target according to a preset streaming protocol, and to publish the stream data obtained through the post-treatment said terminal.

[0049] 在该技术方案中,流媒体服务器传递内容索引号给分布式存储服务器集群,分布式存储服务器集群根据索引号路由到目标储存节点获取数据,并返回数据给流媒体服务器,流媒体服务器直接把接收到的数据进行点播流化处理,并通过流媒体协议为终端提供点播服务。 [0049] In this aspect, the streaming server transmitting the contents to the distributed index number storage server cluster, the server cluster distributed storage to the target storage node acquires the routing number of the index data, and returns the data to the streaming server, the streaming server directly to the received data stream for processing on demand and on-demand streaming service to a terminal by the protocol. 这样,将流媒体系统与分布式存储相结合,解决了点播服务器流化文件时产生大量临时文件的问题,同时通过分布储存的分布特点,可以很方便地实现点播系统内容的本地化。 In this way, the streaming media system combined with distributed storage, to solve the problem of a large number of temporary files when streaming files on demand server, and distributed by distribution of storage, you can easily achieve system-on-demand content localization.

[0050] 其中,目标存储节点可以是最近的存储节点,具体地,最近的存储节点可以根据节点的网络运行状况、访问速度、负载量等情况进行确定。 [0050] wherein, the target storage node may be the most recent storage node, in particular, recent storage node may be determined according to operating conditions of the network nodes, access speed, load and the like.

[0051] 在上述技术方案中,优选地,还包括:存储单元210,根据接收到的存储命令,将流媒体的内容数据通过所述分布式存储服务器集群进行存储。 [0051] In the above aspect, preferably, further comprising: a storage unit 210, stores the received commands according to the streaming media content data stored by said storing distributed server cluster.

[0052] 在该技术方案中,通过分布式服务器将流媒体的内容数据进行集群储存,可以便利的索引所述流媒体的内容数据。 [0052] In this aspect, a distributed storage server clustering the data streaming media content, the media content data may facilitate the flow index.

[0053] 在上述技术方案中,优选地,还包括:统计单元212,对所述分布式服务器集群中每个存储服务器存储的流媒体的内容数据对应的索引号进行统计,以得到索引号统计表;所述选择单元具体用于:根据所述流媒体点播请求中的所述索引号、所述索引号统计表和所述分布式存储服务器集群中每个存储服务器的使用情况,从所述分布式存储装置的分布式存储服务器集群中选择出所述目标存储服务器。 [0053] In the above aspect, preferably, further comprising: a counting unit 212, the content data for streaming media distributed server cluster each storage server stores the index number corresponding to statistics, to obtain a statistical index table; the selecting unit is configured to: according to the streaming media on demand request the index number, the index number tables and the distributed servers in the cluster storage usage for each storage server, from the distributed storage server cluster distributed storage device selects the target storage server.

[0054] 在该技术方案中,通过统计储存的流媒体的内容数据对应的索引号,可以知道在哪些储存服务器中可以查找到内容数据,进而在可查找到内容数据的所有储存服务器中查找出网络状况最好,访问速度最快的储存服务器(即最近的存储节点)从而提高流媒体内容数据的点播效率,提升用户的使用体验。 [0054] In this aspect, the content data streaming through statistics stored corresponding to the index number can be known in which the storage server can find the content data, and further in can find all the storage server content data to find out the best network conditions, access to the fastest storage server (ie the nearest storage node) to improve the efficiency of on-demand streaming media content data, improve the user experience.

[0055] 在上述技术方案中,优选地,还包括:通过第一预设接口将所述流媒体点播请求发送至所述分布式存储装置以及通过第二预设接口将将处理后得到的流化数据发布至所述终端。 [0055] In the above aspect, preferably, further comprising: transmitting to the storage means by a first predetermined distributed interface to streaming the on-demand request by a second predetermined interface process stream obtained after release data to the terminal.

[0056] 在该技术方案中,流媒体服务器通过约定好的接口将流媒体点播请求发送至分布式存储服务器,并通过约定好的接口将流化数据发布至终端,为终端提供公布服务。 [0056] In this aspect, the streaming server interface by convention good demand streaming media distributed storage request to the server, and a good agreement by the interface data stream release to the terminal, the terminal provides service announcement.

[0057] 在上述技术方案中,优选地,所述预设处理操作包括流化操作。 [0057] In the above aspect, preferably, the predetermined processing operations include a fluidized operation.

[0058] 在该技术方案中,流媒体服务器直接根据流媒体协议对数据进行流化,这样,解决了现有技术中流媒体服务器流化文件时产生大量临时文件的问题,避免产生大量的冗余数据。 [0058] In this aspect, the data streaming server issues a large number of fluidizing temporary files, so that the prior art to solve the streaming media server streaming files directly from the streaming protocol, to avoid a large amount of redundant data.

[0059] 图3示出了根据本发明的一个实施例的流媒体点播方法的具体流程图。 [0059] FIG. 3 shows a detailed flowchart of a method of on-demand streaming media according to an embodiment of the present invention.

[0060] 如图3所示,根据本发明的实施例的流媒体点播方法的具体流程,包括: [0060] 3, depending on the flow demand media streaming method of the embodiment of the present invention, comprising:

[0061] 步骤302,点播服务器(即流媒体服务器)通过约定好的接口传递内容索引号给分布式存储装置; [0061] Step 302, on-demand server (i.e., the streaming media server) interface to deliver the content to the distributed index number storage means by a good agreement;

[0062] 步骤304,分布式存储装置通过索引号,路由最近到储存节点获取数据,同时通过该储存节点返回数据给点播服务器; [0062] Step 304, distributed storage means to the storage node route recently acquired data index, and returns the data to the server through the on-demand storage node;

[0063] 步骤306,点播服务器直接获取到返回的数据(不再需要在本地生成临时文件),并根据流媒体协议对数据进行流化; [0063] Step 306, VOD server directly returns the acquired data (no need to generate the temporary file locally), and in accordance with the data stream of streaming media protocols;

[0064] 步骤308,流化数据后,点播服务器通过流媒体协议对外公布服务。 [0064] Step 308, after the streaming data, on-demand server through the streaming protocol service announced.

[0065]图4示出了根据本发明的一个实施例的流媒体点播系统的框图。 [0065] FIG. 4 shows a block diagram of a streaming media on demand system in accordance with one embodiment of the present invention.

[0066] 如图4所示,根据本发明的一个实施例的流媒体点播系统包括:流媒体服务器集群402和分布式储存装置404,下面详细说明各部分的功能: [0066] As shown, according to an embodiment STREAMING SYSTEM embodiment of the present invention includes a 4: streaming media server 402 and distributed storage cluster 404, described below in detail functions of each part:

[0067] 当流媒体服务器集群中的A区流媒体服务器4022接收到来自用户侧的RTMP访问请求时,A区流媒体服务器4022传递内容索引号至分布式存储装置404,分布式存储装置404中的存储控制中心根据索引号路由到最近的存储服务器,如A区存储服务器4044,将内容数据索引号给A区存储服务器4044,A区存储服务器4044返回存储的数据至存储控制中心4042,由存储控制中心4042转发给A区流媒体服务器4022。 [0067] When the streaming media server cluster region A streaming server 4022 receives the access from the user side RTMP request, content index number 4022 is transmitted to the distributed storage device 404, distributed storage area A streaming media server 404 memory control center in accordance with the index number is routed to the nearest storage server, such as the area a storage server 4044, the contents of the data index number to the a region of the storage server 4044, area a storage server 4044 stores the returned data to the memory controller hub 4042, a storage A control center region 4042 is forwarded to the streaming server 4022. A区流媒体服务器4022直接把接收到的数据进行点播流化处理;流化数据后A区流媒体服务器4022通过流媒体协议对外公布服务。 A region directly to the streaming server 4022 receives the on-demand streamed data; streaming data after the region A streaming server 4022 through the streaming protocol service announced.

[0068] 以上结合附图详细说明了本发明的技术方案,通过本发明的技术方案,既能实现点播系统内容的本地化,又能解决点播系统流化文件时必须从本地读取文件而造成的大量数据冗余。 [0068] Detailed Description of the Drawings above technical solution of the present invention, the aspect of the present invention, both localized content on-demand system, can result from a local solution must be read when the file system on demand streaming files large amounts of data redundancy.

[0069] 以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。 [0069] The above description is only preferred embodiments of the present invention, it is not intended to limit the invention to those skilled in the art, the present invention may have various changes and variations. 凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 Any modification within the spirit and principle of the present invention, made, equivalent substitutions, improvements, etc., should be included within the scope of the present invention.

Claims (10)

1.一种流媒体点播方法,其特征在于,包括: 当流媒体服务器集群中的任一流媒体服务器接收到来自终端的流媒体点播请求时,将所述流媒体点播请求发送至分布式存储装置; 所述分布式存储装置从分布式存储服务器集群中选择出目标存储服务器,并将所述流媒体点播请求发送至所述目标存储服务器; 所述目标存储服务器根据所述流媒体点播请求中的索引号获取目标数据,并将所述目标数据发送至所述任一流媒体服务器; 所述任一流媒体服务器根据预设的流媒体协议对所述目标数据进行预设处理操作,并将处理后得到的数据发送至所述终端。 CLAIMS 1. A method for streaming media on demand, characterized by comprising: when a streaming media server in any cluster class media server receives streaming media on demand request from a terminal, the streaming media on demand request to distributed storage ; the distributed storage device is selected from the distributed storage server target storage server cluster, and the on-demand streaming request to the target storage server; the target storage streaming media on demand server according to the request index acquiring the target data and the target data to the media server of any class; class media server according to any predetermined processing operation on the target data according to a preset streaming protocol, and the resulting post-processing transmitting data to the terminal.
2.根据权利要求1所述的流媒体点播方法,其特征在于,还包括: 根据接收到的存储命令,将流媒体的内容数据通过所述分布式存储服务器集群进行存储。 The method of on-demand streaming media according to claim 1, characterized in that, further comprising: a storage command according to the received streaming media content data stored by said storing distributed server cluster.
3.根据权利要求2所述的流媒体点播方法,其特征在于,还包括: 对所述分布式服务器集群中每个存储服务器存储的流媒体的内容数据对应的索引号进行统计,以得到索引号统计表; 所述分布式存储装置根据所述流媒体点播请求中的所述索引号、所述索引号统计表和所述分布式存储服务器集群中每个存储服务器的使用情况,选择出所述目标存储服务器。 The on-demand media streaming method according to claim 2, characterized in that, further comprising: a streaming media content data distributed server cluster for each said storage server stores the index number corresponding to statistics, to obtain an index No statistics; said storage means according to the distributed on-demand streaming media request to the index number, the index number tables and the distributed servers in the cluster storage usage for each storage server, the selected said destination storage server.
4.根据权利要求1所述的流媒体点播方法,其特征在于,还包括: 所述任一流媒体服务器通过第一预设接口将所述流媒体点播请求发送至所述分布式存储装置,以及所述任一流媒体服务器通过第二预设接口将处理后得到的流化数据发布至所述终端。 The method of on-demand streaming media according to claim 1, characterized in that, further comprising: said any one media server class interface the first predetermined demand streaming request to the distributed storage by means, and the media server according to any class by the terminal interface to streaming data obtained after the second pre-processed to release.
5.根据权利要求1至4中任一项所述的流媒体点播方法,其特征在于,所述预设处理操作包括流化操作。 1 to 5. The method of any on-demand streaming media according to claim 4, wherein the predetermined processing operations include a fluidized operation.
6.一种流媒体点播系统,其特征在于,包括: 流媒体服务器集群; 分布式存储装置; 发送单元,当所述流媒体服务器集群中的任一流媒体服务器接收到来自终端的流媒体点播请求时,将所述流媒体点播请求发送至所述分布式存储装置; 选择单元,从所述分布式存储装置的分布式存储服务器集群中选择出目标存储服务器,并将所述流媒体点播请求发送至所述目标存储服务器; 获取单元,根据所述流媒体点播请求中的索引号从所述目标存储服务器获取目标数据,并将所述目标数据发送至所述任一流媒体服务器; 处理单元,控制所述任一流媒体服务器根据预设的流媒体协议对所述目标数据进行预设处理操作,并将处理后得到的数据发送至所述终端。 A streaming media on demand system, characterized by comprising: a streaming media server cluster; distributed storage means; transmitting unit, when the streaming media server in any cluster class media streaming media on demand server receives a request from the terminal when the on-demand streaming request to the distributed storage means; selecting means selects the target storage server from the distributed storage server cluster distributed storage device and the streaming media on demand request to the target storage server; acquiring unit acquires target data from the target storage server according to the request on-demand streaming media index number, and the target data to the media server of any class; a processing unit, a control the data server of any class media preset data processing operation of the target according to a preset streaming protocol, and the resulting post-processing to the transmitting terminal.
7.根据权利要求6所述的流媒体点播系统,其特征在于,还包括: 存储单元,根据接收到的存储命令,将流媒体的内容数据通过所述分布式存储服务器集群进行存储。 7. streaming media on demand system according to claim 6, characterized in that, further comprising: a storage unit, stores the received commands according to the streaming media content data stored by said storing distributed server cluster.
8.根据权利要求7所述的流媒体点播系统,其特征在于,还包括: 统计单元,对所述分布式服务器集群中每个存储服务器存储的流媒体的内容数据对应的索引号进行统计,以得到索引号统计表; 所述选择单元具体用于: 根据所述流媒体点播请求中的所述索引号、所述索引号统计表和所述分布式存储服务器集群中每个存储服务器的使用情况,从所述分布式存储装置的分布式存储服务器集群中选择出所述目标存储服务器。 8. The system of on-demand streaming media according to claim 7, characterized in that, further comprising: a counting unit, the stream media content data distributed server cluster each storage server stores the index number corresponding to statistics, to give the index number tables; the selecting unit is configured to: use the media on-demand request index number, the index number tables stored in the distributed server and each storage server cluster in accordance with the flow case, the target is selected from the distributed storage server stores said distributed server cluster storage device.
9.根据权利要求6所述的流媒体点播系统,其特征在于,还包括: 通过第一预设接口将所述流媒体点播请求发送至所述分布式存储装置以及通过第二预设接口将将处理后得到的流化数据发布至所述终端。 9. The streaming media on-demand system according to claim 6, characterized in that, further comprising: sending a request to the distributed storage means by predetermined first and by a second interface to the preset demand streaming media interface the streaming data obtained after processing to release the terminal.
10.根据权利要求6至9中任一项所述的流媒体点播系统,其特征在于,所述预设处理操作包括流化操作。 10.6 to 9 streaming on-demand system as claimed in any of claims, wherein said predetermined operation includes a flow processing operation.
CN201510066206.9A 2015-02-06 2015-02-06 Stream media ordering method and demand stream media system CN104602035B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510066206.9A CN104602035B (en) 2015-02-06 2015-02-06 Stream media ordering method and demand stream media system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510066206.9A CN104602035B (en) 2015-02-06 2015-02-06 Stream media ordering method and demand stream media system

Publications (2)

Publication Number Publication Date
CN104602035A true CN104602035A (en) 2015-05-06
CN104602035B CN104602035B (en) 2018-05-22

Family

ID=53127471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510066206.9A CN104602035B (en) 2015-02-06 2015-02-06 Stream media ordering method and demand stream media system

Country Status (1)

Country Link
CN (1) CN104602035B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106488263A (en) * 2016-10-24 2017-03-08 北京小米移动软件有限公司 Push the method and device of live broadcast stream media data
CN106899577A (en) * 2017-01-21 2017-06-27 北京优教互动教育科技有限公司 A kind of Video service cloud platform for long-distance education
CN107333080A (en) * 2017-05-24 2017-11-07 清华大学 A kind of high speed, high resolution image data recording method, apparatus and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100241757A1 (en) * 2007-10-23 2010-09-23 Maowei Hu System and Method for Storing Streaming Media File
CN102118315A (en) * 2011-02-28 2011-07-06 华为技术有限公司 Method for fluidizing, recording and reading data and system adopting same
CN102196298A (en) * 2011-05-19 2011-09-21 中山大学 Distributive VOD (video on demand) system and method
CN102685123A (en) * 2012-05-04 2012-09-19 安科智慧城市技术(中国)有限公司 Cloud-storage-based streaming media publication device, system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100241757A1 (en) * 2007-10-23 2010-09-23 Maowei Hu System and Method for Storing Streaming Media File
CN102118315A (en) * 2011-02-28 2011-07-06 华为技术有限公司 Method for fluidizing, recording and reading data and system adopting same
CN102196298A (en) * 2011-05-19 2011-09-21 中山大学 Distributive VOD (video on demand) system and method
CN102685123A (en) * 2012-05-04 2012-09-19 安科智慧城市技术(中国)有限公司 Cloud-storage-based streaming media publication device, system and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106488263A (en) * 2016-10-24 2017-03-08 北京小米移动软件有限公司 Push the method and device of live broadcast stream media data
CN106899577A (en) * 2017-01-21 2017-06-27 北京优教互动教育科技有限公司 A kind of Video service cloud platform for long-distance education
CN107333080A (en) * 2017-05-24 2017-11-07 清华大学 A kind of high speed, high resolution image data recording method, apparatus and system
CN107333080B (en) * 2017-05-24 2019-11-22 清华大学 A kind of high speed, high resolution image data recording method, apparatus and system

Also Published As

Publication number Publication date
CN104602035B (en) 2018-05-22

Similar Documents

Publication Publication Date Title
US8756296B2 (en) Method, device and system for distributing file data
US8677008B2 (en) Distributed storage system with high bandwidth utilization
US9118814B2 (en) Set-top box peer-assisted video-on-demand
US10225306B2 (en) Controlled streaming of segmented content
EP2104287A1 (en) A method for client node network topology construction and a system for stream media delivery
US6101547A (en) Inexpensive, scalable and open-architecture media server
US7913282B2 (en) Distributed cooperative memory for interactive and scalable video-on-demand system
CA2886313C (en) Regulating content streams from a weighted fair queuing scheduler using weights defined for user equipment nodes
JP2016219032A (en) Network-initiated content streaming control
US8849984B2 (en) Bandwidth requesting system, bandwidth requesting device, client device, bandwidth requesting method, content playback method, and program
US8880650B2 (en) System and method for storing streaming media file
US9451298B2 (en) Transmission device, transmission method, and network apparatus
JP6014870B2 (en) Method and system for real-time transmax conversion of streaming media content
CN101959054B (en) Integrated P2P (Peer-To-Peer) VOD (Video-On-Demand) system and partner node selecting method
CA2840106A1 (en) Offline download method, multimedia file download method and system thereof
JP5303452B2 (en) Delayed download of video services using a peer-to-peer (P2P) content distribution network
Janardhan et al. Peer assisted VoD for set-top box based IP network
AU2013331512A1 (en) Partitioning streaming media files on multiple content distribution networks
CN101997924A (en) Cloud storage file transfer protocol (CFTP)
KR101661186B1 (en) Method and device for multi-screen interaction
CN101635635B (en) The cloud model streaming media service platform
CN101540775B (en) Method and device for distributing contents and network system for distributing contents
CN100405795C (en) Service system for distributed reciprocal flow media and realizing method for requesting programm
CN101861584A (en) End to end data transfer
CN102984194A (en) Sychronization of configuration file of virtual application distribution chassis

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
GR01