CN101478669A - Media playing control method based on browser on IPTV system - Google Patents

Media playing control method based on browser on IPTV system Download PDF

Info

Publication number
CN101478669A
CN101478669A CNA2008100422258A CN200810042225A CN101478669A CN 101478669 A CN101478669 A CN 101478669A CN A2008100422258 A CNA2008100422258 A CN A2008100422258A CN 200810042225 A CN200810042225 A CN 200810042225A CN 101478669 A CN101478669 A CN 101478669A
Authority
CN
China
Prior art keywords
medium
media
play
embedded
playlist
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.)
Granted
Application number
CNA2008100422258A
Other languages
Chinese (zh)
Other versions
CN101478669B (en
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.)
Baishitong Network TV Technology Development Co Ltd
Original Assignee
Baishitong Network TV Technology Development 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 Baishitong Network TV Technology Development Co Ltd filed Critical Baishitong Network TV Technology Development Co Ltd
Priority to CN2008100422258A priority Critical patent/CN101478669B/en
Publication of CN101478669A publication Critical patent/CN101478669A/en
Application granted granted Critical
Publication of CN101478669B publication Critical patent/CN101478669B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present invention provides a medium playing control system based on browser and a method thereof. An embedded medium player in set-top box provides a basic capability for playing medium. The browser embedded in the set-top box is integrated with embedded medium player through expanding the object and method of JavaScript and an information feedback mechanism of virtual press button. On one hand the medium playing capability of embedded player is called through the object and method of JavaScript; on the other hand, when the state changes or an error occurs in the playing process of embedded player, a virtual press button event is given to the embedded browser for forming a whole information feedback mechanism. The service function of medium playing is realized by the webpage in Web server. The set-top box obtains a corresponding webpage through the embedded browser and executes service logic for playing medium on the webpage. The medium playing control system of the invention is propitious to reduce the cost and risk for developing and disposing the service function, and is propitious to quickly respond the requirement of user to the medium playing service function.

Description

