Method for buffering data in stream media

A streaming media and data technology, applied in the field of caching streaming media data, can solve the problems of no provision, slow streaming media data download speed, slow playback speed, media data not yet broadcast, etc., to ensure playback quality, avoid data being overwritten or Play choppy effects

Active Publication Date: 2008-06-04
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In this case, the media data in the play buffer has not been played yet, and the newly downloaded media data has arrived in the play buffer, thus, some unbroadcast streaming media data in the play buffer will be newly downloaded. The downloaded streaming media data is covered, resulting in the loss of streaming media data and playback errors;
[0006] 2. The download speed of streaming media data is slower than the playback speed:
In the prior art, there is no solution to this problem

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for buffering data in stream media
  • Method for buffering data in stream media

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The present invention is a method for buffering streaming media data. The method controls the downloading and playing speed of streaming media data, so that the two speeds are consistent, so as to avoid overwriting and playing the data and data in the buffer due to speed inconsistency. Play choppy issues.

[0036] Realize the present invention, need to carry out following steps:

[0037] On the side where the playback cache receives streaming data, perform the following steps:

[0038] Step a: download a piece of streaming media data through the network according to the download speed in the playback cache;

[0039] Step b: Determine whether there are currently idle cache blocks in the playback cache, if so, take out an idle cache block from the playback cache, otherwise, the playback cache stops downloading streaming media data blocks through the network, and returns to this step until the playback cache A free cache block appears;

[0040] Step c: store the streami...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

Embodiments of the present invention disclose a method for buffering streaming media, including: determining whether there is no free buffer chunk to buffering streaming media currently in a playing buffer; if so, stopping downloading streaming media from the network; otherwise, buffering the streaming media downloaded from the network in the playing buffer; determining whether the time for playing the streaming media after being buffered in the playing buffer is later than the time for playing the steaming media according to the playing speed; if so, stopping playing streaming media in the buffer chunk; otherwise, playing streaming media in the buffer chunk. In accordance with the present invention, the problem of covering streaming media not being played in playing buffer and playing streaming media disconnectedly caused by the difference between the speed of downloading and playing streaming media is avoided by respectively controlling the process of downloading and playing streaming media. In view of the above, it is possible to guarantee that no error occurs in the process of buffering and playing streaming media, and ensure the quality for playing streaming media. Embodiments of the present invention further disclose an apparatus for buffering streaming media.

Description

technical field [0001] The invention relates to the technical field of media communication, in particular to a method for buffering streaming media data. Background technique [0002] Currently, streaming media has been widely used on the Internet, and people can watch or listen to programs in real time on the Internet through the streaming media. Streaming media, also known as streaming media, allows viewers to download streaming media files and play the files at the same time, without waiting for the entire streaming media file to be downloaded before playing, thus greatly saving the user's download time. Streaming media technology is not a single technology. In the process of downloading and playing streaming media, it will specifically involve multiple technologies such as collecting, compressing, transmitting, caching and playing streaming media data. What the present invention relates to is exactly the caching technique of relevant streaming media data. [0003] In t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/56H04N7/173H04N21/238H04N21/24H04N21/433H04N21/442
CPCH04N7/17318H04L47/30H04L47/10H04L47/2416H04N21/2401H04N21/4307H04L29/06496H04N21/44004H04L47/25H04L29/06523H04L47/266H04N21/4392H04L65/604H04L65/80H04N21/43072H04L65/764H04N21/433
Inventor 王麒
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products