CN109547813A - A kind of method of unaware switching clarity when playing HLS video flowing on Android set-top box - Google Patents

A kind of method of unaware switching clarity when playing HLS video flowing on Android set-top box Download PDF

Info

Publication number
CN109547813A
CN109547813A CN201811639627.6A CN201811639627A CN109547813A CN 109547813 A CN109547813 A CN 109547813A CN 201811639627 A CN201811639627 A CN 201811639627A CN 109547813 A CN109547813 A CN 109547813A
Authority
CN
China
Prior art keywords
clarity
request
player
server
file
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201811639627.6A
Other languages
Chinese (zh)
Inventor
高海营
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Business System Co Ltd
Original Assignee
Shandong Inspur Business System Co Ltd
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 Shandong Inspur Business System Co Ltd filed Critical Shandong Inspur Business System Co Ltd
Priority to CN201811639627.6A priority Critical patent/CN109547813A/en
Publication of CN109547813A publication Critical patent/CN109547813A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/222Secondary servers, e.g. proxy server, cable television Head-end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/637Control signals issued by the client directed to the server or network components
    • H04N21/6377Control signals issued by the client directed to the server or network components directed to server

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present invention provides a kind of method of unaware switching clarity when playing HLS video flowing on Android set-top box, it is related to set-top box software technical field, http proxy server is built in set-top box client, the content of player requests is separated with the content of actual request HLS server;User can operate Switch Video clarity, and the clarity that this method is switched to user's selection in the case where user's unaware plays out, and unaware refers to switching clarity not blank screen, not replay.

Description

Unaware switching clarity when playing HLS video flowing on a kind of Android set-top box Method
Technical field
The present invention relates in set-top box software technology more particularly to a kind of Android set-top box play HLS video flowing when without The method of perception switching clarity.
Background technique
HLS (HTTP Live Streaming) is the dynamic code rate adaptive technique of Apple.It is mainly used for PC and Apple The audio-video service of terminal.Index file including a m3u (8).
HLS technical support automatically switches clarity according to network environment, but switching is uncontrollable, can cause to perplex to user, Need to provide user's function of manual switching clarity, the scheme for supporting manual switching clarity existing at present is to replay The address of the clarity of user's selection is simultaneously jumped to last viewing location and is watched, and this mode will appear playback terminal and broadcast again The problem of putting, user experience are poor.Need a kind of solution for user's manual switching clarity being supported uninterruptedly to play again.
Summary of the invention
In order to solve the above technical problems, the invention proposes on a kind of Android set-top box play HLS video flowing when without The method of perception switching clarity, allows the switching clarity of user's unaware, avoids replaying and blank screen is caused to cause to use Family experience reduces.User can avoid puzzlement caused by automatically switching with the clarity of manual switching video flowing.
The technical scheme is that
A kind of method of unaware switching clarity when playing HLS video flowing on Android set-top box,
The data of player requests are opened with the practical data isolation obtained from server using agent skill group, according to clear The degree configuration specific content of switching at runtime.
Further, the agent skill group is to build http-server in Android set-top box client, for providing M3u8 and ts file;The http-server that player accesses set-top box client obtains data, and http-server is according to clarity The content that configuration obtains HLS server is provided to player and plays out.
Further, http proxy server is built in set-top box client, the content of player requests is actually asked together The content of HLS server is asked to separate.
Further, the http proxy server can be configured according to clarity on actual request HLS server Hold, the content that then will acquire passes to player and plays out.
Further, only user actively switches the switching that clarity is just carried out after clarity, not according to current device Network environment is automatically switched.
Further, the live streaming and program request of HLS video are supported.
Further, it needs advance notice local agent clarity and the corresponding address m3u8 and is live streaming or point It broadcasts.
Further, the specific steps are as follows:
1) a local http proxy server is developed, all playing requests will pass through local http proxy server Access source server;
2) before playing, clarity and corresponding m3u8 link are first informed into local agent, then configure clarity selection, this Ground agency saves clarity and corresponding m3u8 link and clarity configuration;
3) after configuration is good, proxy server can go to request all m3u8 files, and request judgement after is live streaming or point It broadcasts, is disregarded if it is live streaming, the link of all ts files is saved if it is program request;
4) broadcast address that proxy server returns is obtained after configuration is good, and is transmitted to player and is played out;
5) it is directed to program request, when player requests ts file, local agent can be configured according to clarity and ts file request Link and request of the inquiry with the matched ts file of clarity in all ts file links that location is saved from step 3), will ask The final data asked passes player back;
6) for live streaming, when player requests m3u8 file, local agent can be configured according to clarity and step 2) in The clarity of preservation and corresponding m3u8 link queries are linked and are requested with the matched m3u8 of clarity, and final by what is requested Data pass player back;
7) after user's manual switching clarity, clarity will be certainly when request m3u8 file and on-demand request ts file is broadcast live Dynamic switching, and be the switching of unaware free of discontinuities.
The beneficial effects of the invention are as follows
User can active Switch Video stream clarity;When switching clarity, without replaying or occurring blank screen;
User switches clarity in the case where unaware, promotes the experience that user watches live streaming program request.
Detailed description of the invention
Fig. 1 is the precedence diagram of logical design according to the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention
The invention discloses a kind of modes of unaware switching clarity when playing HLS video flowing on Android set-top box Method, user can operate Switch Video clarity, and this method is switched to the clear of user's selection in the case where user's unaware Degree plays out, and unaware refers to switching clarity not blank screen, does not replay.
The present invention is that the switching of clarity is just carried out after user actively switches clarity, not according to current device network Environment is automatically switched, and user is allowed to have more initiatives.
Unaware switching of the present invention realizing clarity by way of client addition agency, supports live streaming and program request HLS video flowing.
Http proxy server is built in set-top box client, the content of player requests is serviced with actual request HLS The content of device separates.
Http proxy server can configure the content on actual request HLS server according to clarity, then will acquire To content pass to player and play out.
Broadcast address without replaying and switching player can realize the switching at runtime of clarity.
The present invention decouples the address of player plays with specific ts file using agent skill group, to realize agency Specific played file can be provided according to the clarity that user selects for user to play out.
Specific step is as follows:
1, a local http proxy server is developed, all playing requests (linking comprising m3u8 and ts) will pass through Local http proxy server accesses source server;
2, before playing, clarity and corresponding m3u8 link are first informed into local agent, then configure clarity selection, this Ground agency saves clarity and corresponding m3u8 link and clarity configuration;
3, after configuration is good, proxy server can go to request all (different clarity different linkings) m3u8 files, request Judgement is live streaming or program request after, disregards if it is live streaming, the link of all ts files is saved if it is program request.
4, the broadcast address that proxy server returns is obtained after configuration is good, and is transmitted to player and is played out;
5, it is directed to program request, when player requests ts file, local agent can be configured according to clarity and ts file request Link and request of the inquiry with the matched ts file of clarity in all ts file links that location is saved from step 3, will ask The final data asked passes player back;
6, for live streaming, when player requests m3u8 file, local agent can be configured according to clarity and step 2 in protect The final number that the clarity and corresponding m3u8 link queries deposited are linked and requested, and will request with the matched m3u8 of clarity According to passing player back;
7, after user's manual switching clarity, clarity will be certainly when request m3u8 file and on-demand request ts file is broadcast live Dynamic switching, and be the switching of unaware free of discontinuities.
The foregoing is merely presently preferred embodiments of the present invention, is only used to illustrate the technical scheme of the present invention, and is not intended to limit Determine protection scope of the present invention.Any modification, equivalent substitution, improvement and etc. done all within the spirits and principles of the present invention, It is included within the scope of protection of the present invention.

