CN102156713A - Multimedia playing method based on embedded equipment - Google Patents

Multimedia playing method based on embedded equipment Download PDF

Info

Publication number
CN102156713A
CN102156713A CN 201110059559 CN201110059559A CN102156713A CN 102156713 A CN102156713 A CN 102156713A CN 201110059559 CN201110059559 CN 201110059559 CN 201110059559 A CN201110059559 A CN 201110059559A CN 102156713 A CN102156713 A CN 102156713A
Authority
CN
China
Prior art keywords
play
playlist
format
node
media article
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
CN 201110059559
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.)
SHANGHAI DIGIVISION TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI DIGIVISION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANGHAI DIGIVISION TECHNOLOGY Co Ltd filed Critical SHANGHAI DIGIVISION TECHNOLOGY Co Ltd
Priority to CN 201110059559 priority Critical patent/CN102156713A/en
Publication of CN102156713A publication Critical patent/CN102156713A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a multimedia playing method based on embedded equipment. The method comprises the following steps: loading a play format and a play list into a browser of embedded equipment, wherein the play format is a static webpage which is customized in advance according to a certain typesetting effect, and the play list defines the play time, resource content and play attribute of the multimedia resource; selecting a node in the multimedia resource to play by utilizing the play list according to the play node position corresponding to current time; determining whether the current node is completely played or not; selecting and playing the next node if the current node is completely played; and configuring the layout of the multimedia resource in the browser according to the play format.

Description

