CN102123303B - Audio/video file playing method and system as well as transmission control device - Google Patents

Audio/video file playing method and system as well as transmission control device Download PDF

Info

Publication number
CN102123303B
CN102123303B CN 201110073057 CN201110073057A CN102123303B CN 102123303 B CN102123303 B CN 102123303B CN 201110073057 CN201110073057 CN 201110073057 CN 201110073057 A CN201110073057 A CN 201110073057A CN 102123303 B CN102123303 B CN 102123303B
Authority
CN
China
Prior art keywords
audio
terminal
video
file
slice
Prior art date
Application number
CN 201110073057
Other languages
Chinese (zh)
Other versions
CN102123303A (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 CN 201110073057 priority Critical patent/CN102123303B/en
Publication of CN102123303A publication Critical patent/CN102123303A/en
Application granted granted Critical
Publication of CN102123303B publication Critical patent/CN102123303B/en

Links

Abstract

The invention discloses an audio/video file playing method and system as well as a transmission control device. The audio/video file playing method comprises the following steps of: compressing and coding an audio/video file into a plurality of audio/video stream data according to different code rates; partitioning each audio/video stream datum into audio/video file slices according to same time segments and generating an index file; acquiring terminal transmission bandwidth data, selecting the audio/video file slices adapting to terminal transmission bandwidth according to the index file andsending the audio/video file slices to a terminal to be played. By adopting the technical scheme provided by the invention, the problem of unsmooth playing brought by network bandwidth fluctuation inthe audio/video playing process is solved, and the experience of a user in the process of watching audio/video programs is improved.

Description

一种音视频文件播放方法、系统及传输控制装置 A tone generating video file playing method, system and transmission control means

技术领域 FIELD

[0001] 本发明涉及音视频播放技术领域,尤其涉及一种音视频文件播放方法、系统及传输控制装置。 [0001] The present invention relates to audio and video technologies, and more particularly to a method for playing audio and video files, system and transmission control means.

背景技术 Background technique

[0002] 在IP网络上传输和播放音视频时,存在着不同网络环境下播放音视·频节目的情况,在IP网络环境中通信网络随时段以及各种自然因素导致的网络传输带宽波动的问题。 [0002] On an IP network and play audio and video transmission, there are cases where the frequency-play audiovisual programs under different network environments, a communication network at any section, and natural factors in IP network environment, network bandwidth fluctuations problem. 由此造成在开展音视频业务时,需要投资建设不同的播出系统以应对不同网络和终端播放设备,并且在网络带宽出现波动时无法很好的进行流畅的播出,出现不连续的播放效果,造成系统建设成本高且用户收看体验差的问题。 Resulting in the conduct audio and video services, the need to invest in a different broadcast system to respond to different networks and terminals playback device, and can not be very good for smooth broadcast on network bandwidth fluctuations, does not appear continuous playback , resulting in high cost of building the system and the user viewing experience is poor.

[0003] 音视频播放系统主要的功能是对终端提供各类的音视频播出功能,传统的播出方式为事先把要播放的音视频节目经过编转码后存在服务器端,在接收终端播放器播放请求时,向终端按网络协议比如RTSP (Real Time Streaming Protocol,实时流传输协议)等向终端发送视频节目。 [0003] The main function of the system to provide audio and video playback function of various types of audio and video broadcast terminal, the conventional way prior to broadcast audio and video programs to be played back through the presence of coding transcoding server, the receiving terminal displays the when playback is requested, the terminal according to the network protocol, such as RTSP (real time streaming protocol, real time streaming protocol) or the like transmits video programs to the terminal. 在节目播放过程中,始终按初始连接时终端与系统协商或播放系统制定的节目流向终端发送,终端接收并解码和播放。 During a program, the connection terminals are always initial negotiation or playback system to develop a program flow system transmitting terminal, the terminal receives and decodes and plays. 在整个音视频播放过程中,音视频均按系统编码时所采用的CBR (Constants Bit Rate,静态(恒定)比特率)、VBR (Variable BitRate,非固定的比特率)参数下的产生的码流,在对同一个节目每个终端用户传输相同的音视频码率,无法解决不同终端用户在播放中带宽实时变化的情况。 In the course of the entire audio and video playback, audio and video are by the CBR when encoding system employed (Constants Bit Rate, static (fixed) bit rate), resulting in VBR (Variable BitRate, non-fixed bit rate) stream parameters in the same program on the same audio and video transmission rate for each end user, the end user can not be solved in different circumstances bandwidth real change in playback. VBR虽然采用了可变码率来编码原始节目,达到降低音视频码率的目的,但仍然无法控制播放过程中的网络变动的网络带宽问题。 Although the use of variable bit rate VBR encoding to the original program, to reduce audio and video bit rate, but still can not control the network bandwidth issues during playback of network changes. 在面对IPTV、互联网或移动视频播放业务时,因为终端的不同各个终端播放的音视频码率也不一致,系统针对各个终端平台准备不同的播出节目才能保证终端的覆 In the face of IPTV, the Internet or mobile video playback services, audio and video bit rate because of the different terminals of each terminal is also inconsistent play, system is ready to cover different broadcast programs in order to ensure the terminal for each terminal platform

至JHL ο To JHL ο

[0004] 现有音视频播放系统的方案中,首先把要播出的节目通过编码器编码形成多种码率的媒体文件,存放在服务器上,对于直播音视频则通过实时编码器编码产生多个不同码率的码流,再通过分发服务器对终端用户进行分发播出。 [0004] The conventional audio and video playback system embodiment, the first to form a plurality of programs broadcast by the bit rate encoder for encoding media files, stored on the server, for broadcast audio and video generated by the real time encoder coding multiple streams of different bit rate, and then distributed to end users through the broadcast distribution server. 在编码时对音视频采用VBR或CBR方式对原始音视频数据进行编码压缩,通过编码不同的码率节目源对应不同的播放终端。 When encoding audio and video using CBR or VBR mode the raw audio and video data compression encoded by different program source code rates corresponding to different playing terminals. 终端在发出节目播放请求时流服务器向终端发回某一个流节目,终端收到数据进行播放。 Issued when the terminal program displays the streaming server sends back a request to the terminal a streaming program, the terminal receives the data for playback. 对与直播节目则流服务器发回一个节目的流,播放器接收并持续播放。 With live broadcasts of the streaming server sends back a program stream, the player received and continue to play.

[0005] 对于各类不同的终端,传统的流传输与控制系统能够根据终端所支持的码率,按固定的已编码的码率向终端发送音视频数据。 [0005] For different types of terminals, the conventional streaming and control system capable of transmitting audio and video data to the terminal supported by the terminal according to a fixed bit rate of the encoded bit rate. 或者在检测终端与流服务器间的网络速率后,向终端返回固定编码码率的音视频流数据。 After the network or the detection rate between the terminal and the streaming server returns the audio and video stream data rate fixed code to the terminal.

[0006] 上述现有流服务器系统使用与播放器初始化连接时时判断网速,向终端播放器发送预定的多媒体数据,这些数据是事先通过编码器设定好的固定编码的速率,在播放器播放该节目整个过程中均按此参数向播放器端发送多媒体数据,该技术存在以下的缺点: [0006] The streaming server system using conventional player initiates the connection with the network speed is determined from time to time, a predetermined transmitted data to the terminal multimedia player, the data is pre-configured fixed coding rate by the encoder, in the player throughout the process the program data are transmitted to the multimedia player terminal Click parameters, this technique has the following disadvantages:

[0007] 播放器在播放音视频内容时,所处的网络传输环境在改变,网络因外界原因所能提供的传输带宽会发生变动,从而导致网络传输带宽会小于音视频的编码码率时,播放器端将接收不到足够的播放数据而出现暂停,等待服务器端发送足够的数据再进行播放,从而在播放器端出现暂停,等待数据缓冲,当缓冲到一定的时候再开始进行播放。 [0007] players when playing audio and video content, network transmission in which the change in environment, transmission bandwidth of the network due to external causes can provide a change occurs, resulting in network transmission bandwidth will be smaller than the audio and video coding rate, player will not receive a sufficient end-play data and a pause, wait for the server sends enough data then play, so that a pause in the player side, waiting for data buffer, when the buffer to a certain time before starting playback. 造成播放不连续,使用户在收看音视频内容时不顺畅,造成很差的体验。 Resulting in discontinuous playing, the user is not smooth when viewing audio and video content, resulting in a poor experience.

[0008] 不同终端的播放器需要与服务器进行事先的协商和设置,服务器系统才能够支持该类型的终端,并且该节目需要存在与该终端匹配的编码码率的节目存在。 [0008] Different players need terminals prior consultations and provided, the server system able to support this type of terminal and the server, the program needs to exist and there is a matching coding bit rate to the terminal program. 此播放器才能够播放节目。 This player will be able to broadcast programs.

发明内容 SUMMARY

[0009] 本发明的目的在于提出一种音视频文件的播放方法、系统及传输控制装置,用于解决音视频文件在播放过程中因终端传输带宽发生变动时,无法及时有效传输音视频文件进行播放的问题。 [0009] The object of the present invention is to provide a method for playing audio and video files, system and transmission control means for Solving the audio and video files by the terminal transmission bandwidth varies, not in time for the playback of audio and video files for efficient transmission problem play.

[0010] 为达此目的,本发明采用以下技术方案: [0011 ] 一种音视频文件播放方法,包括: [0010] To achieve this object, the present invention employs the following technical solution: [0011] A method for playing audio and video files, comprising:

[0012] A、将音视频源文件根据不同的码率压缩编码为若干音视频流数据; [0012] A, the compressed audio and video source coding rate according to a number of different audio and video data stream;

[0013] B、将每个所述音视频流数据根据相同的时间片段分割成音视频文件切片,并生成索引文件; [0013] B, each of the audio-video data stream is divided into segments according to the same time slice audio and video files, and generates an index file;

[0014] C、获取终端传输带宽数据,根据所述索引文件选择与终端传输带宽相适应的音视频文件切片,发送终端播放。 [0014] C, acquires the terminal transmission bandwidth of data, audio and video files in accordance with the slice index file selection and adapt the terminal transmission bandwidth, the transmission terminal plays.

[0015] 对经过不同码率压缩编码的音视频流数据,均按照相同的时间片段进行切片。 [0015] After the audio and video streams of different bit rate compression coding of the data, it is sliced ​​in the same time slice.

[0016] 所述索引文件包含所有音视频文件切片的码率信息和时间段信息。 The [0016] index file containing all audio and video files slice rate information and period information.

[0017] 所述步骤C具体包括: [0017] The step C comprises:

[0018] 当终端请求音视频文件时,将最小码率的音视频文件切片发送终端,根据终端传输时间计算终端传输带宽数据,根据索引文件选择与终端传输带宽相适应的后续音视频文件切片,发送终端播放。 [0018] When the terminal requests audio and video files, the minimum bit rate audio and video files slice transmitting terminal, the terminal is calculated according to the terminal transmission bandwidth data transmission time slice in accordance with the subsequent audio and video files with the index file select the terminal adapted to the transmission bandwidth, send terminal plays.

[0019] 播放过程中,不断根据上一个音视频文件切片的传输时间计算终端传输带宽数据,根据索引文件选择与终端传输带宽相适应的后续音视频文件切片,发送终端播放。 [0019] During playback, calculated continuously according to the transmission time audio and video files on a terminal transmission bandwidth of the data slice, the index file is selected according to the terminal transmission bandwidth adapted to the subsequent slice audio and video files, playing the transmitting terminal.

[0020] 一种音视频文件传输控制装置,该装置包括编码单元、切片单元、索引单元和带宽检测单元,具体如下: [0020] An audio and video file transfer controlling means, the apparatus comprising a coding unit, a slice unit, indexing unit, and a bandwidth detection means, as follows:

[0021] 所述编码单元,用于将音视频文件根据不同的码率进行压缩编码,形成若干个音视频流数据; [0021] The encoding unit configured to encode audio and video files compressed according to different bit rate, forming a plurality of audio and video data stream;

[0022] 所述切片单元,用于将每个所述音视频流数据根据相同的时间片段分割成音视频文件切片; [0022] The slicing unit, each of the audio-video data stream for the divided segments according to the same time slice as audio and video files;

[0023] 所述索引单元,用于存储音视频文件切片,并生成索引文件; [0023] The index unit for storing audio and video files slices, and generating an index file;

[0024] 所述带宽检测单元,用于检测终端传输带宽数据,选择与终端传输带宽相适应的音视频文件切片发送终端播放。 [0024] The bandwidth detection means for detecting the terminal data transmission bandwidth, the transmission bandwidth and the terminal select compatible audio and video files playback sections transmitting terminal.

[0025] 所述带宽检测单元进一步包括传输子单元、计算子单元和选择子单元,具体包括: [0025] The bandwidth detection means further includes a transmission sub-unit, and a calculating sub-unit selecting sub-unit comprises:

[0026] 所述传输子单元,用于接收终端的播放请求,向终端发送音视频文件切片; [0026] The sub-transmission unit for receiving terminal requests playback, audio and video files sent to the terminal sections;

[0027] 所述计算子单元,用于检测传输子单元向终端发送音视频文件切片的时间,计算终端带宽数据; [0027] The calculating sub-unit, for detecting a transmission sub-unit transmits the audio and video files to the time slice of the terminal, the terminal calculates the band data;

[0028] 所述选择子单元,用于根据终端带宽数据,选择相适应的音视频文件切片。 [0028] The selecting sub-unit, audio and video files for the terminal according to the bandwidth of the data slice, adapted to select.

[0029] 一种音视频文件播放系统,该系统包括服务器与终端,具体如下: [0029] An audio and video playback system includes a server and a terminal, as follows:

[0030] 所述服务器,用于将音视频文件根据不同的码率进行压缩编码,形成若干个音视频流数据,将每个音视频流数据根据相同的时间片段分割成音视频文件切片,存储音视频文件切片,并生成索引文件,检测终端传输带宽数据,选择与终端传输带宽相适应的音视频文件切片发送终端播放。 [0030] The server, for compression-encoded audio and video files based on different bit rate, to form a number of audio and video data streams, each audio and video stream data into audio and video files based on the same time slice fragments storage slicing audio and video files, and generates an index file, data transmission bandwidth detection terminal, the terminal selects the transmission bandwidth compatible audio and video files playback sections transmitting terminal.

[0031] 所述终端,用于向服务器请求音视频文件,接收音视频文件切片并播放。 [0031] the terminal, a request for audio and video files to the server, receiving and playing audio and video files slice.

[0032] 本发明的技术方案,使用一种多码率压缩编码的音视频文件切片方式,解决了在音视频播放过程中因网络带宽波动带来的播放不流畅的问题,提高了用户收看音视频节目过程中的体验。 [0032] aspect of the present invention, the use of a multi-rate compression-encoded audio and video files slice manner, to solve the audio and video playback due to network bandwidth fluctuations play smoothly problems and improve the user watches tone video program during the experience. 同时,使用一套系统解决为多种终端匹配输出不同码率的音视频节目的问题,使视频点播与直播可以使用相同的系统,从而为多媒体系统建设降低了成本,节约了开·销。 At the same time, using a system to solve the problem in a variety of different termination rate of output audio and video programs, video on demand and so can use the same broadcast system, thus reducing the cost for the construction of a multimedia system, the open-saving pin.

附图说明 BRIEF DESCRIPTION

[0033] 图I是本发明具体实施方式中音视频文件播放方法主要流程示意图; [0033] Figure I is a particular embodiment of the present invention the video and audio file playback schematic flowchart of the main method;

[0034] 图2是一种音视频文件压缩编码并分割切片的示意图; [0034] FIG. 2 is a schematic diagram of a compression-encoded audio and video files, and the divided sections;

[0035] 图3是本发明实施例中一种终端播放器与服务器之间信息流程示意图; [0035] FIG. 3 is a schematic view of the information flow between the player of a terminal server according to the present invention;

[0036] 图4是本发明实施例提供一种视音频文件传输控制装置结构示意图; [0036] FIG. 4 is an embodiment of the present invention provides a schematic view of one kind of structure of a control apparatus of audio files;

[0037]图5是本发明实施例提供的视音频文件传输控制装置中带宽检测单元结构示意图。 [0037] FIG. 5 is a schematic embodiment of the present invention, a bandwidth detection means in the unit structure provided by AV file transmission control.

具体实施方式 Detailed ways

[0038] 下面结合附图并通过具体实施方式来进一步说明本发明的技术方案。 [0038] below with reference to specific embodiments and further technical solutions of the present invention.

[0039] 本发明的技术方案,解决了音视频文件在播放过程中因传输系统带宽发生变动时,播放器端实时适配不同的播放码率音视频内容,使在不同网络状况环境下能够顺利的播放节目内容。 [0039] aspect of the present invention solves the audio and video files during playback when the bandwidth changes due to the transmission system occurs, the player ends playing different bit rate adaptation in real time audio and video content, enable smooth conditions in different network environments the broadcast program content. 本发明技术方案提出一种可变码率传输与控制的方法和系统,解决传统音视频系统播放过程中对终端变码率适配问题,提供了终端多样音视频码率的动态自适应的方法,解决多种不同终端不同播放能力适配的问题,使用同一套音视频系统即能能够支持多种终端的不同码率动态播放。 Technical Solution The present invention provides a method and system for variable rate transmission and control system to solve the conventional audio and video during playback of the terminal becomes the rate adaptation problem, a method of dynamically adaptive terminal variety of audio and video bit rate , the ability to solve many different players fit different terminal problem, use a different rate that is able to support a variety of terminals with a dynamic play audio and video systems.

[0040] 如图I所示,为本发明实施例提供的音视频文件播放方法主要流程示意图,具体如下: [0040] As shown in FIG I, the present method for playing audio and video files provided by the main flow schematic embodiment of the invention, as follows:

[0041] 步骤101,将音视频源文件根据不同的码率压缩编码为若干音视频流数据。 [0041] Step 101, the compression-encoded audio and video source file into a number of audio and video data stream in accordance with different code rates.

[0042] 音视频文件一般存放在服务器端,服务器端首先需要根据不同的播放终端需要的码率将音视频文件压缩编码,形成多个音视频流数据。 [0042] audio and video files are generally stored in the server, the server first code rate according to the different needs required by the terminal to play audio and video files compression encoding a plurality of audio and video data streams. 每个音视频流数据对应一种码率编码的音视频文件。 Each audio and video data stream corresponding to audio and video files one kind of rate encoding. 这样,一个音视频文件经过不同码率的压缩编码形成多个音视频流数据。 Thus, a compression-encoded audio and video files via a plurality of different bit rate video and audio data streams.

[0043] 这里的不同码率,可以根据需要设定,例如将已知的所有的编码码率均作为音视频文件压缩编码的码率,以提高整个系统的普适性。 [0043] Here the different code rates can be set as desired, for example, all the coding rate is known as the audio and video files are compression coding rate to enhance the universality of the system.

[0044] 步骤102,将每个音视频流数据根据相同的时间片段分割成音视频文件切片,并生成索引文件。 [0044] Step 102, each of the audio and video stream data is divided into segments according to the same time slice audio and video files, and generates the index file.

[0045] 对于编码生成的音视频流数据,需要进一步的根据时间片段进行分割,一个音视频流数据分割为多个音视频文件切片。 [0045] For audio and video data stream generated by the encoding, is divided according to the need for further time slice, a video and audio stream data is divided into a plurality of audio and video files slice. 音视频文件切片根据时间顺序可以重新组成一个完整的音视频文件。 Audio and video files can be re-sorted by the time slice to form a complete audio and video files.

[0046] 其中,由于音视频文件经过不同码率的压缩编码后,形成了多个音视频流数据,因而,需要对所有的音视频流数据均按照相同的时间片段进行分割,形成音视频文件切片。 [0046] wherein, since the audio and video files after compression encoding different code rates, are formed a plurality of audio and video streaming data, and thus needs to be divided are the same for all time segments of the audio and video data streams, audio and video files are formed slice. 不同的音视频流数据经过分割后,得到的时间片段相同的音视频文件切片,其音视频内容是相同的,只是压缩编码的码率不同。 The same audio and video files in different time segments slice of audio and video data stream after splitting, obtained, which audio and video content is the same, but different compression coding rate.

[0047] 特别的,每个音视频流数据分割切片的数量可以预先设定,并可以根据需要进行调整。 [0047] In particular, the number of divided slices in each stream audio and video data may be set in advance, and can be adjusted as needed. 例如,可以根据具体音视频文件的大小,将音视频流数据分割切片成不同的切片。 For example, according to the size of the specific audio and video files, streaming audio and video data is divided into different sections slice.

[0048] 生成索引文件,用于建立所有的文件切片的索引。 [0048] generate index files for indexing all files slices. 在索引文件中,不同的音视频文件切片根据其时间片段和压缩编码的码率建立索引关系。 In the index file, different audio and video files based on their time slice fragments and compression-coded index rate relationship.

[0049] 如图2所示,为一种音视频文件压缩编码并分割切片的示意图,其中,音视频文件经过码率I、码率2、码率3、码率4共4中码率的压缩编码,得到4个音视频流数据,分别将4个音视频流数据根据相同的时间片段进行分割,得到若干个音视频文件切片,保存并建立索引文件,用以查找不同的音视频文件切片。 [0049] 2, as a compression-encoded audio and video files and schematic sections divided, wherein the bit rate audio and video files via I, bitrate 2, bitrate 3, 4 of 4 rate code rate compression coding, to obtain four audio and video data streams, audio and 4 respectively, the video stream data according to the same division time segments, audio and video files to obtain a plurality of sections, and to save the file index to find the different audio and video files slice .

[0050] 一种较佳的实施例中,本发明实施例提供方案的音视频文件切片后在服务器端保存的各个码率节目索引文件的格式如下: [0050] In a preferred embodiment, the audio and video files provided tiling scheme saved at the server program each code rate index file format of the present invention are as follows:

[0051] #program name “news of today” [0051] #program name "news of today"

[0052] #program duration:50s [0052] #program duration: 50s

[0053] #fragment duration:IOs [0053] #fragment duration: IOs

[0054] #media-sequence: 0 [0054] # media-sequence: 0

[0055] #fragment : 128kbps [0055] #fragment: 128kbps

[0056] url_path : file://medsvr/program_cctvl_128k/CCTV1—20100526—173904—60245. mp4 [0056] url_path: file:. // medsvr / program_cctvl_128k / CCTV1-20100526-173904-60245 mp4

[0057] url_path : file://medsvr/program_cctvl_128k/CCTV1—20100526—173904—60246. mp4 [0057] url_path: file:. // medsvr / program_cctvl_128k / CCTV1-20100526-173904-60246 mp4

[0058] url_path : file://medsvr/program_cctvl_128k/CCTV1—20100526—173904—60247. mp4 [0058] url_path: file:. // medsvr / program_cctvl_128k / CCTV1-20100526-173904-60247 mp4

[0059] url_path : file://medsvr/program_cctvl_128k/CCTV1—20100526—173904—60248. mp4 [0059] url_path: file:. // medsvr / program_cctvl_128k / CCTV1-20100526-173904-60248 mp4

[0060] url_path : file://medsvr/program_cctvl_128k/CCTV1—20100526—173904—60249. mp4 [0060] url_path: file:. // medsvr / program_cctvl_128k / CCTV1-20100526-173904-60249 mp4

[0061] #fragment : 128kbps_end [0061] #fragment: 128kbps_end

[0062] #fragment : 256kbps [0062] #fragment: 256kbps

[0063] url_path : file://medsvr/program_cctvl_256k/CCTV1—20100526—173904—60245. mp4 [0063] url_path: file:. // medsvr / program_cctvl_256k / CCTV1-20100526-173904-60245 mp4

[0064] url_path : file://medsvr/program_cctvl_256k/CCTV1—20100526—173904—60246. mp4[0065] url_path : file://medsvr/program_cctvl_256k/CCTV1—20100526—173904—60247. mp4 [0064] url_path: file: // medsvr / program_cctvl_256k / CCTV1-20100526-173904-60246 mp4 [0065] url_path:. File:. // medsvr / program_cctvl_256k / CCTV1-20100526-173904-60247 mp4

[0066] url_path : file://medsvr/program_cctvl_256k/CCTV1—20100526—173904—60248. mp4 [0066] url_path: file:. // medsvr / program_cctvl_256k / CCTV1-20100526-173904-60248 mp4

[0067] url_path : file://medsvr/program_cctvl_256k/CCTV1—20100526—173904—60249. mp4 [0067] url_path: file:. // medsvr / program_cctvl_256k / CCTV1-20100526-173904-60249 mp4

[0068] #fragment : 256kbps_end [0068] #fragment: 256kbps_end

[0069] #fragment : 800kbps [0069] #fragment: 800kbps

[0070] url_path : file://medsvr/program_cctvl_800k/CCTV1—20100526—173904—60245. mp4 [0070] url_path: file:. // medsvr / program_cctvl_800k / CCTV1-20100526-173904-60245 mp4

[0071 ] url_path : file : / /medsvr/program_cctvl_800k/ CCTV1—20100526—173904—60246. mp4 [0071] url_path: file:. / / Medsvr / program_cctvl_800k / CCTV1-20100526-173904-60246 mp4

[0072] url_path : file://medsvr/program_cctvl_800k/CCTV1—20100526—173904—60247. mp4 [0072] url_path: file:. // medsvr / program_cctvl_800k / CCTV1-20100526-173904-60247 mp4

[0073] url_path : file://medsvr/program_cctvl_800k/CCTV1—20100526—173904—60248. mp4 [0073] url_path: file:. // medsvr / program_cctvl_800k / CCTV1-20100526-173904-60248 mp4

[0074] url_path : file://medsvr/program_cctvl_800k/CCTV1—20100526—173904—60249. mp4 [0074] url_path: file:. // medsvr / program_cctvl_800k / CCTV1-20100526-173904-60249 mp4

[0075] #fragment : 800kbps_end [0075] #fragment: 800kbps_end

[0076] #fragment : 1500kbps [0076] #fragment: 1500kbps

[0077] url_path : file://medsvr/program_cctvl_1500k/CCTV1—20100526—173904—60245. mp4 [0077] url_path: file:. // medsvr / program_cctvl_1500k / CCTV1-20100526-173904-60245 mp4

[0078] url_path : file://medsvr/program_cctvl_1500k/CCTV1—20100526—173904—60246. mp4 [0078] url_path: file:. // medsvr / program_cctvl_1500k / CCTV1-20100526-173904-60246 mp4

[0079] url_path : file://medsvr/program_cctvl_1500k/CCTV1—20100526—173904—60247. mp4 [0079] url_path: file:. // medsvr / program_cctvl_1500k / CCTV1-20100526-173904-60247 mp4

[0080] url_path : file://medsvr/program_cctvl_1500k/CCTV1—20100526—173904—60248. mp4 [0080] url_path: file:. // medsvr / program_cctvl_1500k / CCTV1-20100526-173904-60248 mp4

[0081 ] url_path : file://medsvr/program_cctvl_1500k/CCTV1—20100526—173904—60249. mp4 [0081] url_path: file:. // medsvr / program_cctvl_1500k / CCTV1-20100526-173904-60249 mp4

[0082] #fragment : 1500bps_end [0082] #fragment: 1500bps_end

[0083] 在索引文件里标识音视频文件切片时间长度,不同码率的文件切片的文件位置,每种不同码率每个时刻都对应相同内容的节目内容的可播放文件。 Playable files [0083] sections in the index file identification tone slice length of time the video file, file location different code rates, each corresponding to a different code rate for each time are the same contents of program content.

[0084] 同时产生一个音视频文件的播出索引文件的格式如下: [0084] index file while generating a broadcast audio and video file format is as follows:

[0085] #program name “news of today” [0085] #program name "news of today"

[0086] #program duration:50s [0086] #program duration: 50s

[0087] #program fragment: 5 [0087] #program fragment: 5

[0088] CCTV1—20100526—173904—60245. mp4 [0088] CCTV1-20100526-173904-60245. Mp4

[0089] CCTV1—20100526—173904—60246. mp4[0090] CCTV1_20100526_173904_60247. mp4 [0089] CCTV1-20100526-173904-60246. Mp4 [0090] CCTV1_20100526_173904_60247. Mp4

[0091] CCTV1_20100526_173904_60248. mp4 [0091] CCTV1_20100526_173904_60248. Mp4

[0092] CCTV1_20100526_173904_60249. mp4 [0092] CCTV1_20100526_173904_60249. Mp4

[0093] #end [0093] #end

[0094] 在播出索引文件里保存了该音视频文件持续时间、切片数,切片文件名信息。 [0094] to save the audio and video files duration, the number of slices, slice the file name information in the broadcast index file.

[0095] 步骤103,获取终端传输带宽数据,根据索引文件选择与终端传输带宽相适应的音视频文件切片,发送终端播放。 [0095] Step 103, the terminal transmission bandwidth acquiring data, the index file is selected according to the terminal transmission bandwidth adapted to slice audio and video files, playing the transmitting terminal.

[0096] 当终端请求音视频文件时,将最小码率的音视频文件切片发送终端,根据终端传输时间计算终端传输带宽数据,根据索引文件选择与终端传输带宽相适应的后续音视频文件切片,发送终端播放。 [0096] When the terminal requests audio and video files, the minimum bit rate audio and video files slice transmitting terminal, the terminal is calculated according to the terminal transmission bandwidth data transmission time slice in accordance with the subsequent audio and video files with the index file select the terminal adapted to the transmission bandwidth, send terminal plays.

[0097] 在终端播放器播放音视频文件时,终端播放器先向服务器发出播放请求,服务器向终端播放器终端返回该音视频文件播出索引文件,终端播放器再根据播出索引文件中的信息,向服务器发出下载该音视频文件的信息,服务器则根据服务器端索引文件中的索引信息,向终端播放器返回该音视频文件最小码率压缩编码的第一个音视频文件切片,终端播放终端下载完此文件切片后开始进行播放。 [0097] When the terminal player to play audio and video files, the terminal player Xianxiang server sends a play request, the server returns the audio and video files to the terminal broadcast index file player terminal, the player terminal then broadcast in accordance with the index file information, send a message to download the audio and video files to the server, the server is the server according to the index information in the index file, and returns the minimum bit rate audio and video files to the player terminal a compression-encoded audio and video files in the first slice, the terminal displays the start playing after you download the file terminal sections. 在播放的同时终端播放器向服务请求下一个文件切片,此时服务器根据终端播放器对上一个文件切片下载的速度计算出服务器与此终端播放器传输的最大带宽,并匹配适合码率的下一个码率的文件切片向终端播放器传输。 The player terminal, then the server computing while playing a file to the service request slice player terminal according to the speed of downloading a file slice a maximum bandwidth of this player to the server transmitted from the terminal, and match the appropriate bit rate a rate of transmission to the terminal sections file player. 这样终端播放器在播放每个文件切片的同时在下载下一个文件切片,服务器根据上一个文件切片下载的速度能够检测出当前网络的带宽,并随时调整向终端播放器发送不同码率的文件切片,从而保证终端播放器上能够始终流畅而不出现中断的播放。 Such terminal player while playing the file of each slice in the slice to download a file, a file server based on the download speed slice is possible to detect the current network bandwidth, and transmits a different code rate at any time to adjust to the player terminal sections file so as to ensure smooth can always play without interruption appears on the terminal player.

[0098] 特别的,不同的终端传输带宽数据与相应的音视频文件切片的对应关系,可以预先设定,并由索引文件进行维护。 [0098] In particular, different transmission bandwidths of the terminal data and corresponding audio and video files slice corresponding relationship may be preset by the index file maintenance.

[0099] 如图3所示,为本发明实施例中一种终端播放器与服务器之间信息流程示意图,具体如下: [0099] FIG. 3, a schematic diagram of the present information flow between the server and the player of a terminal in the embodiment the invention, as follows:

[0100] 步骤201,终端播放器相服务器发出播放请求,请求音视频文件; [0100] Step 201, the terminal server sends the player with playback request with audio and video files;

[0101] 步骤202,服务器向终端播放器返回播放索引文件; [0101] Step 202, the terminal server returns to the player to play the index file;

[0102] 步骤203,终端播放器相服务器请求播放音视频文件; [0102] Step 203, the server requests the terminal player with playing audio and video files;

[0103] 步骤204,服务器向终端播放器返回最小码率的音视频文件切片,该文件切片为该音视频文件的第一个文件切片; [0103] Step 204, the server returns the smallest slice bit rate audio and video files to the player terminal, the first slice of the document file for the audio and video files slices;

[0104] 步骤205,终端播放器开始播放该音视频文件切片; [0104] Step 205, the terminal player starts to play audio and video files slice;

[0105] 步骤206,服务器端检测终端播放器的带宽数据,检测终端播放器适合的播放速度; [0105] Step 206, the bandwidth of the server data terminal player detector detects a terminal for playing speed of the player;

[0106] 步骤207,终端播放器向服务器端请求下一个文件切片; [0106] Step 207, the terminal player requests a file to the server the next slice;

[0107] 步骤208,服务器根据检测的带宽数据,匹配适合该带宽的码率编码的文件切片; [0107] Step 208, the server according to the bandwidth of the data detected, the match rate encoding for bandwidth slices document;

[0108] 步骤209,服务器选择最适合的码率的文件切片发送终端播放器播放。 [0108] Step 209, the server selects the most appropriate transmission rate of the terminal sections file player.

[0109] 相应的,本发明实施例还提供一种视音频文件传输控制装置,如图4所示,该装置包括编码单元301、切片单元302、索引单元303和带宽检测单元304,具体如下: [0109] Accordingly, embodiments of the present invention further provides a video and audio file transfer control apparatus shown in Figure 4, the apparatus includes an encoding unit 301, a slice unit 302, the index detecting unit 303 and a bandwidth unit 304, as follows:

[0110] 编码单元301,用于将音视频文件根据不同的码率进行压缩编码,形成若干个音视频流数据。 [0110] encoding unit 301, the audio and video files to be encoded according to different compression rate, forming a plurality of audio and video data streams. [0111] 编码单元301中,预先设定多种编码码率,对音视频文件进行不同码率的压缩编码,分别形成不同的音视频流数据。 [0111] encoding unit 301, a variety of pre-set encoding rate of compression-encoded audio and video files of different code rates, are formed of different audio and video data stream.

[0112] 切片单元302,用于将每个音视频流数据根据相同的时间片段分割成音视频文件切片。 [0112] slicing unit 302, for each of the audio and video data stream into audio and video files based on the same time slice segment.

[0113] 切片单元302中,每个音视频流数据均按照相同的时间片段进行切片,切片的时间长度可以根据需要预先设定,并可以进行调整。 [0113] unit 302 sections, each of the audio and video stream data is sliced ​​in the same time segment, the length of the time slice may be set in advance according to need, and can be adjusted. 每个音视频文件形成的不同的音视频流数据,其分割切片后相同时间片段的音视频内容均相同。 Different audio and video stream data files formed in each of the audio and video, audio and video contents which the divided sections of the same time slice are the same.

[0114] 索引单元303,用于存储音视频文件切片,并生成索引文件。 [0114] indexing unit 303, audio and video files for storing slice, and generates an index file.

[0115] 形成的音视频文件切片,存储在索引单元303中,并建立索引文件,用于检索、调用需要的音视频文件切片。 [0115] audio and video files slice formed, the storage unit 303 in the index, and the index file for searching, audio and video files desired slice call. 索引文件的建立,可以根据每个音视频文件切片的时间片段信息和编码码率息。 Index file, the information may be audio and video files in accordance with each time slice segment information and coding rate.

[0116] 带宽检测单元304,用于检测终端传输带宽数据,选择与终端传输带宽相适应的音·视频文件切片发送终端播放。 [0116] bandwidth detection means 304 for detecting audio-video file data terminal transmission bandwidth, the transmission bandwidth is selected to adapt the terminal transmits a terminal playback sections.

[0117] 带宽检测单元304中,根据终端播放器的传输带宽数据,选择相适应的音视频文件切片,发送给终端进行播放。 [0117] bandwidth of the detection unit 304, the data transmission bandwidth according to the player terminal, adapted to select audio and video files slices sent to the terminal for playback. 如果没有传输带宽数据,将最小码率的音视频文件切片发送终端播放。 If there is no data transmission bandwidth, the minimum bit rate audio and video file play slice transmitting terminal.

[0118] 相应的,如图5所示,本发明实施例提供的视音频文件传输控制装置中,带宽检测单元304进一步包括传输子单元3041、计算子单元3042和选择子单元3043,具体包括: [0118] Accordingly, as shown in FIG 5, video and audio files embodiment transfer control device provided in the embodiment of the present invention, bandwidth detection means 304 further includes a transmission sub-unit 3041, and a calculating sub-unit 3042 selecting sub-unit 3043, specifically comprising:

[0119] 传输子单元3041,用于接收终端的播放请求,向终端发送音视频文件切片。 [0119] transmission subunit 3041, a playback request receiving terminal, and transmits audio and video files to the terminal sections.

[0120] 当终端请求播放音视频文件时,向传输子单元3041发送请求,并由传输子单元3041将音视频文件切片发送终端。 [0120] When the terminal requests to play audio and video files, send a request to the transmission subunit 3041, 3041 by transferring subunit slice audio and video files to the transmitting terminal.

[0121] 计算子单元3042,用于检测传输子单元3041向终端发送音视频文件切片的时间,计算终端带宽数据。 [0121] calculating sub-unit 3042, unit 3041 for detecting a transmission sub-transmission time slice audio and video files to the terminal, the terminal calculates bandwidth data.

[0122] 在传输子单元3041向终端传输音视频文件切片时,计算子单元3042检测向终端发送音视频文件切片的时间,根据音视频文件的大小与传输时间,计算终端带宽数据。 [0122] When the transmission terminal sub-unit 3041 to transmit a slice audio and video files, calculating sub-unit 3042 detects the transmission time slice audio and video files to a terminal, and the transmission time according to the size of audio and video files, the data bandwidth of the terminal is calculated.

[0123] 选择子单元3043,用于根据终端带宽数据,选择相适应的音视频文件切片。 [0123] selecting subunit 3043, for audio and video files according to the slice data bandwidth of the terminal, adapted to select.

[0124] 选择子单元3043中,当获取终端带宽数据后,选择与带宽数据相适应的音视频文件切片,向索引单元303获取该文件切片,并发送传输子单元3041,传输子单元3041将该文件切片发送终端进行播放。 [0124] selecting sub-unit 3043, when the audio and video files acquired slices bandwidth data terminal, selecting the data compatible with the bandwidth, 303 to obtain the index file slice unit, and transmitting transmission sub-unit 3041, the transmission sub-unit 3041 file slice transmitting terminal for playback.

[0125] 相应的,本发明实施例还提供一种音视频文件播放系统,包括服务器与终端,具体如下: [0125] Accordingly, embodiments of the present invention further provides an audio and video file playback system, comprising a server and a terminal, as follows:

[0126] 服务器,用于将音视频文件根据不同的码率进行压缩编码,形成若干个音视频流数据,将每个音视频流数据根据相同的时间片段分割成音视频文件切片,存储音视频文件切片,并生成索引文件,检测终端传输带宽数据,选择与终端传输带宽相适应的音视频文件切片发送终端播放。 [0126] server, audio and video files will be used depending on the bit rate compression encoding, forming a plurality of audio and video data streams, each audio and video stream data into audio and video files based on the same time slice fragments stored audio and video file sections, and generating an index file, data transmission bandwidth detection terminal, the terminal selects the transmission bandwidth compatible audio and video files playback sections transmitting terminal.

[0127] 终端,用于向服务器请求音视频文件,接收音视频文件切片并播放。 [0127] terminal, a request for audio and video files to the server, receiving and playing audio and video files slice.

[0128] 相应的,本发明实施例的技术方案也适用于视频直播节目,直播节目同样经过不同码率的编码产生不同码率的音视频流数据,通过分割切片按固定时间片段能切割成音视频文件切片,并实时更新索引文件,当终端播放器播放直播节目时,同上面一样的流程进行直播节目的播放。 [0128] Accordingly, the technical solution of the embodiment of the present invention is also applicable to a video broadcast program, the broadcast program likewise generates audio and video streams of the coded data having different code rates different code rates, at the fixed time by dividing the slice can be cut into fragments of sound video file sections, and real-time updates the index file, when the terminal player to play live shows, the same process as above to play live broadcasts. 同时对不同终端播放器在不同网络下均能够采用同样的技术方案完成音视频文件的可变码率的播放与控制。 While player different terminals could employ the same playback control aspect of the complete variable rate audio and video files in different networks.

[0129] 本发明实施例的技术方案,使用一种多码率压缩编码的音视频文件切片方式,解决在音视频播放过程中因网络带宽波动带来的播放不流畅的问题,提高了用户收看音视频节目过程中的体验。 [0129] The technical solutions of the embodiments of the present invention, audio and video files using a multi-slice manner rate compression encoding, the audio and video playback solution due to network bandwidth fluctuations play smoothly problems and improve the user watches audio and video programs during the experience. 同时,使用一套系统解决为多种终端匹配输出不同码率的音视频节目的问题,使视频点播与直播可以使用相同的系统,从而为多媒体系统建设降低了成本,节约了开销。 At the same time, using a system to solve the problem of matching the output terminal plurality of different bit rate audio and video programs, video on demand and so can use the same broadcast system, thus reducing the cost for the construction of a multimedia system, saving costs.

[0130] 以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉该技术的人在本发明所揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。 [0130] above, the present invention is merely preferred specific embodiments, but the scope of the present invention is not limited thereto, and any person skilled in the art within the technical scope disclosed by the present invention can be easily thought of changes or replacements shall fall within the protection scope of the present invention. 因此,本发明的保护范围应该以权利要求的保护范围为准。 Accordingly, the scope of the present invention should be defined by the scope of the claims. · ·

Claims (6)

1. 一种音视频文件播放方法,其特征在于,包括: A、将音视频源文件根据不同的码率压缩编码为若干音视频流数据; B、将每个所述音视频流数据根据相同的时间片段分割成音视频文件切片,并生成索引文件; C、当终端请求音视频文件时,将最小码率的音视频文件切片发送终端,根据终端传输时间计算终端传输带宽数据,根据所述索引文件选择与终端传输带宽相适应的后续音视频文件切片,发送终端播放; 在播放的同时终端播放器向服务器请求下一个文件切片,所述服务器根据终端播放器对上一个文件切片下载的速度计算出服务器与所述终端播放器传输的最大带宽,并匹配适合码率的下一个码率的文件切片向终端播放器传输。 CLAIMS 1. A method for playing audio and video files, characterized by comprising: A, the compressed audio and video source coding rate according to a number of different audio and video data stream; B, each of the audio-video data stream according to the same is divided into time segments of audio and video files slice, and generates an index file; C, when a terminal requests audio and video files, the minimum bit rate audio and video files slice transmitting terminal, the terminal is calculated according to the terminal transmission bandwidth data transmission time, according to the select the index file and the terminal transmission bandwidth adapted to the subsequent slice audio and video files, playing the transmitting terminal; a terminal while playing the next player requests a file slice to a server on a slice download the file from the player terminal velocity server and the calculated maximum bandwidth for transmission of the player terminal, and a matching rate for the next bit rate of transmission to the terminal sections of the file player.
2.根据权利要求I所述的音视频文件播放方法,其特征在于,所述步骤B具体包括:对经过不同码率压缩编码的音视频流数据,均按照相同的时间片段进行切片。 The audio and video file playback method according to claim I, wherein said step B comprises: after the audio and video data streams of different bit rate compression encoding, are sliced ​​in the same time slice.
3.根据权利要求I或2所述的音视频文件播放方法,其特征在于,所述索引文件包含所有音视频文件切片的码率信息和时间段信息。 3. I or audio and video file playback method according to claim 2, wherein the index file includes rate information and period information for all audio and video files slice.
4. 一种音视频文件传输控制装置,其特征在于,该装置包括编码单元、切片单元、索引单元和带宽检测单元,具体如下: 所述编码单元,用于将音视频文件根据不同的码率进行压缩编码,形成若干个音视频流数据; 所述切片单元,用于将每个所述音视频流数据根据相同的时间片段分割成音视频文件切片; 所述索引单元,用于存储音视频文件切片,并生成索引文件; 所述带宽检测单元,用于当终端请求音视频文件时,将最小码率的音视频文件切片发送终端,根据终端传输时间计算终端传输带宽数据,根据所述索引文件选择与终端传输带宽相适应的后续音视频文件切片,发送终端播放; 在播放的同时终端播放器向服务器请求下一个文件切片,所述服务器根据终端播放器对上一个文件切片下载的速度计算出服务器与所述终端播放器传输的最大带宽, An audio and video file transfer controlling means, characterized in that the apparatus includes an encoding unit, a slice unit, indexing unit, and a bandwidth detection means, as follows: the coding unit for the audio and video files based on different bit rates coding, forming a plurality of audio and video data stream; the slice unit, each of the audio-video data stream for the slice is divided into audio and video files based on the same time slice; the index unit for storing audio and video file sections, and generating an index file; the bandwidth detection means, when a terminal requests for audio and video files, the minimum bit rate audio and video files slice transmitting terminal, the terminal is calculated according to the terminal transmission bandwidth data transmission time, according to the index file selection terminal transmission bandwidth compatible with a subsequent slice audio and video files, playing transmitting terminal; requesting a next slice to the file server while the terminal player played, the server computing terminal according to the player on a slice file download speed the maximum bandwidth of the transmission server and the player of the terminal, 匹配适合码率的下一个码率的文件切片向终端播放器传输。 A rate matching the rate for the transmission to the terminal sections of the file player.
5.根据权利要求4所述的音视频文件传输控制装置,其特征在于,所述带宽检测单元进一步包括传输子单元、计算子单元和选择子单元,具体包括: 所述传输子单元,用于根据终端播放器向服务器发出的播放请求,服务器向终端返回该音视频文件的播出索引文件,索引文件的信息包含了该音视频文件在固定时间间隔下,相同内容而不同码率对应的音视频播放文件切片的文件位置,终端播放器根据所述播出索引文件中的索引信息,向服务器发出下载该音视频文件的信息,服务器根据所述索引信息,向终端播放器返回该音视频文件最小码率压缩编码的第一个音视频文件切片,终端播放器下载完成所述文件切片后开始播放; 在播放的同时终端播放器向服务器请求下一个文件切片,所述服务器根据终端播放器对上一个文件切片下载的速度计算出服务器与所 The audio and video file transfer controlling apparatus according to claim 4, wherein said detecting means further includes a transmission bandwidth is sub-unit, and a calculating sub-unit selecting sub-unit comprises: the transmission subunit, for the player makes a playback request the terminal to the server, the server returns the index file broadcast audio and video files to the terminal, information in the index file contains the audio and video files at a fixed time interval, corresponding to the same content and different code rates tone video playback file slice file location, the terminal player broadcast index information based on the index file, the information sent to download audio and video files to the server, the server according to the index information, returns the audio and video files to the player terminal the minimum bit rate compression coding a first audio video file sections, the download is complete the terminal player starts playing the file sliced; requesting a next slice to the file server while the terminal player played, the server terminal according to the player slice on a file server downloads the calculated velocity with the 终端播放器传输的最大带宽,并匹配适合码率的下一个码率的文件切片向终端播放器传输; 所述计算子单元,用于检测传输子单元向终端发送音视频文件切片的时间,计算终端带宽数据; 所述选择子单元,用于根据终端带宽数据,选择相适应的音视频文件切片。 Maximum bandwidth slice file player transmitted from the terminal, and a matching rate for the next transmission bit rate to the player terminal; said calculation sub-unit for detecting a transmission sub-unit transmits the audio and video files to the terminal time slice is calculated bandwidth data terminal; said selecting sub-unit, audio and video files for the terminal according to the bandwidth of the data slice, adapted to select.
6. 一种音视频文件播放系统,其特征在于,该系统包括服务器与终端,具体如下: 所述服务器,用于将音视频文件根据不同的码率进行压缩编码,形成若干个音视频流数据,将每个音视频流数据根据相同的时间片段分割成音视频文件切片,存储音视频文件切片,并生成索引文件,当终端请求音视频文件时,将最小码率的音视频文件切片发送终端,根据终端传输时间计算终端传输带宽数据,根据所述索引文件选择与终端传输带宽相适应的后续音视频文件切片,发送终端播放;在播放的同时终端播放器向服务器请求下一个文件切片,所述服务器根据终端播放器对上一个文件切片下载的速度计算出服务器与所述终端播放器传输的最大带宽,并匹配适合码率的下一个码率的文件切片向终端播放器传输; 所述终端,用于向服务器请求音视频文件,接收音视频文 An audio and video file playback system, wherein the system comprises a server and a terminal, as follows: the server, for compression-encoded audio and video files based on different bit rate, to form a number of audio and video data streams , each of the audio and video stream data is divided into segments according to the same time slice audio and video files, audio and video files stored in the slice, and generates an index file, when a terminal requests audio and video files, the minimum bit rate audio and video files slice transmitting terminal , computing terminal according to the terminal transmission bandwidth data transmission time according to the selected index file to the terminal transmission bandwidth adapted to the subsequent slice audio and video files, playing the transmitting terminal; terminal while playing the next slice player requests a file server, the said server calculates the maximum bandwidth of the transmission server and the player of the player terminal according to the terminal sections on a file download speed, bit rate and bit rate matching for the next slice of the file transfer to the player terminal; a terminal , audio and video files to the requesting server, receives audio and video files 件切片并播放。 Pieces of sliced ​​and play.
CN 201110073057 2011-03-25 2011-03-25 Audio/video file playing method and system as well as transmission control device CN102123303B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110073057 CN102123303B (en) 2011-03-25 2011-03-25 Audio/video file playing method and system as well as transmission control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110073057 CN102123303B (en) 2011-03-25 2011-03-25 Audio/video file playing method and system as well as transmission control device

Publications (2)

Publication Number Publication Date
CN102123303A CN102123303A (en) 2011-07-13
CN102123303B true CN102123303B (en) 2012-10-24

Family

ID=44251724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110073057 CN102123303B (en) 2011-03-25 2011-03-25 Audio/video file playing method and system as well as transmission control device

Country Status (1)

Country Link
CN (1) CN102123303B (en)

Families Citing this family (47)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9137551B2 (en) * 2011-08-16 2015-09-15 Vantrix Corporation Dynamic bit rate adaptation over bandwidth varying connection
CN103002324B (en) * 2011-09-09 2015-10-28 北大方正集团有限公司 One kind 3g mobile TV broadcast method and system
CN102378043A (en) * 2011-09-29 2012-03-14 深圳市矽伟智科技有限公司 Content delivery method and Internet television (TV) playing method as well as corresponding device and systems
EP2608558A1 (en) * 2011-12-22 2013-06-26 Thomson Licensing System and method for adaptive streaming in a multipath environment
CN103200399B (en) * 2012-01-04 2016-08-31 北京大学 Scalable video coding method based on a control apparatus and a video quality fluctuation
CN103313143B (en) * 2012-03-12 2017-02-08 新奥特(北京)视频技术有限公司 Method and apparatus for generating a logical playback creatives
CN102611915A (en) * 2012-03-15 2012-07-25 华为技术有限公司 Video startup method, device and system
CN103313095A (en) * 2012-03-16 2013-09-18 腾讯科技(深圳)有限公司 Video transmission method, play method, terminal and server
CN103544168A (en) * 2012-07-12 2014-01-29 北京颐达合创科技有限公司 Device and method for controlling file downloading
TWI505672B (en) * 2012-07-24 2015-10-21 Nec Corp Communication system and method and program
CN102843616B (en) * 2012-08-13 2018-06-15 中兴通讯股份有限公司 Method Iptv system implemented under the edge of the discharge side, and a terminal server cdn
CN103595743B (en) * 2012-08-16 2018-10-02 腾讯科技(深圳)有限公司 Method for downloading application software, system and apparatus
KR101952632B1 (en) 2012-08-22 2019-02-27 삼성전자주식회사 User terminal device and contents streaming method using the same
CN103702237A (en) * 2012-09-28 2014-04-02 北京大学 Rate self-adapting method and device for HTTP (Hyper Text Transport Protocol) streaming media
KR20140050515A (en) * 2012-10-19 2014-04-29 한국전자통신연구원 Multicast and unicast mixed streaming apparatus and method for mobile iptv service
CN103036889B (en) * 2012-12-19 2016-08-17 常州中流电子科技有限公司 An adaptive method and streaming media playback system
CN104104704A (en) * 2013-04-12 2014-10-15 中国移动通信集团上海有限公司 Method, equipment and system for recommending video data between terminals
CN103269331A (en) * 2013-04-20 2013-08-28 华为技术有限公司 Method and device for selectively playing code rate content
CN103561282B (en) * 2013-10-29 2017-09-01 越亮传奇科技股份有限公司 Data transmission method and apparatus of the streaming media files
US20150117516A1 (en) * 2013-10-30 2015-04-30 Vered Bar Bracha Dynamic video encoding based on channel quality
CN104768079B (en) * 2014-01-03 2018-10-02 腾讯科技(深圳)有限公司 Multimedia resource distribution method, apparatus and system
CN103763580B (en) * 2014-01-06 2017-09-29 深圳创维数字技术有限公司 A multimedia playback method and related equipment
CN103780921B (en) * 2014-01-17 2017-05-24 上海聚力传媒技术有限公司 Information for playing live video method and apparatus
CN103763638B (en) * 2014-01-23 2017-02-15 中国联合网络通信集团有限公司 Method and apparatus for video access to resources
US9558787B2 (en) * 2014-01-29 2017-01-31 Google Inc. Media application backgrounding
CN103813181A (en) * 2014-02-14 2014-05-21 华为技术有限公司 System and method for optimizing video
CN103916679B (en) * 2014-03-10 2018-04-10 百度在线网络技术(北京)有限公司 A method for providing video information, equipment and systems
CN103974100B (en) * 2014-05-20 2017-02-15 北京速能数码网络技术有限公司 A method and apparatus for playing media data
CN104967634A (en) * 2014-05-21 2015-10-07 腾讯科技(北京)有限公司 File upload method and apparatus thereof
CN104023244A (en) * 2014-05-29 2014-09-03 深圳市云宙多媒体技术有限公司 Method and apparatus for slicing stream media data in CDN system
CN104219546B (en) * 2014-09-28 2018-08-28 百视通网络电视技术发展有限责任公司 Iptv compatible constant bit rate and variable bit rate-based approach
CN105744299A (en) * 2014-12-08 2016-07-06 深圳Tcl数字技术有限公司 Dynamic code rate switching method, server and system
CN105792020A (en) * 2014-12-26 2016-07-20 北京奇虎科技有限公司 Method and device for playing video file
CN104602032A (en) * 2015-01-13 2015-05-06 乐视致新电子科技(天津)有限公司 Video playing processing method, playing application proxy device and playing server
CN104581435A (en) * 2015-01-20 2015-04-29 赵树乔 Naming method of data stream
CN104661044B (en) * 2015-02-14 2019-01-04 广州珠江数码集团股份有限公司 A kind of broadcasting and TV OTT convergent terminal and its implementation
CN106341738A (en) * 2015-07-08 2017-01-18 杭州海康威视数字技术股份有限公司 Streaming media network transmission bandwidth calculation method, server and system
CN105306969A (en) * 2015-09-02 2016-02-03 越亮传奇科技股份有限公司 Adaptive streaming media processing system and method
CN106559677A (en) * 2015-09-30 2017-04-05 华为技术有限公司 Terminal, cache server and method and apparatus for acquiring video slices
CN105611315A (en) * 2016-01-06 2016-05-25 阔地教育科技有限公司 Control device, sending device, receiving device and multi-code stream adaptive processing system
CN107018431B (en) * 2016-01-27 2019-07-12 上海交通大学 A kind of storage and transmission method for supporting space separating based on media self attributes
CN107801060A (en) * 2016-03-25 2018-03-13 乐视控股(北京)有限公司 Online video playing method and device
CN105933282A (en) * 2016-03-30 2016-09-07 深圳市宽宏科技有限公司 Video and audio code stream self-adapting method based on OTT business
CN105898408A (en) * 2016-04-28 2016-08-24 乐视控股(北京)有限公司 Video play method and device
CN106330907A (en) * 2016-08-24 2017-01-11 阿基米德(上海)传媒有限公司 Mobile-end audio high/low-data-rate adaptive play method
CN106254548A (en) * 2016-09-29 2016-12-21 天脉聚源(北京)科技有限公司 Method and device for downloading stream media data
CN106851398A (en) * 2017-03-10 2017-06-13 北京小鸟看看科技有限公司 Storage method, playback method, storage device and player of panoramic video file

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478564A (en) 2008-12-31 2009-07-08 西安交通大学 Adaptive hierarchical transmission structure design method for P2P stream media network
CN101917389A (en) 2009-12-17 2010-12-15 新奥特(北京)视频技术有限公司 Network television direct broadcasting system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020159750A1 (en) * 2001-04-26 2002-10-31 Koninklijke Philips Electronics N.V. Method for segmenting and indexing TV programs using multi-media cues
US7885337B2 (en) * 2004-08-23 2011-02-08 Qualcomm Incorporated Efficient video slicing

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478564A (en) 2008-12-31 2009-07-08 西安交通大学 Adaptive hierarchical transmission structure design method for P2P stream media network
CN101917389A (en) 2009-12-17 2010-12-15 新奥特(北京)视频技术有限公司 Network television direct broadcasting system

Also Published As

Publication number Publication date
CN102123303A (en) 2011-07-13

Similar Documents

Publication Publication Date Title
CA2854017C (en) Enhanced block-request streaming system using signaling or block creation
JP6117151B2 (en) Request Streaming - extended block using cooperative concurrent http and forward error correction
JP5722331B2 (en) Extended block using scalable coding - request Streaming
EP2499783B1 (en) Method and apparatus for providing trick play service
KR101786050B1 (en) Method and apparatus for transmitting and receiving of data
JP5666599B2 (en) Extended block using Url template and building regulations - requesting streaming
JP5823396B2 (en) Request Streaming - extended block using an improved block partitioning or request control for the client-side processing
US9380096B2 (en) Enhanced block-request streaming system for handling low-latency streaming
US9866605B2 (en) Streaming manifest quality control
CA2564861C (en) Apparatus, system, and method for adaptive-rate shifting of streaming content
US20090150557A1 (en) Dynamic bit rate scaling
EP1342363B9 (en) Transmission and reception of audio and/or video material
US7594025B2 (en) Startup methods and apparatuses for use in streaming content
US20120011267A1 (en) Live streaming media delivery for mobile audiences
KR101837687B1 (en) Method and apparatus for adaptive streaming based on plurality of elements determining quality of content
KR101275726B1 (en) A multi-source and resilient video on demand streaming system for a peer-to-peer subscriber community
AU2010210639B2 (en) Server-side support for seamless rewind and playback of video streaming
US7518992B2 (en) Interactive data transmission system having staged servers
US7640352B2 (en) Methods and systems for presentation of media obtained from a media stream
CN102088620B (en) Method for downloading media file in content distribution network and client
US8661098B2 (en) Live media delivery over a packet-based computer network
EP2870776B1 (en) Methods and devices for bandwidth allocation in adaptive bitrate streaming
KR101701182B1 (en) A method for recovering content streamed into chunk
US8782305B2 (en) Methods and systems for data transmission
EP2360924A1 (en) A digital multimedia data transmission device and method

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted
C41 Transfer of the right of patent application or the patent right
ASS Succession or assignment of patent right

Owner name: SHANGHAI TIANMAI JUYUAN CULTURE AND MEDIA CO., LTD

Free format text: FORMER OWNER: TVMINING (BEIJING) MEDIA TECHNOLOGY CO., LTD.

Effective date: 20141226

COR Bibliographic change or correction in the description

Free format text: CORRECT: ADDRESS; FROM: 100007 DONGCHENG, BEIJING TO: 200436 ZHABEI, SHANGHAI