CN104702994A - Media play method, media play device and set top box - Google Patents

Media play method, media play device and set top box Download PDF

Info

Publication number
CN104702994A
CN104702994A CN201310655803.6A CN201310655803A CN104702994A CN 104702994 A CN104702994 A CN 104702994A CN 201310655803 A CN201310655803 A CN 201310655803A CN 104702994 A CN104702994 A CN 104702994A
Authority
CN
China
Prior art keywords
media item
prediction
broadcasting
play
user
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
CN201310655803.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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201310655803.6A priority Critical patent/CN104702994A/en
Priority to PCT/CN2014/077699 priority patent/WO2014183674A1/en
Publication of CN104702994A publication Critical patent/CN104702994A/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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
    • H04N21/4383Accessing a communication channel
    • H04N21/4384Accessing a communication channel involving operations to reduce the access time, e.g. fast-tuning for reducing channel switching latency
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/4508Management of client data or end-user data
    • H04N21/4532Management of client data or end-user data involving end-user characteristics, e.g. viewer profile, preferences

Abstract

The invention discloses a media play method, a media play device and a set top box. The method comprises the steps of acquiring a forecast media item which is likely to play while a user operates to play the media; establishing a play link of the forecast media item with a corresponding server in advance; and when a to-be-played media item selected by the user currently is the forecast media item, playing the forecast media item through the play link of the forecast media item established in advance. Through adoption of the method, the media can be played rapidly, and the user experience can be improved.

Description