Claims (8)

1. a kind of method of unaware switching clarity when playing HLS video flowing on Android set-top box, which is characterized in that
The data of player requests are opened with the practical data isolation obtained from server using agent skill group, are matched according to clarity Set the specific content of switching at runtime.
2. the method according to claim 1, wherein
The agent skill group is to build http-server in Android set-top box client, for providing m3u8 and ts file; The http-server that player accesses set-top box client obtains data, and http-server is configured according to clarity obtains HLS clothes The content of business device is provided to player and plays out.
3. according to the method described in claim 2, it is characterized in that,
Http proxy server is built in set-top box client, by the content of player requests with actual request HLS server Content separates.
4. according to the method described in claim 3, it is characterized in that,
The http proxy server can configure the content on actual request HLS server according to clarity, then will acquire To content pass to player and play out.
5. according to the method described in claim 4, it is characterized in that,
Only user actively switches the switching that clarity is just carried out after clarity, not according to current device network environment carry out from Dynamic switching.
6. according to the method described in claim 5, it is characterized in that,
Support the live streaming and program request of HLS video.
7. according to the method described in claim 6, it is characterized in that,
It needs advance notice local agent clarity and the corresponding address m3u8 and is live streaming or program request.
8. the method according to the description of claim 7 is characterized in that
Specific step is as follows:
1) a local http proxy server is developed, all playing requests will be accessed by local http proxy server Source server;
2) before playing, clarity and corresponding m3u8 link are first informed into local agent, then configure clarity selection, local generation Reason saves clarity and corresponding m3u8 link and clarity configuration;
3) after configuration is good, proxy server can remove to request all m3u8 files, and request judgement after is live streaming or program request, such as Fruit is that live streaming is disregarded, and the link of all ts files is saved if it is program request;
4) broadcast address that proxy server returns is obtained after configuration is good, and is transmitted to player and is played out;
5) be directed to program request, when player requests ts file, local agent can be configured according to clarity and ts file request address from Link and request of the inquiry with the matched ts file of clarity in all ts file links saved in step 3), request is arrived Final data pass player back;
6) for live streaming, when player requests m3u8 file, local agent can be configured according to clarity and step 2) in save Clarity and the corresponding m3u8 link queries final data that links with the matched m3u8 of clarity and request, and will request Pass player back;
7) after user's manual switching clarity, live streaming requests clarity when m3u8 file and on-demand request ts file that will cut automatically It changes, and is the switching of unaware free of discontinuities.
CN201811639627.6A 2018-12-29 2018-12-29 A kind of method of unaware switching clarity when playing HLS video flowing on Android set-top box Pending CN109547813A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811639627.6A CN109547813A (en) 2018-12-29 2018-12-29 A kind of method of unaware switching clarity when playing HLS video flowing on Android set-top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811639627.6A CN109547813A (en) 2018-12-29 2018-12-29 A kind of method of unaware switching clarity when playing HLS video flowing on Android set-top box

Publications (1)

Publication Number Publication Date
CN109547813A true CN109547813A (en) 2019-03-29

Family

ID=65831392

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811639627.6A Pending CN109547813A (en) 2018-12-29 2018-12-29 A kind of method of unaware switching clarity when playing HLS video flowing on Android set-top box

Country Status (1)

Country Link
CN (1) CN109547813A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115225934A (en) * 2022-07-25 2022-10-21 未来电视有限公司 Video playing method, system, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2645671A1 (en) * 2012-03-30 2013-10-02 Koninklijke KPN N.V. Switching the playing out of information content beween end-user devices
CN104581207A (en) * 2014-12-23 2015-04-29 乐视致新电子科技(天津)有限公司 Online video playing method and system as well as play application proxy equipment
CN105657443A (en) * 2015-12-30 2016-06-08 深圳市云宙多媒体技术有限公司 Live broadcast and time shifting playing method and system
CN105657520A (en) * 2014-11-18 2016-06-08 乐视网信息技术(北京)股份有限公司 Video definition switching method and video player
CN106131610A (en) * 2016-06-28 2016-11-16 乐视控股(北京)有限公司 The online broadcasting method of video, equipment and device
CN108494792A (en) * 2018-04-09 2018-09-04 四川百视通科技有限公司 A kind of flash player plays the converting system and its working method of hls video flowings

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2645671A1 (en) * 2012-03-30 2013-10-02 Koninklijke KPN N.V. Switching the playing out of information content beween end-user devices
CN105657520A (en) * 2014-11-18 2016-06-08 乐视网信息技术(北京)股份有限公司 Video definition switching method and video player
CN104581207A (en) * 2014-12-23 2015-04-29 乐视致新电子科技(天津)有限公司 Online video playing method and system as well as play application proxy equipment
CN105657443A (en) * 2015-12-30 2016-06-08 深圳市云宙多媒体技术有限公司 Live broadcast and time shifting playing method and system
CN106131610A (en) * 2016-06-28 2016-11-16 乐视控股(北京)有限公司 The online broadcasting method of video, equipment and device
CN108494792A (en) * 2018-04-09 2018-09-04 四川百视通科技有限公司 A kind of flash player plays the converting system and its working method of hls video flowings

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115225934A (en) * 2022-07-25 2022-10-21 未来电视有限公司 Video playing method, system, electronic equipment and storage medium
CN115225934B (en) * 2022-07-25 2023-11-28 未来电视有限公司 Video playing method, system, electronic device and storage medium

Similar Documents

Publication Publication Date Title
US10917449B2 (en) Systems, methods, and media for delivery of content
US8769580B2 (en) Meta channel based media system control technology
US8601512B2 (en) Meta channel network-based content download technology
JP5395813B2 (en) Content and metadata consumption techniques
KR101443933B1 (en) Recording media on gaming consoles
KR101443934B1 (en) Integration media on gaming consoles
CN100566296C (en) In procedure of buffering network living broadcast, play method, system and the client of advertisement
US20090328093A1 (en) Multimedia Content Filtering
KR101455423B1 (en) Television viewing on gaming consoles
US11044497B1 (en) Method of unified video switching and advertisement splicing within consumer devices
WO2014019062A1 (en) Method and system for dynamically inserting content into streaming media
US9137565B1 (en) Meta channel caching and instant viewing related technology
US20080271097A1 (en) System And Method For Receiving And Playing Network Television Programs
US10893338B1 (en) Method for unified ad delivery to consumer devices within service provider networks
WO2018043134A1 (en) Delivery device, delivery method, receiver, receiving method, program, and content delivery system
CN113923502B (en) Live video playing method and device
CN109547813A (en) A kind of method of unaware switching clarity when playing HLS video flowing on Android set-top box
US20150026711A1 (en) Method and apparatus for video content distribution
CN104702979B (en) A kind of reviewing based on IPTV and reviews system at method
US20210160567A1 (en) Method of Merging Multiple Targeted Videos During a Break in a Show
KR20090089711A (en) Method for playing ad contents and set top box performing the same
KR101983005B1 (en) Method for providing target ad contents by broadcasting receiver type
JP2019092227A (en) Video receiving device, video receiving method, video transmitting device, and video transmitting method
KR20110119490A (en) Method for playing of live contents in broadcasting system
JP2018191337A (en) Video reception device, video reception method, video transmission device, and video transmission method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190329

RJ01 Rejection of invention patent application after publication