CN102905185A - Method for full-voice control over HTML5 (Hypertext Markup Language 5) video playing - Google Patents
Method for full-voice control over HTML5 (Hypertext Markup Language 5) video playing Download PDFInfo
- Publication number
- CN102905185A CN102905185A CN201210417976XA CN201210417976A CN102905185A CN 102905185 A CN102905185 A CN 102905185A CN 201210417976X A CN201210417976X A CN 201210417976XA CN 201210417976 A CN201210417976 A CN 201210417976A CN 102905185 A CN102905185 A CN 102905185A
- Authority
- CN
- China
- Prior art keywords
- video
- browser
- node
- voice control
- html5
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention relates to an internet television technology, solves the problem that a browser of the traditional internet television cannot realize full-voice control of video playing on a page, and provides a method for full-voice control over HTML5 (Hypertext Markup Language 5) video playing. A technical scheme is as follows: when a target page is loaded by the browser, nodes corresponding to HTML5 Video are saved in a linked list by means of traversing a DOM (Document Object Model) tree so as to produce a HTML5 Video linked list, if a user inputs a voice command on video playing, a video to be played is selected, the browser selects to play the corresponding node, HTML5 Video View Proxy is modified, all video voice control interfaces are added, and in a video playing process, the browser selects the corresponding video voice control interface according to the voice command so as to control the video playing process. The method has the beneficial effects of facilitating the user and being suitable for the internet televisions.
Description
Technical field
The present invention relates to the internet television machine technology, particularly the built-in browser technology of internet television.
Background technology
Along with improving and sector application progressively ripe of HTML5 standard, so that HTML5 becomes the bright spot of the Internet maximum in 2012, HTML5 has not only enriched the ability of playing up of the Web page, a large amount of rich media label also is provided, now the most domestic video website as: excellent cruel, potato and Tengxun's video etc. all adopt HTML5Vi deo design and realize.
Voice are the most convenient and the most natural the most direct modes of intelligent TV set man-machine interaction, in the last few years, voice are day by day affecting and are changing daily life, the appearance of apple Siri, announced the arrival in " voice " epoch, the fast development of voice technology, television manufacturer this brand-new control mode of voice operating is transplanted in separately the intelligent TV set successively, wish to improve interactive experience and interactive efficiency between user and the television set, to solve the restriction of the input medium of television set own, for intelligent TV set, the browser application application that is absolutely necessary, and the user is one of normal operation of using of user by browser playing network video, current most of browser mainly operates by remote controller when browsing page control video playback, with respect to voice operating, inefficiency, the user experiences not good, so also be badly in need of a kind of mode that can thoroughly change traditional man-machine interaction in the internet television field, under current Gesture Recognition is that all right ripe condition, the relatively fast development of voice technology, it is inevitable that voice control is become.
At present, most of producers have all released based on voice-operated browser, but most of browsers are confined to mobile terminal of mobile telephone, and the voice of realizing control, just the page directly opened in the simple voice of realizing, voice access " bookmark ", " history ", " interpolation bookmark ", " setting " reaches functions such as " withdrawing from ".For example, user speech typing " excellent cruel ", after then browser is received this order, can automatically open excellent cruel homepage, the current main-stream browser has substantially all been realized this function, but the user can not continue to play by voice control the video of current page, and on the market browser is not all also realized this function at present, that is to say that present browser does not have also really to realize that " full voice " control the playing process of page video.
Summary of the invention
The browser that the objective of the invention is to overcome present internet television can not be realized the shortcoming of full voice control page video playback, and a kind of method of full voice control HTML5 video playback is provided.
The present invention solves its technical problem, and the technical scheme of employing is that the method for full voice control HTML5 video playback is characterized in that, may further comprise the steps:
Step 1, user speech control open any browser and the select target page;
Step 2, the browser loaded targets page, data structure selects chained list to carry out the related and storage of data, by the traversal dom tree, obtains the Node node that all HTML5Video are corresponding in the current page, these Node nodes are saved in the chained list, generate the HTML5Video chained list;
If the voice command of step 3 user typing video playback, then browser judges whether only there is a Node node in the HTML5Video chained list, if then acquiescence is play this Node node and is entered step 5, if not then the HTML5Video chained list is presented to the video that the user need to be play by user selection, and enter step 4;
Step 4, user speech select to want the video play, the corresponding voice command of typing, and browser selects corresponding Node node to play according to the voice command that receives;
Step 5, browser are revised HTML5VideoViewProxy(browser HTML5 video Broadcast Control interface class), add therein each video voice control interface;
In step 6, the video display process, user's typing voice command selects corresponding video voice control interface that video display process is controlled according to the voice command browser.
Concrete, in the step 5, described video voice control interface comprises suspending to be play, continue broadcast, positioning time and withdraws from broadcast.
The invention has the beneficial effects as follows, method by above-mentioned full voice control HTML5 video playback, can realize the page video full voice of HTML5 standard is play and control, make things convenient for the user, and realize also no longer needing traditional remote controller can control the video playback of internet television fully under the prerequisite of touch function in inconvenience on the television set.
Embodiment
Below in conjunction with embodiment, describe technical scheme of the present invention in detail.
The method of full voice control HTML5 video playback of the present invention is: at first user speech is controlled open any browser and the select target page, then the browser loaded targets page, data structure selects chained list to carry out the related and storage of data, by the traversal dom tree, obtain the Node node that all HTML5Video are corresponding in the current page, these Node nodes are saved in the chained list, generate the HTML5Video chained list, if the voice command of user's typing video playback, then browser judges whether only there is a Node node in the HTML5Video chained list, if then acquiescence is play this Node node, browser is revised HTML5VideoViewProxy(browser HTML5 video Broadcast Control interface class), add therein each video voice control interface, if not then the HTML5Video chained list is presented to the video that the user need to be play by user selection, user speech selects to want the video play, the corresponding voice command of typing, browser selects corresponding Node node to play according to the voice command that receives, browser is revised HTML5VideoViewProxy(browser HTML5 video Broadcast Control interface class), add therein each video voice control interface, in video display process, user's typing voice command selects corresponding video voice control interface that video display process is controlled according to the voice command browser.
Embodiment
Video voice control interface in this example comprises suspending to be play, continue broadcast, positioning time and withdraws from broadcast etc.
At first user speech is controlled open any browser and the select target page, then the browser loaded targets page, data structure selects chained list to carry out the related and storage of data, by the traversal dom tree, obtain the Node node that all HTML5Video are corresponding in the current page, these Node nodes are saved in the chained list, generate the HTML5Video chained list, if the voice command of user's typing video playback, the voice command of video playback can be " displaying video " or voice commands such as " video playback ", can be set up on their own by the setting of television set manufacturer or user, then browser judges whether only there is a Node node in the HTML5Video chained list, if then acquiescence is play this Node node, browser is revised HTML5VideoViewProxy(browser HTML5 video Broadcast Control interface class), add therein each video voice control interface, if not then the HTML5Video chained list is presented to the video that the user need to be play by user selection, user speech selects to want the video play, the corresponding voice command of typing, browser selects corresponding Node node to play according to the voice command that receives, browser is revised HTML5VideoViewProxy(browser HTML5 video Broadcast Control interface class), add therein each video voice control interface, as suspend broadcast, continue to play, positioning time and withdraw from broadcast etc., in video display process, user's typing voice command, the voice command here namely is the voice command to video playback, such as " suspend and play ", " continue to play ", " positioning time XX divide XX second " reaches " withdrawing from broadcast " etc., selects corresponding video voice control interface that video display process is controlled according to the voice command browser.
User's typing voice command obtains in this example, can be to obtain by third-party speech engine, this is now relatively ripe technology, no longer describes in detail among the present invention, and the character string that browser parses by speech engine is selected by video and video playback is carried out corresponding control.
Claims (2)
1. the method for full voice control HTML5 video playback is characterized in that, may further comprise the steps:
Step 1, user speech control open any browser and the select target page;
Step 2, the browser loaded targets page, data structure selects chained list to carry out the related and storage of data, by the traversal dom tree, obtains the Node node that all HTML5Video are corresponding in the current page, these Node nodes are saved in the chained list, generate the HTML5Video chained list;
If the voice command of step 3 user typing video playback, then browser judges whether only there is a Node node in the HTML5Video chained list, if then acquiescence is play this Node node and is entered step 5, if not then the HTML5Video chained list is presented to the video that the user need to be play by user selection, and enter step 4;
Step 4, user speech select to want the video play, the corresponding voice command of typing, and browser selects corresponding Node node to play according to the voice command that receives;
Step 5, browser are revised HTML5VideoViewProxy, add therein each video voice control interface;
In step 6, the video display process, user's typing voice command, browser select corresponding video voice control interface that video display process is controlled.
2. the method for described full voice control HTML5 video playback according to claim 1 is characterized in that in the step 5, described video voice control interface comprises suspending to be play, continue broadcast, positioning time and withdraw from broadcast.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210417976.XA CN102905185B (en) | 2012-10-26 | 2012-10-26 | The method of full voice control HTML5 video playback |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210417976.XA CN102905185B (en) | 2012-10-26 | 2012-10-26 | The method of full voice control HTML5 video playback |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102905185A true CN102905185A (en) | 2013-01-30 |
CN102905185B CN102905185B (en) | 2016-02-10 |
Family
ID=47577191
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210417976.XA Active CN102905185B (en) | 2012-10-26 | 2012-10-26 | The method of full voice control HTML5 video playback |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102905185B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014172815A1 (en) * | 2013-04-24 | 2014-10-30 | Li Min | Gesture television remote controller |
CN104778038A (en) * | 2015-03-20 | 2015-07-15 | 四川长虹电器股份有限公司 | Method for realizing universal HTML5 (hypertext markup language 5) player for embedded browser |
CN105528578A (en) * | 2015-12-04 | 2016-04-27 | 国家电网公司 | Online training monitoring method based on sound image process tracking |
CN109410932A (en) * | 2018-10-17 | 2019-03-01 | 百度在线网络技术(北京)有限公司 | Voice operating method and apparatus based on HTML5 webpage |
CN112367549A (en) * | 2020-11-10 | 2021-02-12 | 四川长虹电器股份有限公司 | Video playing implementation method of television browser and browser application operation method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201402461Y (en) * | 2008-12-30 | 2010-02-10 | 同济大学第一附属中学 | Sound-control web-page browser and voice control module thereof |
US20100235765A1 (en) * | 2008-10-14 | 2010-09-16 | I-Fax.Com Inc. | DOM Based Media Viewer |
CN102036033A (en) * | 2010-12-31 | 2011-04-27 | Tcl集团股份有限公司 | Method for remotely controlling television with voice and remote voice control |
CN102572569A (en) * | 2012-02-24 | 2012-07-11 | 北京原力创新科技有限公司 | Set top box, internet television and method for processing intelligent control signals |
CN102664009A (en) * | 2012-05-07 | 2012-09-12 | 乐视网信息技术(北京)股份有限公司 | System and method for implementing voice control over video playing device through mobile communication terminal |
CN102724309A (en) * | 2012-06-14 | 2012-10-10 | 广东好帮手电子科技股份有限公司 | Vehicular voice network music system and control method thereof |
-
2012
- 2012-10-26 CN CN201210417976.XA patent/CN102905185B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100235765A1 (en) * | 2008-10-14 | 2010-09-16 | I-Fax.Com Inc. | DOM Based Media Viewer |
CN201402461Y (en) * | 2008-12-30 | 2010-02-10 | 同济大学第一附属中学 | Sound-control web-page browser and voice control module thereof |
CN102036033A (en) * | 2010-12-31 | 2011-04-27 | Tcl集团股份有限公司 | Method for remotely controlling television with voice and remote voice control |
CN102572569A (en) * | 2012-02-24 | 2012-07-11 | 北京原力创新科技有限公司 | Set top box, internet television and method for processing intelligent control signals |
CN102664009A (en) * | 2012-05-07 | 2012-09-12 | 乐视网信息技术(北京)股份有限公司 | System and method for implementing voice control over video playing device through mobile communication terminal |
CN102724309A (en) * | 2012-06-14 | 2012-10-10 | 广东好帮手电子科技股份有限公司 | Vehicular voice network music system and control method thereof |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014172815A1 (en) * | 2013-04-24 | 2014-10-30 | Li Min | Gesture television remote controller |
CN104778038A (en) * | 2015-03-20 | 2015-07-15 | 四川长虹电器股份有限公司 | Method for realizing universal HTML5 (hypertext markup language 5) player for embedded browser |
CN105528578A (en) * | 2015-12-04 | 2016-04-27 | 国家电网公司 | Online training monitoring method based on sound image process tracking |
CN109410932A (en) * | 2018-10-17 | 2019-03-01 | 百度在线网络技术(北京)有限公司 | Voice operating method and apparatus based on HTML5 webpage |
CN109410932B (en) * | 2018-10-17 | 2022-03-01 | 百度在线网络技术(北京)有限公司 | Voice operation method and device based on HTML5 webpage |
CN112367549A (en) * | 2020-11-10 | 2021-02-12 | 四川长虹电器股份有限公司 | Video playing implementation method of television browser and browser application operation method |
CN112367549B (en) * | 2020-11-10 | 2021-08-06 | 四川长虹电器股份有限公司 | Video playing implementation method of television browser and browser application operation method |
Also Published As
Publication number | Publication date |
---|---|
CN102905185B (en) | 2016-02-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102905185A (en) | Method for full-voice control over HTML5 (Hypertext Markup Language 5) video playing | |
AU2015276993B2 (en) | Methods, systems, and media for searching for video content | |
WO2015062438A1 (en) | Instructing mode switching method and apparatus based on smart television interface | |
CN103927175A (en) | Method with background interface dynamically changing along with audio and terminal equipment | |
WO2016201333A1 (en) | Methods, systems, and media for aggregating and presenting content relevant to a particular video game | |
CN104469516B (en) | A kind of video web page treating method and apparatus of Android system | |
CN102594915B (en) | Browser-based media play system and method | |
CN101505409B (en) | Method for playing mobile multimedia broadcast program through browser and terminal thereof | |
CN103970839A (en) | Method for controlling webpage browsing through voice | |
CN102647634A (en) | Multi-fragment video playing method and device based on hypertext markup language (HTML) 5 video | |
CN103618942A (en) | Smart television, as well as method and device for playing browser webpage video of smart television | |
WO2011085661A1 (en) | Method, terminal and system for controlling execution of web script commands of embedded browser | |
CN101504650B (en) | Intelligent network rendering engine switching method | |
CN102932694B (en) | Intelligent TV network interface display method and device | |
CN103533415A (en) | Internet television system based on sound control man-machine interaction technology and implementation method thereof | |
CN105072465A (en) | Video play control method and electronic equipment | |
CN103618936A (en) | Smart television, as well as method and device for pre-downloading link pages in browser of smart television | |
CN102413297A (en) | Method for realizing webpage browsing on television and television | |
CN103902184A (en) | Electronic equipment, and method and device for controlling electronic equipment | |
CN104954872B (en) | video downloading method, video playing device, mobile terminal and storage medium | |
CN104244076B (en) | A kind of method and system for grouping being realized by DLNA while manipulating more media devices | |
CN106155507A (en) | A kind of page content display method and electronic equipment | |
CN102902719A (en) | Voice-control webpage browsing method for embedded browser | |
CN103686308B (en) | The method and system for setting video shuffle to play | |
CN104090820A (en) | Method and device for playing webpage multimedia file |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |