Unlock instant, AI-driven research and patent intelligence for your innovation.

JavaScript execution method and device, electronic equipment and storage medium

An execution method and storage medium technology, applied in the computer field, can solve the problems of slow execution speed of JavaScript and achieve the effect of reducing script processing time and improving transaction processing efficiency

Pending Publication Date: 2022-01-28
BANK OF CHINA
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the JavaScript scripting language needs to be parsed before it can be executed, so the slow execution speed of JavaScript is an urgent problem to be solved

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 execution method and device, electronic equipment and storage medium
  • JavaScript execution method and device, electronic equipment and storage medium
  • JavaScript execution method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0046] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0047] For the convenience of understanding the present invention, the relevant concepts in the present invention are first described below:

[0048] Script: Program text that is interpreted for execution at runti...

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 execution method and device, electronic equipment and a storage medium, when a system is started or initialized, after a JavaScript expression script in program configuration is loaded, the JavaScript expression script is converted into a corresponding JavaScript function, and the JavaScript function is compiled in a script engine. When the transaction is subsequently operated and processed by the system, if the target JavaScript expression script needs to be executed, only the context object is required to serve as the function parameter to call the script engine to execute the corresponding compiled JavaScript function, so that the situation that the script needs to be analyzed and processed every time the script is executed is avoided, the script processing time is shortened, and the transaction processing efficiency is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, and more specifically, to a JavaScript script execution method, device, electronic equipment and storage medium. Background technique [0002] In Java program development, it is often necessary to configure some script expressions in the program configuration (file or other persistent media), and then calculate the value of the expression when the program is executed, and perform subsequent processing according to the result of the calculated value. Because JavaScript syntax is rich and flexible, it is very convenient to use it to write expression scripts. [0003] However, the JavaScript scripting language needs to be parsed before it can be executed, so the slow execution speed of JavaScript is an urgent problem to be solved. Contents of the invention [0004] In view of this, in order to solve the above problems, the present invention provides a JavaScript script execution method,...

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): G06F9/448
CPCG06F9/4482G06F9/4488
Inventor 柏跃陈宇文严振玲
Owner BANK OF CHINA