CN103607638A - Network media playing method, intelligent display terminal and intelligent display system - Google Patents

Network media playing method, intelligent display terminal and intelligent display system Download PDF

Info

Publication number
CN103607638A
CN103607638A CN201310586692.8A CN201310586692A CN103607638A CN 103607638 A CN103607638 A CN 103607638A CN 201310586692 A CN201310586692 A CN 201310586692A CN 103607638 A CN103607638 A CN 103607638A
Authority
CN
China
Prior art keywords
module
download
data
media
broadcasting channel
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
CN201310586692.8A
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201310586692.8A priority Critical patent/CN103607638A/en
Publication of CN103607638A publication Critical patent/CN103607638A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a network media playing method, an intelligent display terminal and an intelligent display system. The terminal comprises at least one network media client end and an accelerated data downloading module, wherein the accelerated data downloading module is in communication connection with a network media server; a playing channel selected by a user is acquired by the at least one network media client end, a downloading request carrying with a URL address of the playing channel is sent to the accelerated data downloading module; and the URL address is extracted by the accelerated data downloading module to carry out analysis, if a downloading file is a media file, a multi-threading accelerated downloading mode is started, and the media file is downloaded from the network media server and is sent to the at least one network media client end for playing. According to the terminal, the accelerated downloading mode of a network media has nothing to do with a specific media client end, so accelerated downloading compatibility of each media client end on the intelligent display terminal is improved, a downloading rate of the network media can be improved, buffering and jamming times of the network media are reduced or even avoided, and a playing effect of the network media is improved.

Description

