Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Dynamic compiling and executing method of embedded browser engine

An embedded browser and dynamic compilation technology, applied in the direction of instruments, memory systems, program control design, etc., can solve the problems of long delay, poor user effect, poor immediacy and efficiency, etc., to avoid overhead and execute Javascript The effect of fast script and timely information

Inactive Publication Date: 2012-10-17
UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Thereby overcoming defects such as poor immediacy and efficiency of JavaScript script execution on current webpages existing in the dynamic compilation of embedded browser JavaScript engine in the background technology, delay is still long, and user use effect is poor

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
  • Dynamic compiling and executing method of embedded browser engine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] In this embodiment, the digital TV set-top box processes the script code as an example: the script code in this example includes a loop structure, and the script also includes event response processing, and the user will continuously trigger the event response. Now, the processing method of the present invention will be specifically described according to the processing of the example by the Javascript engine of the embedded browser.

[0017] Accompanying drawing 1 is the schematic flow chart of this implementation mode, and the dynamic compiling execution method of the engine is as follows:

[0018] Step A: First, establish a small buffer for accessing bytecode and object code, that is, bytecode buffer and object code buffer, which are used to save and call bytecode and object code respectively, and through logical buffering The management mechanism of the area realizes the management of the jump connection of each small buffer object code;

[0019] Step B1: The JavaS...

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 belongs a dynamic compiling and executing method of a JavaScript engine of an embedded browser, and the method comprises: creating and expanding a combined cache region, compiling a script hot point and an abstract syntax tree, scanning the abstract syntax tree, compiling byte codes and target codes, executing a script and determining and compiling a hot point region. According to the invention, the hot point scanning process is performed in front of the process of converting the abstract syntax tree into byte codes in a dynamic compiling mode in the JavaScript engine of the embedded browser and the advantages of fast explanation and execution response speed and high JIT execution efficiency are fully combined to further detect the hot point beyond the circulating structure in the explanation and execution process. Therefore, the method has the advantages of effectively improving the synchronism and efficiency of dynamic compiling of the JavaScript engine of the embedded browser and the JavaScript script operation, shortening the delay time between the dynamic compiling and executing, quickly executing the JavaScript script, updating the information displayed on a webpage in time and effectively improving the utilization effect of the user.

Description

technical field [0001] The invention belongs to the technical field of embedded browsers, in particular to a processing method for dynamically compiling and executing JavaScript scripts of JavaScript engines of embedded browsers, and adopting the method can effectively improve the synchronization and efficiency of JavaScript engine dynamic compilation and JavaScript script execution . Background technique [0002] The browser is a client software based on the hypertext transfer protocol. Its main function is to download webpage elements such as webpage documents, pictures, and cascading style sheets from the web server. There are many factors that affect the performance of the browser. The performance of the script engine is One of the key factors that determine browser performance. In a sense, the performance competition of browsers is the performance competition of script engines. The main tasks that the script engine needs to handle are parsing dynamic web pages and pro...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/45
Inventor 郭文生桑楠郭小福余启洋
Owner UNIV OF ELECTRONICS SCI & TECH OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products