A kind of media playing method and device, Set Top Box
Technical field
The present invention relates to mutual network TV technology field, particularly relate to a kind of media playing method and device, Set Top Box.
Background technology
Along with IPTV(Internet Protocol Television, IPTV) a large amount of commercializations of Set Top Box, provide live, program request, to review etc. new business mode, support program request freely, skip forward/back, time-out/function such as broadcasting, positioning playing, improve the degree of freedom and the Consumer's Experience of user greatly.Program request is by RTSP clean culture link setup, and then Streaming Media sends code stream; Lively carry out receiving channels program stream by clean culture RTSP link setup or IGMP multicast, and STB decoder must receive I frame and could start decoding.In VOD program request and direct broadcast band are play, the Signalling exchange of STB and server, after success, streaming media server sends program stream or network equipment forwarding multicasting program stream etc. a series of actions, the response time of server, add the time delay of IP network, general user needs 2-3s just can watch video frequency program.Simultaneously, just video decode can be carried out because STB decoder must receive I frame, like this, when the I frame period of channel program is larger, such as I frame period is 1s, and at the firm past tense of program previous I frame, user starts to watch this program, could arrive after then the next I frame of this program needs 1s, such user needs the long period just can see video image.Certainly, shortening I frame period can promote Consumer's Experience, but shortening I frame period will mean that program data amount increases, and program code check improves, required server handling ability, network bandwidth capabilities, and STB disposal ability all needs to increase.Certainly, current also have many schemes, such as FCC to channel program acceleration viewing, but this needs to increase a large amount of FCC servers as cost, and networking, O&M cost are all larger.
Summary of the invention
The main technical problem to be solved in the present invention is, provides a kind of media playing method and device, Set Top Box, can enter media play fast, promotes the experience of user.
For solving the problems of the technologies described above, the invention provides a kind of media playing method, comprising the following steps:
Carry out user in the process of play operation, obtain the prediction media item having and play possibility;
The broadcasting of setting up described prediction media item with corresponding server in advance links;
When the media item that the current selection of user is play is described prediction media item, the broadcasting of this prediction media item set up in advance link is utilized to carry out the broadcasting of this prediction media item.
Further, also comprise after the step that the broadcasting that described with corresponding server sets up described prediction media item in advance links: the flow data predicting media item described in buffer memory;
The broadcasting of this prediction media item that described utilization is set up in advance links the step of carrying out the broadcasting of this prediction media item and specifically comprises:
Use the broadcasting link of this prediction media item set up in advance to receive the flow data of this prediction media item, and use the flow data of this prediction media item of buffer memory to start to play this prediction media item.
Further, also comprise after the step of flow data predicting media item described in described buffer memory: enter broadcast state, and send the broadcasting of order time-out to described server;
When the media item selecting to play when user is current is described prediction media item, the broadcasting link of this prediction media item set up in advance in described use also comprises before receiving the flow data of this prediction media item: send order to described server and recover to play.
Further, described prediction media item comprises prediction switching channels, and described prediction switching channels possesses clean culture and multicast broadcast mode simultaneously;
The step that the flow data of this prediction media item of described use buffer memory carries out the broadcasting of this prediction media item specifically comprises:
The flow data clean culture of this prediction media item of buffer memory is used to play this prediction media item;
Add the multicast group that this prediction media item is corresponding;
Whether synchronously to judge clean culture and multicast, if so, switch to multicast and play this prediction media item.
Further, when user current select play media item be described prediction media item time utilize set up in advance this prediction media item broadcasting link carry out the broadcasting of this prediction media item before also comprise: judge the media item of the current selection of user broadcasting link whether link identical with the broadcasting of described prediction media item, if so, judge that the current media item selecting to play of user is as described prediction media item.
Further, described acquisition has the step of prediction media item playing possibility and comprises:
The prediction media item having and play possibility is obtained by the page data analyzing current display media project;
Or
The prediction media item having and play possibility is obtained by the media item analyzing current broadcasting;
Or
The prediction media item having and play possibility is obtained by analyzing the current operation of user;
Or
The historical record playing media item is selected to obtain the prediction media item having and play possibility by analyzing user.
Also for ease of and solve above-mentioned technical problem, present invention also offers a kind of media playing apparatus, comprising: acquisition module, link setup module and playing module;
Described acquisition module is used for carrying out in the process of play operation user, obtains the prediction media item having and play possibility;
The broadcasting that described link setup module is used for setting up in advance with corresponding server described prediction media item links;
Described playing module is used for, when the media item that the current selection of user is play is described prediction media item, utilizing the broadcasting of this prediction media item set up in advance link to carry out the broadcasting of this prediction media item.
Further, described device also comprises: cache module;
Described cache module is used for the flow data predicting media item after described link setup module sets up the broadcasting link of described prediction media item in advance described in buffer memory;
Described playing module receives the flow data of this prediction media item for the broadcasting link of this prediction media item using described link setup module and set up in advance, and uses the flow data of this prediction media item of described cache module buffer memory to start to play this prediction media item.
Further, described device also comprises: transmit control module;
Described transmit control module is used for after predicting the flow data of media item described in described cache module buffer memory, controls described playing module and enters broadcast state, and sends the broadcasting of order time-out to described server; And select the media item play to be in described prediction media item situation when user is current, the broadcasting link of this prediction media item set up in advance in described use sends to described server the broadcasting that order recovers described playing module before receiving the flow data of this prediction media item.
Also for ease of and solve above-mentioned technical problem, present invention also offers a kind of Set Top Box, comprising: memory, one or more processor and one or more module; Described one or more module is stored in which memory and is configured to be performed by described one or more processor; Described one or more module comprises the instruction for performing following steps:
Carry out user in the process of play operation, obtain the prediction media item having and play possibility;
The broadcasting of setting up described prediction media item with corresponding server in advance links;
When the media item that the current selection of user is play is described prediction media item, the broadcasting of this prediction media item set up in advance link is utilized to carry out the broadcasting of this prediction media item.
Further, described one or more module also comprises the instruction for performing following steps:
The flow data of media item is predicted described in buffer memory after the step that the broadcasting of setting up described prediction media item in advance at described with corresponding server links;
The broadcasting of this prediction media item that described utilization is set up in advance links the step of carrying out the broadcasting of this prediction media item and specifically comprises:
Use the broadcasting link of this prediction media item set up in advance to receive the flow data of this prediction media item, and use the flow data of this prediction media item of buffer memory to start to play this prediction media item.
Further, described one or more module also comprises the instruction for performing following steps:
After the step of flow data predicting media item described in described buffer memory, enter broadcast state, and send the broadcasting of order time-out to described server;
When the media item selecting to play when user is current is described prediction media item, server described in the forward direction that the broadcasting link of this prediction media item set up in advance in described use receives the flow data of this prediction media item sends order and recovers to play.
The invention has the beneficial effects as follows:
The invention provides a kind of media playing method and device, Set Top Box, media play can be entered fast, promote the experience of user.Media playing method of the present invention comprises: carry out in the process of play operation user, obtains the prediction media item having and play possibility; The broadcasting of setting up described prediction media item with corresponding server in advance links; When the media item that the current selection of user is play is described prediction media item, the broadcasting of this prediction media item set up in advance link is utilized to carry out the broadcasting of this prediction media item; Method of the present invention is before user selects to play media item, obtain the prediction media item having and play possibility in advance, set up to play to link with server in advance and carry out Signalling exchange, when next operation of user selects the media item play to be prediction media item, the broadcasting link of setting up in advance is utilized to play this prediction media item, eliminate the time of setting up and playing link, compared with prior art, media play of the present invention can enter the broadcasting of media item fast, the stand-by period of effective minimizing user, promote the experience of user.
Further, after setting up broadcasting link in advance, the also flow data of cache prediction media item, can enter media play fast when playing prediction media item on the flow data basis of buffer memory.Such as in channel switch, do not need to wait for that next I frame arrives when the channel that user selects to play is predictive channel and just start broadcasting, can program rapidly in broadcasting channel.
Accompanying drawing explanation
The schematic flow sheet of a kind of media playing method that Fig. 1 provides for the invention process one;
The schematic flow sheet of the another kind of media playing method that Fig. 2 provides for the embodiment of the present invention one;
The schematic flow sheet that Fig. 3 plays for a kind of request program that the embodiment of the present invention two provides;
The flow chart of a kind of demand (telecommunication) service Message Processing that Fig. 4 provides for the embodiment of the present invention two;
The schematic flow sheet that Fig. 5 plays for a kind of channel that the embodiment of the present invention three provides;
The flow chart of a kind of unicast channel service message process that Fig. 6 provides for the embodiment of the present invention three;
The schematic flow sheet that Fig. 7 plays for the another kind of channel that the embodiment of the present invention three provides;
A kind of flow chart simultaneously with the service message process of clean culture and multicast broadcast mode that Fig. 8 provides for the embodiment of the present invention three;
The structural representation of the first media playing apparatus that Fig. 9 provides for the embodiment of the present invention four;
The structural representation of the second media playing apparatus that Figure 10 provides for the embodiment of the present invention four;
The structural representation of the third media playing apparatus that Figure 11 provides for the embodiment of the present invention four;
The structural representation of the 4th kind of media playing apparatus that Figure 12 provides for the embodiment of the present invention four;
The structural representation of a kind of Set Top Box that Figure 13 provides for the embodiment of the present invention five.
Embodiment
By reference to the accompanying drawings the present invention is described in further detail below by embodiment.
Embodiment one:
As shown in Figure 1, present embodiments provide a kind of media playing method, comprise the following steps:
Step 101: carry out in the process of play operation user, determines to have the prediction media item playing possibility;
Step 102: the broadcasting of setting up described prediction media item with corresponding server in advance links;
Step 103: when the media item that the current selection of user is play is described prediction media item, utilize the broadcasting of this prediction media item set up in advance link to carry out the broadcasting of this prediction media item.
The media playing method that the present embodiment provides can set up the broadcasting link with the media item playing possibility in advance, when user select the media item play be having of obtaining in advance play the media item of possibility time, media item is play in the broadcasting link of this media item that direct utilization is set up in advance, makes user can watch the media item of selection fast; Such as, obtain the prediction request program having and play possibility in advance, set up the broadcasting link of prediction request program, when the request program that user selects is for prediction request program, this request program is play in the broadcasting link that direct utilization is set up in advance, saves the time of the broadcasting link of setting up request program, can enter the broadcasting of this request program fast, minimizing user waits for and the time that request program is play improves Consumer's Experience.Media playing method with sample embodiment also goes for the switching of channel, such as user is when interface of main menu selects the channel needing to play, obtain the predictive channel having and play possibility, the broadcasting of then setting up predictive channel in advance with server links, when the channel that user selects broadcasting is predictive channel, content in the broadcasting link broadcasting channel of this channel that direct utilization is set up in advance, with determine in prior art that user selected channel is set up to play to link again and carry out compared with broadcasting, the media playing method of the present embodiment can be play rapidly and present picture for user's viewing, minimizing user watches the stand-by period in program process, promote user operation, viewing experience effect.
The media playing method of the present embodiment can also comprise: selecting the media item play not select the broadcasting link of the media item play for setting up user during described prediction media item when user is current, utilizing this broadcasting to link the broadcasting carrying out media item.Such as when user selects the channel of switching for predictive channel, the broadcasting of conventionally setting up user channel connects the broadcasting carrying out channel.
The media playing method of the present embodiment also comprises after stating the step that the broadcasting of setting up described prediction media item in advance with corresponding server links: the flow data predicting media item described in buffer memory; In the case, utilize the broadcasting of this prediction media item set up in advance to link the step of carrying out the broadcasting of this prediction media item in above-mentioned steps 103 specifically to comprise:
Use the broadcasting link of this prediction media item set up in advance to receive the flow data of this prediction media item, and use the flow data of this prediction media item of buffer memory to start to play this prediction media item.
The media playing method of the present embodiment can enter media play fast when playing prediction media item on the flow data basis of buffer memory.Such as in channel switch, do not need to wait for that next I frame arrives when the channel that user selects to play is predictive channel and just start broadcasting, can program rapidly in broadcasting channel; Or in play-on-demand program process, when the request program that user selects is for prediction request program, the flow data that directly can read the prediction request program of buffer memory carries out the play-on-demand program that starts anew, the broadcasting link set up in advance is not utilized to start anew to receive the flow data of request program, eliminate the data stream reception time of program head part, use user can watch request program fast, do not wait for.
The media playing method that the present embodiment provides can also comprise one and judge whether the current media item selecting to play of user is the step predicting media item, and this step can between step 102 and step 103.Judge described in concrete the present embodiment media playing method that whether the current media item selecting to play of user is that the mode of described prediction media item comprises:
Judge whether the broadcasting link of the media item of the current selection of user links identical with the broadcasting of described prediction media item, if, judge that the current media item selecting to play of user is as described prediction media item, if not, then judge that the current media item play of selecting of user is not as described prediction media item.
Certainly only for by judging to play, the judgment mode of this enforcement does not link whether whether the identical program judging to select is predict program, such as, can also be judged by the mark comparing media item.
Introduce below and be applied in Set Top Box STB by the method for the present embodiment, as shown in Figure 2, the concrete media play process of STB comprises:
Step 201:STB is according to user's current operating conditions analysis operation trend.
Such as on media program display page, user's manipulation upwards, downwards, left, when to move right in some focuses and to stop more than 0.5s, next operation user measurable can press OK button.
Step 202: analyze in next operation trend focus of STB whether comprise the media program that can play.If had, then enter step 203; Otherwise, enter step 205.
Such as on request program main menu, comprise a lot of focus, a kind of is the focus comprising media program, another kind is function key on menu (such as advances, retreats, lower one page, page turning etc.), can avoid the action that Set Top Box is unnecessary, the resource utilization of prompt machine top box by step 102.Such as when user operation cursor dwell is in " page turning " focus, STB does not just need the action of setting up link in advance.
Step 203: the broadcasting link of setting up this media program, is assumed to A.
The broadcasting chained address of concrete this media program of acquisition, sets up link according to this address and corresponding media server;
Step 204: the broadcasting example creating program chaining A, STB carries out Signalling exchange with media server in advance, receives and this media program flow data of buffer memory.
Step 205:STB receives the play command of user's input, and the program that user selects is play and is linked as B.
Step 206: judge whether any buffered program that there is link setup in advance; If had, then enter step 207, otherwise enter step 210.
Step 207: judge that whether program chaining (B) links (A) with the media program of buffer memory consistent, if unanimously, then enter step 208, otherwise enter step 209.
Step 208: without the need to re-starting Signalling exchange, uses the signalling path obtained in advance to continue communication, uses the program stream of buffer memory to start to play.
Step 209: the signalling path of release and program chaining A.
Step 210: use media program link B and media server to carry out Signalling exchange, obtain media code stream and play.
STB adopts the media playing method of the present embodiment effectively can reduce the stand-by period of user, enters program request fast or enter channel to play; In particular by estimating next operation trend, finding media links possible in next trend focus, carrying out Signalling exchange in advance, and buffered media program data stream, so that user, when really selecting this program to play, represents rapidly video playback picture and audio plays, promotes user watched experience
Obtaining the mode with the prediction media item playing possibility in the present embodiment media playing method can comprise following several:
The first, obtain by the page data analyzing current display media project the prediction media item having and play possibility; Such as at the page of display request program, determine whether request program is prediction request program, then obtains the prediction request program determined by the selection cursor time data rested on electric request program option analyzing user.
The second, obtains by the media item analyzing current broadcasting the prediction media item having and play possibility; Such as analyze the channel information that TV is being play, determine that the channel that this channel is adjacent is prediction switching channels, then obtain the adjacent channel determined.
The third, obtain by analyzing the current operation of user the prediction media item having and play possibility; Such as when user uses " channel+" or " channel-" switching channels, determine that the next channel of current play channel or a upper channel are prediction switching channels; When such as user selects request program downwards on request program main menu again, determine that the next request program of current request program is for prediction request program, then obtains and determines to predict request program.
4th kind, the historical record playing media item is selected to determine to have the prediction media item playing possibility by analyzing user.Such as when user is at switching channels, the channel that before analyzing, user often watches, determines that the channel of normal viewing is for prediction switching channels.
With the present embodiment media playing method obtain prediction media item mode, but not only for these four kinds of modes, can also be other modes well-known to those skilled in the art.
In order to improve the speed entering media play further, the present embodiment media playing method also comprises after the step of flow data predicting media item described in described buffer memory:
Enter broadcast state, and send the broadcasting of order time-out to described server;
Now, select after the media item play is described prediction media item judging that user is current, the broadcasting link of this prediction media item set up in advance in described use also comprises before receiving the flow data of this prediction media item: send order to described server and recover to play.
The media playing method of the present embodiment enters broadcast state after can setting up the code stream of this prediction media item of the broadcasting link caching server transmission predicting media item in advance, send to server the broadcasting that order suspends this prediction media item simultaneously, when user selects to play media item for prediction media item, only need send to server the broadcasting that order recovers this prediction media item, promote the speed entering media play further, save time.
The media item of the present embodiment can comprise request program or switching channels.When described prediction media item comprises prediction switching channels, and when described prediction switching channels possesses clean culture and multicast broadcast mode, the step that the flow data of this prediction media item of described use buffer memory carries out the broadcasting of this prediction media item specifically comprises simultaneously:
The flow data clean culture of this prediction media item of buffer memory is used to play this prediction media item;
Add the multicast group that this prediction media item is corresponding;
Whether synchronously to judge clean culture and multicast, if so, switch to multicast and play this prediction media item.
The media playing method of the present embodiment, can adopt clean culture broadcasting and multicast to play at switching channels simultaneously, and chooses multicast when clean culture is synchronous with multicast and play the content predicting switching channels.
Embodiment two:
The present embodiment introduces the media playing method of embodiment one for the request program of playing on the VOD page, as shown in Figure 3, comprises the following steps:
Step 301: set-top box users enters certain VOD page.
Step 302: Set Top Box analyzes page data, determines to predict order video, obtains the address of prediction order video link setup.
Step 303: Set Top Box carries out link setup on backstage and server, the code stream of cache prediction order video in advance according to the address of prediction order video link setup, and after entering displaying video state, suspend and play.
Step 304: judge whether user clicks viewing VOD(and start anew to watch, continue to play from broadcasting last time), if so, perform step 305, if not, then perform step 307.
Step 305: when the video that user clicks is for prediction order video, Set Top Box selects according to user the broadcast state entering corresponding link setup, and user watches the content of program request fast.
Step 306: the link setup removing other prediction order videos.
Step 307: user's not program request this page of program, leaves the program request page.
Step 308: remove all link setups of this page.
The player method of the present embodiment can when user's click enters the VOD page, Set Top Box is analyzed page data and is obtained VOD address, RTSP link setup is carried out in advance with server mutual on backstage, user is when program request VOD, Set Top Box, by directly recovering the broadcast state of corresponding link setup, enables user see the VOD content of program request fast.
Introduce the Business Processing message flow of the present embodiment media playing method below, as shown in Figure 4, comprise the following steps:
Step 401: set-top box users enters a certain request program page.
Step 402: Set Top Box analyzes page data, obtains the address of prediction order video link setup.
Step 403: the address that Set Top Box judges according to page data, carries out rtsp alternately on backstage to server, carries out rtsp link setup, the code stream of cache prediction order video in advance with server.
Step 404: after link setup successfully enters play state, Set Top Box sends Pause order to server, suspends and plays.
Step 405:a. user clicks broadcast button and plays, then continue to perform step 406; B. user's not program request this page of program, leaves the program request page, then continue to perform step 409
Step 406: when the video that user clicks broadcasting is prediction order video, Set Top Box clicks the content of broadcasting according to user, connects directly to corresponding rtsp and sends Resume order recovery broadcasting.
Step 407: user watches the content of program request.
Step 408: to all rtsp link setups of this page, sends teardown order and stops connecting.
The link of setting up in advance that other can also not utilize by the method for the present embodiment is removed, and only retains current broadcasting link of applying, with saving resource.
Embodiment three:
The present embodiment illustrates the media playing method of enforcement one for channel switch, and the prediction media item of the present embodiment is the adjacent channel of current channel, as shown in Figure 5 concrete, and the channel player method of the present embodiment comprises the following steps:
Step 501: Set Top Box is current is in a certain state.Such as playing or resting on certain page.
Step 502: Set Top Box analyzes current state, obtains the channel information that " channel+" and " channel-" is corresponding.
Step 503: Set Top Box sets up linking of adjacent channel with server, the code stream of buffer memory adjacent channel in advance on backstage.
The player method of the present embodiment can also send the rtsp link that other channels are interrupted in teardown order, namely interrupt that other do not utilize to link with saving resource.
Step 504: enter play state, Set Top Box sends Pause order to server, suspends and plays.
Step 505: user carries out channel switch by " channel+" or " channel-" button.
Step 506: Set Top Box recovers the live TV state of corresponding channel link, user watches the content of channel fast; Now, Set Top Box gets back to the state of step 501, and continues to perform step 502 and step 503.
The media playing method of the present embodiment effectively can reduce the stand-by period of user, fast switching channels is to improve the method for Consumer's Experience: before users with channel handover operation, Set Top Box analyzes the information that current state obtains adjacent two channels, RTSP link setup is carried out in advance with server mutual on backstage, user by channel+, channel-button carry out channel switch time, Set Top Box, by directly recovering the broadcast state of corresponding link setup, enables user see the content that the rear channel of switching is play fast.
Introduce the unicast channel business processing flow of the present embodiment below, as shown in Figure 6, comprise lower treatment step:
Step 601: Set Top Box is current is in a certain state.Such as playing or resting on certain page
Step 602: Set Top Box, according to current state, calculates the channel information of channel+and channel-corresponding.
Step 603: carry out rtsp on backstage to server mutual, carry out channel+and channel-rtsp link setup, buffer memory channel+and channel-code stream.
Step 604: one of following two steps can be performed: a. server uses the speed being less than 1 times to send the code stream of these two channels to Set Top Box.B. after entering play state, Set Top Box sends Pause order to server, suspends and plays.
The method of the present embodiment comprises two kinds of playback process processes after can working as the broadcasting link of setting up prediction in advance, a kind of is that server adopts low velocity to send the code stream of predictive channel to Set Top Box, the code stream of Set Top Box cache prediction channel, when user switches to predictive channel, the channel code stream of buffer memory is utilized to carry out the broadcasting of predictive channel; Another kind is that server sends the code stream of predictive channel to Set Top Box with normal speed, the code stream of Set Top Box cache prediction channel enters broadcast state, then broadcasting is suspended, when user switches to predictive channel, only need recover the broadcasting of playing on link and user can be made to watch the content of predictive channel.The playback process mode that the former sends code stream with low velocity can save Internet resources, and the latter adopts the mode recovering to play can improve the switch speed of channel, reduces the time delay of channel switch, promotes Consumer's Experience.
Step 605: user carries out channel switch by " channel+" or " channel-" button.
If that step 606:a. performs is step 604.a, then the programme content that Set Top Box is switched to this channel corresponding fast according to the code stream of the channel of buffer memory is play.If that b. perform is step 604.b, then the channel that switches according to user of Set Top Box, the rtsp to correspondence connects to send and jumps to live request, and the live state entering this channel is play; Now, Set Top Box has reentered the state of step 601, and continues to perform step 602 and step 603.
Introduce a kind of concrete media playing method of the present embodiment below, described prediction media item comprises the adjacent channel of current play channel, and as shown in Figure 7, the another kind of channel player method of the present embodiment, comprises the steps:
Step 701: Set Top Box is current is in a certain state.
Step 702: Set Top Box analyzes current state, obtains the channel information that " channel+" and " channel-" is corresponding
Step 703: Set Top Box sets up linking (unicast channel RTSP/ multicast channel IGMP) of adjacent channel with server in advance on backstage.
Step 704: set-top box requests also receives adjacent channel code stream buffer memory (but not entering foreground broadcasting), only needs the code stream of 2-5s near the live point of circular buffer.
Step 705: user carries out channel switch by " channel+" or " channel-" button.
Step 706: corresponding channel is set to foreground and plays by Set Top Box, sends the I frame nearest apart from live point and bit stream data afterwards into decoder and starts decoding, present channel image and sound; User can watch the content of channel fast.After this step is complete, return step 701, restart.
In certain method as shown in Figure 7, order can also be sent and interrupt other links do not used, such as, during user's choosing " channel+", the broadcasting link of " channel-" set up in advance can be removed.
When switching channels can adopt clean culture and multicast to play simultaneously, as shown in Figure 8, the business processing flow of the channel broadcasting of the present embodiment, comprises the following steps:
Step 801: Set Top Box is current is in a certain state.Such as playing or resting on certain page
Step 802: Set Top Box, according to current state, calculates the channel information of channel+and channel-corresponding.
Step 803: Set Top Box uses the unicast address of channel, carries out rtsp on backstage to server mutual, carry out channel+and channel-rtsp link setup.
Step 804: one of following two steps can be performed: a. server uses the speed being less than 1 times to send the code stream of these two channels to Set Top Box.B. after link setup successfully enters play state, Set Top Box sends Pause order to server, suspends and plays.
Step 805: user carries out channel switch by " channel+" or " channel-" button.
If that step 806:a. performs is step 804.a, then the programme content that Set Top Box is switched to this channel corresponding fast according to the code stream of the channel of buffer memory is play.If that b. perform is step 804.b, then the channel that switches according to user of Set Top Box, the rtsp to correspondence connects to send and jumps to live request, and the live state entering this channel is play.
Step 807: Set Top Box adds multicast group corresponding to current channel.
Step 808: Set Top Box or server calculate the synchronous regime of clean culture and multicast content.
Step 809: if clean culture and multicast broadcast state are synchronously, Set Top Box is switched to multicast and plays.
Step 810: use Pause or Teardown order to stop clean culture and send out flow operation; Now, Set Top Box has reentered the state of step 801, and continues to perform step 802 and step 803.
Embodiment four:
As shown in Figure 9, present embodiments provide a kind of media playing apparatus, comprising: acquisition module, link setup module and playing module;
Described acquisition module is used for carrying out in the process of play operation user, obtains the prediction media item having and play possibility;
The broadcasting that described link setup module is used for setting up in advance with corresponding server described prediction media item links;
Described playing module is used for, when the media item that the current selection of user is play is described prediction media item, utilizing the broadcasting of this prediction media item set up in advance link to carry out the broadcasting of this prediction media item.
The media playing apparatus that the present embodiment provides can set up the broadcasting link with the media item playing possibility in advance, when user select the media item play be having of obtaining in advance play the media item of possibility time, media item is play in the broadcasting link of this media item that direct utilization is set up in advance, makes user can watch the media item of selection fast; Such as, obtain the prediction request program having and play possibility in advance, advise the broadcasting link of the request program determined, when the request program that user selects is for prediction request program, this request program is play in the broadcasting link that direct utilization is set up in advance, saves the time of the broadcasting link of setting up request program, can enter the broadcasting of this request program fast, minimizing user waits for and the time that request program is play improves Consumer's Experience.Media playing method with sample embodiment also goes for the switching of channel, such as user is when interface of main menu selects the channel needing to play, obtain the predictive channel having and play possibility, the broadcasting of then setting up predictive channel in advance with server links, when the channel that user selects broadcasting is predictive channel, content in the broadcasting link broadcasting channel of this channel that direct utilization is set up in advance, with determine in prior art that user selected channel is set up to play to link again and carry out compared with broadcasting, the media playing method of the present embodiment can be play rapidly and present picture for user's viewing, minimizing user watches the stand-by period in program process, promote user operation, viewing experience effect.
As shown in Figure 10, the media playing apparatus of the present embodiment also comprises: cache module;
Described cache module is used for the flow data predicting media item after described link setup module sets up the broadcasting link of described prediction media item in advance described in buffer memory;
Described playing module receives the flow data of this prediction media item for the broadcasting link of this prediction media item using described link setup module and set up in advance, and uses the flow data of this prediction media item of described cache module buffer memory to start to play this prediction media item.
The media playing apparatus of the present embodiment can enter media play fast when playing prediction media item on the flow data basis of buffer memory.Such as in channel switch, do not need to wait for that next I frame arrives when the channel that user selects to play is predictive channel and just start broadcasting, can program rapidly in broadcasting channel; Or in play-on-demand program process, when the request program that user selects is for prediction request program, the flow data that directly can read the prediction request program of buffer memory carries out the play-on-demand program that starts anew, the broadcasting link set up in advance is not utilized to start anew to receive the flow data of request program, eliminate the data stream reception time of program head part, use user can watch request program fast, do not wait for.
As shown in figure 11, the media playing apparatus of the present embodiment also comprises: transmit control module; Described transmit control module is used for after predicting the flow data of media item described in described cache module buffer memory, controls described playing module and enters broadcast state, and sends the broadcasting of order time-out to described server; And select the media item play to be in described prediction media item situation when user is current, the broadcasting link of this prediction media item set up in advance in described use sends to described server the broadcasting that order recovers described playing module before receiving the flow data of this prediction media item.
Preferentially, the described prediction media item of the present embodiment comprises prediction switching channels, and described prediction switching channels possesses clean culture and multicast broadcast mode simultaneously; In the case, as shown in figure 12, the present embodiment Set Top Box also comprises: synchronous judge module;
Wherein said playing module plays this prediction media item for the flow data clean culture of this prediction media item using buffer memory;
Described synchronous judge module is for adding multicast group corresponding to this prediction media item; Judge clean culture and multicast whether synchronous
Described playing module also plays this prediction media item for switching to multicast when synchronous judge module is judged as YES.
Preferentially, the judge module of the present embodiment, for judging whether the broadcasting link of the media item of the current selection of user links identical with the broadcasting of described prediction media item, if so, judges that the current media item selecting to play of user is as described prediction media item.
Preferentially, the described acquisition module of the present embodiment is used for:
The prediction media item having and play possibility is obtained by the page data analyzing current display media project;
Or
The prediction media item having and play possibility is obtained by the media item analyzing current broadcasting;
Or
The prediction media item having and play possibility is obtained by analyzing the current operation of user;
Or
The historical record playing media item is selected to obtain the prediction media item having and play possibility by analyzing user.
Embodiment five:
As shown in figure 13, present embodiments provide a kind of Set Top Box, comprising: memory, one or more processor and one or more module; Described one or more module is stored in which memory and is configured to be performed by described one or more processor; Described one or more module comprises the instruction for performing following steps:
Carry out user in the process of play operation, obtain the prediction media item having and play possibility;
The broadcasting of setting up described prediction media item with corresponding server in advance links;
When the media item that the current selection of user is play is described prediction media item, the broadcasting of this prediction media item set up in advance link is utilized to carry out the broadcasting of this prediction media item.
The Set Top Box of the present embodiment can set up the broadcasting link with the media item playing possibility in advance, when user select the media item play be having of obtaining in advance play the media item of possibility time, media item is play in the broadcasting link of this media item that direct utilization is set up in advance, make user can watch the media item of selection fast, with determine in prior art that user selected channel is set up to play to link again and carry out compared with broadcasting, the media playing method of the present embodiment can be play rapidly and present picture for user's viewing, minimizing user watches the stand-by period in program process, promote user operation, viewing experience effect.
Preferentially, one or more module described in the present embodiment also comprises the instruction for performing following steps:
The flow data of media item is predicted described in buffer memory after the step that the broadcasting that described with corresponding server sets up described prediction media item in advance links;
Now, the step that the broadcasting of this prediction media item is carried out in the broadcasting link of this prediction media item of setting up in advance of described utilization specifically can comprise:
Use the broadcasting link of this prediction media item set up in advance to receive the flow data of this prediction media item, and use the flow data of this prediction media item of buffer memory to start to play this prediction media item.
The Set Top Box of the present embodiment can enter media play fast when playing prediction media item on the flow data basis of buffer memory.Such as in channel switch, do not need to wait for that next I frame arrives when the channel that user selects to play is predictive channel and just start broadcasting, can program rapidly in broadcasting channel; Or in play-on-demand program process, when the request program that user selects is for prediction request program, the flow data that directly can read the prediction request program of buffer memory carries out the play-on-demand program that starts anew, the broadcasting link set up in advance is not utilized to start anew to receive the flow data of request program, eliminate the data stream reception time of program head part, use user can watch request program fast, do not wait for.
Preferentially, described in the Set Top Box of the present embodiment, one or more module also comprises the instruction for performing following steps:
After the step of flow data predicting media item described in described buffer memory, enter broadcast state, and send the broadcasting of order time-out to described server;
When the media item selecting to play when user is current is described prediction media item, server described in the forward direction that the broadcasting link of this prediction media item set up in advance in described use receives the flow data of this prediction media item sends order and recovers to play.
The Set Top Box of the present embodiment can realize quick switching media program by the mode recovering broadcast state, improves the experience of user.
The one or more module of the present embodiment Set Top Box can be software function module, such as a program unit.The processor of the present embodiment and memory are processor in general sense understood by one of ordinary skill in the art and memory.
Above content is in conjunction with concrete execution mode further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, some simple deduction or replace can also be made, all should be considered as belonging to protection scope of the present invention.

