Method and system for achieving HLS channel time-shifting playing

A time-shifted playback and time-shifted technology, applied in the field of Internet multimedia, can solve the problems of user experience limitations, inability to realize channel time-shifted playback, etc., and achieve the effect of improving user experience

Active Publication Date: 2014-01-15
武汉市烽视威科技有限公司
View PDF5 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The current HLS channel playback can only realize live broadcast, but cannot realize channel time-shifted playback, and the user experience is limited

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 system for achieving HLS channel time-shifting playing
  • Method and system for achieving HLS channel time-shifting playing
  • Method and system for achieving HLS channel time-shifting playing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0033] see figure 1 As shown, the embodiment of the present invention provides a method for realizing time-shifted playback of HLS channels, including the following steps:

[0034] S1. The client and server implement the channel live stream service according to the HLS specification, see figure 2 As shown, the server retains all fragments within the time shift range, assuming that each fragment is 10 seconds, the sequence number of the currently generated fragment is 1140, and assuming the ID of this channel is 1001;

[0035] S2, see image 3 As shown, the client is playing the current channel, and the server returns the m3u8 file according to the URL requested by the client. The URL requested by the client is http: / / ip / hls / live / 1001.m3u8, and the m3u8 file returned by the server includes three Fragmentation, the serial numbers ar...

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 system for achieving HLS channel time-shifting playing and relates to the field of Internet multimedia. The method comprises the steps that a server reserves fragments in a time-shifting range; when a client carries out time-shifting operation, a client side computes time difference according to current time and a time-shifting time point, a new URL is generated to be sent to the server; the server analyzes time difference and computes the fragments which need to be played, new m3u8 files are organized to be sent to the client side; the client side requests fragment playing in sequence, when playing of all of the fragments is about to finish, the former URL is used for requesting new m3u8 files; the server analyzes time difference and computes the sequence numbers of the fragments which need to be played, new m3u8 files are organized to be sent to the client side; after the client side receives the new m3u8 files, which fragment needs to be played is computed, then the client side requests playing in sequence; the client side requests new m3u8 files in a periodic mode. According to the method and system, time-shifting playing of an HLS channel can be achieved, and user experience is improved.

Description

technical field [0001] The present invention relates to the field of Internet multimedia, in particular to a method and system for realizing HLS (HTTP Live Streaming, an HTTP-based streaming media network transmission protocol implemented by Apple Inc.) channel time-shifted playback. Background technique [0002] The application of Internet multimedia is becoming more and more prosperous, and the specification of HLS is more and more widely used in Internet multimedia. The application of HLS on the Internet is mainly VOD (Video On Demand, video on demand) playback and channel playback. Briefly describe how HLS implements VOD playback. The client first requests the m3u8 (playlist file) file of the VOD. After receiving the request, the server generates an m3u8 file, which contains information about multiple fragments. Each fragment has a fixed and unique serial number in the m3u8 file, and the client requests to play the fragments in turn. When dragging is required, the clie...

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/6587H04N21/845H04N21/858
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