WO2009033345A1 - A method for simultaneously downloading and playing hypertext transfer stream media - Google Patents

A method for simultaneously downloading and playing hypertext transfer stream media Download PDF

Info

Publication number
WO2009033345A1
WO2009033345A1 PCT/CN2007/003831 CN2007003831W WO2009033345A1 WO 2009033345 A1 WO2009033345 A1 WO 2009033345A1 CN 2007003831 W CN2007003831 W CN 2007003831W WO 2009033345 A1 WO2009033345 A1 WO 2009033345A1
Authority
WO
WIPO (PCT)
Prior art keywords
media
data
download
segment
terminal
Prior art date
Application number
PCT/CN2007/003831
Other languages
French (fr)
Chinese (zh)
Inventor
Gang Liu
Dingyong Gou
Xin Xie
Xiaoyan Huang
Jiangyue Wu
Original Assignee
Zte Corporation
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 Zte Corporation filed Critical Zte Corporation
Publication of WO2009033345A1 publication Critical patent/WO2009033345A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/764Media network packet handling at the destination 

Definitions

  • the present invention belongs to the field of multimedia, and in particular, to a method for supporting a terminal hypertext transport (HTTP) streaming media service.
  • HTTP hypertext transport
  • streaming media The main technical feature of streaming media is the use of streaming, that is, the transmission of audio and video programs to the terminal via the Internet.
  • streaming There are currently two methods for implementing streaming: sequential streaming and real-time streaming.
  • sequential streaming since a standard HTTP server can send this form of file without the need for other special protocols, it is often referred to as HTTP streaming; sequential streaming is suitable for high-quality media such as short films, advertisements, and music. Files; and, sequential streaming media files can be placed on standard HTTP or FTP servers for easy management.
  • HTTP streaming has many advantages compared with real-time streaming: Server control is simple and easy to manage; Transmission protocol uses the Internet's most popular HTTP protocol, which is versatile, easy to implement, and fast in response. The control overhead is small, especially suitable for wireless environments, and is not limited by firewalls; the protocol on the mobile phone is simplified, and only needs to use the HTTP protocol like a normal browser, and does not need to implement a complex RTSP protocol cluster. Therefore, HTTP streaming has been widely used, and many internationally renowned operators require mobile phone manufacturers to support HTTP streaming.
  • the system structure of the mobile phone supporting HTTP streaming service is as shown in FIG. 1 , and the mobile phone passes through the base station and the network.
  • the network is connected to the server.
  • the solution for implementing the HTTP streaming service in the above system is generally to download the media data to a local file or a buffer through HTTP, and then play it, specifically including the following steps, as shown in FIG. 2:
  • Step 201 The mobile terminal sends a request to the server, and downloads the URL through the uniform resource locator.
  • Step 202 The server returns a confirmation message to the mobile terminal.
  • Step 203 The mobile terminal requests the server to download the media data.
  • Step 205 Repeat steps 203 and 204 until the entire media file is downloaded.
  • the technical problem to be solved by the present invention is to provide a method for a terminal to download and play HTTP streaming media at the same time, which supports synchronous playback of HTTP streaming media and shortens waiting time on the terminal.
  • the present invention provides a method for a terminal to simultaneously download and play a hypertext transport streaming medium, characterized in that the method comprises the following steps:
  • Step B After the downloading of the first media data is completed, while continuing the downloading, the segmented media data in each storage area in which the full download data has been cached is sequentially decoded and played. Further, the above method may further have the following features: Step B is further divided into the following steps:
  • the terminal starts playing the downloaded media after decoding the first piece of media data that has been downloaded and stored in the first segment of the locally cached storage area;
  • the play read pointer in the play thread cannot point to a storage area that has not yet stored the full download data.
  • the download write pointer in the download thread cannot point to the storage area where the media data that has not been played is located.
  • the downloaded mth segment data is stored in the mth segment of the local cache in the manner of sequential storage; if the m segment data is downloaded, if the playback has finished (m - 1) The media in the segment storage area is paused until the mth segment of data is downloaded and resumed.
  • the above method may also have the following features:
  • the method of cyclic storage is used when storing media data. If m is less than or equal to N, the mth segment data is stored in the mth segment storage area of the local cache; if m is greater than the total number of storage areas allocated by the local cache for the media N, the mth segment data is stored in the
  • the above method may also have the following features:
  • the above method may also have the following features:
  • the local cache is a main memory of the terminal, or a disk placed on the terminal, or a cache space allocated for the downloaded media on the mobile storage device connected to the terminal.
  • the above method may also have the following features:
  • the local cache is a cache space allocated on the main memory of the terminal for the downloaded media.
  • the terminal is a mobile phone.
  • the invention realizes that the terminal supports the download and play synchronization of the HTTP streaming media, and the segmentation and recycling of the buffer, thereby greatly shortening the waiting time, greatly improving the user experience, and also reducing the memory resources. demand.
  • Drawing fan
  • FIG. 1 is a schematic structural diagram of a system for supporting a mobile phone HTTP stream
  • FIG. 2 is a flow chart of the system shown in FIG. 1 for implementing HTTP streaming of a mobile phone
  • FIG. 3 is a general flowchart of implementing HTTP streaming of a mobile phone according to an embodiment of the present invention
  • FIG. 4 is a detailed flowchart of implementing HTTP streaming of a mobile phone in FIG. 3;
  • FIG. 5 is a schematic diagram of a cache structure used in the flow shown in FIG. Preferred embodiment of the invention
  • the main idea of the present invention is that the terminal can start playing after downloading a certain amount of data, and realize parallel execution of downloading and playing, which can be separately controlled by using two threads; in addition, downloading and playing need to process the buffer.
  • the optimization scheme of the present invention adopts a scheme of recycling cache; In the process, the playback read pointer cannot exceed the download write pointer; the download write pointer cannot cover the content that has not been read and played, that is, under the premise of dual-thread control, the synchronization of download and play is guaranteed.
  • the cache processing of the present invention is not limited to being stored in a hardware memory such as FLASH or RAM, and includes a file format that is stored in a first in first out (FIFO) manner after the streaming media data is downloaded.
  • the FIFO file format is closely related to the specific operating system. It is not necessarily stored in the main memory such as RAM or FLASH. It can also be stored on a disk or a removable storage device.
  • the operating system ensures storage and reading. First in, first out.
  • the operating system that supports FIFO files on the terminal needs to convert the media files downloaded from the server to the local FIFO file before caching. This also allows the first to get the streaming media data to be played first, while the FIFO-enabled file format is available in existing technologies, such as Qualcomm's Brew platform.
  • Step 301 After the mobile terminal decodes the first piece of media data that has been downloaded and stored in the first segment of the local cache, the mobile terminal starts playing the downloaded media.
  • Synchronous playback is achieved through dual-thread control, that is, the download thread and the play thread are executed in parallel. OK, but the playback read pointer in the playback thread cannot point to a memory area where the full download data has not yet been stored. At the same time, the download write pointer in the download thread cannot point to the storage area where the media data that has not been played is located.
  • Step 303 Repeat step 302 until the entire media file download is completed.
  • the memory for buffering the downloaded data may be any existing storage, and may be stored in a circular storage manner or in a sequential storage manner. In order to save resources, it is better to use a cyclic storage method.
  • the downloaded mth segment data is stored in the mth segment storage area of the local cache; if the mth segment is stored, the (m - 1) segment storage area is already played. The media is paused until the mth segment of data is downloaded and resumed.
  • Step 401 The mobile phone sends a request to the HTTP server to download the media specified by the URL, for example: http://xyzw/media/testvideo.mp4;
  • the mobile phone may be used by an existing application software such as a media player. Implementation, the following downloads and other operations are also implemented by the corresponding application software, no longer - specified.
  • Step 402 After receiving the request, the HTTP server returns a confirmation message to the mobile phone application software; the above steps 401-402 are the same as the prior art.
  • Step 403 After the mobile phone receives the confirmation message of the HTTP server; if the given resource does not exist, the error message is prompted; otherwise, the download thread is started, and the HTTP server is requested to download the first piece of media data;
  • the structure of the local cache described in this step is as shown in FIG. 5;
  • Step 405 After successfully downloading the first data block, the mobile phone starts the playing thread, starts decoding the downloaded media data, and then plays the same;
  • Step 407 The mobile phone downloads the requested mth segment data from the HTTP server. If m is not greater than N, the mth segment data is stored in the mth segment cache, otherwise the mth segment data is stored in the
  • the play thread After the play thread is started, while the mobile phone requests to download the media data, the play thread is not interrupted, and is executed concurrently with the download thread. If the download speed is slow, the data of the i-th buffer to be played is not downloaded, the playback is paused, and the playback is resumed until the media data of the i-th buffer is downloaded. If m is greater than N and the download speed is fast, When the media data in the lmod(m/N) segment cache is not played, the download thread waits until the data in the
  • Step 408 The HTTP server returns a confirmation message to the mobile phone, indicating that all the media data has been downloaded, stopping the downloading thread, and continuing to play the media data in the cache that has been downloaded;
  • Step 409 The playback ends.
  • the cache structure used in the above method is as shown in FIG. 5, and the cache is divided into N segments and can be used cyclically.
  • the capacity of each segment of the storage area is determined by the user as the case may be. In this embodiment, each storage area is 1 ⁇ 0.
  • the present invention can also convert downloaded data into a FIFO file and store it. It is not necessary to write code related to read and write pointer control when downloading and playing. Synchronization of download and playback is possible with the operating system. It can be stored on a disk or on a removable storage device.
  • the present invention can also be applied to other terminals that use the HTTP stream to download media data and have limited resources.
  • the invention can be applied to terminals such as mobile phones, supports the synchronization of downloading and playing of HTTP streaming media, can greatly shorten the waiting time, greatly improves the user experience, and reduces the demand for memory resources.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