Claims (12)

1. a media playing method, is characterized in that, comprises the following steps:
Carry out user in the process of play operation, obtain the prediction media item having and play possibility;
The broadcasting of setting up described prediction media item with corresponding server in advance links;
When the media item that the current selection of user is play is described prediction media item, the broadcasting of this prediction media item set up in advance link is utilized to carry out the broadcasting of this prediction media item.
2. media playing method as claimed in claim 1, is characterized in that, also comprise: the flow data predicting media item described in buffer memory after the step that the broadcasting that described with corresponding server sets up described prediction media item in advance links;
The broadcasting of this prediction media item that described utilization is set up in advance links the step of carrying out the broadcasting of this prediction media item and specifically comprises:
Use the broadcasting link of this prediction media item set up in advance to receive the flow data of this prediction media item, and use the flow data of this prediction media item of buffer memory to start to play this prediction media item.
3. media playing method as claimed in claim 2, is characterized in that, also comprise: enter broadcast state after the step of flow data predicting media item described in described buffer memory, and sends the broadcasting of order time-out to described server;
When the media item selecting to play when user is current is described prediction media item, the broadcasting link of this prediction media item set up in advance in described use also comprises before receiving the flow data of this prediction media item:
Send order to described server to recover to play.
4. media playing method as claimed in claim 2 or claim 3, it is characterized in that, described prediction media item comprises prediction switching channels, and described prediction switching channels possesses clean culture and multicast broadcast mode simultaneously;
The step that the flow data of this prediction media item of described use buffer memory carries out the broadcasting of this prediction media item specifically comprises:
The flow data clean culture of this prediction media item of buffer memory is used to play this prediction media item;
Add the multicast group that this prediction media item is corresponding;
Whether synchronously to judge clean culture and multicast, if so, switch to multicast and play this prediction media item.
5. media playing method as claimed in claim 1, it is characterized in that, when user current select play media item be described prediction media item time utilize set up in advance this prediction media item broadcasting link carry out the broadcasting of this prediction media item before also comprise: judge the media item of the current selection of user broadcasting link whether link identical with the broadcasting of described prediction media item, if so, judge that the current media item selecting to play of user is as described prediction media item.
6. the media playing method as described in claim 1 or 2 or 3 or 5, is characterized in that, the step that described acquisition has the prediction media item playing possibility comprises:
The prediction media item having and play possibility is obtained by the page data analyzing current display media project;
Or
The prediction media item having and play possibility is obtained by the media item analyzing current broadcasting;
Or
The prediction media item having and play possibility is obtained by analyzing the current operation of user;
Or
The historical record playing media item is selected to obtain the prediction media item having and play possibility by analyzing user.
7. a media play playing device, is characterized in that, comprising: acquisition module, link setup module and playing module;
Described acquisition module is used for carrying out in the process of play operation user, obtains the prediction media item having and play possibility;
The broadcasting that described link setup module is used for setting up in advance with corresponding server described prediction media item links;
Described playing module is used for, when the media item that the current selection of user is play is described prediction media item, utilizing the broadcasting of this prediction media item set up in advance link to carry out the broadcasting of this prediction media item.
8. media playing apparatus as claimed in claim 7, is characterized in that, also comprise: cache module;
Described cache module is used for the flow data predicting media item after described link setup module sets up the broadcasting link of described prediction media item in advance described in buffer memory;
Described playing module receives the flow data of this prediction media item for the broadcasting link of this prediction media item using described link setup module and set up in advance, and uses the flow data of this prediction media item of described cache module buffer memory to start to play this prediction media item.
9. media playing apparatus according to claim 8, is characterized in that, also comprises: transmit control module;
Described transmit control module is used for after predicting the flow data of media item described in described cache module buffer memory, controls described playing module and enters broadcast state, and sends the broadcasting of order time-out to described server; And select the media item play to be in described prediction media item situation when user is current, the broadcasting link of this prediction media item set up in advance in described use sends to described server the broadcasting that order recovers described playing module before receiving the flow data of this prediction media item.
10. a Set Top Box, is characterized in that, comprising: memory, one or more processor and one or more module; Described one or more module is stored in which memory and is configured to be performed by described one or more processor; Described one or more module comprises the instruction for performing following steps:
Carry out user in the process of play operation, obtain the prediction media item having and play possibility;
The broadcasting of setting up described prediction media item with corresponding server in advance links;
When the media item that the current selection of user is play is described prediction media item, the broadcasting of this prediction media item set up in advance link is utilized to carry out the broadcasting of this prediction media item.
11. Set Top Box as claimed in claim 10, it is characterized in that, described one or more module also comprises the instruction for performing following steps:
The flow data of media item is predicted described in buffer memory after the step that the broadcasting of setting up described prediction media item in advance at described with corresponding server links;
The broadcasting of this prediction media item that described utilization is set up in advance links the step of carrying out the broadcasting of this prediction media item and specifically comprises:
Use the broadcasting link of this prediction media item set up in advance to receive the flow data of this prediction media item, and use the flow data of this prediction media item of buffer memory to start to play this prediction media item.
12. Set Top Box as claimed in claim 11, it is characterized in that, described one or more module also comprises the instruction for performing following steps:
After the step of flow data predicting media item described in described buffer memory, enter broadcast state, and send the broadcasting of order time-out to described server;
When the media item selecting to play when user is current is described prediction media item, server described in the forward direction that the broadcasting link of this prediction media item set up in advance in described use receives the flow data of this prediction media item sends order and recovers to play.
CN201310655803.6A 2013-12-06 2013-12-06 Media play method, media play device and set top box Pending CN104702994A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310655803.6A CN104702994A (en) 2013-12-06 2013-12-06 Media play method, media play device and set top box
PCT/CN2014/077699 WO2014183674A1 (en) 2013-12-06 2014-05-16 Media play method and device, and set top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310655803.6A CN104702994A (en) 2013-12-06 2013-12-06 Media play method, media play device and set top box

