Method and device for acquiring streaming media play time

A technology of playback time and acquisition method, which is applied in the field of video processing, can solve the problems of poor accuracy of streaming media playback time, and achieve the effect of solving poor accuracy and accurate calculation

Active Publication Date: 2015-06-10
天津智融创新科技发展有限公司
View PDF5 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The main purpose of the present invention is to provide a method and device for obtaining the playing time of streaming media, so as to solve the problem of poor accuracy in obtaining the playing time of streaming media based on heartbeat packets in the prior art

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 and device for acquiring streaming media play time
  • Method and device for acquiring streaming media play time
  • Method and device for acquiring streaming media play time

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] First, Embodiment 1 of the present invention provides a method for obtaining the playing duration of streaming media, which mainly describes the process of calculating the actual playing duration of streaming media, see figure 1 , the method may include the following steps:

[0028] Step S102: Respond to the user's operation command, control the player to play streaming media, and acquire the start time information of streaming media playing.

[0029] When the user requests video resources from the streaming media server through the terminal, he inputs an operation command to the terminal, the terminal responds to the operation command, receives the video resource transmitted by the streaming media server in real time, starts the player and starts playing the streaming media, for example, when the user terminal is a TV , the TV starts the player to play while receiving the video resource. After the player starts to play the streaming media, it obtains the start time in...

Embodiment 2

[0045] This embodiment is a further preferred method for obtaining the duration of streaming media playback on the basis of Embodiment 1, see figure 2 , the method may include the following steps:

[0046] Step S202: Respond to the user's operation command, control the player to play the streaming media, and obtain the start time of streaming media playing.

[0047] Step S204: Obtain the playing mode of the player, wherein the playing mode includes on-demand and live broadcasting, if the playing mode is on-demand, then perform step S206, and if the playing mode is live, then perform step S208.

[0048] Step S206: Monitor whether the player is stuck or dragged. If the player is stuck or dragged, the playback status of the player is abnormal.

[0049] Step S208: Monitor whether the player is in a freeze state, wherein if the player is in a freeze state, the playback state of the player is abnormal.

[0050] Since the playback mode is on-demand, the user's drag is allowed duri...

Embodiment 3

[0058] Corresponding to the method for obtaining the playing duration of streaming media provided in Embodiment 1 of the present invention, the embodiment of the present invention also provides a device for obtaining the playing duration of streaming media, which is located in user terminals such as smart TVs, mobile phones, and PADs. image 3 , the apparatus may include a response module 310 , a monitoring module 320 , a first acquisition module 330 , a second acquisition module 340 and a calculation module 350 .

[0059] The response module 310 is used for responding to the user's operation command, controlling the player to play streaming media, and obtaining the start time information of streaming media playing.

[0060] When the user requests video resources from the streaming media server through the terminal, he inputs an operation command to the terminal, and the response module 310 responds to the operation command, receives the video resources transmitted by the strea...

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 discloses a method and device for acquiring streaming media play time. The method comprises the following steps: controlling a player to play streaming media in response to an operating command of a user, and acquiring the starting time information of streaming media play; monitoring the play state of the player while the player plays the streaming media; if the play state abnormity of the player is monitored, acquiring the time information of the play state abnormity of the player in order to obtain abnormity time information; at the end of the streaming media play, acquiring the end time information of the streaming media play; and computing the actual play time of the streaming media according to the end time information, the starting time information and the abnormity time information. Through the method and the device, the actual time computation of the streaming media play can be more accurate.

Description

technical field [0001] The present invention relates to the technical field of video processing, in particular to a method and device for acquiring streaming media playback duration. Background technique [0002] Streaming media refers to the form of transmitting audio, video and multimedia files in the network in a streaming manner. Its transmission method is to divide multimedia files such as video and audio into compressed packages through a special compression method, and transmit them continuously and in real time from the streaming media server to the user terminal. [0003] In a streaming system, users don't have to wait until the entire file is downloaded to see the content as in non-streaming playback, but only need a few seconds or tens of seconds of start-up delay. Use the corresponding player on the user terminal to play the compressed video or audio and other streaming media files, and the remaining parts will continue to be downloaded until the playback is co...

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): H04L29/06H04L7/00
Inventor 许毅
Owner 天津智融创新科技发展有限公司
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