A method for simultaneously downloading and playing hypertext transfer stream media in a terminal is disclosed, and includes the steps: the terminal requests to download the media designated by the URL from the hypertext transfer HTTP server, and buffers the media data in segments to the memory in the local buffer; while simultaneous downloading, sequently decoding and playing the segmented media data in each memory area which buffered the whole download data, after finishing downloading the first segment media data. The solution implements simultaneously downloading and playing the HTTP stream media in a terminal, and segmenting and periodic duty of buffer, thereby shortening the waiting time greatly, improving the user experience in a large extent, and decreasing the demand of memory resources at the same time.

Description

一种终端同时下载和播放超文本传输流媒体的方法  Method for simultaneously downloading and playing hypertext transmission streaming media by terminal
技术领域 Technical field
本发明属于多媒体领域, 特别涉及一种支持终端超文体传输(HTTP ) 流媒体业务的方法。  The present invention belongs to the field of multimedia, and in particular, to a method for supporting a terminal hypertext transport (HTTP) streaming media service.
背景技术 Background technique
随着手机等终端的普及,移动网络的不断完善,以手机电视、视频广告、 在线视频、在线音乐等为代表的流媒体业务逐渐成为了中高端手机的必备应 用之一。  With the popularization of terminals such as mobile phones and the continuous improvement of mobile networks, streaming media services represented by mobile TV, video advertising, online video, online music, etc. have gradually become one of the necessary applications for medium and high-end mobile phones.
流媒体的主要技术特征就是采用流式传输, 即通过 Internet将影音节目 传送到终端。目前实现流式传输有两种方法:顺序流式传输和实时流式传输。 对于顺序流式传输, 由于标准的 HTTP服务器可发送这种形式的文件, 而不 需要其他特殊协议, 常被称作 HTTP流式传输; 顺序流式传输适合高质量的 短片、 广告以及音乐等媒体文件; 并且, 顺序流式媒体文件可放置在标准 HTTP或 FTP服务器上, 易于管理。  The main technical feature of streaming media is the use of streaming, that is, the transmission of audio and video programs to the terminal via the Internet. There are currently two methods for implementing streaming: sequential streaming and real-time streaming. For sequential streaming, since a standard HTTP server can send this form of file without the need for other special protocols, it is often referred to as HTTP streaming; sequential streaming is suitable for high-quality media such as short films, advertisements, and music. Files; and, sequential streaming media files can be placed on standard HTTP or FTP servers for easy management.
对于实时流式, 其保证媒体信号带宽与网络连接相匹配,使媒体可被实 时观看到。 与 HTTP流不同, 这种方式的传输需要专用的流媒体服务器与传 输协议。 实时流式传输特别适合现场事件, 也支持随机访问, 用户可快进或 后退以观看前面或后面的内容。 理论上, 实时流一经播放就可不停地收看, 但实际上, 可能会发生周期暂停, 特别是无线环境。  For real-time streaming, it ensures that the media signal bandwidth matches the network connection so that the media can be viewed in real time. Unlike HTTP streaming, this type of transport requires a dedicated streaming server and transport protocol. Real-time streaming is ideal for live events and random access, allowing users to fast forward or rewind to view front or back content. In theory, real-time streaming can be watched as soon as it is played, but in reality, periodic pauses, especially in wireless environments, can occur.
结合手机软硬件资源受限情况,与实时流相比, HTTP流具有众多优势: 服务器控制简单、 易于管理; 传输协议采用了互联网最流行的 HTTP协议, 通用性好、 易于实现、 响应速度快、 控制开销小, 特别适合无线环境, 并且 不受防火墙等限制;手机端的协议简化,只需要和普通浏览器一样使用 HTTP 协议即可, 不需要实现复杂的 RTSP协议簇。 因此, HTTP流得到了广泛的 应用, 不少国际知名运营商都要求手机厂商必须支持 HTTP流媒体。  In combination with the limitations of mobile phone hardware and software resources, HTTP streaming has many advantages compared with real-time streaming: Server control is simple and easy to manage; Transmission protocol uses the Internet's most popular HTTP protocol, which is versatile, easy to implement, and fast in response. The control overhead is small, especially suitable for wireless environments, and is not limited by firewalls; the protocol on the mobile phone is simplified, and only needs to use the HTTP protocol like a normal browser, and does not need to implement a complex RTSP protocol cluster. Therefore, HTTP streaming has been widely used, and many internationally renowned operators require mobile phone manufacturers to support HTTP streaming.
目前手机支持 HTTP流业务的系统结构如图 1所示, 手机通过基站、 网 絡与服务器相连。 上迷系统实现 HTTP流传输业务的方案一般是通过 HTTP把媒体数据全 部下载到本地文件或缓冲区中存储, 然后再播放, 具体包括以下步骤, 如图 2所示: At present, the system structure of the mobile phone supporting HTTP streaming service is as shown in FIG. 1 , and the mobile phone passes through the base station and the network. The network is connected to the server. The solution for implementing the HTTP streaming service in the above system is generally to download the media data to a local file or a buffer through HTTP, and then play it, specifically including the following steps, as shown in FIG. 2:
步骤 201: 手机终端向服务器发送请求, 下载通过统一资源定位符 URL Step 201: The mobile terminal sends a request to the server, and downloads the URL through the uniform resource locator.
( Uniform Resource Location )指定的媒体; ( Uniform Resource Location ) specified media;
步骤 202: 服务器向手机终端返回确认信息;  Step 202: The server returns a confirmation message to the mobile terminal.
步驟 203: 手机终端向服务器请求下载媒体数据;  Step 203: The mobile terminal requests the server to download the media data.
步驟 204: 服务器发送所请求的数据到手机终端;  Step 204: The server sends the requested data to the mobile terminal.
步骤 205: 重复步骤 203、 204, 直到整个媒体文件下载完毕;  Step 205: Repeat steps 203 and 204 until the entire media file is downloaded.
步驟 206: 在成功下载了整个媒体文件之后, 启动媒体播放器解码所下 载的媒体, 对所下载的媒体进行播放。  Step 206: After successfully downloading the entire media file, the media player is started to decode the downloaded media, and the downloaded media is played.
这种传统的实现方式有一个很大的缺陷就是手机用户必须等到所有数 据下载完毕后才能够欣赏媒体,特别是网络速度慢、媒体数据量大的情况下, 用户体验非常差, 而且还需要緩存所下载的媒体数据, 在文件较大时增大了 对手机资源的要求。对于其它采用 HTTP流下载媒体数据且资源受限的终端 类型也存在同样的问题。  One of the big drawbacks of this traditional implementation is that mobile phone users must wait until all data has been downloaded before they can enjoy the media. Especially when the network speed is slow and the media data volume is large, the user experience is very poor, and the cache is also needed. The downloaded media data increases the requirements for mobile phone resources when the file is large. The same problem exists for other terminal types that use HTTP streaming to download media data and have limited resources.
发明内容 Summary of the invention
本发明所要解决的技术问题是,提供一种终端同时下载和播放 HTTP流 媒体的方法, 在终端上支持 HTTP流媒体的同步播放、 缩短等待时间。  The technical problem to be solved by the present invention is to provide a method for a terminal to download and play HTTP streaming media at the same time, which supports synchronous playback of HTTP streaming media and shortens waiting time on the terminal.
为了解决上述问题,本发明提供了一种终端同时下载和播放超文本传输 流媒体的方法, 其特征在于, 该方法包括以下步 :  In order to solve the above problems, the present invention provides a method for a terminal to simultaneously download and play a hypertext transport streaming medium, characterized in that the method comprises the following steps:
A:终端向超文本传输 HTTP服务器请求下载统一资源定位符 URL指定 的媒体, 并将所述媒体数据分段緩存至本地緩存的存储区;  A: the terminal requests the hypertext transfer HTTP server to download the media specified by the uniform resource locator URL, and caches the media data into a locally cached storage area;
B: 在第一 媒体数据下载完成后, 在继续下载的同时, 顺序解码、 播 放已緩存了完整下载数据的每一存储区中的分段媒体数据。 进一步地, 上述方法还可具有以下特点: 步骤 B进一步分为以下步骤:B: After the downloading of the first media data is completed, while continuing the downloading, the segmented media data in each storage area in which the full download data has been cached is sequentially decoded and played. Further, the above method may further have the following features: Step B is further divided into the following steps:
B1:终端对已下载并存储在本地緩存的第一段存储区的第一段媒体数据 进行解码后, 开始播放所下载的媒体; B1: The terminal starts playing the downloaded media after decoding the first piece of media data that has been downloaded and stored in the first segment of the locally cached storage area;
B2: 终端向 HTTP服务器请求并按顺序下载第 m段媒体数据, 然后将 其存储在本地緩存相应的存储区中; 同时, 顺序同步播放已存储在第 i段存 储区的媒体, 其中 i,m为自然数且 i<m;  B2: The terminal requests and downloads the mth piece of media data in order to the HTTP server, and then stores the media data in the corresponding storage area; and simultaneously plays the media stored in the i th segment storage area in sequence, where i, m Is a natural number and i<m;
B3: 并行执行上述下载线程和播放线程, 直到整个媒体文件下载、播放 午。  B3: The above download thread and play thread are executed in parallel until the entire media file is downloaded and played.
进一步地, 上述方法还可具有以下特点:  Further, the above method may also have the following features:
所述播放线程中的播放读指针不能指向还没有存储完整下载数据的存 储区。 同时, 下载线程中的下载写指针不能指向还没有被播放的媒体数据所 在的存储区。  The play read pointer in the play thread cannot point to a storage area that has not yet stored the full download data. At the same time, the download write pointer in the download thread cannot point to the storage area where the media data that has not been played is located.
进一步地, 上述方法还可具有以下特点:  Further, the above method may also have the following features:
在存储媒体数据时采用顺序存储的方式, 将下载的第 m段数据, 存储 在本地緩存的第 m段存储区中; 如果在下载第 m段数据过程中, 若已播放 完毕第 (m - 1 )段存储区的媒体, 则暂停播放, 直到第 m段数据下载完毕 后恢复播放。  When the media data is stored, the downloaded mth segment data is stored in the mth segment of the local cache in the manner of sequential storage; if the m segment data is downloaded, if the playback has finished (m - 1) The media in the segment storage area is paused until the mth segment of data is downloaded and resumed.
进一步地, 上述方法还可具有以下特点:  Further, the above method may also have the following features:
在存储媒体数据时采用循环存储的方式, 若 m小于等于 N, 则将第 m 段数据存储在本地緩存的第 m段存储区中; 若 m大于本地緩存为所述媒体 分配的存储区总数目 N, 则将第 m段数据存储在第 |mod( /N)|段存储区中, |mod(m/N)|表示将 m和 N相除取余。  The method of cyclic storage is used when storing media data. If m is less than or equal to N, the mth segment data is stored in the mth segment storage area of the local cache; if m is greater than the total number of storage areas allocated by the local cache for the media N, the mth segment data is stored in the | mod( /N)| segment storage area, and |mod(m/N)| indicates that m and N are divided by the remainder.
进一步地, 上述方法还可具有以下特点:  Further, the above method may also have the following features:
若 m大于 N, 且将 m和 N相除取余后得到的余数 |mod(/n/N)l等于 i, 则 暂停下载, 直到存储在第 i段存储区的媒体被播放完毕后, 恢复下载;  If m is greater than N, and the remainder obtained by dividing m and N by the remainder |mod(/n/N)l is equal to i, the download is suspended until the media stored in the i-th segment is played back. Download
若 m小于或者等于 Ν, 在下载第 m段数据过程中, 若已播放完第 (m - 1 )段存储区的媒体,则暂停播放,直到第 m段数据下载完毕后恢复播放。 进一步地, 上述方法还可具有以下特点: If m is less than or equal to Ν, in the process of downloading the mth segment data, if the media of the (m - 1) segment of the storage area has been played, the playback is paused until the mth segment of data is downloaded and resumed. Further, the above method may also have the following features:
所述终端将下载的媒体数据转换为支持 FIFO功能的文件格式后, 存储 为本地緩存中的 FIFO文件, 在同步播放时利用操作系统来读取所述 FIFO 文件, 实现下载与播放的同步。  After converting the downloaded media data into a file format supporting the FIFO function, the terminal stores the FIFO file in the local cache, and uses the operating system to read the FIFO file during synchronous playback to synchronize the download and play.
进一步地, 上述方法还可具有以下特点:  Further, the above method may also have the following features:
所述本地緩存为所述终端的主存储器, 或所述终端上放入的磁盘,或所 述终端所连接的移动存储设备上为下载的所述媒体分配的緩存空间。  The local cache is a main memory of the terminal, or a disk placed on the terminal, or a cache space allocated for the downloaded media on the mobile storage device connected to the terminal.
进一步地, 上述方法还可具有以下特点:  Further, the above method may also have the following features:
所述本地缓存为所述终端的主存储器上为下载的所述媒体分配的緩存 空间。  The local cache is a cache space allocated on the main memory of the terminal for the downloaded media.
进一步地, 上述方法还可具有以下特点: 所述终端为手机。  Further, the foregoing method may further have the following features: The terminal is a mobile phone.
本发明实现了终端支持 HTTP流媒体的下载与播放同步,加上緩冲区的 分段、 循环使用, 从而大大缩短等待时间, 在很大程度上提升用户体验, 同 时还降低了对内存资源的需求。 附图概迷 The invention realizes that the terminal supports the download and play synchronization of the HTTP streaming media, and the segmentation and recycling of the buffer, thereby greatly shortening the waiting time, greatly improving the user experience, and also reducing the memory resources. demand. Drawing fan
图 1是现有支持手机 HTTP流的系统结构示意图;  FIG. 1 is a schematic structural diagram of a system for supporting a mobile phone HTTP stream;
图 2是图 1所示系统实现手机 HTTP流式传输的流程图;  2 is a flow chart of the system shown in FIG. 1 for implementing HTTP streaming of a mobile phone;
图 3是本发明实施例技实现手机 HTTP流式传输的总体流程图; 图 4是图 3实现手机 HTTP流式传输的详细流程图;  3 is a general flowchart of implementing HTTP streaming of a mobile phone according to an embodiment of the present invention; FIG. 4 is a detailed flowchart of implementing HTTP streaming of a mobile phone in FIG. 3;
图 5是图 4所示流程中使用的緩存结构示意图。 本发明的较佳实施方式  FIG. 5 is a schematic diagram of a cache structure used in the flow shown in FIG. Preferred embodiment of the invention
本发明的主要构思是, 终端在下载了一定量的数据之后就可以开始播 放, 实现下载与播放并行执行, 可以使用双线程分别控制; 另外下载、 播放 需要处理緩存。 本发明的优化方案是采用循环使用緩存的方案; 循环緩存过 程中,播放读指针不能超过下载写指针; 下载写指针也不能覆盖还没有被播 放读取的内容, 即在双线程控制的前提下, 保证了下载、 播放的同步。 The main idea of the present invention is that the terminal can start playing after downloading a certain amount of data, and realize parallel execution of downloading and playing, which can be separately controlled by using two threads; in addition, downloading and playing need to process the buffer. The optimization scheme of the present invention adopts a scheme of recycling cache; In the process, the playback read pointer cannot exceed the download write pointer; the download write pointer cannot cover the content that has not been read and played, that is, under the premise of dual-thread control, the synchronization of download and play is guaranteed.
其中本发明所述緩存处理, 不限于存储到类似于 FLASH或 RAM等硬 件存储器中,也包括了将流媒体数据下载之后,存储为支持先进先出(FIFO, first in first out ) 功能的文件格式, FIFO文件格式与具体的操作系统息息相 关, 不一定存放在 RAM、 FLASH之类的主存储器中, 也可以存储在磁盘或 可移动的存储设备上, 由操作系统来保证实现存储和读取时的先入先出。 当 使用支持 FIFO功能的文件(也称为 FIFO文件)进行緩存时, 终端上支持 FIFO 文件的操作系统需要先将从服务器上下载到本地的媒体文件转换为 FIFO文件后再緩存。 这样同样可以完成首先获得的流媒体数据将被首先播 放的功能, 而支持 FIFO功能的文件格式为现有技术, 例如高通的 Brew平 台上就支持这种文件格式。  The cache processing of the present invention is not limited to being stored in a hardware memory such as FLASH or RAM, and includes a file format that is stored in a first in first out (FIFO) manner after the streaming media data is downloaded. The FIFO file format is closely related to the specific operating system. It is not necessarily stored in the main memory such as RAM or FLASH. It can also be stored on a disk or a removable storage device. The operating system ensures storage and reading. First in, first out. When using a file that supports FIFO function (also called FIFO file) for caching, the operating system that supports FIFO files on the terminal needs to convert the media files downloaded from the server to the local FIFO file before caching. This also allows the first to get the streaming media data to be played first, while the FIFO-enabled file format is available in existing technologies, such as Qualcomm's Brew platform.
下面以手机为例, 结合附图对本发明釆用的技术方案作进一步详细说 明。 Hereinafter, the technical solution of the present invention will be further described in detail by taking a mobile phone as an example and referring to the accompanying drawings.
一种支持手机 HTTP流媒体业务的同步下载播放的方法, 如图 3所示, 包括如下步驟:  A method for supporting synchronous download and play of a mobile phone HTTP streaming service, as shown in FIG. 3, includes the following steps:
步骤 301: 手机终端对已下载并存储在本地緩存第一段存储区中的第一 段媒体数据进行解码后, 开始播放所下载的媒体;  Step 301: After the mobile terminal decodes the first piece of media data that has been downloaded and stored in the first segment of the local cache, the mobile terminal starts playing the downloaded media.
步驟 302:手机终端继续向 HTTP服务器请求并按顺序下载第 m段数据, 然后将其存储在本地緩存相应的存储区中; 在下载的同时,顺序同步播放每 一段存储区中存储的媒体数据, 即按顺序同步播放已存储在第 i段存储区的 媒体, 其中 i,m为自然数, i<m;  Step 302: The mobile terminal continues to request and download the mth segment of data in the order of the HTTP server, and then stores the data in the corresponding storage area in the local cache. Simultaneously, the media data stored in each segment of the storage area is synchronously played. That is, the media stored in the i th segment storage area is synchronously played in order, where i, m are natural numbers, i < m;
m为当前下载的媒体数据的分段编号, i为当前播放的媒体数据所在存 储区的编号, i, m从 1开始顺序编号即 i, m = 1,2,3, ......。 所述本地緩存是指 终端在存储器中为本次媒体下载分配的緩存空间。所述顺序播放指按下载的 顺序依次播放。  m is the segment number of the currently downloaded media data, i is the number of the storage area where the currently playing media data is located, i, m is sequentially numbered from 1 to i, m = 1, 2, 3, ... . The local cache refers to a cache space allocated by the terminal for this media download in the memory. The sequential play refers to playing in order of downloading.
同步播放是通过双线程控制实现的, 即对下载线程与播放线程并行执 行, 但播放线程中的播放读指针不能指向还没有存储完整下载数据的存储 区。 同时, 下载线程中的下载写指针不能指向还没有被播放的媒体数据所在 的存储区。 Synchronous playback is achieved through dual-thread control, that is, the download thread and the play thread are executed in parallel. OK, but the playback read pointer in the playback thread cannot point to a memory area where the full download data has not yet been stored. At the same time, the download write pointer in the download thread cannot point to the storage area where the media data that has not been played is located.
步骤 303: 重复步驟 302, 直到整个媒体文件下载播放完毕;  Step 303: Repeat step 302 until the entire media file download is completed.
该步骤中,若先下载完毕, 则继续顺序播放未播放的内容至到播放完毕 后, 结束整个流程。  In this step, if the download is completed first, the unplayed content is continuously played in sequence until the end of the playback, and the entire process is ended.
上述方法中, 用于緩存下载数据的存储器可以采用现有的任一种存储 器, 存储时可以采用循环存储的方式, 或者采用顺序存储的方式。 为了节约 资源, 较佳采用循环存储的方式。  In the above method, the memory for buffering the downloaded data may be any existing storage, and may be stored in a circular storage manner or in a sequential storage manner. In order to save resources, it is better to use a cyclic storage method.
当采用循环存储方式时, 若 m大于本地緩存的存储区总数目, 则对 m 和本地緩存的存储区总数目相除取余, 将第 m段数据存储在该取余后所得 数目的存储区中。 如将 m和本地緩存的存储区总数目相除取余后等于 i, 则 暂停下载, 直到存储在第 i段存储区的媒体被播放完毕后, 恢复下载。  When the cyclic storage mode is adopted, if m is greater than the total number of storage areas of the local cache, the total number of storage areas of m and the local cache is divided, and the mth piece of data is stored in the storage area of the obtained number after the remainder. in. If m is divided by the total number of locally cached storage areas and is equal to i, the download is suspended until the media stored in the i-th storage area is played back, and the download is resumed.
若 m小于等于本地緩存的存储区总数目, 则将第 m段数据存储在本地 緩存的第 m段存储区中, 如此时已播放完毕笫 (m - 1 )段存储区的媒体, 则暂停播放, 直到第 m段数据下载完毕后恢复播放。  If m is less than or equal to the total number of storage areas of the local cache, the mth segment data is stored in the mth segment storage area of the local cache, and when the media of the (m - 1) segment storage area has been played, the playback is paused. , resume playback after the data download is completed in the mth segment.
当采用顺序存储方式时,将下载的第 m段数据,存储在本地緩存的第 m 段存储区中; 如果在下载第 m段数据过程中, 若已播放完毕第 (m - 1 )段 存储区的媒体, 则暂停播放, 直到第 m段数据下载完毕后恢复播放。  When the sequential storage mode is adopted, the downloaded mth segment data is stored in the mth segment storage area of the local cache; if the mth segment is stored, the (m - 1) segment storage area is already played. The media is paused until the mth segment of data is downloaded and resumed.
下面再提供采用循环緩存实现手机 HTTP流媒体业务的详细流程,如图 4所示, 包括如下步骤: The following provides a detailed process for implementing the HTTP streaming service of the mobile phone by using the circular cache, as shown in FIG. 4, including the following steps:
步骤 401: 手机向 HTTP服务器发送请求, 要求下载通过 URL指定的 媒体, 例如: http://x.y.z.w/media/testvideo.mp4; 具体地, 可以由手机上的如 媒体播放器等现有应用软件来实现,以下的下载等操作也由相应的应用软件 来实现, 不再——指明。  Step 401: The mobile phone sends a request to the HTTP server to download the media specified by the URL, for example: http://xyzw/media/testvideo.mp4; Specifically, the mobile phone may be used by an existing application software such as a media player. Implementation, the following downloads and other operations are also implemented by the corresponding application software, no longer - specified.
步骤 402: HTTP服务器收到请求后, 向手机应用软件返回确认信息; 上述步骤 401~402同现有技术。 步骤 403:手机收到 HTTP服务器的确认信息后;若给定的资源不存在, 则提示出错信息; 否则启动下载线程, 向 HTTP服务器请求下载第 1段媒体 数据; Step 402: After receiving the request, the HTTP server returns a confirmation message to the mobile phone application software; the above steps 401-402 are the same as the prior art. Step 403: After the mobile phone receives the confirmation message of the HTTP server; if the given resource does not exist, the error message is prompted; otherwise, the download thread is started, and the HTTP server is requested to download the first piece of media data;
步骤 404: 手机从 HTTP服务器下载所请求的第 1段数据, 并存储到本 地緩存区的第 1段存储区中;  Step 404: The mobile phone downloads the requested first segment data from the HTTP server, and stores the data into the first segment storage area of the local buffer area;
该步骤中所述的本地緩存的结构如图 5所示;  The structure of the local cache described in this step is as shown in FIG. 5;
步骤 405: 手机在成功下载了第 1段数据块之后, 启动播放线程, 开始 解码所下载的媒体数据, 然后进行播放;  Step 405: After successfully downloading the first data block, the mobile phone starts the playing thread, starts decoding the downloaded media data, and then plays the same;
步骤 406: 手机按序请求下载第 m段媒体数据, 其具体操作过程如步骤 403;  Step 406: The mobile phone sequentially requests to download the media data of the mth segment, and the specific operation process is as follows: Step 403;
步骤 407: 手机从 HTTP服务器下载所请求的第 m段数据, 若 m不大 于 N时,将第 m段数据存储在第 m段緩存中, 否则将第 m段数据存储在第 |mod(m/N)|段緩存中, 其中 mod表示取余, N是为下载数据分配的存储区的 总数目;  Step 407: The mobile phone downloads the requested mth segment data from the HTTP server. If m is not greater than N, the mth segment data is stored in the mth segment cache, otherwise the mth segment data is stored in the |mod(m/ N)| segment buffer, where mod represents the remainder, and N is the total number of storage areas allocated for downloading data;
播放线程启动后 ,在手机请求下载媒体数据的同时,播放线程并不中断, 与下载线程并发执行。 如果下载速度慢, 要播放的第 i段缓冲区的数据未下 载完毕, 则暂停播放, 直到第 i段緩冲区的媒体数据下载完毕才恢复播放; 如果 m大于 N, 且下载速度快时, 第 lmod(m/N)l段緩存中的媒体数据未播放 结束, 则下载线程等待, 直到第 |mod( /N)|段緩存中的数据播放完毕才开始 下载。  After the play thread is started, while the mobile phone requests to download the media data, the play thread is not interrupted, and is executed concurrently with the download thread. If the download speed is slow, the data of the i-th buffer to be played is not downloaded, the playback is paused, and the playback is resumed until the media data of the i-th buffer is downloaded. If m is greater than N and the download speed is fast, When the media data in the lmod(m/N) segment cache is not played, the download thread waits until the data in the |mod( /N)| segment buffer is played.
步骤 408: HTTP服务器向手机返回确认信息, 表明所有媒体数据已经 下载完毕, 则停止下载线程, 继续播放已经下载完毕的緩存中的媒体数据; 步骤 409: 播放结束。  Step 408: The HTTP server returns a confirmation message to the mobile phone, indicating that all the media data has been downloaded, stopping the downloading thread, and continuing to play the media data in the cache that has been downloaded; Step 409: The playback ends.
上述方法中所使用的缓存结构如图 5所示, 该緩存分为 N段, 可循环 使用。每段存储区的容量由用户视具体情况而定,本实施例中每段存储区为 1ΚΒ0 The cache structure used in the above method is as shown in FIG. 5, and the cache is divided into N segments and can be used cyclically. The capacity of each segment of the storage area is determined by the user as the case may be. In this embodiment, each storage area is 1 ΚΒ 0.
以上所述仅为本发明的一个具体的实施例, 并不用于限制本发明,对于 本领域的技术人员来说,本发明可以有各种更改和变化, 本发明的保护范围 以权利要求为准。 The above description is only a specific embodiment of the present invention, and is not intended to limit the present invention. A person skilled in the art can make various changes and modifications to the invention, and the scope of the invention is defined by the claims.
例如, 本发明也可以将下载数据转换为 FIFO文件后再存储, 此时不必 再编写实现下载和播放时, 与读、 写指针控制相关的代码。 利用操作系统即 可实现下载与播放的同步。 且可存储在磁盘或可移动的存储设备上。  For example, the present invention can also convert downloaded data into a FIFO file and store it. It is not necessary to write code related to read and write pointer control when downloading and playing. Synchronization of download and playback is possible with the operating system. It can be stored on a disk or on a removable storage device.
又如,本发明也可以用于其它采用 HTTP流下载媒体数据且资源受限的 终端。  As another example, the present invention can also be applied to other terminals that use the HTTP stream to download media data and have limited resources.
工业实用性 Industrial applicability
本发明可以应用于手机等终端上, 支持 HTTP 流媒体的下载与播放同 步, 可以大大缩短等待时间, 在很大程度上提升用户体验, 同时还降低了对 内存资源的需求。  The invention can be applied to terminals such as mobile phones, supports the synchronization of downloading and playing of HTTP streaming media, can greatly shorten the waiting time, greatly improves the user experience, and reduces the demand for memory resources.