Publications (1)

Publication Number Publication Date
CN104702994A true CN104702994A (en) 2015-06-10

Family

ID=51897735

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310655803.6A Pending CN104702994A (en) 2013-12-06 2013-12-06 Media play method, media play device and set top box

Country Status (2)

Country Link
CN (1) CN104702994A (en)
WO (1) WO2014183674A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657579A (en) * 2015-10-29 2016-06-08 乐视致新电子科技(天津)有限公司 Live broadcast audio switching method, stream media server and client
CN105657522A (en) * 2016-01-05 2016-06-08 深圳市金立通信设备有限公司 Video playing method and terminal
CN105898552A (en) * 2016-06-20 2016-08-24 深圳创维数字技术有限公司 Method and device for playing video data
CN108833933A (en) * 2018-06-14 2018-11-16 广东互通宽带网络服务有限公司 A kind of method and system for recommending video flow using support vector machines
CN108965969A (en) * 2018-06-28 2018-12-07 烽火通信科技股份有限公司 Method for page jump and system for IPTV set top box
CN113507639A (en) * 2021-06-30 2021-10-15 深圳市华曦达科技股份有限公司 Channel fast switching method, player and readable storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131644A (en) * 2016-07-13 2016-11-16 青岛海信电器股份有限公司 The player method of audio frequency and video and display device
CN106131658A (en) * 2016-07-13 2016-11-16 青岛海信电器股份有限公司 The player method of audio frequency and video and display device
CN108600866B (en) * 2018-05-18 2020-11-24 电子科技大学 Efficient and automatic judgment method for network audio and video playability
CN112312179B (en) * 2019-07-23 2024-03-01 青岛海信宽带多媒体技术有限公司 Key response method, equipment and play control terminal
CN115514998B (en) * 2022-09-29 2023-08-29 海信电子科技(深圳)有限公司 Display equipment and network media resource switching method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123717A (en) * 2007-09-25 2008-02-13 中兴通讯股份有限公司 A device and method for quick switching of channels
CN101267545A (en) * 2008-04-30 2008-09-17 中兴通讯股份有限公司 A program switching method and device
CN101277450A (en) * 2008-04-30 2008-10-01 中兴通讯股份有限公司 Method and apparatus for switching program
KR20090114550A (en) * 2008-04-30 2009-11-04 (주)유빌리온 System and method for supply data broadcasting thereof
CN101656869A (en) * 2008-08-21 2010-02-24 华为技术有限公司 Method, device and system for switching channels
CN101702758A (en) * 2009-10-30 2010-05-05 深圳创维数字技术股份有限公司 Method for switching TV programs

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123717A (en) * 2007-09-25 2008-02-13 中兴通讯股份有限公司 A device and method for quick switching of channels
CN101267545A (en) * 2008-04-30 2008-09-17 中兴通讯股份有限公司 A program switching method and device
CN101277450A (en) * 2008-04-30 2008-10-01 中兴通讯股份有限公司 Method and apparatus for switching program
KR20090114550A (en) * 2008-04-30 2009-11-04 (주)유빌리온 System and method for supply data broadcasting thereof
CN101656869A (en) * 2008-08-21 2010-02-24 华为技术有限公司 Method, device and system for switching channels
CN101702758A (en) * 2009-10-30 2010-05-05 深圳创维数字技术股份有限公司 Method for switching TV programs

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657579A (en) * 2015-10-29 2016-06-08 乐视致新电子科技(天津)有限公司 Live broadcast audio switching method, stream media server and client
CN105657522A (en) * 2016-01-05 2016-06-08 深圳市金立通信设备有限公司 Video playing method and terminal
CN105657522B (en) * 2016-01-05 2019-06-28 深圳市金立通信设备有限公司 A kind of method and terminal of video playing
CN105898552A (en) * 2016-06-20 2016-08-24 深圳创维数字技术有限公司 Method and device for playing video data
CN108833933A (en) * 2018-06-14 2018-11-16 广东互通宽带网络服务有限公司 A kind of method and system for recommending video flow using support vector machines
CN108965969A (en) * 2018-06-28 2018-12-07 烽火通信科技股份有限公司 Method for page jump and system for IPTV set top box
CN108965969B (en) * 2018-06-28 2020-08-14 烽火通信科技股份有限公司 Page skipping method and system for IPTV set top box
CN113507639A (en) * 2021-06-30 2021-10-15 深圳市华曦达科技股份有限公司 Channel fast switching method, player and readable storage medium

Also Published As

Publication number Publication date
WO2014183674A1 (en) 2014-11-20

Similar Documents

Publication Publication Date Title
CN104702994A (en) Media play method, media play device and set top box
US10225613B2 (en) Method and apparatus for video playing processing and television
CN103369410B (en) Play method, equipment and the computer readable storage medium of broadcasted content
CN102036058B (en) Method, server, terminal and system for switching videos in video monitoring system
CN100429901C (en) Method and structure for realizing live channel switching in Internet protocol audio-video broadcast network
CN106534879B (en) Live broadcast switching method and system based on attention
CN103686199A (en) IPTV multi-window program preview method, system and terminal
WO2007062567A1 (en) A method, a device and a system for realizing time shift tv
CN1929596A (en) Method and system for realizing time-moving television
CN103945240A (en) Video playing method and device based on video aggregation
CN108174280B (en) Audio and video online playing method and system
CN102802075A (en) Online play buffering system and method
CN107683608A (en) Receiving device, send equipment and data processing method
CN105898538A (en) Play method and device and mobile terminal equipment based on Android platform
CN113824925A (en) WEB plug-in-free video monitoring system and method
CN201690534U (en) Application management device and digital television receiving terminal
CN113225585A (en) Video definition switching method and device, electronic equipment and storage medium
WO2012088922A1 (en) Resource configuration method for streaming media service, user service terminal and head end system
JP2006109278A (en) Broadcast communication terminal
CN113132194A (en) Information transfer method, device, equipment, server and storage medium
WO2015089790A1 (en) Service processing method, apparatus, and system
CN104469541A (en) IPTV channel switching method, IPTV channel switching device and terminal
WO2012034430A1 (en) Method and device for controlling bandwidth of set top boxes in internet protocol television (iptv) system
CN105763941A (en) Channel switching method and system
CN105100887A (en) Program playing control method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150610

WD01 Invention patent application deemed withdrawn after publication