Multi-medium play method based on embedded device
Technical field
The present invention relates to multimedia, especially relate to a kind of multi-medium play method based on embedded device at the multimedia messages distribution apparatus.
Background technology
Current, both pictures and texts are excellent, the multimedia messages of sound picture unification has become modern society's strong information communication media.The multimedia messages distribution apparatus is usually operated at the abominable public arena of environment, and needs long-time steady operation as the carrier of information issue.Present existing multimedia messages distribution technology adopts the PC browser of standard mostly, and the mode of visiting Web service by IP network realizes.This implementation often needs higher hardware configuration, and needs real-time and server exchange data, can't satisfy requirements such as low-power consumption, stable operation.
Summary of the invention
Technical matters to be solved by this invention provides a kind of multi-medium play method based on embedded device.
The present invention is that to solve the problems of the technologies described above the technical scheme that adopts be to propose a kind of multi-medium play method based on embedded device, may further comprise the steps:
Load a broadcast format and a playlist in the browser of embedded device, this broadcast format is the static Web page that customizes in advance according to certain composing effect, and this playlist defines reproduction time, the resource content of this media article and plays attribute;
Utilize this playlist,, select the node in the media article to play according to the broadcast nodes position of current time correspondence;
Judge whether present node finishes;
If present node finishes, select next node to play; And
Play the layout of media article in this browser that the format configuration is play according to this.
In one embodiment of this invention, whether said method: monitoring a server end has the format of replacing message if also comprising; If listen to this replacing format message, then receive and play format, playlist and media article local hard drive to embedded device from a server end, wherein the download of the download of this media article and this broadcast format and playlist is separate.
In one embodiment of this invention, said method also comprises: monitor a server end and whether intercut message; Intercut message if listen to this, then receive from a server end and play format, playlist and the media article local hard drive to embedded device, wherein the download of the download of this media article and this broadcast format and playlist is separate.
In one embodiment of this invention, said method also comprises: when this broadcast format, playlist and media article download finish, the playlist that loading is intercutted, and when the time of intercutting arrives, the playlist that utilization is intercutted, according to current time corresponding inserting node location, select the node in the media article to intercut; Judging whether present node intercuts finishes; If present node intercuts and finishes, judge to intercut and whether finish; Do not finish if intercut, then select next to intercut node and intercut; If break ends then loads original playlist and plays.
In one embodiment of this invention, described media article comprises following to small part: picture, literal, music and video.
In one embodiment of this invention, this embedded device is a set-top box.
The present invention is based on embedded device develops, adopt the built-in browser technology, play by the Page template that loads customization, the mixing that playlist carries out picture, literal, video, sound, can intercut, replay, controls such as format replacing matchmaker's money by privately owned script definition simultaneously.Compare traditional real time playing method, size of code of the present invention is little, can satisfy demands such as low-power consumption, long-time steady operation.
Description of drawings
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, below in conjunction with accompanying drawing the specific embodiment of the present invention is elaborated, wherein:
Fig. 1 illustrates exemplary enforcement environment of the present invention.
Fig. 2 illustrates the terminal system Organization Chart of one embodiment of the invention.
Fig. 3 illustrates the format synoptic diagram of one embodiment of the invention.
Fig. 4 illustrates the playing flow figure of one embodiment of the invention.
Fig. 5 illustrates the format of one embodiment of the invention and changes process flow diagram.
Fig. 6 illustrates the tabulation of one embodiment of the invention and intercuts process flow diagram.
Embodiment
Fig. 1 illustrates exemplary enforcement environment of the present invention.With reference to shown in Figure 1, implement to comprise a plurality of servers in the environment, for example database server 110, web application server 120, Download Server 130, background server 140 and interface server 150, these servers are managed by cluster management server 100.In an embodiment of the present invention, each server can by separately independently computing machine or computer set make up, also can be structured in a computing machine or the computer set.Cluster management server 100 is connected to network 200.This network 200 can be a proprietary network, or publicly-owned internet.Each geographical place that disperses of going up, for example office block, sub-district, supermarket, bank, subway, airport, places such as business hall dispose the network equipment to be connected to network 200.In these places, be furnished with the multimedia messages distribution apparatus.In the present embodiment, the multimedia messages distribution apparatus uses set-top box 300 as playback equipment, and can arrange in pairs or groups such as video or audio output apparatus 400 such as display screen 402, touch-screen 404, audio output apparatus 406.
Fig. 2 illustrates the terminal system Organization Chart of one embodiment of the invention.With reference to shown in Figure 2, set-top box 300 is embedded devices, and it comprises processor 302, internal memory 304, audio/video decoding unit 306, hard disk 308, communication unit 310 and nonvolatile memory 312.Processor 302 can be written into from nonvolatile memory 312 and executive routine, for example schemes system program and browser 322, playing program 324 and the watchdog routine 326 for realizing that broadcast is required do not shown.When carrying out multimedia, playing program obtains multimedia documents such as audio frequency, video from hard disk 308, and transfers to audio/video decoding unit 306 and decode, and flows to such as external units such as displays through communication unit 310 then and plays.
In the present embodiment, set-top box 300 adopts the built-in browser technology, carries out the mixing of medium such as picture, literal, video, sound by the Page template that loads customization and plays.And, set-top box 300 can by the definition of privately owned script to media article intercut, controls such as replay, format replacing.The advantage of this scheme is that size of code is little, can satisfy demands such as low-power consumption, long-time steady operation.
At this, playing program 324 and watchdog routine 326 all can embed in the browser 322 and carry out.
Web page template comprises plays format, media article and playlist three part elements.Playing format is the static Web page that is customized in advance by server end according to certain composing effect.Playlist is the XML listing file corresponding to various media articles.Media article can be forms such as picture, literal, video, sound.This three parts element comprises plays required resource and control information, and its specific descriptions will be launched later.Obtaining of three part elements is separate, and especially, the media article that expends bandwidth can independently obtain, and relies on playlist to carry out Play Control, and this makes the broadcast of set-top box 300 not rely on the real-time Transmission of media article.For instance, after can using the P2P Network Transmission that media articles such as picture, literal, sound, video are pushed to the hard disk 308 of set-top box 300, by resources such as watchdog routine 326 downloading and playing formats, playlists, and to playing program 324 transmission play template instructions.Playing program 324 is by browser 322 Web page loading templates, according to the layout of playing format configuration media article, and various media articles play according to playlist.
Fig. 3 illustrates an exemplary format synoptic diagram, and with reference to shown in Figure 3, this exemplary format 30 comprises literal field 31, video area 32, picture region 33a, 33b and rolling literal field 34.It will be understood by those skilled in the art that format can carry out different topological design according to concrete needs.
List the exemplary code of this format 30 below:
Figure BDA0000049883890000041
Figure BDA0000049883890000051
Figure BDA0000049883890000061
Figure BDA0000049883890000071
Media article comprises forms such as picture, literal, sound, video, by different label definitions, embeds and plays in the format.Picture format includes but not limited to JPG, GIF.Music format for example is mp3, and video format for example is ts.
Reproduction time, resource content, broadcast attribute of various media articles etc. have been defined in the playlist.Browser passes through JavaScript script loaded playlists file, and controls the initial reproduction time of various media articles by timer.
Provide the example of picture playing tabulation XML file below:
Figure BDA0000049883890000072
Figure BDA0000049883890000081
Playlist such as literal, music, video and picture playing tabulation are similar, only some attribute difference.
Hard disk 308 can preset the template of acquiescence, comprises playing format, playlist and media article etc.During system start-up, watchdog routine 326 sends the acquiescence play instruction to playing program 324.The acquiescence template that playing program 324 loads on the hard disk 308 is play.
Fig. 4 illustrates the playing flow figure of one embodiment of the invention.As shown in Figure 4, playing flow is as follows:
At step S1, playing program 224 starts browser 222, loads and plays format and playlist.These are play formats and playlist and can be that hard disk presets, and download from server end after also can be.
At step S2, browser 222 operation JavaScript scripts begin to play.
In playing process,,, select node to play according to the broadcast nodes position of the media article of current time correspondence by the XML playlist that loads.As at step S3, select present node to play.With the demonstration example of aforesaid playlist, two timing nodes are arranged, be respectively:
<asset-strategy?asset-strategy-id=″0″asset-id=″10003″asset-file-url=″../../asset/photo/1-3.jpg″play-start-time=″00:00:00″play-end-time=″02:59:59″play-order=″1″display-long=″″description=″″/>
With
<asset-strategy?asset-strategy-id=″1″asset-id=″10004″asset-file-url=″../../asset/photo/1-4.jpg″play-start-time=″03:00:00″play-end-time=″05:59:59″play-order=″2″display-long=″″description=″″/>
At step S4, browser 222 regularly detects this node by the JavaScript script and whether plays end, as finishes and then go to step S5, and the present node content of the DOM structure that will be used for playing is replaced by the next node content, begins to play next node.Finish then to return step S3 as not playing, continue to play present node.
When server end has new content to play, its transmission medium data, and format is play in transmission on demand and playlist is given set-top box 300.
Fig. 5 illustrates the format of one embodiment of the invention and changes process flow diagram.As shown in Figure 5, the main flow process of format replacing is as follows:
At step S11, the instruction of watchdog routine 224 management of monitor server ends.When at step S12, after watchdog routine 226 receives and changes format message, wait for receiving data.At step S13, the management server end issues plays format, playlist and related resource file, and watchdog routine 226 receives plays format, playlist and media article, and is saved to hard disk 208.
At step S14, after watchdog routine 226 is downloaded whole resources, send the order of replacing format to playing program 224.
At step S15, playing program 224 is restarted browser 222, broadcast format and the playlist downloaded among the load step S15.
At step S16, browser 222 operation JavaScript scripts begin to play.
In playing process,,, select node to play according to the broadcast nodes position of the media article of current time correspondence by the XML playlist that loads.As at step S17, select present node to play.With the demonstration example of aforesaid playlist, two timing nodes are arranged, be respectively:
<asset-strategy?asset-strategy-id=″0″asset-id=″10003″asset-file-url=″../../asset/photo/1-3.jpg″play-start-time=″00:00:00″play-end-time=″02:59:59″play-order=″1″display-long=″″description=″″/>
With
<asset-strategy?asset-strategy-id=″1″asset-id=″10004″asset-file-url=″../../asset/photo/1-4.jpg″play-start-time=″03:00:00″play-end-time=″05:59:59″play-order=″2″display-long=″″description=″″/>
At step S18, browser 222 regularly detects this node by the JavaScript script and whether plays end, as finish and then go to step S19, the present node content of the DOM structure that will be used for playing is replaced by the next node content, begins to play next node.Finish then to return step S17 as not playing, continue to play present node.
Fig. 6 illustrates the tabulation of one embodiment of the invention and intercuts process flow diagram.As shown in Figure 6, the main flow process intercutted of tabulation is as follows:
At step S31, watchdog routine 226 management of monitor server ends instructions, when receive in step S32 intercut message after, wait for receiving data.At step S33, server end issues format, playlist and the related media data play, and watchdog routine 226 receives plays format, playlist and related media data, and is saved in hard disk 208.
In an embodiment of the present invention, the media file that intercuts is mainly local file, influences inter cut time to prevent network transfer speeds.Certainly, the media file that intercuts can comprise just-downloaded file.
At step S34, after watchdog routine 226 is downloaded whole resources, intercut order to playing program 224 transmissions.
At step S35, playing program 224 is monitored interface by JavaScript, monitor intercut order after, by the JavaScript script, load the XML playlist that intercuts, change step S36 over to.At this, the JavaScript script is judged current whether intercutting according to the break-in list time.If intercut then change step S37 over to, obtain the present node content of corresponding current time, play.Play original playlist if do not intercut then continue, change step S42 over to.
After beginning to intercut, at step S38, whether JavaScript regularly detects present node and finishes, as finish and then change step S39 over to, JavaScript judges to intercut whether finish, if not, then enter step S40, the content of the current DOM that is used for playing is replaced with next intercut node content, change step S37 over to, begin to play next node.
Break-in list is only play once, finishes as break-in list, then changes step S41 over to, loads original playlist, continues the preceding node of plays break-in, changes original list playing flow S42, S43 over to.
The present invention is based on the built-in browser technology, media resource is kept at local hard drive after downloading, and can guarantee broadcast quality, granting the controlling and managing by the management server highly effective and safe of matchmaker's money, while can be monitored terminal, thereby has improved the efficient of information issuing service.
Though the present invention discloses as above with preferred embodiment; right its is not in order to qualification the present invention, any those skilled in the art, without departing from the spirit and scope of the present invention; when can doing a little modification and perfect, so protection scope of the present invention is when with being as the criterion that claims were defined.