Claims

权 利 要 求 书 Claim
1、 一种终端同时下载和播放超文本传输流媒体的方法, 其特征在于, 该方法包括以下步骤: A method for simultaneously downloading and playing a hypertext transport stream media by a terminal, the method comprising the steps of:
A:终端向超文本传输 HTTP服务器请求下载统一资源定位符 URL指定 的媒体, 并将所述媒体数据分段緩存至本地緩存的存储区;  A: the terminal requests the hypertext transfer HTTP server to download the media specified by the uniform resource locator URL, and caches the media data into a locally cached storage area;
B: 在第一段媒体数据下载完成后, 在继续下载的同时, 顺序解码、 播 放已緩存了完整下载数据的每一存储区中的分段媒体数据。  B: After the download of the first piece of media data is completed, while the download is continued, the segmented media data in each storage area in which the full download data has been cached is sequentially decoded and played.
2、 如权利要求 1所述的方法, 其特征在于, 步骤 B进一步分为以下步 驟: 2. The method of claim 1 wherein step B is further divided into the following steps:
B1 :终端对已下载并存储在本地緩存的第一段存储区的第一段媒体数据 进行解码后, 开始播放所下载的媒体;  B1: the terminal starts to play the downloaded media after decoding the first piece of media data that has been downloaded and stored in the first segment of the locally cached storage area;
B2: 终端向 HTTP服务器请求并按顺序下载第 m段媒体数据, 然后将 其存储在本地緩存相应的存储区中; 同时, 顺序同步播放已存储在第 i段存 储区的媒体, 其中 i,m为自然数且 i<m;  B2: The terminal requests and downloads the mth piece of media data in order to the HTTP server, and then stores the media data in the corresponding storage area; and simultaneously plays the media stored in the i th segment storage area in sequence, where i, m Is a natural number and i<m;
B3: 并行执行上述下载线程和播放线程, 直到整个媒体文件下载、播放 完毕。  B3: The above download thread and play thread are executed in parallel until the entire media file is downloaded and played.
3、 如权利要求 2所述的方法, 其特征在于, 3. The method of claim 2, wherein
所述播放线程中的播放读指针不能指向还没有存储完整下载数据的存 储区。 同时, 下载线程中的下载写指针不能指向还没有被播放的媒体数据所 在的存储区。  The play read pointer in the play thread cannot point to a storage area that has not yet stored the full download data. At the same time, the download write pointer in the download thread cannot point to the storage area where the media data that has not been played is located.
4、 如权利要求 3所述的方法, 其特征在于, 4. The method of claim 3, wherein
在存储媒体数据时采用顺序存储的方式, 将下载的第 m段数据, 存储 在本地緩存的第 m段存储区中; 如果在下载第 m段数据过程中, 若已播放 完毕第 (m - 1 )段存储区的媒体, 则暂停播放, 直到第 m段数据下载完毕 后恢复播放。  When the media data is stored, the downloaded mth segment data is stored in the mth segment of the local cache in the manner of sequential storage; if the m segment data is downloaded, if the playback has finished (m - 1) The media in the segment storage area is paused until the mth segment of data is downloaded and resumed.
5、 如权利要求 3所述的方法, 其特征在于, 在存储媒体数据时采用循环存储的方式, 若 m小于等于 N, 则将第 m 段数据存储在本地緩存的第 m段存储区中; 若 m大于本地緩存为所述媒体 分配的存储区总数目 N, 则将第 m段数据存储在第 lmod(m/N)l段存储区中, |mod(m/N)|表示将 m和 N相除取余。 5. The method of claim 3, wherein The method of cyclic storage is used when storing media data. If m is less than or equal to N, the mth segment data is stored in the mth segment storage area of the local cache; if m is greater than the total number of storage areas allocated by the local cache for the media N, the mth segment data is stored in the lmod (m/N) l segment storage area, and |mod(m/N)| indicates that m and N are divided by the remainder.
6、 如权利要求 5所述的方法, 其特征在于, 6. The method of claim 5, wherein
若 m大于 N, 且将 m和 N相除取余后得到的余数 |mod( /N)|等于 i, 则 暂停下载, 直到存储在第 i段存储区的媒体被播放完毕后, 恢复下载;  If m is greater than N, and the remainder obtained by dividing m and N by the remainder |mod( /N)| is equal to i, the download is suspended until the media stored in the i th segment storage area is played back, and the download is resumed;
若 m小于或者等于 N, 在下载第 m段数据过程中, 若已播放完第 (m - 1 )段存储区的媒体, 则暂停播放, 直到第 m段数据下载完毕后恢复播放。  If m is less than or equal to N, in the process of downloading the mth segment data, if the media of the (m - 1) segment memory area has been played, the playback is paused, and the playback resumes after the mth segment data is downloaded.
7、 如权利要求 1所述的方法, 其特征在于, 7. The method of claim 1 wherein:
所述终端将下载的媒体数据转换为支持 FIFO功能的文件格式后, 存储 为本地緩存中的 FIFO文件, 在同步播放时利用操作系统来读取所述 FIFO 文件, 实现下载与播放的同步。  After converting the downloaded media data into a file format supporting the FIFO function, the terminal stores the FIFO file in the local cache, and uses the operating system to read the FIFO file during synchronous playback to synchronize the download and play.
8、 如权利要求 7所述的方法, 其特征在于, 8. The method of claim 7 wherein:
所述本地緩存为所述终端的主存储器, 或所述终端上放入的磁盘, 或所 述终端所连接的移动存储设备上为下载的所述媒体分配的緩存空间。  The local cache is a main memory of the terminal, or a disk placed on the terminal, or a cache space allocated for the downloaded media on the mobile storage device connected to the terminal.
9、 如权利要求 2所述的方法, 其特征在于, 9. The method of claim 2, wherein
所述本地緩存为所述终端的主存储器上为下载的所述媒体分配的緩存 空间。  The local cache is a cache space allocated on the main memory of the terminal for the downloaded media.
10、 如权利要求 1所述的方法, 其特征在于, 所述终端为手机。 10. The method of claim 1, wherein the terminal is a mobile phone.
PCT/CN2007/003831 2007-09-11 2007-12-27 A method for simultaneously downloading and playing hypertext transfer stream media WO2009033345A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710145373.8A CN101127989A (en) 2007-09-11 2007-09-11 A method for supporting hypertext transmission stream media service of mobile phone
CN200710145373.8 2007-09-11