In a kind of IPTV system based on the media play controlling method of browser
Technical field
The present invention relates to broadband communications, the internet, interactive TV and built-in browser field relate in particular on the IP network TV implementation method based on the controlling media play of browser.
Background technology
IPTV transmits to comprise video, audio frequency and data on IP network, and QoS/QoE is provided, safety, and the manageable multimedia service of interactivity and reliability, its form of expression can be TV, text or figure etc.As a kind of emerging service of global fast development in recent years, IPTV integrates the great achievement of IP and TV technology, has not only annotated intension again for television services, and has picked up based on the motive power of using for the development of IP technology.With traditional pass through wireless or coaxial cable to broadcast TV programme different, the IPTV system directly provides high-quality TV programme and video content to client by broadband IP network.The IPTV system has the function of " interactive " and " watching as required ".
The media playing service function is a part most crucial in the IPTV system.In at present a lot of IPTV systems, the business function of media play is realized in set-top box.Because software development cycle is long on the set-top box, the upgrading difficulty is big, causes when increasing new video traffic function, and the cycle is long, the risk height.Can't satisfy the demand of user aspect the video playback business timely.
Should be noted that on the other hand: the IPTV system is structured on the IP network, and the experience that can use for reference on the Internet proposes new technical scheme.
Summary of the invention
The objective of the invention is to, the media play controlling method based on browser is provided in a kind of IPTV system.In the IPTV system, basic media play ability comprises: the broadcast of direct broadcast band, the broadcast of time shift channel, the broadcast of channel recorded broadcast content, the broadcast of video on demand content, the broadcast of pure audio content.
Core concept of the present invention is: provide the basic capacity of media play by set-top box, and directly do not realize the business function of media play.Realize these business functions by the page in the Web server, set-top box is obtained the corresponding page by embedded browser, and carries out the service logic of media play on the page.
The present invention is by set-top box, the web server, and this several sections of streaming media server is formed.Comprise embedded media player, embedded browser in the set-top box.Embedded media player possesses the ability of access stream media server, the ability that possesses decoding and play.Embedded browser possesses the ability of resolving and representing the Web page, possesses the ability of carrying out the Javascript script.
In embedded browser,, integrated with embedded media player by object and the method for expansion Javascript.Ability with the embedded media player has been opened to by Javascript on the one hand.The page in the browser media play ability that can call embedded player by object and the method for JavaScript like this.On the other hand, when embedded player in playing process, the variation of state takes place or when making a mistake, the virtual key incident of dishing out is given embedded browser, forms complete message feedback mechanism.Can handle the variation of broadcast state by realizing the button processing logic in the page of browser like this.For the multiple medium in the IPTV system, abstractly be described for following information.
Parameter Note
mediaCode The unique identification of medium in entire I PTV system
mediaType The Class1 of medium: TYPE_CHANNEL, live and time shift channel 2:TYPE_VOD, on-demand media content 3:TYPE_TVOD, channel recorded broadcast media content 4:TYPE_MUSIC, pure audio media content
audioType The audio coding type
videoType The video coding type
streamType Stream type
drmType The DRM type
fingerPrint Whether support the watermark protection
copyProtecti on The anti-copy type
allowTrickmo de Represent whether these medium allow any trick mode operation (comprising skip forward/back/time-out)
startTime The zero-time of presentation medium
endTime The concluding time of presentation medium
entryID When medium add playlist, the unique identification in media list
Wherein, mediaCode is the unique identifications of medium in entire I PTV system, and embedded media player is located medium by this sign on streaming media server.MediaType describes medium type, and embedded media player determines the mode of playing according to medium type.
The descriptor of medium can be encapsulated as the Javascript object, the character wound of XML form, or the character string of JSON (JavascriptObject Notation) form.
In embedded browser, expand a JavaScript object MediaPlayer.This object encapsulation calling the media play ability of embedded player.
1.MediaPlayer object has following method, controls the broadcast of the medium of embedded player
SetMedia (media) method is specified medium and the metamessage thereof that needs broadcast for embedded media player.Parameter is the media description information of encapsulation.
PlayFromStart () begins to play from the medium starting point.For channel, enter live state and play.
(type timestamp), begins playing media from certain time point of current media to playByTime.
Pause () suspends in progress medium.
FastForward (), the in progress medium of F.F..
FastRewind (), the in progress medium of F.F..
Resume (), from the time-out/skip forward/back recovering state of media play to normal play.
GotoEnd () jumps to end of medium and plays.For the time channel under the shifting state, return to live state and play.
GotoStart () jumps to the medium initiating terminal and plays
Stop () stops in progress medium.And the related resource of the local player of machine for releasing top box.
RefreshVideoDisplay () is according to the video display modes and the video area that are provided with, the demonstration of refreshing video.
SwitchAudioChannel () switches sound channel
SwitchAudioTrack () switches track
SwitchSubtitle () switches captions
2.MediaPlayer object has following attribute, disposes the play mode of embedded browser
setVideoDisplayMode(videoDisplayMode)
GetVideoDisplayMode () disposes and reads, the display mode of video.Be supported in the appointed area and show, full screen display is pressed width and is shown, by highly showing
setVideoDisplayArea(left,top,width,height)
getVideoDisplayLeft()
getVideoDisplayTop()
getVideoDisplayWidth()
GetVideoDisplayHeight () is provided with and reads, the viewing area of video.Support is a datum mark with the browser window upper left corner, the position of designated viewing area and size.
setMuteFlag(muteFlag)
GetMuteFlag () is provided with and reads the silence switch of media play
setNativeUIFlag(nativeUIFlag)
GetNativeUIFlag () is provided with and reads, and whether uses the switch of local user interface during media play
setSubtitileFlag(subtitileFlag)
GetSubtitileFlag () is provided with and reads, the switch that captions show
setVideoAlpha(videoAlpha)
GetVideoAlpha () is provided with and reads the transparency that video shows.
setAllowTrickmodeFlag(allowTrickmodeFlag)
Whether getAllowTrickmodeFlag () is provided with and reads, allow during media play to suspend F.F., the switch of fast reverse operation.
3. the ability that embedded player possesses playlist control and plays.The MeidaPlayer object is provided with the playlist of embedded media player by the following method.
setPlaylistCycleFlag(playlistCycleFlag)
GetPlaylistCycleFlag () is provided with and reads, and whether playlist carries out the switch of loop play.
setPlaylistSeqFlag(PlaylistSeqFlag)
GetPlaylistSeqFlag () is provided with and reads, and playlist carries out the switch that loop play still is a shuffle.
setPlaylistAutoDetFlag(playlistAutoDelFlag)
GetPlaylistAutoDetFlag () is provided with and reads, whether playlist is deleted its after certain media play is intact from tabulation switch
(index mediaStr) at the assigned address of playlist, adds single medium to addSingleMedia.
AddBatchMedia (batchMediaStr) adds medium in batches at the playlist end.
RemoveMediaByEntryID (entryID) is from playlist, and according to the unique identification of medium in playlist, medium are specified in deletion
RemoveMediaByIndex (index) deletes the medium of assigned address from playlist
ClearAllMedia () empties playlist
(entryID toIndex) according to the unique identification of medium in playlist, moves to assigned address in the playlist with the medium of appointment to moveMediaByIndex.
MoveMediaByOffset (entryID, offset) according to the unique identification of medium in playlist, that the medium of appointment are mobile in playlist by side-play amount.(index toIndex) moves the medium of appointment according to index moveMediaByIndex1 in playlist
(index offset) moves in playlist according to the medium of side-play amount with appointment moveMediaByOffsetl
MoveMediaToNext (entryID) is according to the unique identification of medium in playlist, and the medium of appointment are moved down in playlist
MoveMediaToPrevious (entryID) is according to the unique identification of medium in playlist, moves on the medium of appointment are in playlist
MoveMediaToFirst (entryID) is according to the unique identification of medium in playlist, and the medium of appointment are moved on to the tabulation top
MoveMediaToLast (entryID) is according to the unique identification of medium in playlist, and it is terminal that the medium of appointment are moved on to tabulation
MoveMediaToNextl (index) is according to the Index of medium in playlist, and the medium of appointment are moved down.
MoveMediaToPreviousl (index) moves on the medium with appointment according to the Index of medium in playlist
MoveMediaToFirstl (index) is according to the Index of medium in playlist, and the medium of appointment are moved on to the tabulation top
MoveMediaToLast1 (index) is according to the Index of medium in playlist, and it is terminal that the medium of appointment are moved on to tabulation
SelectMediaByIndex (index) chooses and is appointed as current candidate's playing media according to the Index of medium in playlist
SelectMediaByOffset (offset) is by choosing medium with the side-play amount of current media index, as current candidate's playing media
SelectNext () chooses the next medium in the playlist, as current candidate's playing media
SelectPrevious () chooses the last medium in the playlist, as current candidate's playing media
SelectFirst () chooses first medium in the playlist, as current candidate's playing media
SelectLast () chooses last medium in the playlist, as current candidate's playing media
SelectMediaByEntryID (entryID) is according to the unique identification of medium in playlist, and choosing and specifying medium is current candidate's playing media
4.MediaPlayer object has the ability of a plurality of embedded media players of control
Allow to exist a plurality of embedded media players on the set-top box.Each embedded media player has unique identifier NativePlayerInstanceID.And can be by the embedded player binding of this identifier and appointment.After binding, the attribute changes of MediaPlayer and method call all are at this embedded player of operation, come into force on this embedded player.After the initialization of MediaPlayer object, default binds with an embedded media player.
The getNativePlayerInstanceId () method of MediaPlayer, the NativePlayerInstanceID that obtains the embedded player of binding identifies
The bindNativePlayerInstance of MediaPlayer (nativePlayerInstanceID) method is bound the embedded player of MediaPlayer object and appointment by NativePlayerInstanceID.When embedded player in playing process, the variation of state takes place or when making a mistake, the virtual key incident of dishing out following is given embedded browser.
EVENT_MEDIA_END triggers when the media play in the embedded media player arrives end.Incident comprises following details:
Attribute-name Note
Type Value for this incident Type is: " EVENT_MEDIA_END "
instance_id The player example ID of set-top box this locality
media_code Be played to the unified sign of terminal medium
entry_id Be played to terminal medium, the unique identification in playlist
EVENT_MEDIA_BEGINNING is when the media play in the embedded media player triggers during to initiating terminal.Incident comprises following details:
Attribute-name Note
type Value for this incident Type is: " EVENT_MEDIA_BEGINING "
instance_id The player example ID of set-top box this locality
media_code Be played to the unified sign of the medium of initiating terminal
entry_id Be played to the medium of initiating terminal, the unique identification in playlist
EVENT_MEDIA_ERROR when embedded media player, takes place to trigger when unusual.Incident comprises following details:
Attribute-name Note
type Value for this incident Type is: " EVENT_MEDIA_ERROR "
instance_id The player example ID of set-top box this locality
error_code Error code
error_message The mistake details
EVENT_PLAYMODE_CHANGE triggers when embedded media renderer plays pattern changes.Incident comprises following details:
Attribute-name Note
Type Value for this incident Type is: " EVENT_PLAYMODE_CHANGE "
Instance_id The player example ID of set-top box this locality
New_play_mode Broadcast state after play mode changes.
New_play_rate When play mode is TRICK_MODE, provide the information of playback rate
Old_play_mode Broadcast state before play mode changes.
Old_play_rate When play mode is TRICK_MODE, provide the information of playback rate
The definition of broadcast state (PLAY_MODE)
The broadcast state value PLAY MODE Note
0 Stop Halted state
1 PAUSE Halted state
2 NORMAL_PLAY The normal play state
3 TRICK_MODE Outside the normal play, with the F.F. of appointment playback rate, rewind down, slow-motion is moved back slowly
The definition of playback rate (PLAY_RATE)
Represent the speed play with numerical value.Wherein integer representation forward play, the negative number representation reverse-play.Example is as follows:
The playback rate value Note
1 1 times of fast normal play
2 2 times of fast F.F.s
4 4 times of fast F.F.s
0.5 0.5 doubly speed slow-motion
-1 1 times of speed is stepped back
-2 2 times of fast rewind downs
-4 4 times of fast rewind downs
-0.5 0.5 doubly speed is moved back slowly
The present invention realizes the service logic of media play on Web server, by the corresponding page on the browser access Web server embedded in the set-top box, obtain the play service of medium.This media play controlling method based on browser helps reducing the cost and risk of business function develop and field, helps response user fast the demand of media playing service function.
Embodiment
According to above media play controlling method, realize that in the IPTV system basic step of video playback business function is as follows based on browser:
1. on Web server, realize the Play Control page, comprising the calling logic of media play function and the processing logic of key-press event.
2. in the media play function calling logic, create the example of MediaPlayer object.mp=new MediaPlayer()
3. with the example of MediaPlayer, bind with embedded media player.Mp.bindNativePlayerInstance (nativePlayerInstanceID) begins the embedded player of this appointment is controlled.
4. by the example of MediaPlayer, the play mode of built-in media player is set.Mp.setVideoDisplayMode (videoDisplayMode) or the like
5. by the example of MediaPlayer, the medium that need broadcast are set.mp.setMedia(media)。
6. call the control method for playing back of MediaPlayer example, the broadcast of beginning medium.mp.playFromStart()
7. when media playing service finishes, call the stop () method of MediaPlayer example, stop the broadcast of medium, and discharge the resource of embedded player.
8. according to the request of user to video traffic, embedded browser access Web server in the set-top box gets access to the Play Control page in the embedded browser.
9. browser by the example of MediaPlayer, is handled embedded media player according to the media play function calling logic in the page.
10. embedded media player and streaming server communication, the receiving stream media data are carried out the broadcast of medium.
11. in the media play process, user's the operation and the variation of broadcast state, the mode by key-press event passes to the Play Control page.
12. the processing logic of incident response and handle these incidents in the Play Control page is play that control page UI is provided mutual and service logic.
The above-mentioned description to embodiment is can understand and apply the invention for ease of those skilled in the art.The person skilled in the art obviously can easily make various modifications to these embodiment, and needn't pass through performing creative labour being applied in the General Principle of this explanation among other embodiment.Therefore, the invention is not restricted to the embodiment here, those skilled in the art should be within protection scope of the present invention for improvement and modification that the present invention makes according to announcement of the present invention.

