Supercharge Your Innovation With Domain-Expert AI Agents!

JavaScript extension-based Web page voice control realization method

An implementation method and voice technology, applied in the field of web engines, can solve problems such as reducing the jumping speed of hyperlinks and affecting user experience, so as to achieve the effects of shortening response time, improving processing speed, and enhancing user experience

Active Publication Date: 2017-07-25
ZHENGZHOU SEANET TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the voice recognition function is added to web browsing, the existing problem is how to efficiently analyze the hyperlink tags in the web page and control the jump of hyperlinks through voice to browse the web
[0004] The problem with the above method is that before sending a click event to the webpage label, the coordinates of the label on the screen need to be calculated, and each time the page changes, it needs to be calculated once. This method also needs to call the mouse click function of the system to Trigger related operations, and additionally apply for computing resources and use system functions from the device, which will significantly reduce the jump speed of hyperlinks and affect user experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • JavaScript extension-based Web page voice control realization method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029]

[0030]

[0031] figure 1

[0032]

[0033]

[0034]

[0035]

[0036]

[0037]

[0038]

[0039] 、 、 、 as well as Media tags, with onkeydown event, onclick event, ondblcick event 、, ,, , , 、 Label. In the above technical solution, the hyperlink tag in the step 2-2) refers to the Label.

[0023] In the above-mentioned technical scheme, the concrete realization process of described step 2-3) is:

[0024] If the tag is a hyperlink tag, the generated two-tuple is: (hyperlink ID, hyperlink), where the hyperlink ID directly uses the text information of the tag; if the type of the tag is an event attribute, since its text information content is empty, The text needs to be customized: defined as the unique event name description identifier text in the page; the two-tuple generated by the event attribute tag is: (unique event name description identifier, event function).

[0025] In the above-mentioned technical scheme, the concrete realizati...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a JavaScript extension-based Web page voice control realization method. The method comprises the steps of obtaining a webpage address by a Web engine, and calling JavaScript extension to analyze a webpage, thereby obtaining event attribute-containing labels and hyperlink labels in the webpage; obtaining information of all the labels in the webpage; allocating a unique operation identifier to each label, and forming a two-tuple set; according to the label type of each label, adding the corresponding operation identifier for each label; speaking out a keyword by a user according to the operation identifiers of the webpage, analyzing the keyword into a text through a voice engine, and matching the text obtained by analysis with the identifiers in the two-tuple set to obtain the matching identifier corresponding to the text; and triggering an event function or a hyperlink jump corresponding to the matching identifier by the Web engine through calling the JavaScript. According to the method, an additional mouse clicking event does not need to be triggered, so that the response time can be shortened, the processing speed can be increased, and the user experience can be enhanced.

Description

technical field [0001] The invention relates to the technical field of Web engines, in particular to a method for realizing voice control of Web pages based on JavaScript extension. Background technique [0002] With the rapid development of speech recognition technology, more and more web applications and smart devices integrate speech function modules, which facilitates people's lives. When the speech recognition function is added to web browsing, the problem is how to efficiently parse the hyperlink tags in the web page, and control the jump of hyperlinks by voice to browse the web. [0003] In existing applications, the general approach is to start the voice engine and load the webpage at the same time, bind the unique voice text label while obtaining the label in the webpage, and calculate the text after the user speaks the corresponding text label The coordinates of the text on the screen of the device, and a click event is sent to the coordinates to realize the link ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/30
Inventor 党寿江李强脱立恒李超鹏
Owner ZHENGZHOU SEANET TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More