Publications (1)

Publication Number Publication Date
WO2009033345A1 true WO2009033345A1 (en) 2009-03-19

Family

ID=39095876

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/003831 WO2009033345A1 (en) 2007-09-11 2007-12-27 A method for simultaneously downloading and playing hypertext transfer stream media

Country Status (2)

Country Link
CN (1) CN101127989A (en)
WO (1) WO2009033345A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8364838B2 (en) 2008-05-20 2013-01-29 Htc Corporation Method for playing streaming data, electronic device for performing the same and information storage media for storing the same
US8510375B2 (en) 2009-12-11 2013-08-13 Nokia Corporation Apparatus and methods for time mapping media segments in streaming media files
CN111935535A (en) * 2019-05-13 2020-11-13 阿里巴巴集团控股有限公司 Data processing method and device, terminal equipment and computer storage medium
CN114143294A (en) * 2022-02-08 2022-03-04 广州长嘉电子有限公司 Streaming media signal processing system and method

Families Citing this family (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420490A (en) * 2008-05-30 2009-04-29 北京天腾时空信息科技有限公司 Data reading method and device
CN101399691B (en) * 2008-10-21 2011-09-07 北京闪联互动网络科技有限责任公司 Multimedia on-line playing method, device for mobile terminal and mobile terminal thereof
SG176796A1 (en) * 2009-06-15 2012-01-30 Research In Motion Ltd Methods and apparatus to facilitate client controlled sessionless adaptation
CN101656985B (en) * 2009-08-18 2012-12-19 中兴通讯股份有限公司 Method for managing url resource cache and device thereof
CN101702728B (en) * 2009-09-02 2013-04-24 优视科技有限公司 Streaming media transmission system for mobile communication equipment terminal and application method thereof
CN101662476A (en) * 2009-09-29 2010-03-03 中兴通讯股份有限公司 Method for editing multimedia messages and obtaining media resources and mobile terminal thereof
CN101702767B (en) * 2009-10-28 2011-08-31 东方网力科技股份有限公司 Time-based media playing method and system
CN102404646A (en) * 2010-09-08 2012-04-04 苏州尚嘉信息技术有限公司 Wireless television live broadcasting system and live broadcasting method thereof
CN102137137B (en) * 2010-09-17 2013-11-06 华为技术有限公司 Method, device and system for dynamic inter-cut of media contents based on HTTP (Hyper Text Transport Protocol) stream
CN103747365B (en) * 2010-09-17 2017-04-26 华为技术有限公司 Method, device and system for dynamic inter-cut of media contents based on HTTP (Hyper Text Transport Protocol) stream
CN102420840A (en) * 2010-09-27 2012-04-18 西安龙飞软件有限公司 Method for realizing brew-based Http (Hyper Text Transport Protocol) progressive video player
CN101951412B (en) * 2010-10-15 2013-11-13 上海交通大学 Multi-sub-stream media transmission system based on HTTP protocol and transmission method thereof
CN102006368B (en) * 2010-12-03 2013-06-19 重庆新媒农信科技有限公司 Streaming media audio file play method based on mobile terminal memory card cache technology
CN102123198A (en) * 2011-01-11 2011-07-13 中国联合网络通信集团有限公司 Memory management method and memory manager for media player
CN103297452B (en) * 2012-02-24 2016-08-24 北京对角巷科技发展有限公司 A kind of in the Internet issue and the method and system of live broadcast stream media
WO2014026988A1 (en) * 2012-08-14 2014-02-20 Telefonaktiebolaget L M Ericsson (Publ) Processing of multimedia data
CN103391454B (en) * 2013-07-12 2016-12-28 三星电子(中国)研发中心 A kind of multithreading method for down loading and device
CN103412782B (en) * 2013-09-04 2017-03-22 广东全通教育股份有限公司 Dynamic resource loading method and system based on flash
CN103488717B (en) * 2013-09-11 2017-02-22 北京华胜天成科技股份有限公司 Lock-free data gathering method and lock-free data gathering device
CN103648019A (en) * 2013-11-29 2014-03-19 乐视致新电子科技(天津)有限公司 Video downloading method and device based on HLS protocol
CN103731676A (en) * 2013-12-31 2014-04-16 深圳Tcl新技术有限公司 Playing method and device compatible to multi-protocol multimedia data
CN105100172B (en) 2014-05-22 2018-03-27 华为技术有限公司 The buffer status update method and equipment of a kind of http protocol, processor
CN104184817A (en) * 2014-08-28 2014-12-03 广州金山网络科技有限公司 Download optimizing method and device and terminal
CN104240739B (en) * 2014-09-04 2017-05-24 广东欧珀移动通信有限公司 Music playing method and device for mobile terminal
CN104284204B (en) * 2014-09-25 2019-02-15 中兴通讯股份有限公司 A kind of fast channel switching method, system and terminal, server
CN104796741B (en) * 2015-04-15 2018-03-16 姚世明 A kind of media sharing square law device of network hierarchy and resource burst
CN105898501A (en) * 2015-12-30 2016-08-24 乐视致新电子科技(天津)有限公司 Video display method, video player and electronic device
CN105872668A (en) * 2016-03-31 2016-08-17 百度在线网络技术(北京)有限公司 Audio-video data processing method and device as well as vehicle-mounted terminal
CN110895515A (en) * 2018-09-12 2020-03-20 中兴通讯股份有限公司 Memory cache management method, multimedia server and computer storage medium
CN110213643B (en) * 2019-06-11 2023-03-24 北京奇艺世纪科技有限公司 Streaming media caching method and device and terminal equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1798097A (en) * 2004-12-24 2006-07-05 腾讯科技(深圳)有限公司 Method for buffering data in stream media
CN1937778A (en) * 2005-09-20 2007-03-28 腾讯科技(深圳)有限公司 Flow media playing method, system and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1798097A (en) * 2004-12-24 2006-07-05 腾讯科技(深圳)有限公司 Method for buffering data in stream media
CN1937778A (en) * 2005-09-20 2007-03-28 腾讯科技(深圳)有限公司 Flow media playing method, system and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8364838B2 (en) 2008-05-20 2013-01-29 Htc Corporation Method for playing streaming data, electronic device for performing the same and information storage media for storing the same
US8510375B2 (en) 2009-12-11 2013-08-13 Nokia Corporation Apparatus and methods for time mapping media segments in streaming media files
CN111935535A (en) * 2019-05-13 2020-11-13 阿里巴巴集团控股有限公司 Data processing method and device, terminal equipment and computer storage medium
CN114143294A (en) * 2022-02-08 2022-03-04 广州长嘉电子有限公司 Streaming media signal processing system and method

Also Published As

Publication number Publication date
CN101127989A (en) 2008-02-20

Similar Documents

Publication Publication Date Title
WO2009033345A1 (en) A method for simultaneously downloading and playing hypertext transfer stream media
US20230289329A1 (en) Low latency and low defect media file transcoding using optimized storage, retrieval, partitioning, and delivery techniques
KR100492567B1 (en) Http-based video streaming apparatus and method for a mobile communication system
CN103559165B (en) Comprise the video distribution system of broadcasting continuously
US9473812B2 (en) System and method for delivering content
US6816909B1 (en) Streaming media player with synchronous events from multiple sources
CN109286820B (en) Stream media ordering method and system based on distributed memory system
CN101075949A (en) Method for changing fluid-medium file broadcasting speed
US20090006736A1 (en) Systems and methods for managing data storage
EP2036346A1 (en) Support for interactive playback devices for performance aware peer-to-peer video-on-demand service
WO2011147352A1 (en) Method and device for supporting time shift review in dynamic hypertext transfer protocol streaming transmission solution
CN112839238B (en) Screen projection playing method and device and storage medium
WO2017059450A1 (en) Gapless video looping
US20210021655A1 (en) System and method for streaming music on mobile devices
US8817983B2 (en) Streaming video to cellular phones
KR20070020727A (en) Apparatus and method of using pseudo streaming download with partially progressive download in terminal
JP2011501504A (en) System and method for managing advertising content corresponding to streaming media content
WO2012146098A1 (en) Method and corresponding system for storing and playing streaming media
WO2013185514A1 (en) System and method for playing streaming media
US20150268808A1 (en) Method, Device and System for Multi-Speed Playing
CN103763609A (en) HLS protocol-based channel switching method and apparatus
US20090172752A1 (en) Streaming multiple videos in a playlist
WO2014190409A1 (en) System and method for streaming a media file from a server to a client device
US20150095447A1 (en) Serving method of cache server, cache server, and system
JP4165134B2 (en) Information reproducing apparatus, information reproducing method, and information reproducing system

Legal Events

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

Ref document number: 07855832

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07855832

Country of ref document: EP

Kind code of ref document: A1