Claims (6)

1. multi-medium play method based on embedded device may further comprise the steps:
Load a broadcast format and a playlist in the browser of embedded device, this broadcast format is the static Web page that customizes in advance according to certain composing effect, and this playlist defines reproduction time, the resource content of this media article and plays attribute;
Utilize this playlist,, select the node in the media article to play according to the broadcast nodes position of current time correspondence;
Judge whether present node finishes;
If present node finishes, select next node to play; And
Play the layout of media article in this browser that the format configuration is play according to this.
2. the method for claim 1 is characterized in that, also comprises:
Monitor a server end whether the format of replacing message is arranged;
If listen to this replacing format message, then receive and play format, playlist and media article local hard drive to embedded device from a server end, wherein the download of the download of this media article and this broadcast format and playlist is separate.
3. the method for claim 1 is characterized in that, also comprises:
Monitor a server end and whether intercut message;
Intercut message if listen to this, then receive from a server end and play format, playlist and the media article local hard drive to embedded device, wherein the download of the download of this media article and this broadcast format and playlist is separate.
4. method as claimed in claim 3 is characterized in that, also comprises:
When this broadcast format, playlist and media article download finish, the playlist that loading is intercutted, and when the time of intercutting arrives, utilize the playlist that intercuts, according to current time corresponding inserting node location, select the node in the media article to intercut;
Judging whether present node intercuts finishes;
If present node intercuts and finishes, judge to intercut and whether finish;
Do not finish if intercut, then select next to intercut node and intercut;
If break ends then loads original playlist and plays.
5. the method for claim 1 is characterized in that, described media article comprises following to small part: picture, literal, music and video.
6. the method for claim 1 is characterized in that, this embedded device is a set-top box.
CN 201110059559 2011-03-11 2011-03-11 Multimedia playing method based on embedded equipment Pending CN102156713A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110059559 CN102156713A (en) 2011-03-11 2011-03-11 Multimedia playing method based on embedded equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110059559 CN102156713A (en) 2011-03-11 2011-03-11 Multimedia playing method based on embedded equipment

Publications (1)

Publication Number Publication Date
CN102156713A true CN102156713A (en) 2011-08-17

Family

ID=44438212

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110059559 Pending CN102156713A (en) 2011-03-11 2011-03-11 Multimedia playing method based on embedded equipment

Country Status (1)

Country Link
CN (1) CN102156713A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497452A (en) * 2011-12-28 2012-06-13 山东大学 Online streaming media service method based on embedded terminal
CN104102645A (en) * 2013-04-07 2014-10-15 李岳龙 Browser technology based multimedia information release method and management system
CN105812851A (en) * 2016-03-21 2016-07-27 深圳市茁壮网络股份有限公司 Inter cut data play method, device and system
CN106649297A (en) * 2015-07-21 2017-05-10 腾讯科技(深圳)有限公司 Method, browser and server for playing webpage audio file

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697110A (en) * 2009-10-26 2010-04-21 孟智平 Method and system for controlling interaction of synchronous and heterogeneous display terminals
CN101707696A (en) * 2009-11-20 2010-05-12 长沙行成信息科技有限公司 Realization method and front-end service system of instant interactive digital TV

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697110A (en) * 2009-10-26 2010-04-21 孟智平 Method and system for controlling interaction of synchronous and heterogeneous display terminals
CN101707696A (en) * 2009-11-20 2010-05-12 长沙行成信息科技有限公司 Realization method and front-end service system of instant interactive digital TV

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《上海计量测试》 20070630 俞时权 家用电器网络化标准初探 , 第03期 *
《广东通信技术》 20051230 李帆等 基于B/S架构的IPTV机顶盒的GUI的设计和实现 第41-43页,第79页 , 第12期 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497452A (en) * 2011-12-28 2012-06-13 山东大学 Online streaming media service method based on embedded terminal
CN102497452B (en) * 2011-12-28 2014-07-30 山东大学 Online streaming media service method based on embedded terminal
CN104102645A (en) * 2013-04-07 2014-10-15 李岳龙 Browser technology based multimedia information release method and management system
CN104102645B (en) * 2013-04-07 2018-01-02 李岳龙 Multi-media information distribution method and management system based on browser technology
CN106649297A (en) * 2015-07-21 2017-05-10 腾讯科技(深圳)有限公司 Method, browser and server for playing webpage audio file
CN105812851A (en) * 2016-03-21 2016-07-27 深圳市茁壮网络股份有限公司 Inter cut data play method, device and system

Similar Documents

Publication Publication Date Title
CN101106498B (en) Content management method and apparatus
CN102685573B (en) Via the internet content subscription service of multiple equipment
CN102640147B (en) Systems and methods for providing media pools in a communications network
US8533754B2 (en) Embedded video player with modular ad processing
KR101560727B1 (en) Service method and system for providing multi-track video contents
CN101925888B (en) Method and apparatus for providing metadata of contents, and method and apparatus for limiting use-authortity of contents
US20130091204A1 (en) System and method of integrating various platforms and methods of using the same
US8266246B1 (en) Distributed playback session customization file management
CN102196008A (en) Peer-to-peer downloading method, video equipment and content transmission method
CN101388909A (en) P2P play-on-demand system and service method
CN108781311A (en) Video player frame for distribution of media and management platform
AU2012345831A1 (en) Method, apparatus and system for enabling the recall of content of interest for subsequent review
CN104239467A (en) Application program recommendation method, system and device
CN102137156B (en) Network player system and implementation method thereof
CN104704483A (en) System and method for managing playback of streaming digital content
CN102984558A (en) Set top box and method of playing frames in channel switching process of set top box
CN114422821A (en) Live broadcast home page interaction method, device, medium and equipment based on virtual gift
CN102156713A (en) Multimedia playing method based on embedded equipment
CN102377735A (en) Multimedia advertisement system and method for controlling playing of multimedia advertisement
CN102104622A (en) Network multimedia terminal information publishing method
CN105245959A (en) System and method for maintaining connection channel in multi-device linkage services
CN102098281B (en) Method for deploying advertising management platform on telecom operator service agent system
CA3078190A1 (en) Apparatus and method for automatic generation of croudsourced news media from captured contents
CN102289494A (en) System and method for generating video on demand one-way or two-way WEB navigation page
US20110238809A1 (en) Method of managing selection information with respect to media content, and user device, service, and storage medium for executing the method

Legal Events

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

Application publication date: 20110817