Claims (13)

  1. In the IPTV system based on the controlling media play system of browser, it is characterized in that: comprise set-top box, web server, streaming media server.
  2. 2. based on the controlling media play system of browser, it is characterized in that in the IPTV as claimed in claim 1 system: this set-top box comprises embedded media player, embedded these two modules of browser:
    Embedded media player possesses the ability of access stream media server, the ability that possesses decoding and play;
    Embedded browser possesses the ability of resolving and representing the Web page, possesses the ability of carrying out the Javascript script.
  3. 3. based on the controlling media play system of browser, it is characterized in that: the embedded player in this set-top box has following IPTV media play ability: the broadcast of the broadcast of the broadcast of direct broadcast band, time shift channel, channel recorded broadcast content, the broadcast of video on demand content, the broadcast of pure audio content in the IPTV as claimed in claim 2 system.
  4. 4. in the IPTV as claimed in claim 2 system based on the controlling media play system of browser, it is characterized in that: the embedded browser in this set-top box is by object and the method for expansion Javascript, and the message feedback mechanism of virtual key, integrated with embedded media player.
  5. 5. in the IPTV as claimed in claim 4 system based on the controlling media play system of browser, it is characterized in that: the object of the browser extension Javascript that this is embedded and method, the ability of embedded media player is come out by Javascript is open, like this media play ability that can call embedded player by object and the method for JavaScript of the page in the browser.
  6. 6. in the IPTV as claimed in claim 4 system based on the controlling media play system of browser, it is characterized in that: the message feedback mechanism of this virtual key, when embedded player in playing process, the variation of generation state or when making a mistake, the virtual key incident of dishing out is given embedded browser, can handle the variation of broadcast state by realizing the button processing logic in the page of browser like this.
  7. 7. based on the controlling media play system of browser, it is characterized in that in the IPTV as claimed in claim 1 system: the multiple medium in the IPTV system abstractly are described for following information:
    Parameter Note mediaCode The unique identification of medium in entire I PTV system mediaType The Class1 of medium: TYPE_CHANNEL, live and time shift channel 2:TYPE_VOD, on-demand media content 3:TYPE_TVOD, channel recorded broadcast media content 4:TYPE_MUSIC, pure audio media content audioType The audio coding type videoType The video coding type streamType Stream type
    drmType The DRM type fingerPrint Whether support the watermark protection copyProtecti on The anti-copy type allowTrickmo de Represent whether these medium allow any trick mode operation (comprising skip forward/back/time-out) startTime The zero-time of presentation medium endTime The concluding time of presentation medium entryID When medium add playlist, the unique identification in media list
    Wherein, mediaCode is the unique identifications of medium in entire I PTV system, and embedded media player is located medium by this sign on streaming media server; MediaType describes medium type, and embedded media player determines the mode of playing according to medium type;
    The descriptor of medium can be encapsulated as the Javascript object, the character wound of XML form, or JSON, the i.e. character string of JavascriptObject Notation form.
  8. 8. in the IPTV as claimed in claim 5 system based on the controlling media play system of browser, it is characterized in that: the object of the browser extension Javascript that this is embedded, expand a JavaScript object MediaPlayer, this object encapsulation to the calling of the media play ability of embedded player, comprise that following ability calls:
    The media play behavior of control embedded player;
    Dispose the play mode of embedded browser;
    The playlist of embedded media player is set;
    The binding and control different embedded media players.
  9. 9. based on the controlling media play system of browser, it is characterized in that: this MediaPlayer object has following method, controls the media play behavior of embedded player in the IPTV as claimed in claim 8 system:
    SetMedia (media) specifies medium and the metamessage thereof that needs broadcast for embedded media player.Parameter is the media description information of encapsulation;
    PlayFromStart () begins to play from the medium starting point.For channel, enter live state and play;
    (type timestamp), begins playing media from certain time point of current media to playByTime;
    Pause () suspends in progress medium;
    FastForward (), the in progress medium of F.F.;
    FastRewind (), the in progress medium of F.F.;
    Resume (), from the time-out/skip forward/back recovering state of media play to normal play;
    GotoEnd () jumps to end of medium and plays.For the time channel under the shifting state, return to live state and play;
    GotoStart () jumps to the medium initiating terminal and plays;
    Stop () stops in progress medium, and the related resource of the local player of machine for releasing top box;
    RefreshVideoDisplay () is according to the video display modes and the video area that are provided with, the demonstration of refreshing video;
    SwitchAudioChannel () switches sound channel;
    SwitchAudioTrack () switches track;
    SwitchSubtitle () switches captions.
  10. 10. based on the controlling media play system of browser, it is characterized in that: this MediaPlayer object has following attribute, disposes the play mode of embedded browser in the IPTV as claimed in claim 8 system:
    setVideoDisplayMode(videoDisplayMode)
    GetVideoDisplayMode () disposes and reads, the display mode of video; Be supported in the appointed area and show, full screen display is pressed width and is shown, by highly showing;
    setVideoDisplayArea(left,top,width,height)
    getVideoDisplayLeft()
    getVideoDisplayTop()
    getVideoDisplayWidth()
    GetVideoDisplayHeight () is provided with and reads, the viewing area of video; Support is a datum mark with the browser window upper left corner, the position of designated viewing area and size;
    setMuteFlag(muteFlag)
    GetMuteFlag () is provided with and reads the silence switch of media play;
    setNativeUIFlag(nativeUIFlag)
    GetNativeUIFlag () is provided with and reads, and whether uses the switch of local user interface during media play;
    setSubtitileFlag(subtitileFlag)
    GetSubtitileFlag () is provided with and reads, the switch that captions show;
    setVideoAlpha(videoAlpha)
    GetVideoAlpha () is provided with and reads the transparency that video shows;
    setAllowTrickmodeFlag(allowTrickmodeFlag)
    Whether getAllowTrickmodeFlag () is provided with and reads, allow during media play to suspend F.F., the switch of fast reverse operation.
  11. 11. based on the controlling media play system of browser, it is characterized in that in the IPTV as claimed in claim 8 system:
    The MeidaPlayer object is provided with the playlist of embedded media player by the following method:
    setPlaylistCycleFlag(playlistCycleFlag)
    GetPlaylistCycleFlag () is provided with and reads, and whether playlist carries out the switch of loop play;
    setPlaylistSeqFlag(PlaylistSeqFlag)
    GetPlaylistSeqFlag () is provided with and reads, and playlist carries out the switch that loop play still is a shuffle;
    setPlaylistAutoDetFlag(playlistAutoDelFlag)
    GetPlaylistAutoDetFlag () is provided with and reads, whether playlist is deleted its after certain media play is intact from tabulation switch;
    (index mediaStr) at the assigned address of playlist, adds single medium to addSingleMedia;
    AddBatchMedia (batchMediaStr) adds medium in batches at the playlist end;
    RemoveMediaByEntryID (entryID) is from playlist, and according to the unique identification of medium in playlist, medium are specified in deletion;
    RemoveMediaByIndex (index) deletes the medium of assigned address from playlist;
    ClearAllMedia () empties playlist;
    (entryID toIndex) according to the unique identification of medium in playlist, moves to assigned address in the playlist with the medium of appointment to moveMediaByIndex;
    MoveMediaByOffset (entryID, offset) according to the unique identification of medium in playlist, that the medium of appointment are mobile in playlist by side-play amount;
    (index toIndex) moves the medium of appointment according to index moveMediaByIndex1 in playlist;
    (index offset) moves in playlist according to the medium of side-play amount with appointment moveMediaByOffset1;
    MoveMediaToNext (entryID) is according to the unique identification of medium in playlist, and the medium of appointment are moved down in playlist;
    MoveMediaToPrevious (entryID) is according to the unique identification of medium in playlist, moves on the medium of appointment are in playlist;
    MoveMediaToFirst (entryID) is according to the unique identification of medium in playlist, and the medium of appointment are moved on to the tabulation top;
    MoveMediaToLast (entryID) is according to the unique identification of medium in playlist, and it is terminal that the medium of appointment are moved on to tabulation;
    MoveMediaToNext1 (index) is according to the Index of medium in playlist, and the medium of appointment are moved down;
    MoveMediaToPrevious1 (index) moves on the medium with appointment according to the Index of medium in playlist;
    MoveMediaToFirst1 (index) is according to the Index of medium in playlist, and the medium of appointment are moved on to the tabulation top;
    MoveMediaToLast1 (index) is according to the Index of medium in playlist, and it is terminal that the medium of appointment are moved on to tabulation;
    SelectMediaByIndex (index) chooses and is appointed as current candidate's playing media according to the Index of medium in playlist;
    SelectMediaByOffset (offset) is by choosing medium with the side-play amount of current media index, as current candidate's playing media;
    SelectNext () chooses the next medium in the playlist, as current candidate's playing media;
    SelectPrevious () chooses the last medium in the playlist, as current candidate's playing media;
    SelectFirst () chooses first medium in the playlist, as current candidate's playing media;
    SelectLast () chooses last medium in the playlist, as current candidate's playing media;
    SelectMediaByEntryID (entryID) is according to the unique identification of medium in playlist, and choosing and specifying medium is current candidate's playing media.
  12. 12. based on the controlling media play system of browser, it is characterized in that in the IPTV as claimed in claim 8 system: this MediaPlayer object, following method is arranged, bind and control different embedded media players;
    GetNativePlayerInstanceId (), the NativePlayerInstanceID that obtains the embedded player of binding identifies;
    BindNativePlayerInstance (nativePlayerInstanceID) binds the embedded player of MediaPlayer object and appointment by NativePlayerInstanceID.
    Allow to exist a plurality of embedded media players on the set-top box, each embedded media player has unique identifier NativePlayerInstanceID, and can be by the embedded player binding of this identifier and appointment; After binding, the attribute changes of MediaPlayer and method call all are at this embedded player of operation, come into force on this embedded player.
  13. 13. in the IPTV as claimed in claim 6 system based on the controlling media play system of browser, it is characterized in that: the virtual key incident that this is dished out, when embedded player in playing process, the variation of generation state or when making a mistake, the virtual key incident of dishing out following is given embedded browser, carries the details of incident simultaneously;
    EVENT_MEDIA_END triggers when the media play in the embedded media player arrives end; Incident comprises following details:
    Attribute-name Note Type Value for this incident Type is: " EVENT_MEDIA_END " instance_id The player example ID of set-top box this locality media_code Be played to the unified sign of terminal medium entry_id Be played to terminal medium, the unique identification in playlist
    EVENT_MEDIA_BEGINNING is when the media play in the embedded media player triggers during to initiating terminal; Incident comprises following details:
    Attribute-name Note type Value for this incident Type is: " EVENT_MEDIA_BEGINING " instance_id The player example ID of set-top box this locality media_code Be played to the unified sign of the medium of initiating terminal entry_id Be played to the medium of initiating terminal, the unique identification in playlist
    EVENT_MEDIA_ERROR when embedded media player, takes place to trigger when unusual; Incident comprises following details:
    Attribute-name Note type Value for this incident Type is: " EVENT_MEDIA_ERROR " instance_id The player example ID of set-top box this locality error_code Error code error_message The mistake details
    EVENT_PLAYMODE_CHANGE triggers when embedded media renderer plays pattern changes; Incident comprises following details:
    Attribute-name Note Type Value for this incident Type is: " EVENT_PLAYMODE_CHANGE " Instance_id The player example ID of set-top box this locality New_play_mode Broadcast state after play mode changes. New_play_rate When play mode is TRICK_MODE, provide the information of playback rate Old_play_mode Broadcast state before play mode changes. Old_play_rate When play mode is TRICK_MODE, provide the information of playback rate
    The describing mode of broadcast state (PLAY_MODE) is as follows:
    The broadcast state value PLAY MODE Note 0 Stop Halted state 1 PAUSE Halted state 2 NORMAL_PLAY The normal play state 3 TRICK_MODE Outside the normal play, with the F.F. of appointment playback rate, rewind down, slow-motion is moved back slowly
    The describing mode of playback rate (PLAY_RATE) is as follows:
    The playback rate value Note 1 1 times of fast normal play 2 2 times of fast F.F.s 4 4 times of fast F.F.s 0.5 0.5 doubly speed slow-motion -1 1 times of speed is stepped back -2 2 times of fast rewind downs -4 4 times of fast rewind downs -0.5 0.5 doubly speed is moved back slowly
    Represent the speed play with numerical value; Wherein integer representation forward play, the negative number representation reverse-play.
