CN102905185B - The method of full voice control HTML5 video playback - Google Patents
The method of full voice control HTML5 video playback Download PDFInfo
- Publication number
- CN102905185B CN102905185B CN201210417976.XA CN201210417976A CN102905185B CN 102905185 B CN102905185 B CN 102905185B CN 201210417976 A CN201210417976 A CN 201210417976A CN 102905185 B CN102905185 B CN 102905185B
- Authority
- CN
- China
- Prior art keywords
- video
- browser
- node
- user
- chained list
- 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.)
- Active
Links
Abstract
The present invention relates to internet television machine technology.The browser that the invention solves existing internet television can not realize the problem that full voice controls page video playback, provide a kind of method of full voice control HTML5 video playback, its technical scheme can be summarized as: during the browser loaded targets page, by traversal dom tree, Node node corresponding for HTML5Video is saved in chained list, generate HTML5Video chained list, if the voice command of user's typing video playback, select the video wanting to play, browser is selected to play corresponding Node node, amendment HTML5VideoViewProxy, add each video speech control interface, in video display process, corresponding video speech control interface is selected to control video display process according to voice command browser.The invention has the beneficial effects as follows, facilitate user, be applicable to internet television.
Description
Technical field
The present invention relates to 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, HTML5 is made to become the maximum bright spot in the Internet in 2012, HTML5 has not only enriched the rendering capability of Web page, additionally provide a large amount of rich media label, present most domestic video website as: excellent cruel, potato and Tengxun's video etc. all adopt HTML5Video design and implimentation.
Voice are the directly the most convenient of intelligent TV set man-machine interaction and the most natural mode, in the last few years, voice are day by day affecting and are changing daily life, the appearance of apple Siri, announce the arrival in " voice " epoch, the fast development of voice technology, television manufacturer successively this for voice operating brand-new control mode is transplanted in respective intelligent TV set, wish to improve the interactive experience between user and television set and interactive efficiency, to solve the restriction of the input medium of television set own, for intelligent TV set, browser application is absolutely necessary application, and user is one of operation of often using of user by browser playing network video, Most current browser is mainly operated by remote controller when browsing page controls video playback, relative to voice operating, inefficiency, Consumer's Experience is not good, so be also badly in need of a kind of mode that thoroughly can change traditional man-machine interaction in internet television field, under current Gesture Recognition also jejune condition, the fast development of relative voice technology, Voice command is made to become inevitable.
At present, most of producer is all proposed based on voice-operated browser, but most of browser is confined to mobile terminal of mobile telephone, and the Voice command realized, just simply realizing voice directly opens the page, voice recall " bookmark ", " history ", " interpolation bookmark ", the function such as " setting " and " exiting ".Such as, user speech typing " excellent cruel ", after then browser receives this order, automatically excellent cruel homepage can be opened, current main-stream browser substantially all achieves this function, but user can not continue through Voice command and play the video of current page, browser on the market does not all also realize this function at present, and that is current browser does not also really realize the playing process that " full voice " manipulates page video.
Summary of the invention
The browser that the object of the invention is to overcome current internet television can not realize the shortcoming that full voice controls page video playback, provides a kind of method of full voice control HTML5 video playback.
The present invention solves its technical problem, and the technical scheme of employing is, the method for full voice control HTML5 video playback, is characterized in that, comprise the following 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 association and the storage of data, by traversal dom tree, obtains the Node node that in current page, all HTML5Video are corresponding, these Node nodes are saved in chained list, generate 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 HTML5Video chained list, if then acquiescence is play this Node node and is entered step 5, if not then HTML5Video chained list is presented to user is selected to need broadcasting video by user, and enter step 4;
Step 4, user speech select the video wanting to play, the corresponding voice command of typing, and browser selects corresponding Node node to play according to the voice command received;
Step 5, browser amendment HTML5VideoViewProxy(browser HTML5 video Broadcast Control interface class), add each video speech control interface wherein;
In step 6, video display process, user's typing voice command, selects corresponding video speech control interface to control video display process according to voice command browser.
Concrete, in step 5, described video speech control interface comprises time-out to be play, continues broadcasting, positioning time and exit broadcasting.
The invention has the beneficial effects as follows, by the method for above-mentioned full voice control HTML5 video playback, can realize playing the page video full voice of HTML5 standard and controlling, facilitate user, and under inconvenience realizes the prerequisite of touch function on a television set, also no longer need traditional remote controller can control the video playback of internet television completely.
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: first user speech controls open any browser and the select target page, then the browser loaded targets page, data structure selects chained list to carry out association and the storage of data, by traversal dom tree, obtain the Node node that in current page, all HTML5Video are corresponding, these Node nodes are saved in chained list, generate HTML5Video chained list, if the voice command of user's typing video playback, then browser judges whether only there is a Node node in HTML5Video chained list, if then acquiescence plays this Node node, browser amendment HTML5VideoViewProxy(browser HTML5 video Broadcast Control interface class), add each video speech control interface wherein, if not then HTML5Video chained list to be presented to user is selected to need broadcasting video by user, user speech selects the video wanting to play, the corresponding voice command of typing, browser selects corresponding Node node to play according to the voice command received, browser amendment HTML5VideoViewProxy(browser HTML5 video Broadcast Control interface class), add each video speech control interface wherein, in video display process, user's typing voice command, corresponding video speech control interface is selected to control video display process according to voice command browser.
Embodiment
Video speech control interface in this example comprises time-out to be play, continues broadcasting, positioning time and exit broadcasting etc.
First user speech controls open any browser and the select target page, then the browser loaded targets page, data structure selects chained list to carry out association and the storage of data, by traversal dom tree, obtain the Node node that in current page, all HTML5Video are corresponding, these Node nodes are saved in chained list, generate HTML5Video chained list, if the voice command of user's typing video playback, the voice command of video playback can be the voice command such as " displaying video " or " video playback ", can be set by television set manufacturer or user's sets itself, then browser judges whether only there is a Node node in HTML5Video chained list, if then acquiescence plays this Node node, browser amendment HTML5VideoViewProxy(browser HTML5 video Broadcast Control interface class), add each video speech control interface wherein, if not then HTML5Video chained list to be presented to user is selected to need broadcasting video by user, user speech selects the video wanting to play, the corresponding voice command of typing, browser selects corresponding Node node to play according to the voice command received, browser amendment HTML5VideoViewProxy(browser HTML5 video Broadcast Control interface class), add each video speech control interface wherein, as suspended broadcasting, continue to play, positioning time and exit broadcasting etc., in video display process, user's typing voice command, here namely voice command is the voice command to video playback, as " suspend and play ", " continue to play ", " positioning time XX divide XX second " and " exiting broadcasting " etc., corresponding video speech control interface is selected to control video display process according to voice command browser.
The acquisition of user's typing voice command in this example, can be obtained by third-party speech engine, this is the technology of present relative maturity, no longer describes in detail in the present invention, and the character string that browser is parsed by speech engine carries out corresponding control to video selection and video playback.
Claims (2)
1. the method for full voice control HTML5 video playback, is characterized in that, comprise the following 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 association and the storage of data, by traversal dom tree, obtains the Node node that in current page, all HTML5Video are corresponding, these Node nodes are saved in chained list, generate 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 HTML5Video chained list, if then acquiescence is play this Node node and is entered step 5, if not then HTML5Video chained list is presented to user is selected to need broadcasting video by user, and enter step 4;
Step 4, user speech select the video wanting to play, the corresponding voice command of typing, and browser selects corresponding Node node to play according to the voice command received;
Step 5, browser amendment browser HTML5 video Broadcast Control interface class, adds each video speech control interface wherein;
In step 6, video display process, user's typing voice command, browser selects corresponding video speech control interface to control video display process.
2. the method for full voice control HTML5 video playback according to claim 1, is characterized in that, in step 5, described video speech control interface comprise suspend play, continue to play, positioning time and exit broadcasting.
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 CN102905185A (en) | 2013-01-30 |
CN102905185B true 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) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203151688U (en) * | 2013-04-24 | 2013-08-21 | 滨州学院 | Gesture television remote control |
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 |
CN109410932B (en) * | 2018-10-17 | 2022-03-01 | 百度在线网络技术(北京)有限公司 | Voice operation method and device based on HTML5 webpage |
CN112367549B (en) * | 2020-11-10 | 2021-08-06 | 四川长虹电器股份有限公司 | Video playing implementation method of television browser and browser application operation method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102572569A (en) * | 2012-02-24 | 2012-07-11 | 北京原力创新科技有限公司 | Set top box, internet television and method for processing intelligent control signals |
CN102724309A (en) * | 2012-06-14 | 2012-10-10 | 广东好帮手电子科技股份有限公司 | Vehicular voice network music system and control method thereof |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8181110B2 (en) * | 2008-10-14 | 2012-05-15 | 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 |
CN102664009B (en) * | 2012-05-07 | 2015-01-14 | 乐视致新电子科技(天津)有限公司 | System and method for implementing voice control over video playing device through mobile communication terminal |
-
2012
- 2012-10-26 CN CN201210417976.XA patent/CN102905185B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102572569A (en) * | 2012-02-24 | 2012-07-11 | 北京原力创新科技有限公司 | Set top box, internet television and method for processing intelligent control signals |
CN102724309A (en) * | 2012-06-14 | 2012-10-10 | 广东好帮手电子科技股份有限公司 | Vehicular voice network music system and control method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN102905185A (en) | 2013-01-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102905185B (en) | The method of full voice control HTML5 video playback | |
CN103596057A (en) | Intelligent-television media player and playing continuing control method thereof, and intelligent television | |
CN103686200A (en) | Intelligent television video resource searching method and system | |
CN104125229B (en) | The player method of Streaming Media and playing device | |
CN111462744B (en) | Voice interaction method and device, electronic equipment and storage medium | |
CN103686352A (en) | Smart television media player and subtitle processing method thereof, and smart television | |
CN103391468B (en) | The buffer control method of a kind of network video data based on mobile terminal and system | |
CN101504650B (en) | Intelligent network rendering engine switching method | |
CN103618942A (en) | Smart television, as well as method and device for playing browser webpage video of smart television | |
CN101505409B (en) | Method for playing mobile multimedia broadcast program through browser and terminal thereof | |
CN104091423A (en) | Signal transmission method and family song request system | |
CN108040264A (en) | A kind of speaker sound control method and equipment for TV programme channel selection | |
CN103533415A (en) | Internet television system based on sound control man-machine interaction technology and implementation method thereof | |
CN103618924A (en) | Method for controlling video and user terminal | |
US8631144B2 (en) | System and method for selection of streaming media | |
CN101815101A (en) | Method, system and device for intelligently pushing network information on audiovisual equipment | |
CN102280132A (en) | Online streaming audio play method based on HTTP (hyper text transfer protocol) | |
CN102419998A (en) | Voice frequency processing method and system | |
CN103970839A (en) | Method for controlling webpage browsing through voice | |
CN104464743B (en) | Method for playing background music in voice chat room and mobile terminal | |
CN104244076B (en) | A kind of method and system for grouping being realized by DLNA while manipulating more media devices | |
CN102902719A (en) | Voice-control webpage browsing method for embedded browser | |
CN101420546A (en) | Digital television set-top box and customized setting method | |
CN103310001A (en) | Method and device for setting video list | |
CN103067890A (en) | Method and device based on video serving as dial-out and dial-in prompt of telephone |
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 |