Network media player method, intelligent display terminal and system
Technical field
The present invention relates to Internet technical field, relate in particular to a kind of network media player method, intelligent display terminal and system.
Background technology
Development along with the Internet, the market value of the network media constantly promotes, from the Internet, obtaining movie and television contents has become extremely welcome a kind of mode in modern's life, and user can select to watch by terminal access video website such as intelligent television, mobile phone, PC the video of oneself wanting.
But, due to internet television, not by private line network but carry out program transmission by public network, therefore, Internet Transmission quality cannot be guaranteed.When there is the situation that the network performances such as network jitter, network delay fluctuation ratio be larger worsen, easily there is the phenomenon that video ceaselessly cushions, cause video pictures to occur card, directly affect user and experience.
The problem of pausing in order to solve video card, the mode that the videoconference client that partial video website provides is at present downloaded by P2P or multithreading improves the downloading rate of video, to guarantee the fluency of transmission of video, the mode that for example videoconference client of CNTV is downloaded by multithreading improves the downloading rate of video.But, there is following defect in existing this processing mode:
All there is video speed technology in the videoconference client that 1, not every Video service provider provides.
2, provide video download accelerated mode and the videoconference client of the videoconference client of video accelerated mode to bind, although for example CNTV video accelerator can be downloaded acceleration to the CNTV client on intelligent television, accelerate to other videoconference client on same TV.
3, the videoconference client that the player that not all chip manufacturer carries and user install voluntarily all has the function that video accelerates.
Therefore,, when there is network jitter and larger network delay, do not there is the problem that card and flower screen very easily appear playing in the client of accelerating function on Intelligent television terminal.
Summary of the invention
Main purpose of the present invention is to provide a kind of network media player method, intelligent display terminal and system, is intended to improve media client on intelligent display terminal and accelerates the compatibility of downloading, and improves downloading rate and the result of broadcast of the network media.
In order to achieve the above object, the present invention proposes a kind of network media player method, comprises the following steps:
Network media client is obtained the broadcasting channel that user selects, and the URL address of described broadcasting channel is carried in download request and sends to data to accelerate download module;
Described data are accelerated the URL address that download module extracts described broadcasting channel from described download request, URL address to described broadcasting channel is analyzed, if the file of downloading is media file, start the acceleration downloading mode of multithreading, from web medium server, download described media file, be sent to described network media client;
The described media file that described network media client terminal playing receives.
Preferably, described network media client is obtained the broadcasting channel that user selects, and the URL address of described broadcasting channel is carried to the step that sends to data to accelerate download module in download request and comprises:
The UI module of described network media client is selected broadcasting channel according to user's operational order from playlist, the URL address of described broadcasting channel is deposited in Play Control message, and described control message is sent to the player module of described network media client;
Described player module reads described data and accelerates the environmental variance that download module arranges, and therefrom extracts IP and port information that described data are accelerated download module; And the URL address of extracting described broadcasting channel from described control message, the URL address of described broadcasting channel is carried in download request, and according to the IP and the port information that obtain, sends to described data to accelerate download module described download request.
Preferably, described data are accelerated the URL address that download module extracts described broadcasting channel from described download request, URL address to described broadcasting channel is analyzed, if the file of downloading is media file, start the acceleration downloading mode of multithreading, from web medium server, download described media file, the step that is sent to described network media client comprises:
Described data are accelerated the http-server module of download module after receiving described download request, from described download request, extract the URL address of described broadcasting channel, and the URL address of described broadcasting channel is sent to the URL analysis and processing module that described data are accelerated download module;
Described URL analysis and processing module is carried out analyzing and processing to the URL address of described broadcasting channel, if the file of downloading is media file, notify the acceleration downloading mode of the network download module startup multithreading of described data acceleration download module, from web medium server, download described media file, and the media data of download is saved to the data buffer zone module that described data are accelerated download module; Described http-server module circulation is obtained data from the module of described data buffer zone, and the data of obtaining are sent to described player module.
Preferably, described network download module starts the acceleration downloading mode of multithreading, from web medium server, downloads described media file, and the step that the media data of download is saved to described data buffer zone module is comprised:
Data before the channel data part that described network download module is not downloaded media file in Preset Time are carried out burst processing, and the length of each burst is s second, and starts n thread to the media data of broadcasting channel described in web medium server request; Each thread is downloaded a burst constantly default, and the data after downloading are saved in to data buffer zone module; When one of them thread, downloaded after a burst, started another burst and download, until all bursts have been downloaded in Preset Time; Wherein, s, n are set point;
If the media file of asking has all been downloaded, notify http-server module to download and finish.
Preferably, the method also comprises:
When the file of downloading when the analysis of described URL analysis and processing module is non-media file, notify described network download module to start single-threaded downloading mode, from web medium server, download described non-media file, and the data of download are saved to described data buffer zone module, by described http-server module circulation, from the module of described data buffer zone, obtain data and send to described player module.
The present invention also proposes a kind of intelligent display terminal, comprising: at least one network media client, and the data that are connected with described network media client communication acceleration download module, and described data are accelerated download module and are also communicated to connect with web medium server; Wherein:
Described network media client, the broadcasting channel of selecting for obtaining user, is carried at the URL address of described broadcasting channel in download request and sends to described data to accelerate download module;
Described data are accelerated download module, for the URL address of extracting described broadcasting channel from described download request, URL address to described broadcasting channel is analyzed, if the file of downloading is media file, start the acceleration downloading mode of multithreading, from described web medium server, download described media file, be sent to described network media client;
Described network media client, also for playing the described media file of reception.
Preferably, described network media client comprises: UI module and player module, wherein:
Described UI module, for selecting broadcasting channel according to user's operational order from playlist, deposits the URL address of described broadcasting channel in Play Control message in, and described control message is sent to described player module;
Described player module, accelerates for reading described data the environmental variance that download module arranges, and therefrom extracts IP and port information that described data are accelerated download module; And the URL address of extracting described broadcasting channel from described control message, the URL address of described broadcasting channel is carried in download request, and according to the IP and the port information that obtain, sends to described data to accelerate download module described download request.
Preferably, described data are accelerated download module and are comprised: http-server module, URL analysis and processing module, network download module and data buffer zone module, wherein:
Described http-server module for after receiving described download request, is extracted the URL address of described broadcasting channel, and the URL address of described broadcasting channel is sent to described URL analysis and processing module from described download request;
Described URL analysis and processing module, carries out analyzing and processing for the URL address to described broadcasting channel, if the file of downloading is media file, notifies described network download module to start the acceleration downloading mode of multithreading;
Described network download module, for starting the acceleration downloading mode of multithreading, downloads described media file from web medium server, and the media data of download is saved to described data buffer zone module;
Described http-server module, also obtains data for circulation from described data buffer zone module, and the data of obtaining is sent to described player module.
Preferably, described network download module, also for the data in Preset Time before the channel data part that media file is not downloaded, carry out burst processing, the length of each burst is s second, and starts n thread to the media data of broadcasting channel described in web medium server request; Each thread is downloaded a burst constantly default, and the data after downloading are saved in to data buffer zone module; When one of them thread, downloaded after a burst, started another burst and download, until all bursts have been downloaded in Preset Time; Wherein, s, n are set point; If the media file of asking has all been downloaded, notify http-server module to download and finish.
Preferably, described URL analysis and processing module, while being also non-media file for the file of downloading in analysis, notifies described network download module to start single-threaded downloading mode;
Described network download module, also for starting single-threaded downloading mode, from web medium server, download described non-media file, and the data of download are saved to described data buffer zone module, by described http-server module circulation, from the module of described data buffer zone, obtain data and send to described player module.
The present invention also proposes a kind of intelligent display system, comprises intelligent display terminal and the web medium server communicating to connect with described intelligent display terminal, wherein:
Described intelligent display terminal is intelligent display terminal as above;
Described web medium server, is used to described intelligent display terminal that network media download service is provided.
A kind of network media player method, intelligent display terminal and system that the present invention proposes, select after broadcasting channel user, and network media client is carried at the URL address of broadcasting channel in download request and sends to data to accelerate download module, data are accelerated the URL address that download module extracts broadcasting channel from download request, URL address to broadcasting channel is analyzed, if analyze downloaded file, it is media file, start the acceleration downloading mode of multithreading, from web medium server downloads of media file, being sent to network media client plays, thus, can realize the acceleration downloading mode of the network media and concrete media client has nothing to do, thereby the media client of the upper different media services of compatible intelligent display terminal (such as Web TV) provider better, the media client that the media player of chip manufacturer and user install voluntarily etc., improve the network media downloading rate of intelligent display terminal, reduce the number of times of even avoiding network media buffering and card to pause, improve online network media result of broadcast.
Accompanying drawing explanation
Fig. 1 is the system architecture schematic diagram that intelligent display terminal preferred embodiment of the present invention relates to;
Fig. 2 is the schematic flow sheet of network media player method of the present invention preferred embodiment.
In order to make technical scheme of the present invention clearer, clear, below in conjunction with accompanying drawing, be described in further detail.
Embodiment
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, preferred embodiment of the present invention proposes a kind of intelligent display terminal 1, this intelligent display terminal 1 is specifically as follows the network terminal that intelligent television, PC, mobile terminal etc. have online Media file playing function, and the present embodiment is illustrated with intelligent television.
Media client, the media player of chip manufacturer and the media client that user installs voluntarily for the different media services provider of compatible intelligent television better, improve the network media program downloading rate of Intelligent television terminal, need to realize the acceleration download of all media clients on Intelligent television terminal being carried out to media, to reduce the number of times of even avoiding network media buffering and card to pause, improve the result of broadcast of Intelligent television terminal to online Media program, for user brings better visual experience.
In the present embodiment, this intelligent display terminal 1 and 2 communication connections of external network media server, wherein:
This intelligent display terminal 1 comprises: one or more network media clients 11, and accelerate download module 12 with the data of described network media client 11 communication connections, described data are accelerated download module 12 and web medium server 2 communication connections.
Described network media client 11, the broadcasting channel of selecting for obtaining user, is carried at the URL address of described broadcasting channel in download request and sends to described data to accelerate download module 12;
Described data are accelerated download module 12, be used in start-up course, set, this environmental variance is specifically as follows HTTP_PROXY environmental variance, setenv (" HTTP_PROXY " for example, " http://IP:port parameter ", TRUE), wherein IP is the network address that data are accelerated download module 12 places, port is the listening port that data are accelerated the http-server module of download module 12, to guarantee that the data of all http requests of this terminal accelerate download module 12 by data; And the URL address of extracting described broadcasting channel from described download request, URL address to described broadcasting channel is analyzed, if the file of downloading is media file, start the acceleration downloading mode of multithreading, from described web medium server 2, download described media file, be sent to described network media client 11; If the file of downloading is non-media file, start single-threaded downloading mode, from web medium server 2, download described non-media file, be sent to described network media client 11, certainly, in analysis, judging downloaded file is non-media file, also can start the downloading mode of multithreading.Afterwards, by described network media client 11, play described media file and the non-media file receiving.
Particularly, described network media client 11 comprises: UI module 111 and player module 112, wherein:
Described UI module 111, be used for to user's display channel list information, and reception and response user's Play Control operational order, according to user's operational order, from playlist, select broadcasting channel, the URL address of described broadcasting channel is deposited in Play Control message, and described control message is sent to described player module 112;
Described player module 112, for reading described data, accelerate the environmental variance that download module 12 arranges, this environmental variance is specifically as follows HTTP_PROXY environmental variance, therefrom extract described data and accelerate IP and port (port) information of download module 12, and the URL address of extracting described broadcasting channel from described control message, the URL address of described broadcasting channel is carried in download request, and according to the IP and the port information that obtain, send to described data to accelerate download module 12 described download request.In addition, this player module 112 is also decoded, is play for data being accelerated to the channel data of download module 12 downloads.
Described data are accelerated download module 12 and are comprised: http-server module 121, URL analysis and processing module 122, network download module 123 and data buffer zone module 124, wherein:
Described http-server module 121 for after receiving described download request, is extracted the URL address of described broadcasting channel, and the URL address of described broadcasting channel is sent to described URL analysis and processing module 122 from described download request;
Described URL analysis and processing module 122, carries out analyzing and processing for the URL address to described broadcasting channel, if the file of downloading is media file, notifies described network download module 123 to start the acceleration downloading mode of multithreading;
Described network download module 123, for starting the acceleration downloading mode of multithreading, downloads described media file from web medium server 2, and the media data of download is saved to described data buffer zone module 124;
Described http-server module 121, also obtains data for circulation from described data buffer zone module 124, and the data of obtaining is sent to described player module 112, by player module 112, will after the decoding data obtaining, be play.
Take Intelligent television terminal as example, in the present embodiment, data are accelerated download module 12 in start-up course, HTTP_PROXY environmental variance can be set, setenv (" HTTP_PROXY " for example, " http://IP:port parameter ", TRUE), wherein IP is the network address that data are accelerated the http-server module 121 of download module 12, port is the listening port that data are accelerated the http-server module 121 of download module 12, to guarantee that the data of all http requests of this terminal accelerate download module 12 by data.
At Internet video client-side, user can pass through remote controller, in the playlist of UI module 111, select broadcasting channel, UI module 111 is deposited into broadcast address-URL address of the broadcasting channel of selecting in Play Control message, and this Play Control message is sent to player module 112;
Player module 112 is after the Play Control message of broadcasting channel that receives UI module 111, reading out data accelerates the HTTP_PROXY environmental variance that download module 12 arranges, and from HTTP_PROXY environmental variance, extracts IP and the port information that data are accelerated download module 12.Proxy=getenv (" HTTP_PROXY ") for example, proxy is http://IP:port.
Player module 112 is after getting the IP and port information of data acceleration download module 12, from Play Control message, extract the URL address of channel, and accelerate download module 12 transmission http download requests to data, set up with the download of http-server module 121 and be connected.
In channel startup or playing process, data are accelerated the http-server module 121 of download module 12 after receiving the http download request of player module 112, from this http download request, extract URL, URL is sent into URL analysis and processing module 122 and carry out check analysis.After URL analyzes, if what download is media file, informing network download module 123 starts the multithreading download service of http, media file is accelerated to download, otherwise informing network download module 123 starts single-threaded download service, network download module 123 is sent the data after downloading into data buffer zone module 124 in the lump.
When http-server module 121, from data buffer zone module 124, obtain data, respond the http request of player module 112, and the data of obtaining are sent to player module 112.
Thus, by introducing data between the player module 112 at media client and web medium server 2, accelerate download module 12, can realize the acceleration downloading mode of the network media and concrete media client has nothing to do, thereby the media client of different media services provider on compatible Intelligent television terminal better, the media client that the media player of chip manufacturer and user install voluntarily etc., improve the network media downloading rate of Intelligent television terminal, reduce the number of times of even avoiding network media buffering and card to pause, improve online network media result of broadcast.
In said process, network download module 123 receives after the download notice of URL analysis module, is handled as follows:
Conventionally, multithreading download tool is that whole file is once cut into n burst, then n burst downloaded respectively, but, the present embodiment is considered: for online Media, play, the media data that needs channel to play near a period of time of current time arrives as early as possible, to avoid the number of times of media buffering and Ka Dun, therefore, if what download is media file, before the channel data part of media file not being downloaded, (Preset Time section is configurable for Preset Time section, such as for 16s) in data carry out burst processing, the length of each burst is that (s is configurable second for s, such as being 2s), and (n is configurable to start n thread, such as being 8) to the media data of the current selection channel of web medium server 2 module request.
The a certain moment of each thread is only downloaded a burst, and the data after downloading are saved in to data buffer zone module 124, and data are obtained in 121 circulations of http-server module from data buffer zone, and send the data to player module 112.When one of them thread, download and be over after certain burst, start another burst and download, until all bursts have been downloaded backed off after random in Preset Time section.
If the media file of asking has all been downloaded, will download the message informing http-server module 121 finishing, stop downloading and being connected with the http of web medium server 2 simultaneously.
If what download is non-media file, after data have been downloaded, stop download service.And will download the message informing http-server module 121 finishing, stop downloading and being connected with the http of web medium server 2 simultaneously.
Http-server module 121 is after receiving download end, and all data in pending data buffer zone module 124 send to after module device module, stops downloading and being connected with the http of player module 112.
Finally, after player module 112 detects and is connected with the download of http-server module 121 and is terminated, after the data playback of device to be played buffering area completes, stop playing.
The present embodiment passes through such scheme, can realize the acceleration downloading mode of media and concrete media client has nothing to do, can to media play application all on Intelligent television terminal, realize the network media like this accelerates to download, effectively to utilize user's network bandwidth resources, and can improve media play effect.
Compared to existing technology, the present embodiment tool has the following advantages:
1, at the network bandwidth and network delay, play larger in the situation that, reduce in a large number or even avoid the number of times of network media buffering and card, improve user's experience;
2, due to institute's downloads of media has been adopted, accelerate to download, shortened the time of player module 112 buffered play desired data amounts, therefore improved channel and started reproduction time, thereby improve the switch speed of channel;
3, can realize the acceleration download that the client of the all-network media of Intelligent television terminal is realized to media, improve each media client and accelerate the compatibility of downloading.
As shown in Figure 2, preferred embodiment of the present invention proposes a kind of network media player method, system architecture based on shown in above-mentioned Fig. 1 and implementing, wherein, intelligent display terminal is specifically as follows the network terminal that intelligent television, PC, mobile terminal etc. have online Media file playing function, and the present embodiment is illustrated with intelligent television.
Media client, the media player of chip manufacturer and the media client that user installs voluntarily for the different media services provider of compatible intelligent television better, improve the network media program downloading rate of Intelligent television terminal, need to realize the acceleration download of all media clients on Intelligent television terminal being carried out to media, to reduce the number of times of even avoiding network media buffering and card to pause, improve the result of broadcast of Intelligent television terminal to online Media program, for user brings better visual experience.
Particularly, in the present embodiment, the method comprises:
Step S101, network media client is obtained the broadcasting channel that user selects, and the URL address of described broadcasting channel is carried in download request and sends to data to accelerate download module;
The UI module of described network media client is selected broadcasting channel according to user's operational order from playlist, the URL address of described broadcasting channel is deposited in Play Control message, and described control message is sent to the player module of described network media client;
Described player module reads described data and accelerates the environmental variance that download module arranges, this environmental variance is specifically as follows HTTP_PROXY environmental variance, setenv (" HTTP_PROXY " for example, " http://IP:port parameter ", TRUE), wherein IP is the network address that data are accelerated download module place, and port is the listening port that data are accelerated the http-server module of download module, to guarantee that the data of all http requests of this terminal accelerate download module by data.Player module extracts IP and the port information that described data are accelerated download module from the environmental variance of data acceleration download module setting; And the URL address of extracting described broadcasting channel from described control message, the URL address of described broadcasting channel is carried in download request, and according to the IP and the port information that obtain, sends to described data to accelerate download module described download request.
Step S102, described data are accelerated the URL address that download module extracts described broadcasting channel from described download request, URL address to described broadcasting channel is analyzed, if the file of downloading is media file, start the acceleration downloading mode of multithreading, from web medium server, download described media file, be sent to described network media client;
Described data are accelerated the http-server module of download module after receiving described download request, from described download request, extract the URL address of described broadcasting channel, and the URL address of described broadcasting channel is sent to the URL analysis and processing module that described data are accelerated download module;
Described URL analysis and processing module is carried out analyzing and processing to the URL address of described broadcasting channel, if the file of downloading is media file, notify the acceleration downloading mode of the network download module startup multithreading of described data acceleration download module, from web medium server, download described media file, and the media data of download is saved to the data buffer zone module that described data are accelerated download module; Described http-server module circulation is obtained data from the module of described data buffer zone, and the data of obtaining are sent to described player module,
Step S103, the described media file that described network media client terminal playing receives.
Player module receives after media data, and the media data obtaining is decoded, play.
In addition, when the file of downloading when the analysis of described URL analysis and processing module is non-media file, notify described network download module to start single-threaded downloading mode or also can start the downloading mode of multithreading, from web medium server, download described non-media file, and the data of download are saved to described data buffer zone module, by the circulation of described http-server module, from the module of described data buffer zone, obtain data and send to described player module, by player module to the decoding data obtaining, broadcasting.
Take Intelligent television terminal as example, in the present embodiment, data are accelerated download module in start-up course, can set, this environmental variance is specifically as follows HTTP_PROXY environmental variance, setenv (" HTTP_PROXY " for example, " http://IP:port parameter ", TRUE), wherein IP is the network address that data are accelerated download module place, port is the listening port that data are accelerated the http-server module of download module, to guarantee that the data of all http requests of this terminal accelerate download module by data.
At Internet video client-side, user can pass through remote controller, in the playlist of UI module, select broadcasting channel, UI module is deposited into broadcast address-URL address of the broadcasting channel of selecting in Play Control message, and this Play Control message is sent to player module;
Player module is after the Play Control message of broadcasting channel that receives UI module, reading out data accelerates the environmental variance that download module arranges, take HTTP_PROXY environmental variance as example, from this HTTP_PROXY environmental variance, extract IP and port information that data are accelerated download module.Proxy=getenv (" HTTP_PROXY ") for example, proxy is http://IP:port.
Player module, after getting the IP and port information of data acceleration download module, from Play Control message, extracts the URL address of channel, and accelerates download module transmission http download request to data, sets up with the download of http-server module and is connected.
In channel startup or playing process, data are accelerated the http-server module of download module after receiving the http download request of player module, from this http download request, extract URL, URL is sent into URL analysis and processing module and carry out check analysis.After URL analyzes, if what download is media file, informing network download module starts the multithreading download service of http, media file is accelerated to download, otherwise informing network download module starts single-threaded download service, network download module is sent the data after downloading into data buffer zone module in the lump.
When http-server module, from data buffer zone module, obtain data, respond the http request of player module, and the data of obtaining are sent to player module.
Thus, by introducing data between the player module at media client and web medium server, accelerate download module, can realize the acceleration downloading mode of the network media and concrete media client has nothing to do, thereby media client, the media player of chip manufacturer and the media client that user installs voluntarily etc. of different media services provider on compatible Intelligent television terminal better, improve the network media downloading rate of Intelligent television terminal, reduce the number of times of even avoiding network media buffering and card to pause, improve online network media result of broadcast.
In said process, network download module receives after the download notice of URL analysis module, is handled as follows:
Conventionally, multithreading download tool is that whole file is once cut into n burst, then n burst downloaded respectively, but, the present embodiment is considered: for online Media, play, the media data that needs channel to play near a period of time of current time arrives as early as possible, to avoid the number of times of media buffering and Ka Dun, therefore, if what download is media file, before the channel data part of media file not being downloaded, (Preset Time section is configurable for Preset Time section, such as for 16s) in data carry out burst processing, the length of each burst is that (s is configurable second for s, such as being 2s), and (n is configurable to start n thread, such as being 8) to the media data of the current selection channel of web medium server module request.
The a certain moment of each thread is only downloaded a burst, and the data after downloading are saved in to data buffer zone module, and data are obtained in the circulation of http-server module from data buffer zone, and send the data to player module.When one of them thread, download and be over after certain burst, start another burst and download, until all bursts have been downloaded backed off after random in Preset Time section.
If the media file of asking has all been downloaded, will download the message informing http-server module finishing, stop downloading and being connected with the http of web medium server simultaneously.
If what download is non-media file, after data have been downloaded, stop download service.And will download the message informing http-server module finishing, stop downloading and being connected with the http of web medium server simultaneously.
Http-server module is after receiving download end, and all data in pending data buffer zone module send to after module device module, stops downloading and being connected with the http of player module.
Finally, after player module detects and is connected with the download of http-server module and is terminated, after the data playback of device to be played buffering area completes, stop playing.
The present embodiment passes through such scheme, can realize the acceleration downloading mode of media and concrete media client has nothing to do, can to media play application all on Intelligent television terminal, realize the network media like this accelerates to download, effectively to utilize user's network bandwidth resources, and can improve media play effect.
Compared to existing technology, the present embodiment tool has the following advantages:
1, at the network bandwidth and network delay, play larger in the situation that, reduce in a large number or even avoid the number of times of network media buffering and card, improve user's experience;
2, due to institute's downloads of media has been adopted, accelerate to download, shortened the time of player module buffered play desired data amount, therefore improved channel and started reproduction time, thereby improve the switch speed of channel;
3, can realize the acceleration download that the client of the all-network media of Intelligent television terminal is realized to media, improve each media client and accelerate the compatibility of downloading.
Shown in Fig. 1, preferred embodiment of the present invention also proposes a kind of intelligent display system, comprises intelligent display terminal and the web medium server communicating to connect with described intelligent display terminal, wherein:
Described intelligent display terminal can be the intelligent display terminal described in above-described embodiment; This intelligent display terminal comprises: one or more network media clients, and the data that are connected with described network media client communication are accelerated download module, described data acceleration download module and web medium server communication connection.Described network media client comprises: UI module and player module; Described data are accelerated download module and are comprised: http-server module, URL analysis and processing module, network download module and data buffer zone module.The function of above-mentioned each module please refer to above-described embodiment, does not repeat them here.
Described web medium server, is used to described intelligent display terminal that network media download service is provided.
The basic principle that the present embodiment intelligent display terminal and web medium server are realized network media data broadcasting please refer to above-described embodiment, does not repeat them here.
Embodiment of the present invention network media player method, intelligent display terminal and system, select after broadcasting channel user, and network media client is carried at the URL address of broadcasting channel in download request and sends to data to accelerate download module, data are accelerated the URL address that download module extracts broadcasting channel from download request, URL address to broadcasting channel is analyzed, if analyze downloaded file, it is media file, start the acceleration downloading mode of multithreading, from web medium server downloads of media file, being sent to network media client plays, thus, can realize the acceleration downloading mode of the network media and concrete media client has nothing to do, thereby the media client of the upper different media services of compatible intelligent display terminal (such as Web TV) provider better, the media client that the media player of chip manufacturer and user install voluntarily etc., improve the network media downloading rate of intelligent display terminal, reduce the number of times of even avoiding network media buffering and card to pause, improve online network media result of broadcast.
Above are only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or flow process conversion that utilizes specification of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical field, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a network media player method, is characterized in that, comprises the following steps:
Network media client is obtained the broadcasting channel that user selects, and the URL address of described broadcasting channel is carried in download request and sends to data to accelerate download module;
Described data are accelerated the URL address that download module extracts described broadcasting channel from described download request, URL address to described broadcasting channel is analyzed, if the file of downloading is media file, start the acceleration downloading mode of multithreading, from web medium server, download described media file, be sent to described network media client;
The described media file that described network media client terminal playing receives.
2. method according to claim 1, is characterized in that, described network media client is obtained the broadcasting channel that user selects, and the URL address of described broadcasting channel is carried to the step that sends to data to accelerate download module in download request and comprises:
The UI module of described network media client is selected broadcasting channel according to user's operational order from playlist, the URL address of described broadcasting channel is deposited in Play Control message, and described control message is sent to the player module of described network media client;
Described player module reads described data and accelerates the environmental variance that download module arranges, and therefrom extracts IP and port information that described data are accelerated download module; And the URL address of extracting described broadcasting channel from described control message, the URL address of described broadcasting channel is carried in download request, and according to the IP and the port information that obtain, sends to described data to accelerate download module described download request.
3. method according to claim 2, it is characterized in that, described data are accelerated the URL address that download module extracts described broadcasting channel from described download request, URL address to described broadcasting channel is analyzed, if the file of downloading is media file, start the acceleration downloading mode of multithreading, from web medium server, download described media file, the step that is sent to described network media client comprises:
Described data are accelerated the http-server module of download module after receiving described download request, from described download request, extract the URL address of described broadcasting channel, and the URL address of described broadcasting channel is sent to the URL analysis and processing module that described data are accelerated download module;
Described URL analysis and processing module is carried out analyzing and processing to the URL address of described broadcasting channel, if the file of downloading is media file, notify the acceleration downloading mode of the network download module startup multithreading of described data acceleration download module, from web medium server, download described media file, and the media data of download is saved to the data buffer zone module that described data are accelerated download module; Described http-server module circulation is obtained data from the module of described data buffer zone, and the data of obtaining are sent to described player module.
4. method according to claim 3, it is characterized in that, described network download module starts the acceleration downloading mode of multithreading, from web medium server, downloads described media file, and the step that the media data of download is saved to described data buffer zone module is comprised:
Data before the channel data part that described network download module is not downloaded media file in Preset Time are carried out burst processing, and the length of each burst is s second, and starts n thread to the media data of broadcasting channel described in web medium server request; Each thread is downloaded a burst constantly default, and the data after downloading are saved in to data buffer zone module; When one of them thread, downloaded after a burst, started another burst and download, until all bursts have been downloaded in Preset Time; Wherein, s, n are set point;
If the media file of asking has all been downloaded, notify http-server module to download and finish.
5. according to the method described in claim 3 or 4, it is characterized in that, also comprise:
When the file of downloading when the analysis of described URL analysis and processing module is non-media file, notify described network download module to start single-threaded downloading mode, from web medium server, download described non-media file, and the data of download are saved to described data buffer zone module, by described http-server module circulation, from the module of described data buffer zone, obtain data and send to described player module.
6. an intelligent display terminal, is characterized in that, comprising: at least one network media client, and the data that are connected with described network media client communication acceleration download module, and described data are accelerated download module and are also communicated to connect with web medium server; Wherein:
Described network media client, the broadcasting channel of selecting for obtaining user, is carried at the URL address of described broadcasting channel in download request and sends to described data to accelerate download module;
Described data are accelerated download module, for the URL address of extracting described broadcasting channel from described download request, URL address to described broadcasting channel is analyzed, if the file of downloading is media file, start the acceleration downloading mode of multithreading, from described web medium server, download described media file, be sent to described network media client;
Described network media client, also for playing the described media file of reception.
7. intelligent display terminal according to claim 6, is characterized in that, described network media client comprises: UI module and player module, wherein:
Described UI module, for selecting broadcasting channel according to user's operational order from playlist, deposits the URL address of described broadcasting channel in Play Control message in, and described control message is sent to described player module;
Described player module, accelerates for reading described data the environmental variance that download module arranges, and therefrom extracts IP and port information that described data are accelerated download module; And the URL address of extracting described broadcasting channel from described control message, the URL address of described broadcasting channel is carried in download request, and according to the IP and the port information that obtain, sends to described data to accelerate download module described download request;
Described data are accelerated download module and are comprised: http-server module, URL analysis and processing module, network download module and data buffer zone module, wherein:
Described http-server module for after receiving described download request, is extracted the URL address of described broadcasting channel, and the URL address of described broadcasting channel is sent to described URL analysis and processing module from described download request;
Described URL analysis and processing module, carries out analyzing and processing for the URL address to described broadcasting channel, if the file of downloading is media file, notifies described network download module to start the acceleration downloading mode of multithreading;
Described network download module, for starting the acceleration downloading mode of multithreading, downloads described media file from web medium server, and the media data of download is saved to described data buffer zone module;
Described http-server module, also obtains data for circulation from described data buffer zone module, and the data of obtaining is sent to described player module.
8. intelligent display terminal according to claim 7, is characterized in that,
Described network download module, also for the data in Preset Time before the channel data part that media file is not downloaded, carry out burst processing, the length of each burst is s second, and starts n thread to the media data of broadcasting channel described in web medium server request; Each thread is downloaded a burst constantly default, and the data after downloading are saved in to data buffer zone module; When one of them thread, downloaded after a burst, started another burst and download, until all bursts have been downloaded in Preset Time; Wherein, s, n are set point; If the media file of asking has all been downloaded, notify http-server module to download and finish.
9. according to the intelligent display terminal described in claim 7 or 8, it is characterized in that,
Described URL analysis and processing module, while being also non-media file for the file of downloading in analysis, notifies described network download module to start single-threaded downloading mode;
Described network download module, also for starting single-threaded downloading mode, from web medium server, download described non-media file, and the data of download are saved to described data buffer zone module, by described http-server module circulation, from the module of described data buffer zone, obtain data and send to described player module.
10. an intelligent display system, is characterized in that, comprises intelligent display terminal and the web medium server communicating to connect with described intelligent display terminal, wherein:
Described intelligent display terminal is the intelligent display terminal described in any one in claim 6-9;
Described web medium server, is used to described intelligent display terminal that network media download service is provided.
CN201310586692.8A 2013-11-20 2013-11-20 Network media playing method, intelligent display terminal and intelligent display system Pending CN103607638A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310586692.8A CN103607638A (en) 2013-11-20 2013-11-20 Network media playing method, intelligent display terminal and intelligent display system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310586692.8A CN103607638A (en) 2013-11-20 2013-11-20 Network media playing method, intelligent display terminal and intelligent display system