CN2008100422258A 2008-08-29 2008-08-29 Media playing control method based on browser on IPTV system Active CN101478669B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100422258A CN101478669B (en) 2008-08-29 2008-08-29 Media playing control method based on browser on IPTV system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100422258A CN101478669B (en) 2008-08-29 2008-08-29 Media playing control method based on browser on IPTV system

Publications (2)

Publication Number Publication Date
CN101478669A true CN101478669A (en) 2009-07-08
CN101478669B CN101478669B (en) 2012-06-27

Family

ID=40839292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100422258A Active CN101478669B (en) 2008-08-29 2008-08-29 Media playing control method based on browser on IPTV system

Country Status (1)

Country Link
CN (1) CN101478669B (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011029288A1 (en) * 2009-09-11 2011-03-17 深圳市同洲电子股份有限公司 Video-on-demand method and set-top-box based on bidirectional digital transmission network
CN102196305A (en) * 2010-03-10 2011-09-21 北京裕兴软件有限公司 High-definition media player for IPTV (Internet Protocol Television) system
CN102547481A (en) * 2012-02-10 2012-07-04 中国联合网络通信集团有限公司 Mobile streaming media online play list setting and content fast-switching method and system
CN102625182A (en) * 2012-03-31 2012-08-01 百视通网络电视技术发展有限责任公司 Method and system for integrating and controlling video player in Connected TV
CN102665137A (en) * 2012-04-01 2012-09-12 深圳Tcl新技术有限公司 Method for controlling media player and terminal thereof
WO2013033863A1 (en) * 2011-09-07 2013-03-14 Compuware Corporation Performance monitoring of a media player launched by a web browser
CN103021434A (en) * 2012-11-22 2013-04-03 广东欧珀移动通信有限公司 Mobile terminal and control method for playing multimedia signal
CN103379388A (en) * 2012-04-27 2013-10-30 索尼公司 Content transfer device and content transfer method, content reproduction device and content reproduction method, content distribution system
CN103491420A (en) * 2013-09-18 2014-01-01 深圳Tcl新技术有限公司 Bidirectional video-on-demand method and digital television all-in-one machine
CN104298502A (en) * 2014-09-18 2015-01-21 上海二三四五网络科技有限公司 Method and device for muting browser
CN104581388A (en) * 2014-12-31 2015-04-29 网宿科技股份有限公司 Playing state processing method, device and system
CN104967877A (en) * 2014-10-31 2015-10-07 腾讯科技(北京)有限公司 Method and apparatus for obtaining abnormal information generated when video is played
CN105611379A (en) * 2016-03-31 2016-05-25 北京金山安全软件有限公司 Method and device for playing video by using web browser and electronic equipment
CN105744348A (en) * 2016-03-31 2016-07-06 北京金山安全软件有限公司 Method and device for playing video by using web browser and electronic equipment
CN106612466A (en) * 2015-10-27 2017-05-03 北京国双科技有限公司 Data acquisition method and device
CN107580253A (en) * 2017-09-08 2018-01-12 青岛海信宽带多媒体技术有限公司 One kind reports an error page processing method and device
CN107743266A (en) * 2017-10-10 2018-02-27 武汉斗鱼网络科技有限公司 Flash efficiently renders the means of communication, storage medium, equipment and system with the JS pages
CN108882041A (en) * 2018-07-09 2018-11-23 青岛海信电器股份有限公司 Player status acquisition methods and device
CN111212331A (en) * 2020-01-13 2020-05-29 烽火通信科技股份有限公司 Scheduling method and system of IPTV player
CN112449228A (en) * 2019-08-30 2021-03-05 青岛海信宽带多媒体技术有限公司 Method and equipment for synchronizing states of player and page
CN112995134A (en) * 2021-02-03 2021-06-18 中南大学 Three-dimensional video streaming media transmission method and visualization method
CN113891113A (en) * 2021-09-29 2022-01-04 阿里巴巴(中国)有限公司 Video clip synthesis method and electronic equipment
CN115086728A (en) * 2022-03-11 2022-09-20 上海帕科信息科技有限公司 Method for realizing video playing based on browser kernel extension
WO2024041672A1 (en) * 2022-08-22 2024-02-29 烽火通信科技股份有限公司 Iptv service-based vr panoramic video playback method and system

Cited By (41)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011029288A1 (en) * 2009-09-11 2011-03-17 深圳市同洲电子股份有限公司 Video-on-demand method and set-top-box based on bidirectional digital transmission network
CN102196305A (en) * 2010-03-10 2011-09-21 北京裕兴软件有限公司 High-definition media player for IPTV (Internet Protocol Television) system
US9112825B2 (en) 2011-09-07 2015-08-18 Dynatrace Llc Performance monitoring of a media player launched by a web browser
WO2013033863A1 (en) * 2011-09-07 2013-03-14 Compuware Corporation Performance monitoring of a media player launched by a web browser
CN102547481B (en) * 2012-02-10 2014-08-20 中国联合网络通信集团有限公司 Mobile streaming media online play list setting and content fast-switching method and system
CN102547481A (en) * 2012-02-10 2012-07-04 中国联合网络通信集团有限公司 Mobile streaming media online play list setting and content fast-switching method and system
CN102625182A (en) * 2012-03-31 2012-08-01 百视通网络电视技术发展有限责任公司 Method and system for integrating and controlling video player in Connected TV
CN102665137A (en) * 2012-04-01 2012-09-12 深圳Tcl新技术有限公司 Method for controlling media player and terminal thereof
CN102665137B (en) * 2012-04-01 2016-12-14 深圳Tcl新技术有限公司 Control method and the terminal of media player
CN103379388A (en) * 2012-04-27 2013-10-30 索尼公司 Content transfer device and content transfer method, content reproduction device and content reproduction method, content distribution system
US11044532B2 (en) 2012-04-27 2021-06-22 Saturn Licensing Llc Content transfer device and content transfer method, content reproduction device and content reproduction method, content distribution system and computer program
CN109981560A (en) * 2012-04-27 2019-07-05 索尼公司 Television receiver and device
CN109981560B (en) * 2012-04-27 2022-08-23 索尼公司 Television receiver and apparatus
CN103021434A (en) * 2012-11-22 2013-04-03 广东欧珀移动通信有限公司 Mobile terminal and control method for playing multimedia signal
CN103491420B (en) * 2013-09-18 2017-05-10 深圳Tcl新技术有限公司 Bidirectional video-on-demand method and digital television all-in-one machine
CN103491420A (en) * 2013-09-18 2014-01-01 深圳Tcl新技术有限公司 Bidirectional video-on-demand method and digital television all-in-one machine
CN104298502B (en) * 2014-09-18 2017-09-05 上海二三四五网络科技有限公司 browser mute method and device
CN104298502A (en) * 2014-09-18 2015-01-21 上海二三四五网络科技有限公司 Method and device for muting browser
CN104967877A (en) * 2014-10-31 2015-10-07 腾讯科技(北京)有限公司 Method and apparatus for obtaining abnormal information generated when video is played
CN104581388A (en) * 2014-12-31 2015-04-29 网宿科技股份有限公司 Playing state processing method, device and system
CN104581388B (en) * 2014-12-31 2019-01-04 网宿科技股份有限公司 The processing method of broadcast state, apparatus and system
CN106612466A (en) * 2015-10-27 2017-05-03 北京国双科技有限公司 Data acquisition method and device
CN106612466B (en) * 2015-10-27 2019-07-09 北京国双科技有限公司 Collecting method and device
CN105611379A (en) * 2016-03-31 2016-05-25 北京金山安全软件有限公司 Method and device for playing video by using web browser and electronic equipment
CN105744348A (en) * 2016-03-31 2016-07-06 北京金山安全软件有限公司 Method and device for playing video by using web browser and electronic equipment
CN105611379B (en) * 2016-03-31 2019-03-26 北京金山安全软件有限公司 Method and device for playing video by using web browser and electronic equipment
CN107580253A (en) * 2017-09-08 2018-01-12 青岛海信宽带多媒体技术有限公司 One kind reports an error page processing method and device
CN107580253B (en) * 2017-09-08 2020-10-23 青岛海信宽带多媒体技术有限公司 Error-reporting page processing method and device, set top box and storage medium
CN107743266B (en) * 2017-10-10 2020-01-03 武汉斗鱼网络科技有限公司 Flash and JS page efficient rendering communication method, storage medium, device and system
CN107743266A (en) * 2017-10-10 2018-02-27 武汉斗鱼网络科技有限公司 Flash efficiently renders the means of communication, storage medium, equipment and system with the JS pages
CN108882041B (en) * 2018-07-09 2021-03-05 海信视像科技股份有限公司 Player state acquisition method and device
CN108882041A (en) * 2018-07-09 2018-11-23 青岛海信电器股份有限公司 Player status acquisition methods and device
CN112449228A (en) * 2019-08-30 2021-03-05 青岛海信宽带多媒体技术有限公司 Method and equipment for synchronizing states of player and page
CN112449228B (en) * 2019-08-30 2024-05-31 青岛海信宽带多媒体技术有限公司 Method and equipment for synchronizing states of player and page
CN111212331B (en) * 2020-01-13 2021-10-15 烽火通信科技股份有限公司 Scheduling method and system of IPTV player
CN111212331A (en) * 2020-01-13 2020-05-29 烽火通信科技股份有限公司 Scheduling method and system of IPTV player
CN112995134A (en) * 2021-02-03 2021-06-18 中南大学 Three-dimensional video streaming media transmission method and visualization method
CN113891113A (en) * 2021-09-29 2022-01-04 阿里巴巴(中国)有限公司 Video clip synthesis method and electronic equipment
CN113891113B (en) * 2021-09-29 2024-03-12 阿里巴巴(中国)有限公司 Video clip synthesis method and electronic equipment
CN115086728A (en) * 2022-03-11 2022-09-20 上海帕科信息科技有限公司 Method for realizing video playing based on browser kernel extension
WO2024041672A1 (en) * 2022-08-22 2024-02-29 烽火通信科技股份有限公司 Iptv service-based vr panoramic video playback method and system

Also Published As

Publication number Publication date
CN101478669B (en) 2012-06-27

Similar Documents

Publication Publication Date Title
CN101478669B (en) Media playing control method based on browser on IPTV system
CN100407328C (en) Multimedia visual progress indication system
JP6490635B2 (en) Information processing apparatus, information processing method, and program
CN100383890C (en) Multimedia program bookmarking system
JP4890459B2 (en) A system for enabling video-based interactive applications
CN101127884B (en) Program switching method
JP5099879B2 (en) Interactive television system with automatic switching from broadcast media to streaming media
CN101635828B (en) Set-top box device, system and method for realizing IPTV channel recording and broadcasting
US20040261136A1 (en) Multi-media receiving device and multi-media receiving system
CN102149008A (en) Method and system for real-time switch of data content among multiple terminals
CN101707876A (en) Systems and methods for mirroring and transcoding media content
CN101194505A (en) Systems and methods for video-rich navigation
CN103282962A (en) Sequencing content
CN101431651A (en) IPTV advertisement system based on virtual channel and its implementing method
CN101365124A (en) Method, system and set-top box for network television video play control
CN102802052A (en) Video on demand program method and device
JP7290260B1 (en) Servers, terminals and computer programs
WO2011023031A1 (en) Method and device for inplementing program recording and playing and set-top box
CN104219544B (en) The dynamic dispatching method and system of IPTV service resource
CN103796048A (en) IPTV advertisement putting method and system
JP4491902B2 (en) Interactive system with media contents using sliding graphic windows
CN101882088A (en) Method and system for simulating set top box (STB) and implementation method thereof
JP2005018925A (en) Recording and reproducing device, and recording and reproducing method
KR101856852B1 (en) Method and Apparatus for playing YouTube Channel in Channel-based Content Providing System
CN109982135A (en) Channel switching method, device, terminal and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant