CN103414866B - The method of playing online audio/video, embedded multimedia equipments and TV - Google Patents
The method of playing online audio/video, embedded multimedia equipments and TV Download PDFInfo
- Publication number
- CN103414866B CN103414866B CN201310316721.9A CN201310316721A CN103414866B CN 103414866 B CN103414866 B CN 103414866B CN 201310316721 A CN201310316721 A CN 201310316721A CN 103414866 B CN103414866 B CN 103414866B
- Authority
- CN
- China
- Prior art keywords
- audio
- video
- video data
- browser
- page
- 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.)
- Expired - Fee Related
Links
Abstract
The present invention relates to a kind of method of playing online audio/video, embedded multimedia equipments and TV, its method is comprised the following steps:Browser is loaded with audio frequency and video label and with the original broadcasting page for redirecting figure layer;When browser gets the jump instruction for redirecting figure layer, the audio, video data of audio frequency and video label and the form of the audio, video data are obtained according to jump instruction and is sent to player, jump to the local broadcasting page that browser is previously generated;When the broadcasting mark generation play instruction of the local broadcasting page is clicked on, browser obtains play instruction and sends to player;After player obtains play instruction, the form playing audio-video data according to play instruction, the audio, video data for being received and audio, video data, by the above method, the present invention can realize the multimedia equipment playing online audio/video of embedded platform.
Description
Technical field
The present invention relates to embedded multimedia equipments technical field, more particularly to a kind of method of playing online audio/video,
Embedded multimedia equipments and TV.
Background technology
At present, most intelligent televisions have had an online audio and video playing function, but low and middle-end TV, such as Linux is embedding
Embedded system TV, does not support online audio and video playing also.
To find out its cause, mainly having at following 2 points:
1. page playing online audio/video of the browser under HTML4 specifications is usually to be broadcast using the mode of Flash
Put, it is necessary to playback equipment installation Flash plug-in units can just be played out, and Flash plug-in units do not have in most embedded platforms
Corresponding version, so the not no plug-in unit of the playback equipment of embedded platform, it is impossible to online playing audio-video.
2. the page under HTML5 specifications increased<video>/<audio>Label, dedicated for audio and video playing, should
Itself element of the page can add the resource that audio and video playing is relied on, and be independent of Flash plug-in units.Should<video>/<
audio>Audio-video frequency content in label is typically all to support what is played in embedded platform.
But, why computer or mobile phone can be with playing online audio/video content, because the browser of computer or mobile phone
Have many interfaces, the playback interface of the player that these interfaces can be installed in computer or cell phone platform with it to connecting, for example:
The default player that IE browser is used is that the default player that Windows Media Player, Safari browsers are used is
Quick Time.These default players and corresponding browser are developed by same company, and player has playing audio-video
Related total interface, can meet browser and realize that Online Video/audio is played.Browser parse HTML5 the page when,
If detected<video>/<audio>Label, it by checking that whether it is normal that internal interface runs, and then can judge docking
Player whether can use, and the inspection includes multiple interfaces for needing player to realize, if it fails, then not
Parsing can be further continued for<video>/<audio>The content of label, and miscue is directly given, cause audio-video document to play and lose
Lose.
In embedded platform, the interface of browser cannot be docked with the playback interface of player, because in embedded platform
Player of the player without computer or mobile phone power, it is generally only realizes the broadcasting that customizes by itself institute
Comprising function minimize, so many browsers need the interface of docking, the player of embedded platform cannot but to provide,
Can not playing audio-video online.
The content of the invention
It is a primary object of the present invention to provide a kind of method of playing online audio/video, embedded multimedia equipments and electricity
Depending on, it is intended to realize the multimedia equipment playing online audio/video of embedded platform.
In order to achieve the above object, the present invention proposes a kind of method of playing online audio/video, comprises the following steps:
Browser is loaded with audio frequency and video label and with the original broadcasting page for redirecting figure layer;
When the jump instruction of figure layer is redirected described in browser acquisition, audio frequency and video mark is obtained according to the jump instruction
The form of the audio, video data of label and the audio, video data is simultaneously sent to player, jumps to what the browser was previously generated
It is local to play the page;
When the broadcasting mark generation play instruction of the local broadcasting page is clicked on, the browser obtains play instruction
And send to player;
When the player obtain the play instruction after, according to the play instruction, the audio, video data for being received and
The form of audio, video data plays the audio, video data.
Preferably, the browser is loaded with audio frequency and video label and the step of with the original broadcasting page for redirecting figure layer
Include before:
The browser sets up a local broadcasting page, and it is clear with described to set up the local broadcasting mark for playing the page
Look at device calling interface corresponding relation.
Preferably, it is described when the broadcasting mark generation play instruction of the local broadcasting page is clicked on, the browser
Obtain play instruction and include the step of transmission to player:
When the broadcasting mark generation play instruction of the local broadcasting page is clicked on, the browser passes through calling interface
Obtain the play instruction and send to player.
Preferably, the browser is loaded with audio frequency and video label and the step of with the original broadcasting page for redirecting figure layer
Include before:
The browser is superimposed a figure layer on the original broadcasting page of the audio frequency and video, and formation redirects figure layer.
Preferably, the browser is superimposed a figure layer on the original broadcasting page of the audio frequency and video, and formation redirects figure layer
The step of include:
One figure layer big with the play area of the audio frequency and video etc. of addition;
Drawn in the figure layer and redirect mark and addition touch event mark, figure layer is redirected described in formation.
Preferably, when the jump instruction of figure layer is redirected described in browser acquisition, obtained according to the jump instruction
The audio, video data of the audio frequency and video label and the form of the audio, video data and transmission jump to described browsing to player
The step of local broadcasting page that device is previously generated, includes:
Pre-build local the broadcasting page and the corresponding relation for redirecting figure layer;
Shield the audio-video interface of the browser and the interface of player in advance docks detection, and testing result is changed
To detect successfully;
When mark or operation touch event mark generation jump instruction is redirected described in operation, obtained according to the jump instruction
The label is taken, the web page address of the audio frequency and video is obtained according to the label;
The form of the audio, video data and the audio, video data is obtained according to the web page address and is sent to broadcasting
Device, jumps to the corresponding local broadcasting page.
Preferably, the page is the HTML5 pages.
Preferably, after the player obtains the play instruction, according to the play instruction, the audio frequency and video for being received
Include before the step of form of data and the audio, video data plays the audio, video data:
Whether the form for judging the audio, video data is M3U8 forms, judges whether the player is supported to play described
The audio, video data of M3U8 forms, if the result for judging is being, performs and obtains play instruction and play the audio frequency and video number
According to the step of;
If the form of the audio, video data is M3U8 forms, and the player is not supported to play the M3U8 forms
During audio, video data, then the audio, video data is parsed, obtain spliced audio, video data.
Preferably, the step of parsing audio, video data, acquisition spliced audio, video data, includes:
The audio, video data is sent to local playback process device;
Receive the local playback process device to download and spliced audio, video data, regarded with playing the spliced sound
Frequency evidence.
The present invention also proposes a kind of embedded multimedia equipments, including clear on the embedded multimedia equipments
Look at device and player, the browser includes load-on module, jump module and acquisition module, the player includes playing mould
Block, wherein,
The load-on module, for being loaded with audio frequency and video label and the original broadcasting page with figure layer is redirected;
The jump module, for when the jump instruction of figure layer is redirected described in acquisition, being obtained according to the jump instruction
The form of the audio, video data of audio frequency and video label and the audio, video data is simultaneously sent to player, jumps to the browser pre-
The local broadcasting page for first generating;
The acquisition module, for when the broadcasting mark generation play instruction of the local broadcasting page is clicked on, obtaining
Play instruction is simultaneously sent to player;
The playing module, for after the play instruction is obtained, according to the play instruction, the audio frequency and video for being received
The form of data and audio, video data plays the audio, video data.
Preferably, the browser also includes setting up module, for setting up a local broadcasting page, and sets up described local
Play the broadcasting mark of the page and the corresponding relation of the calling interface of the browser.
Preferably, the acquisition module when the broadcasting mark generation broadcasting for clicking on the local broadcasting page specifically for referring to
When making, the play instruction is obtained by calling interface and is sent to player.
Preferably, the browser also includes laminating module, for being superimposed on the original broadcasting page of the audio frequency and video
One figure layer, formation redirects figure layer.
Preferably, the laminating module includes adding device and drawing unit, wherein,
Adding device, for adding a figure layer big with the play area of the audio frequency and video etc.;
Drawing unit, mark and addition touch event mark are redirected for being drawn in the figure layer, are redirected described in formation
Figure layer.
Preferably, the jump module includes setting up unit, screen unit, first acquisition unit and second acquisition unit,
Wherein,
Unit is set up, for pre-building local the broadcasting page and the corresponding relation for redirecting figure layer;
Screen unit, detection is docked for shield the audio-video interface of the browser and the interface of player in advance,
Testing result is revised as to detect successfully;
First acquisition unit, for redirecting mark or when operation touch event mark generates jump instruction when operation is described,
The label is obtained according to the jump instruction, the web page address of the audio frequency and video is obtained according to the label;
Second acquisition unit, for obtaining the audio, video data and the audio, video data according to the web page address
Form is simultaneously sent to player, jumps to the corresponding local broadcasting page.
Preferably, the page is the HTML5 pages.
Preferably, the embedded multimedia equipments also include the place being connected with the browser and the player respectively
Reason device, wherein, the processor includes judge module and parsing module, and the judge module is used to judge the audio, video data
Form whether be M3U8 forms, judge whether the player is supported to play the audio frequency and video of the M3U8 forms, if judge
Result is is, then the acquisition module for triggering the player obtains play instruction;
The parsing module is used for when the form of the audio, video data is M3U8 forms, and the player is not supported to broadcast
When putting the audio, video data of the M3U8 forms, then the audio, video data is parsed, obtain spliced audio, video data.
Preferably, the parsing module includes transmitting element and receiving unit, wherein,
Transmitting element, for the audio, video data to be sent into local playback process device;
Receiving unit, receives the local playback process device and downloads and spliced audio, video data, to play the spelling
Audio, video data after connecing.
The present invention also proposes a kind of TV, including embedded multimedia equipments as described above.
A kind of method of playing online audio/video of the present invention, by the method that figure layer is superimposed on the original broadcasting page be into
Enter the customized local broadcasting page and one entrance is provided, and make browser continue to parse the label of audio frequency and video, obtain audio frequency and video
The form of audio, video data and audio, video data is simultaneously sent to player, is identified by the local broadcasting for playing the page of operation and produced
Play instruction, browser obtains play instruction and sends player to by calling interface, to control to play, by this side
Formula, it is possible to achieve embedded platform multimedia equipment playing online audio/video.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the method first embodiment of playing online audio/video of the present invention;
Fig. 2 is the schematic flow sheet of the method second embodiment of playing online audio/video of the present invention;
Fig. 3 is that the schematic flow sheet for redirecting figure layer is formed shown in Fig. 2;
Fig. 4 is that the local schematic flow sheet for playing the page is jumped to shown in Fig. 2;
Fig. 5 is the schematic flow sheet of the method 3rd embodiment of playing online audio/video of the present invention;
Fig. 6 is the structural representation of embedded multimedia equipments first embodiment of the present invention;
Fig. 7 is the structural representation of embedded multimedia equipments second embodiment of the present invention;
Fig. 8 is the structural representation of laminating module shown in Fig. 7;
Fig. 9 is the structural representation of jump module shown in Fig. 7;
Figure 10 is the structural representation of embedded multimedia equipments 3rd embodiment of the present invention.
In order that the technical scheme of invention is clearer, clear, it is described in further detail below in conjunction with accompanying drawing.
Specific embodiment
The solution of the embodiment of the present invention is mainly:Method of the present invention by being superimposed figure layer on the original broadcasting page
To provide an entrance into the customized local broadcasting page;The audio frequency and video for shielding the browser of embedded multimedia equipments connect
Mouth docks detection with the interface of player, makes when the page of audio frequency and video label is loaded with, and browser can continue to parsing
The label of audio frequency and video, to obtain the audio, video data of audio frequency and video and the form of audio, video data;Meanwhile, for cannot normally draw
The broadcasting element of play area and cannot present audio frequency and video broadcasting phenomenon, carry out presentation audio frequency and video using the local page of playing
Broadcasting, after mark is played in operation produces play instruction, browser is broadcast by calling interface acquisition play instruction and sending to
Device is put, to control to play, in this way, it is possible to achieve embedded platform multimedia equipment playing online audio/video.
Specifically, as shown in figure 1, first embodiment of the invention proposes a kind of method of playing online audio/video, including:
Step S101, browser is loaded with audio frequency and video label and with the original broadcasting page for redirecting figure layer;
Wherein, the executive agent of the present embodiment is embedded multimedia equipments, and embedded multimedia equipments can be embedded
TV of formula linux system etc..
Wherein, the original broadcasting page in the present embodiment redirects figure layer and broadcasting for audio frequency and video cannot be presented due to being superimposed
Put.
Wherein, the page with audio frequency and video label can be the pages of HTML 5, but be not restricted to the only HTML5 pages
(Following full text is illustrated by taking the HTML5 pages as an example), other have pages of audio frequency and video label similarly in present invention protection
In the range of.
Wherein, the various elements required for audio frequency and video label includes audio and video playing, including:The web page address of audio frequency and video,
Position, audio and video playing area size, audio frequency and video field color of audio frequency and video etc..
Wherein, the form of audio, video data includes MP4 forms or M3U8 forms etc..Audio, video data can be audio frequency and video
Stream, or audio-video document, such as audio-video document of the audio/video flow of MP4 forms or M3U8 forms.M3U8 forms
Audio-video document includes TS streams one by one, and the audio-video document of M3U8 forms is that a video is cut into multistage, then is added
The parameter of upper every section of audio frequency and video(For example:Time point of audio and video playing and its with the relation of front and rear video-frequency band etc.)Content text
Part.
Step S102, when the browser get it is described redirect the jump instruction of figure layer when, according to the jump instruction
Obtain the audio, video data of audio frequency and video label and the form of the audio, video data and send to player, jump to described browsing
The local broadcasting page that device is previously generated;
Wherein, when browser gets the jump instruction for redirecting figure layer, the label of the audio frequency and video is obtained and parses, with
To label audio, video data and audio, video data form and send to player.
The present embodiment present the broadcasting of audio frequency and video using the local page of playing, wherein, the local page of playing is to make by oneself
The page of justice.After browser is obtained redirects the jump instruction of figure layer, the local broadcast page that browser is previously generated directly is gone to
Face.
The present embodiment also plays the page to control broadcast state using local, and this control mode is easy to transplanting or customized
Change.Because the page is browser execution, the transplanting of its function is related to browser, and without considering other factors, and the page
User interface write the user interface of relative other systems and write simpler.
Step S103, when the broadcasting mark generation play instruction of the local broadcasting page is clicked on, the browser is obtained
Take play instruction and send to player;
Wherein, the local broadcasting page is added with broadcasting mark, and play command such as suspends broadcasting, continues to play or terminate to broadcast
Put.When click on it is local play the page broadcasting mark generation play instruction when, browser obtains play instruction and transmission is to broadcasting
Put device.
Step S104, when the player obtains play instruction, according to the play instruction, the audio frequency and video number for being received
According to and the form of the audio, video data play the audio, video data.
Specifically, after browser obtains the local play command for playing the page, then these play command are led to by process
The mode of letter is sent to player, and player obtains the local play instruction for playing the page, and then realizes playing control.
Compared with prior art, the present embodiment is into customized by the way that in the original broadcasting page addition redirects figure layer
The local page of playing provides an entrance, to avoid the detection of docking of interface and the interface of player of the audio frequency and video of browser, and
For the broadcasting factor that cannot normally draw play area and the phenomenon of the broadcasting that audio frequency and video cannot be presented, local broadcast page is used
Face present the broadcasting of audio frequency and video, after the local broadcasting page is jumped to, broadcast state is controlled by the local page of playing, with
Realize playing.
Fig. 2 is referred to, Fig. 2 is the schematic flow sheet of the method second embodiment of playing online audio/video of the present invention, it is and upper
State unlike first embodiment, the present embodiment also includes:
Step S099:The browser sets up a local broadcasting page, and sets up the local broadcasting mark for playing the page
Know the corresponding relation with the calling interface of the browser;
Wherein, browser set up one it is local play the page, it is local play on the page to have to play identify, play mark with it is clear
Look at device calling interface correspondence.
Wherein, after play instruction is produced, browser obtains the local play command for playing the page by calling interface, and
Play instruction is sent to player by way of interprocess communication.
Wherein, the calling interface that addition control is played in a browser, can be by Netscape plug-in applications interface
(NPAPI, Netscape Plugin Application Programming Interface)Or Java Script etc. add
Plus the object or method of non-HTML standard, for obtaining the local play command for playing the page, but other do not add these to adjust
Then cannot normally be presented with the browser of interface and contain those objects or the corresponding page of method.In the sheet of the audio frequency and video of browser
Ground plays the page and adds calling logic corresponding with above-mentioned calling interface, that is, the local broadcasting mark for playing the page, such as temporarily
Stop, continue, sound regulation etc..
Step S100:The browser is superimposed a figure layer on the original broadcasting page of the audio frequency and video, and formation redirects figure
Layer.
Wherein, the mode that window can also be superimposed in the present embodiment substitutes superposition figure layer, local as entering using the window
Play the entrance of the page.
Specifically, a figure layer is superimposed on the original broadcasting page of browser, the mode for being superimposed figure layer have modified browser
The process of the broadcasting element of the play area page is drawn, realizes turning to jump to the local function of playing the page by the figure layer.Figure
Layer can be without incident management, it is also possible to add management event one by one according to the actual requirements, its operation is relatively simple.
What deserves to be explained is, above-mentioned steps S099 and step S100 can be performed by above-mentioned sequencing, it is also possible to same
Shi Zhihang, excessive restriction is not done herein.
Fig. 3 is referred to, Fig. 3 is that the schematic flow sheet for redirecting figure layer is formed shown in Fig. 2.On the basis of second embodiment,
Above-mentioned steps S100 forms the step of redirecting figure layer to be included:
Step S1001:One figure layer big with the play area of the audio frequency and video etc. of addition;
Step S1002:Drawn in the figure layer and redirect mark and addition touch event mark, formation redirects figure layer.
The big figure layer such as superposition one and play area in the play area of the original broadcasting page of browser, as clothes
The entrance of the page is locally played in the entrance that business device is pushed.Drawn in figure layer and redirect mark, it can be transparence to redirect mark, its
Audio frequency and video background with the latter page is stacked.
Further, due to existing multimedia equipment(Such as smart mobile phone or panel computer)With touch function, because
This can add the element of some compatible touch apparatus in figure layer, and the operation of these elements response should be from touch apparatus
The driving event come up of transmission.When these elements are contained in figure layer, in the multimedia equipment not comprising touch function, its
Itself None- identified element, and then cannot playing audio-video.For this in the present embodiment, a figure layer and touch can be added
Event handling is further processed, touch event treatment click event.When being resolved to touch event in a browser
During element, on the element add a new map overlay on the element, and give the figure layer add click on processing function, with
Family moves on on this element cursor, and when performing clicking operation, figure layer receives click event, then leads to the click event
Touch event treatment is crossed, touch event is converted into, then the event is passed to the page, and then realize the touch behaviour of non-tactile equipment
Make.
Fig. 4 is referred to, Fig. 4 is that the local schematic flow sheet for playing the page is jumped to shown in Fig. 2, in the base of second embodiment
Include on plinth, the step of above-mentioned steps S102:
Step S1021:Pre-build local the broadcasting page and the corresponding relation for redirecting figure layer;
Step S1022:Shield the audio-video interface of the browser and the interface of player in advance docks detection, will examine
Results modification is surveyed to detect successfully;
Step S1023:When mark or operation touch event mark generation jump instruction is redirected described in operation, according to described
Jump instruction obtains the label, and the web page address of the audio frequency and video is obtained according to the label;
Step S1024:Form according to the web page address acquisition audio, video data and the audio, video data is simultaneously
Send to player, jump to the corresponding local broadcasting page.
Wherein, local the broadcasting page and the corresponding relation for redirecting figure layer are set up, to realize when jump instruction is generated from jump
The original broadcasting page where turning figure layer jumps to the local broadcasting page.Identified or point touching when click redirects redirecting for figure layer
When event identifier produces jump instruction, browser enters the corresponding local broadcasting page according to the jump instruction.Grasped due to clicking on
The figure layer interception that work is added, therefore clicking operation will not be sent on the element of the original broadcasting page, and original broadcast page is not performed
Original play instruction in face.
Wherein, if browser checks that the player of its docking cannot normally run, browser does not just draw the broadcasting
The original broadcasting element in region(The broadcasting element is related to label substance), and a miscue is directly drawn to user, enter
And cannot continue to parse the label of audio frequency and video.
Wherein, interface and the interface of player of the audio frequency and video of shielding browser dock detection, and testing result is changed
After detecting successfully, when browser is loaded with the page of audio frequency and video label, browser can continue to parse the mark of audio frequency and video
Sign, and the various elements required for obtaining the audio and video playing in label, the web page address of audio frequency and video is obtained from element, pass through
The web page address obtains the form of audio, video data and audio, video data, by the form of audio, video data and audio, video data in the lump
It is sent to player.
Fig. 5 is referred to, Fig. 5 is the schematic flow sheet of the method 3rd embodiment of playing online audio/video of the present invention, with
Unlike two embodiments, also include:
Step S105:Whether the form for judging the audio, video data is M3U8 forms, if not M3U8 forms, then enter
Step S104, performs the step of obtaining play instruction and then play out;If M3U8 forms, then into step S106.
Wherein, by taking the HTML5 pages as an example, the form of the audio, video data of the page is generally MP4 forms or M3U8 forms,
But it is not limited to be only MP4 forms or M3U8 forms.When the form of the audio, video data is not M3U8 forms in the present embodiment
When, can also be MP4 forms, MPV forms or MWV forms etc..The audio, video data of MP4 forms is in low side built-in multimedia
Equipment can be direct broadcasting, but the audio, video data of MPV forms or MWV forms then not necessarily supports broadcasting, MPV forms
Or the audio, video data of MWV forms needs to be further processed as the form of the audio, video data that player supports broadcasting, herein
Do not do and excessively repeat.Because the form of the audio, video data of the HTML5 pages is generally MP4 forms or M3U8 forms and MP4 forms
Audio, video data support to play in low side embedded multimedia equipments, therefore can be understood as judging the lattice of the audio, video data
Formula is M3U8 forms or MP4 forms, if when M3U8 forms and support broadcasting or MP4 forms, then into step S104,
Perform the step of playing;If M3U8 forms and do not support play when, then into step S106.
Step S106:Judge whether the player is supported to play the audio, video data of the M3U8 forms, if support is broadcast
The audio, video data of the M3U8 forms is put, then into step S104, performs the step of obtaining play instruction and then play out;
If not supporting to play the audio, video data of the M3U8 forms, into step S107.
Step S107:The audio, video data is parsed, audio, video data after splicing is obtained.
Wherein, it is not continuous video flowing, when player is not supported because the audio frequency and video of M3U8 forms are multistage TS streams
When playing the audio, video data of M3U8 forms, then need to parse audio, video data, obtain audio, video data after splicing, spell
Audio, video data after connecing is continuous video flowing, and player can be played out to it.
Further, the step of audio, video data is parsed in the method 3rd embodiment of playing online audio/video of the present invention is wrapped
Include:The audio, video data is sent to local playback process device;The local playback process device is received to download and spliced
Audio, video data, to play the spliced audio, video data.
Wherein, there is the audio-video document of M3U8 forms multistage TS to flow, and not have the data for repeating, losing, i.e., one in TS streams
One complete audio frequency and video of individual M3U8 audio-video documents correspondence, multistage TS streams are sent to player and are broadcast in playing process
Put.
The broadcasting of the audio frequency and video of M3U8 forms from the point of view of execution logic, really by all nets in M3U8 audio-video documents
The corresponding audio-video frequency content of page address is played back, and ensures the audio frequency and video fluency in playing process.
Because the player itself of embedded platform cannot directly process the audio-video document of M3U8 forms, the company of broadcasting is only capable of
Continuous video flowing, therefore need to parse the audio-video document of the M3U8 forms.Resolving is:Audio, video data is sent to one
Local playback process device, wherein, the local playback process device can also be a small-sized home server;Local playback process device
Download and read the audio-video document;Parsing obtains the web page address of the fragment of each TS streams;The net is downloaded and preserved in order
The corresponding data of page address;The data slot that will be had been downloaded into is stitched together, and forms complete audio/video flow;Will be spliced
Audio/video flow sends player to by the playback interface of player, wherein it is possible to be passed using such as http protocol or HLS protocol
Give player;Player is received to be downloaded and spliced audio, video data, to realize playing.
Wherein, in above-mentioned resolving, the storage size currently set according to embedded multimedia equipments is downloaded
And playing audio-video data, the pattern played when downloading can be taken.Wherein it is possible to realize that side is downloaded using buffer circle
Side is played, specially:Using methods such as asynchronous controllings, in one section of buffer circle internal memory, the asynchronous operation for carrying out read/write,
Ensure the asynchronism of read/write operation, after one section of buffering area is write completely, accent carries out write operation again, however it is necessary that control write-in
The part of covering is read by read-write operation and is completed, and the integrality and fluency of audio/video flow are ensured with this.
Wherein, send buffered good audio/video flow to player, according to actual conditions, there can be various data to pass
The method sent:
1. player has the interface that can play http request, and home server can be used in this case as clothes
Business device end, using player as client, audio/video flow is sent to player using http protocol or HLS protocol;
2. player has the interface that can play internal storage data, if resolving is in different processes from player,
Audio/video flow can be passed into player using the mode of interprocess communication in this case;
3. player has the interface that can play internal storage data, if resolving is in same process with player,
In this case, in order to ensure the continuity of audio/video flow, can be controlled in a process by the way of father and son's process
Two modules, and the data communication between father and son's process can be transmitted using the method for shared drive.
It is possible to further add Cloud Server address in a browser, a module is opened up in Cloud Server for helping
The low side type such as embedded multimedia equipments is helped to process its audio-video frequency content that cannot be processed.Above-mentioned resolving can be put
In cloud server end, and it is also placed in Cloud Server together with the local page of playing.After jump instruction is generated, browser turns to jump to
The cloud server page, it would be desirable to the M3U8 audio-video documents web page address and the information of embedded multimedia equipments of broadcasting
(Such as type, platform, software version)Cloud Server is issued, after Cloud Server receives the information, by M3U8 document analysis and is spelled
Connect, be converted to the audio/video flow that the embedded multimedia equipments can be played, audio/video flow is finally issued into player.
Wherein, it is by the advantage that resolving is placed on cloud server end:1st, embedded multimedia equipments itself are reduced
Internal memory or hardware consumption, the function of parsing are more powerful;2nd, resolving space problem is solved, i.e., need not be used above-mentioned
Buffer circle;3rd, parsing module has stronger hardware resource, and its resolving will more efficiency;4th, a cloud service
Device can be to multiple variety classes embedded multimedia equipments services;5th, there can be intelligently pushing function.
Wherein, it is by the advantage that the local broadcasting page is placed on cloud server end:1st, safeguard and update simpler;2nd, Ke Yi
Ad content is added in the local broadcasting page;3rd, safeguard that multiple variety classes embedded multimedia equipments are more convenient.
The present embodiment is with the difference of second embodiment:The present embodiment considers broadcasting for the audio frequency and video of sound different video form
Put, when embedded multimedia equipments it is currently playing be M3U8 forms audio frequency and video but player do not support play M3U8 forms
During audio frequency and video, parsing and spliced audio, video data can be obtained, so as to realize locally broadcasting by parsing audio, video data
Put the broadcasting of presentation audio frequency and video in the page.
By foregoing description it can be seen that:The present invention is into making by oneself by the method for original broadcasting page stacking chart layer
The local broadcasting page of justice provides an entrance;The interface of the audio frequency and video of shielding browser docks detection with the interface of player,
The label for continuing to parse audio frequency and video is enabled the browser to, to obtain the audio, video data of audio frequency and video and the form of audio, video data;
Meanwhile, for the broadcasting element that cannot normally draw play area and the phenomenon of the broadcasting that audio frequency and video cannot be presented, using local
Playing the page present the broadcasting of audio frequency and video, and play instruction is produced by operating to play to identify, and browser passes through calling interface
Obtain play instruction and send player to, to control to play;And when player is not supported to play the audio frequency and video number of M3U8 forms
According to when, by parsing and audio, video data can be spliced, the audio/video flow that formation can be played, in this way, Ke Yishi
Existing embedded platform multimedia equipment playing online audio/video.
Fig. 6 is referred to, Fig. 6 is the structural representation of embedded multimedia equipments first embodiment of the present invention, embedded many
Media device includes the browser 10 being arranged on embedded multimedia equipments and player 20 wherein, and browser 10 includes loading
Module 101, jump module 102 and acquisition module 103, jump module 102 connect with load-on module 101, acquisition module 103 respectively
Connect;Player 20 includes playing module 201, and playing module 201 is connected with acquisition module 103.
Load-on module 101, for being loaded with audio frequency and video label and the original broadcasting page with figure layer is redirected;
Wherein, embedded multimedia equipments can be TV of embedded Linux system etc..
Wherein, the original broadcasting page in the present embodiment is due to being superimposed the broadcasting for redirecting figure layer and audio frequency and video cannot being presented
Wherein, the page with audio frequency and video label can be the page of HTML 5, but be not restricted to the page of only HTML5
Face, other have the page of audio frequency and video label similarly in the scope of the present invention.
Wherein, the various elements required for audio frequency and video label includes audio and video playing, including:The web page address of audio frequency and video,
Position, audio and video playing area size, audio frequency and video field color of audio frequency and video etc..
Wherein, the form of audio, video data includes MP4 forms or M3U8 forms etc..Audio, video data can be audio frequency and video
Stream, or audio-video document, such as audio/video flow of MP4 forms or M3U8 form audio-video documents.The sound of M3U8 forms
Video file includes TS streams one by one, and the audio-video document of M3U8 forms is that a video is cut into multistage, then is added
Every section of parameter of audio frequency and video(For example:Time point of audio and video playing and its with the relation of front and rear video-frequency band etc.)Content text
Part.
Jump module 102, for when get it is described redirect the jump instruction of figure layer when, obtained according to the jump instruction
The form of the audio, video data of audio frequency and video label and the audio, video data is simultaneously sent to player, jumps to the browser pre-
The local broadcasting page for first generating;
Wherein, when the jump instruction for redirecting figure layer is got, the label of the audio frequency and video is obtained and parses, to obtain label
Audio, video data and audio, video data form and send to player 20.
The present embodiment present the broadcasting of audio frequency and video using the local page of playing.Wherein, the local page of playing is to make by oneself
The page of justice.After jump module 102 is obtained redirects the jump instruction of figure layer, the local broadcasting page of audio frequency and video is directly gone to.
The present embodiment also plays the page to control broadcast state using local, and this control mode is easy to transplanting or customized
Change.Because the page is that browser 10 runs, the transplanting of its function is related to browser 10, and without considering other factors, and
The user interface that the user interface of the page writes relative other systems writes simpler.
Acquisition module 103, for when the broadcasting mark generation play instruction of the local broadcasting page is clicked on, acquisition to be broadcast
Put and instruct and send to player;
Wherein, the local broadcasting page is added with broadcasting mark, and play command such as suspends broadcasting, continues to play or terminate to broadcast
Put.When the broadcasting mark generation play instruction of the local broadcasting page is clicked on, browser 10 obtains play instruction and sends extremely
Player 20.
Playing module 201, for when the play instruction of the local broadcasting page is got, being referred to according to the broadcasting
The audio, video data and the form of the audio, video data for make, being received play the audio, video data.
Specifically, the local play command for playing the page is obtained by browser 10, then by these operational orders pass through into
The mode of Cheng Tongxin is sent to player 20, and player 20 obtains the local play instruction for playing the page, and then realizes playing control
System.
Compared with prior art, the present embodiment is into customized by the way that in the original broadcasting page addition redirects figure layer
The local page of playing provides an entrance, and inspection is docked with interface and the interface of player 20 of avoiding the audio frequency and video of browser 10
Survey, and for the broadcasting factor that cannot normally draw play area and the phenomenon of the broadcasting that audio frequency and video cannot be presented, using local
Playing the page present the broadcasting of audio frequency and video, after the local broadcasting page is jumped to, by the local broadcasting mark for playing the page
Control broadcast state is known, to realize playing.
Fig. 7 is referred to, Fig. 7 is the structural representation of embedded multimedia equipments second embodiment of the present invention.With above-mentioned
Unlike one embodiment, the browser 10 of the present embodiment also includes setting up module 099 and laminating module 100, wherein, superposition mould
Block 100 respectively with set up module 099 and load-on module 101 is connected.
Set up module 099, for set up one it is local play the page, and set up the local broadcasting mark for playing the page with
The corresponding relation of the calling interface of the browser;
Wherein, set up module 099 and set up a local broadcasting page, it is local to play on the page with mark is played, play mark
Know corresponding with the calling interface of browser.
Wherein, after play instruction is produced, browser obtains the local play command for playing the page by calling interface, and
Play instruction is sent to player by way of interprocess communication.
Wherein, the calling interface that control is played is added in browser 10, can be by Netscape plug-in applications interface
(NPAPI, Netscape Plugin Application Programming Interface)Or Java Script etc. add
Plus the object or method of non-HTML standard, for obtaining the local play command for playing the page, but other do not add these to adjust
Then cannot normally be presented with the browser of interface and contain those objects or the corresponding page of method.In the audio frequency and video of browser 10
The local page of playing adds calling logic corresponding with above-mentioned calling interface, that is, the local broadcasting mark for playing the page, such as
Pause, continuation, sound regulation etc..
Laminating module 100, for being superimposed a figure layer on the original broadcasting page of the audio frequency and video, formation redirects figure layer.
Wherein, the mode that window can also be superimposed in the present embodiment substitutes superposition figure layer, local as entering using the window
Play the entrance of the page.
Specifically, a figure layer, stacking chart are superimposed on the original broadcasting page of the browser 10 of embedded multimedia equipments
The mode of layer have modified the process that browser 10 draws the broadcasting element of the play area page, realize turning to jump to by the figure layer
The local function of playing the page.Figure layer can be without incident management, it is also possible to add management event one by one according to the actual requirements,
Its operation is relatively simple.
What deserves to be explained is, the above-mentioned module 099 and laminating module 100 set up can be connected by above-mentioned annexation,
Can be connected with load-on module 101 respectively side by side, not do excessive restriction herein.
Fig. 8 is referred to, Fig. 8 is the structural representation of laminating module shown in Fig. 7.Implement in embedded multimedia equipments second
On the basis of example, above-mentioned laminating module 100 includes adding device 1001 and drawing unit 1002;
Adding device 1001, for adding a figure layer big with the play area of the audio frequency and video etc.;
Drawing unit 1002, mark and addition touch event mark are redirected for being drawn in the figure layer, and formation is redirected
Figure layer.
The big figure layer such as superposition one and play area in the play area of the original broadcasting page of adding device 1001, to make
For the entrance of the page is locally played in the entrance of server push.Drawing unit 1002 is drawn in figure layer and redirects mark, redirects mark
It is transparence to know, and it is stacked with the audio frequency and video background of the latter page.
Further, due to existing multimedia equipment(Such as smart mobile phone or panel computer)With touch function, because
This can add the element of some compatible touch apparatus in figure layer, and the operation of these elements response should be from touch apparatus
The driving event come up of transmission.When these elements are contained in figure layer, in the multimedia equipment not comprising touch function, its
Itself None- identified element, and then cannot playing audio-video.For this in the present embodiment, a figure layer and touch can be added
Event handling is further processed, touch event treatment click event.When being resolved to touch event in browser 10
Element when, on the element add a new map overlay on the element, and give the figure layer add click on processing function,
User moves on on this element cursor, and when performing clicking operation, figure layer receives click event, then by the click event
Processed by touch event, be converted into touch event, then the event is passed to the page, and then realize the touch of non-tactile equipment
Operation.
Fig. 9 is referred to, Fig. 9 is the structural representation of jump module shown in Fig. 7, is implemented in embedded multimedia equipments first
On the basis of example, above-mentioned jump module 102 includes setting up unit 1021, screen unit 1022, first acquisition unit 1023 and the
Two acquiring units 1024;
Unit 1021 is set up, for pre-building local the broadcasting page and the corresponding relation for redirecting figure layer;
Screen unit 1022, inspection is docked for shield the audio-video interface of the browser and the interface of player in advance
Survey, testing result is revised as to detect successfully;
First acquisition unit 1023, jump instruction is generated for working as to redirect mark described in operation or operate touch event to identify
When, the label is obtained according to the jump instruction, the web page address of the audio frequency and video is obtained according to the label;
Second acquisition unit 1024, for obtaining the audio, video data and the audio frequency and video number according to the web page address
According to form and send to player, jump to the corresponding local broadcasting page.
Wherein, set up unit 1021 and set up local the broadcasting page and the corresponding relation for redirecting figure layer, to realize being jumped in generation
Original broadcasting page when turning instruction from where redirecting figure layer jumps to the local broadcasting page.When click on redirect figure layer redirect mark
When knowledge or point touching event identifier produce jump instruction, browser 10 enters corresponding local broadcast page according to the jump instruction
Face.Due to the figure layer interception that clicking operation is added, therefore will not be sent on the element of the original broadcasting page, original broadcasting is not performed
Put original play instruction of the page.
Wherein, if browser 10 checks that the player 20 of its docking cannot normally run, browser 10 is not just drawn
The original broadcasting element of the play area(The broadcasting element is related to label substance), and a miscue is directly drawn to use
Family, and then cannot continue to parse the label of audio frequency and video.
The interface of the audio frequency and video of the page of the browser 10 of the shielding embedded multimedia equipments of screen unit 1022 and broadcasting
The docking detection of the interface of device 20, after testing result is revised as detecting successfully, audio frequency and video label is loaded with browser 10
The page when, browser 10 can continue to parse audio frequency and video label, first acquisition unit 1023 obtain label in audio frequency and video
Various elements required for playing, obtain the web page address of audio frequency and video from element, and second acquisition unit 1024 passes through the webpage
The form of address acquisition audio, video data and audio, video data, the form of audio, video data and audio, video data is sent in the lump
Playing module 201.
Figure 10 is referred to, Figure 10 is the structural representation of embedded multimedia equipments 3rd embodiment of the present invention, with insertion
Unlike formula multimedia equipment second embodiment, embedded multimedia equipments also include respectively with browser 10 and player 20
The processor 30 of connection.
Wherein, processor 30 include judge module 301 and parsing module 302, judge module 301 respectively with browser 10
Acquisition module 103 and parsing module 302 are connected, the connection playing module 201 of parsing module 302.
Judge module 301, whether the form for judging the audio, video data is M3U8 forms, judges the player
Whether the audio, video data of the M3U8 forms is played in support, if it is to trigger broadcasting for the player that the result for judging is
Amplification module 201 is played out;
Parsing module 302, for being M3U8 forms when the form of the audio, video data, and the player is not supported to broadcast
When putting the audio, video data of the M3U8 forms, the audio, video data is parsed, obtain spliced audio, video data.
Wherein, by taking the HTML5 pages as an example, the form of the audio, video data of the page is generally MP4 forms or M3U8 forms,
But it is not limited to be only MP4 forms or M3U8 forms.When the form of the audio, video data is not M3U8 forms in the present embodiment
When, can also be MP4 forms, MPV forms or MWV forms etc..The audio, video data of MP4 forms is in low side built-in multimedia
Equipment can be direct broadcasting, but the audio, video data of MPV forms or MWV forms then not necessarily supports broadcasting, MPV forms
Or the audio, video data of MWV forms needs to be further processed as the form of the audio, video data that player supports broadcasting, herein
Do not do and excessively repeat.Because the form of the audio, video data of the HTML5 pages is generally MP4 forms or M3U8 forms and MP4 forms
Audio, video data support to play in low side embedded multimedia equipments, therefore can be understood as judge module 301 and judge the sound
The form of video data is M3U8 forms or MP4 forms, judges whether the player is supported to play the M3U8 forms
Audio, video data, if when M3U8 forms and support broadcasting or MP4 forms, then sending to playing module 201 and playing out;
If M3U8 forms and do not support play, then send to parsing module 302 and parsed.
Wherein, it is not continuous video flowing, when player 20 is not propped up because the audio frequency and video of M3U8 forms are multistage TS streams
When holding the audio, video data for playing M3U8 forms, then parsing module 302 is needed to parse audio, video data, after obtaining splicing
Audio, video data, spliced audio, video data is continuous video flowing, and player 20 can be played out to it.
Further, in embedded multimedia equipments 3rd embodiment of the present invention parsing module 302 include transmitting element and
Receiving unit, wherein:Transmitting element is used to for the audio, video data to be sent to local playback process device;Receiving unit is used to connect
Receive the local playback process device to download and spliced audio, video data, to play audio, video data after the splicing.
Wherein, there is the audio-video document of M3U8 forms multistage TS to flow, and not have the data for repeating, losing, i.e., one in TS streams
One complete audio frequency and video of individual M3U8 audio-video documents correspondence, multistage TS streams are sent to player 20 in playing process to be carried out
Play.
The broadcasting of the audio frequency and video of M3U8 forms from the point of view of execution logic, really by all nets in M3U8 audio-video documents
The corresponding audio-video frequency content of page address is played back, and ensures the audio frequency and video fluency in playing process.
Because the player itself of embedded platform cannot directly process the audio-video document of M3U8 forms, the company of broadcasting is only capable of
Continuous video flowing, therefore need to parse the audio-video document of the M3U8 forms.Specially:Transmitting element 3021 sends out audio, video data
A local playback process device is given, wherein, the local playback process device can also be a small-sized home server, locally broadcast
Put processor to download and read the audio-video document, parsing obtains the web page address of the fragment of each TS streams, downloads in order simultaneously
The corresponding data of the web page address are preserved, the data slot that will be had been downloaded into is stitched together, form complete audio/video flow, will
Spliced audio/video flow sends player 20 to by the playback interface of player 20, wherein it is possible to be assisted using such as HTTP
View or HLS protocol send player 20 to, and player 20 is received to be downloaded and spliced audio, video data, to realize playing.
Wherein, in above-mentioned parsing module 302, according under the storage size that embedded multimedia equipments currently set
Carry and playing audio-video data, the pattern played when downloading can be taken.Wherein it is possible under realizing side using buffer circle
Side is carried to play.Specially:Using methods such as asynchronous controllings, in one section of buffer circle internal memory, the asynchronous behaviour for carrying out read/write
Make, it is ensured that the asynchronism of read/write operation, after one section of buffering area is write completely, accent carries out write operation again, however it is necessary that control is write
Completion is read in the part for entering covering by read-write operation, and the integrality and fluency of audio/video flow are ensured with this.
Wherein, send buffered good audio/video flow to player 20, according to actual conditions, there can be various data
The method of transmission:
1. player 20 has the interface that can play http request, and home server conduct can be used in this case
Server end, using player 20 as client, audio/video flow is sent to player 20 using http protocol or HLS protocol;
2. player 20 has the interface that can play internal storage data, if resolving is entered from player 20 in different
Journey, can pass to player 20 using the mode of interprocess communication by audio/video flow in this case;
3. player 20 has the interface that can play internal storage data, if resolving and player 20 be in it is same enter
Journey, in this case, in order to ensure the continuity of audio/video flow, can be controlled by the way of father and son's process in a process
Two modules of system, and the data communication between father and son's process can be transmitted using the method for shared drive.
It is possible to further add Cloud Server address in browser 10, a module is opened up in Cloud Server to be used for
The low side types such as embedded multimedia equipments are helped to process its audio-video frequency content that cannot be processed.Can be by above-mentioned parsing module
302 are placed on cloud server end, and are also placed in Cloud Server together with the local page of playing.After jump instruction is generated, browser
10 turns are jumped to the cloud server page, it would be desirable to the M3U8 audio-video documents web page address and embedded multimedia equipments of broadcasting
Information(Such as type, platform, software version)Cloud Server is issued, after Cloud Server receives the information, by M3U8 file solutions
Analyse and splice, be converted to the audio/video flow that the embedded multimedia equipments can be played, audio/video flow is finally issued into player
20。
Wherein, it is by the advantage that parsing module 302 is placed on cloud server end:1st, embedded multimedia equipments itself are reduced
Internal memory or hardware consumption, the function of parsing is more powerful;2nd, resolving space problem is solved, i.e., need not be used above-mentioned
Buffer circle;3rd, parsing module has stronger hardware resource, and its resolving will more efficiency;4th, a high in the clouds clothes
Business device can be to multiple variety classes embedded multimedia equipments services;5th, there can be intelligently pushing function.
Wherein, it is by the advantage that the local broadcasting page is placed on cloud server end:1st, safeguard and update simpler;2nd, Ke Yi
Ad content is added in the local broadcasting page;3rd, safeguard that multiple variety classes embedded multimedia equipments are more convenient;
The present embodiment is with the difference of second embodiment:The present embodiment considers broadcasting for the audio frequency and video of sound different video form
Put, when the player 20 of embedded multimedia equipments does not support to play the audio frequency and video of M3U8 forms, can be by parsing module
302 parsing audio, video datas, obtain parsing and spliced audio, video data, so as to realize that sound is presented in the local broadcasting page
The broadcasting of video.
The present invention also proposes a kind of TV, including above-mentioned embedded multimedia equipments.
The preferred embodiments of the present invention are the foregoing is only, the scope of the claims of the invention, every utilization is not thereby limited
Equivalent structure or flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (17)
1. a kind of method of playing online audio/video, it is characterised in that comprise the following steps:
Browser is loaded with audio frequency and video label and with the original broadcasting page for redirecting figure layer;
When the jump instruction of figure layer is redirected described in browser acquisition, audio frequency and video label is obtained according to the jump instruction
The form of audio, video data and the audio, video data is simultaneously sent to player, and jump to that the browser previously generates is local
Play the page;
When the broadcasting mark generation play instruction of the local broadcasting page is clicked on, it is concurrent that the browser obtains play instruction
Deliver to player;
After the player obtains the play instruction, regarded according to the play instruction, the audio, video data for being received and sound
The form of frequency evidence plays the audio, video data;
The browser be loaded with audio frequency and video label and the step of with the original broadcasting page for redirecting figure layer before include:
The browser sets up a local broadcasting page, and sets up the local broadcasting mark for playing the page and the browser
Calling interface corresponding relation.
2. method according to claim 1, it is characterised in that described when clicking on the local broadcasting mark for playing the page
During generation play instruction, the browser obtains play instruction and includes the step of transmission to player:
When the broadcasting mark generation play instruction of the local broadcasting page is clicked on, the browser is obtained by calling interface
The play instruction is simultaneously sent to player.
3. method according to claim 1, it is characterised in that the browser is loaded with audio frequency and video label and with jump
Include before the step of turning the original broadcasting page of figure layer:
The browser is superimposed a figure layer on the original broadcasting page of the audio frequency and video, and formation redirects figure layer.
4. method according to claim 3, it is characterised in that the original broadcasting page of the browser in the audio frequency and video
One figure layer of upper superposition, forming the step of redirecting figure layer includes:
One figure layer big with the play area of the audio frequency and video etc. of addition;
Drawn in the figure layer and redirect mark and addition touch event mark, figure layer is redirected described in formation.
5. method according to claim 4, it is characterised in that figure layer is redirected described in being obtained when the browser redirects finger
When making, the form of audio, video data and the audio, video data according to the jump instruction acquisition audio frequency and video label is concurrent
Player is delivered to, is included the step of jump to the local broadcasting page that the browser previously generates:
Pre-build local the broadcasting page and the corresponding relation for redirecting figure layer;
Shield the audio-video interface of the browser and the interface of player in advance docks detection, and testing result is revised as into inspection
Survey successfully;
When mark or operation touch event mark generation jump instruction is redirected described in operation, institute is obtained according to the jump instruction
Label is stated, the web page address of the audio frequency and video is obtained according to the label;
The form of the audio, video data and the audio, video data is obtained according to the web page address and is sent to player, jumped
Go to the corresponding local broadcasting page.
6. method according to claim 1, it is characterised in that the page is the HTML5 pages.
7. the method according to claim any one of 1-6, it is characterised in that when the player obtains the play instruction
Afterwards, the form according to the play instruction, the audio, video data for being received and the audio, video data plays the audio frequency and video number
According to the step of before include:
Whether the form for judging the audio, video data is M3U8 forms, judges whether the player is supported to play the M3U8
The audio, video data of form, if the result for judging is being, performs and obtains play instruction and play the audio, video data
Step;
If the form of the audio, video data is M3U8 forms, and the player does not support that the sound for playing the M3U8 forms is regarded
Frequency according to when, then parse the audio, video data, obtain spliced audio, video data.
8. method according to claim 7, it is characterised in that the parsing audio, video data, obtains spliced sound and regards
Frequency according to the step of include:
The audio, video data is sent to local playback process device;
Receive the local playback process device to download and spliced audio, video data, to play the spliced audio frequency and video number
According to.
9. a kind of embedded multimedia equipments, including browser and player on the embedded multimedia equipments,
It is characterized in that:The browser includes load-on module, jump module and acquisition module, and the player includes playing module,
Wherein,
The load-on module, for being loaded with audio frequency and video label and the original broadcasting page with figure layer is redirected;
The jump module, for when the jump instruction of figure layer is redirected described in acquisition, obtaining sound according to the jump instruction and regarding
The form of the audio, video data of frequency marking label and the audio, video data is simultaneously sent to player, jumps to the pre- Mr. of the browser
Into the local broadcasting page;
The acquisition module, for when the broadcasting mark generation play instruction of the local broadcasting page is clicked on, obtaining and playing
Instruct and send to player;
The playing module, for after the play instruction is obtained, according to the play instruction, the audio, video data for being received
And the form of audio, video data plays the audio, video data;
The browser also includes setting up module, for setting up a local broadcasting page, and sets up the local broadcasting page
Play the corresponding relation of mark and the calling interface of the browser.
10. embedded multimedia equipments according to claim 9, it is characterised in that the acquisition module is specifically for working as
When clicking on the broadcasting mark generation play instruction of the local broadcasting page, the play instruction is obtained by calling interface concurrent
Deliver to player.
11. embedded multimedia equipments according to claim 9, it is characterised in that the browser also includes superposition mould
Block, for being superimposed a figure layer on the original broadcasting page of the audio frequency and video, formation redirects figure layer.
12. embedded multimedia equipments according to claim 11, it is characterised in that the laminating module includes that addition is single
Unit and drawing unit, wherein,
Adding device, for adding a figure layer big with the play area of the audio frequency and video etc.;
Drawing unit, mark and addition touch event mark are redirected for being drawn in the figure layer, and figure layer is redirected described in formation.
13. embedded multimedia equipments according to claim 12, it is characterised in that the jump module includes setting up single
Unit, screen unit first acquisition unit and second acquisition unit, wherein,
Unit is set up, for pre-building local the broadcasting page and the corresponding relation for redirecting figure layer;
Screen unit, detection is docked for shield the audio-video interface of the browser and the interface of player in advance, will be examined
Results modification is surveyed to detect successfully;
First acquisition unit, for redirecting mark or when operation touch event mark generates jump instruction when operation is described, according to
The jump instruction obtains the label, and the web page address of the audio frequency and video is obtained according to the label;
Second acquisition unit, the form for obtaining the audio, video data and the audio, video data according to the web page address
And send to player, jump to the corresponding local broadcasting page.
14. embedded multimedia equipments according to claim 9, it is characterised in that the page is the HTML5 pages.
15. embedded multimedia equipments according to any one of claim 9 to 14, it is characterised in that described embedded many
Media device also includes the processor being connected with the browser and the player respectively, wherein, the processor includes sentencing
Disconnected module and parsing module, whether the form that the judge module is used to judge the audio, video data is M3U8 forms, is judged
Whether the player is supported to play the audio frequency and video of the M3U8 forms, if it is to trigger the broadcasting that the result for judging is
The acquisition module of device obtains play instruction;
The parsing module is used for when the form of the audio, video data is M3U8 forms, and the player does not support broadcasting institute
When stating the audio, video data of M3U8 forms, then the audio, video data is parsed, obtain spliced audio, video data.
16. embedded multimedia equipments according to claim 15, it is characterised in that the parsing module includes sending single
Unit and receiving unit, wherein,
Transmitting element, for the audio, video data to be sent into local playback process device;
Receiving unit, receives the local playback process device and downloads and spliced audio, video data, after playing the splicing
Audio, video data.
A kind of 17. TVs, including the embedded multimedia equipments described in any one of claim 9 to 16.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310316721.9A CN103414866B (en) | 2013-07-25 | 2013-07-25 | The method of playing online audio/video, embedded multimedia equipments and TV |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310316721.9A CN103414866B (en) | 2013-07-25 | 2013-07-25 | The method of playing online audio/video, embedded multimedia equipments and TV |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103414866A CN103414866A (en) | 2013-11-27 |
CN103414866B true CN103414866B (en) | 2017-06-16 |
Family
ID=49607848
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310316721.9A Expired - Fee Related CN103414866B (en) | 2013-07-25 | 2013-07-25 | The method of playing online audio/video, embedded multimedia equipments and TV |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103414866B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103905556A (en) * | 2014-04-10 | 2014-07-02 | 中央电视台 | Digital storage method, device and system for multimedia data in Ethernet |
CN105407407A (en) * | 2014-06-26 | 2016-03-16 | 广州市动景计算机科技有限公司 | Video playing method and device |
CN105791994B (en) * | 2014-12-25 | 2019-09-06 | 深圳Tcl数字技术有限公司 | A kind of webkit browser video broadcasting method and device based on android system |
CN104778038A (en) * | 2015-03-20 | 2015-07-15 | 四川长虹电器股份有限公司 | Method for realizing universal HTML5 (hypertext markup language 5) player for embedded browser |
CN106330842A (en) * | 2015-07-02 | 2017-01-11 | 天脉聚源(北京)科技有限公司 | Network audio file playing method and network audio file playing system |
CN106254961B (en) * | 2016-07-27 | 2019-09-17 | 青岛海信电器股份有限公司 | Video broadcasting method and TV in TV |
CN106503124B (en) * | 2016-10-19 | 2019-08-30 | 北京小米移动软件有限公司 | The method and apparatus that multimedia file positions in the page |
CN108536575A (en) * | 2017-03-02 | 2018-09-14 | 中国移动通信有限公司研究院 | The test method and device of the user experience index of online audio and video playing |
CN108040279B (en) * | 2017-12-07 | 2021-01-08 | 麒麟合盛网络技术股份有限公司 | Video acceleration method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101668179A (en) * | 2009-09-11 | 2010-03-10 | 深圳市同洲电子股份有限公司 | Video on demand method based on bidirectional digital transmission network and set top box |
CN101668110A (en) * | 2008-09-05 | 2010-03-10 | 中兴通讯股份有限公司 | Set-top box and media play controlling method thereof |
CN102497452A (en) * | 2011-12-28 | 2012-06-13 | 山东大学 | Online streaming media service method based on embedded terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070130510A1 (en) * | 2005-12-07 | 2007-06-07 | Gautam Dharamshi | Method and apparatus for improving user accessibility on the web |
-
2013
- 2013-07-25 CN CN201310316721.9A patent/CN103414866B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101668110A (en) * | 2008-09-05 | 2010-03-10 | 中兴通讯股份有限公司 | Set-top box and media play controlling method thereof |
CN101668179A (en) * | 2009-09-11 | 2010-03-10 | 深圳市同洲电子股份有限公司 | Video on demand method based on bidirectional digital transmission network and set top box |
CN102497452A (en) * | 2011-12-28 | 2012-06-13 | 山东大学 | Online streaming media service method based on embedded terminal |
Also Published As
Publication number | Publication date |
---|---|
CN103414866A (en) | 2013-11-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103414866B (en) | The method of playing online audio/video, embedded multimedia equipments and TV | |
CN107172454B (en) | Video recommendation method, medium, device and computing equipment | |
US9161238B2 (en) | Mobile device monitoring and testing | |
US9003277B2 (en) | Method and system for presenting web page resources | |
CN103517158B (en) | Method, device and system for generating videos capable of showing video notations | |
US20120284696A1 (en) | Method, Apparatuses and a System for Compilation | |
CN111614988B (en) | System and method for presenting home screen shortcuts | |
CN106507161A (en) | Net cast method and live broadcast device | |
US20140325323A1 (en) | Online video playing method and apparatus and computer readable medium | |
US20170316209A1 (en) | Method and device for preventing application in an operating system from being uninstalled | |
CN103473341A (en) | Playing list generating method and equipment | |
CN111930973A (en) | Multimedia data playing method and device, electronic equipment and storage medium | |
CN102819436A (en) | User interface interactive method and device based on webpage mailbox | |
CN104424212A (en) | Method and device for sharing media content and method and device for display media content | |
KR101746052B1 (en) | Method and apparatus for providing e-book service in a portable terminal | |
CN103514219A (en) | Method and system for sharing Web content between multiple terminals | |
CN104918119A (en) | Video processing method based on iOS browser, and video processing apparatus based on iOS browser | |
CN104601535B (en) | Method for processing video frequency and system | |
CN109753332A (en) | Method and apparatus for showing information | |
CN110297762A (en) | Plug-in type automatic test approach, device, computer equipment and storage medium | |
Melo et al. | WebNCL: a web-based presentation machine for multimedia documents | |
CN106844182A (en) | Method, system and mobile terminal for recording user behavior | |
CN106250007B (en) | A kind of system and method realizing branching selection and playing | |
EP2959402A1 (en) | Architecture for remote access to content state | |
EP3125541A1 (en) | Data acquisition and interaction method, set top box, server and multimedia system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170616 |