Publications (1)

Publication Number Publication Date
CN103607638A true CN103607638A (en) 2014-02-26

Family

ID=50125835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310586692.8A Pending CN103607638A (en) 2013-11-20 2013-11-20 Network media playing method, intelligent display terminal and intelligent display system

Country Status (1)

Country Link
CN (1) CN103607638A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657466A (en) * 2014-12-04 2016-06-08 中国移动通信集团公司 Video playing method and apparatus
CN106210803A (en) * 2016-07-12 2016-12-07 乐视控股(北京)有限公司 The player method of a kind of media program and device
CN109803167A (en) * 2017-11-17 2019-05-24 中国电信股份有限公司 Stream media document transmission method, streaming media clients and computer readable storage medium
CN112383638A (en) * 2020-11-27 2021-02-19 北京小米移动软件有限公司 Method, device and medium for downloading fragments
CN114500657A (en) * 2022-01-26 2022-05-13 京东方科技集团股份有限公司 Media playing control method and device, electronic equipment and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6240555B1 (en) * 1996-03-29 2001-05-29 Microsoft Corporation Interactive entertainment system for presenting supplemental interactive content together with continuous video programs
CN101159762A (en) * 2007-11-19 2008-04-09 腾讯科技(深圳)有限公司 Method and device of accelerating download of web page contents
CN101237561A (en) * 2008-01-09 2008-08-06 北京捷报互动科技有限公司 Network video acceleration system and control method
CN101640729A (en) * 2009-09-03 2010-02-03 优视动景(北京)技术服务有限公司 Downloading system used for mobile communication device terminal and application method thereof
CN102143121A (en) * 2010-01-29 2011-08-03 北京搜狗科技发展有限公司 Video downloading method and device
CN102209116A (en) * 2011-05-31 2011-10-05 深圳创维-Rgb电子有限公司 Method and device for acquiring Internet protocol television program information, and television
CN103391454A (en) * 2013-07-12 2013-11-13 三星电子(中国)研发中心 Multithreading downloading method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6240555B1 (en) * 1996-03-29 2001-05-29 Microsoft Corporation Interactive entertainment system for presenting supplemental interactive content together with continuous video programs
CN101159762A (en) * 2007-11-19 2008-04-09 腾讯科技(深圳)有限公司 Method and device of accelerating download of web page contents
CN101237561A (en) * 2008-01-09 2008-08-06 北京捷报互动科技有限公司 Network video acceleration system and control method
CN101640729A (en) * 2009-09-03 2010-02-03 优视动景(北京)技术服务有限公司 Downloading system used for mobile communication device terminal and application method thereof
CN102143121A (en) * 2010-01-29 2011-08-03 北京搜狗科技发展有限公司 Video downloading method and device
CN102209116A (en) * 2011-05-31 2011-10-05 深圳创维-Rgb电子有限公司 Method and device for acquiring Internet protocol television program information, and television
CN103391454A (en) * 2013-07-12 2013-11-13 三星电子(中国)研发中心 Multithreading downloading method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657466A (en) * 2014-12-04 2016-06-08 中国移动通信集团公司 Video playing method and apparatus
CN106210803A (en) * 2016-07-12 2016-12-07 乐视控股(北京)有限公司 The player method of a kind of media program and device
CN109803167A (en) * 2017-11-17 2019-05-24 中国电信股份有限公司 Stream media document transmission method, streaming media clients and computer readable storage medium
CN112383638A (en) * 2020-11-27 2021-02-19 北京小米移动软件有限公司 Method, device and medium for downloading fragments
CN112383638B (en) * 2020-11-27 2023-12-05 北京小米移动软件有限公司 Fragment downloading method, device and medium
CN114500657A (en) * 2022-01-26 2022-05-13 京东方科技集团股份有限公司 Media playing control method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
US11285386B2 (en) Cloud gaming device handover
US7720986B2 (en) Method and system for media adaption
KR102506963B1 (en) Receiving device, sending device, and data processing method
CN104159151A (en) Device and method for intercepting and processing of videos on OTT box
WO2015191627A1 (en) Media projection method and device, control terminal and cloud server
TWI516104B (en) Method of playing internet video and related electronic device
CN101917391A (en) Method for playing network video and system for playing network video
KR102499231B1 (en) Receiving device, sending device and data processing method
CN103607638A (en) Network media playing method, intelligent display terminal and intelligent display system
EP2903260A1 (en) Multi-speed playing method, device and system
KR20150027262A (en) Provision of a personalized media content
CN105791987B (en) The method and terminal that media data plays
KR102640835B1 (en) Transmitting devices, receiving devices, and data processing methods
CN106612462B (en) Fast forward and fast backward processing method and terminal
CN105744371B (en) The playback method and device of stream medium data
CN112243136B (en) Content playing method, video storage method and device
US20150026711A1 (en) Method and apparatus for video content distribution
KR102533674B1 (en) Receiving device, sending device and data processing method
KR102628917B1 (en) Transmitting devices, receiving devices, and data processing methods
CN111436007A (en) Multimedia program playing method and device and set top box
CN104038778A (en) Multimedia redirection playing control method and device
US20230164392A1 (en) Method for managing the access to a multimedia content

Legal Events

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

Application publication date: 20140226

RJ01 Rejection of invention patent application after publication