High-efficiency streaming media playing method and device

A playback method and streaming media technology, applied in the field of network communication, can solve problems such as increasing the cost of streaming media players, achieve the effect of reducing the number of system IO operations, reducing the number of allocations, and realizing fast interaction

Inactive Publication Date: 2013-01-09
HARBIN RONGZHIDA NETWORK TECH
View PDF5 Cites 50 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] The technical problem to be solved by the present invention is to provide a high-efficiency streaming media playback method, which can solve the problem that in the prior art, in order to achieve the playback effect of high-bit stream streaming media, it is necessary to configure high-performance components, thereby greatly increasing the cost of streaming media players The 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
  • High-efficiency streaming media playing method and device
  • High-efficiency streaming media playing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] refer to figure 1 , which shows the flow of the first embodiment of the high-efficiency streaming media playback method of the present invention, specifically including the following steps:

[0042] S101: Establish a connection with the streaming media server;

[0043] Send a connection request according to the communication protocol name of the streaming media server; if the connection fails, then judge whether the streaming media server address contains a connection port parameter, if so, try to establish a connection with other streaming protocol connection ports in turn; if the connection still fails, Try to repeat the above connection process with other streaming media communication protocols that do not include the name of this communication protocol in turn; among them, streaming media communication protocols include RTSP, HTTP and MMS protocols, etc.; in the above connection establishment steps, as long as the connection is successful, then The disconnection pr...

Embodiment 2

[0058] In this preferred embodiment, processes such as connection establishment, stream protocol analysis, ring memory management, playback pause control, dynamic buffer management, and UI user interaction management are included. in:

[0059] 1. Establish a connection process, specifically including:

[0060] S201: According to the protocol name, the stream reading module matching the protocol name is preferentially used for connection;

[0061] When establishing a connection, it is preferable to set the connection to a non-blocking mode, and set the timeout to 10s.

[0062] S202: Determine whether the connection establishment is successful? If yes, go to step S211; otherwise, go to step S203;

[0063] S203: Judging that the streaming media server address has a port (Port), if so, turn to step S204; otherwise, turn to step S206;

[0064] S204: Save the resolved ip address of the domain name connected for the first time, and try to connect to other recognized stream protoc...

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

The invention provides a high-efficiency streaming media playing method and a high-efficiency streaming media playing device. The method comprises the steps: establishing connection with a streaming media server; reading preset data from the steaming media server; analyzing the preset data according to a communication protocol of the steaming media server to acquire related parameter information; calculating the size of a buffer zone practically distributed according to the related parameter information, and then applying a memory with size equal to that of the buffer zone as a playing buffer zone; reading data stream from the steaming media server; storing the data stream to the playing buffer zone; and decoding and playing the data stream in the playing buffer zone according to the type of the steaming media. According to the scheme, steaming media at different code rates and in different network environments can be dynamically buffered by adopting a dynamic buffering management mode through analyzing the related parameters of the steaming media data to determine the size of the buffer zone, and an effect playing high-code steaming data fast can be fulfilled with lower component configuration.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a method and device for playing high-efficiency streaming media. Background technique [0002] Streaming Media (Streaming Media) technology is an emerging network transmission technology, which is used to transmit continuous time-based media such as audio, video or multimedia files in the network. Streaming transmission technology is a network transmission technology that compresses continuous sound and image information and puts them on the network server, allowing users to listen to and watch while downloading, without waiting for the entire file to be downloaded to their own machine. It only needs a few seconds or tens of seconds of start-up delay to play, and then play while receiving. [0003] With the rapid development of multimedia technology and network technology, applications based on streaming media are also used in many fields such as video conferencing...

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 Applications(China)
IPC IPC(8): H04N21/231
Inventor 郑立安戴建成
Owner HARBIN RONGZHIDA NETWORK TECH
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