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

Manner of execution and device of webpage scripting language

A technology of scripting language and execution method, applied in the field of data processing, can solve the problems of dependence, destruction of structure, lack of flexibility, etc., and achieve the effect of easy control

Inactive Publication Date: 2013-03-20
SHENZHEN KINGDEE MIDDLEWARE
View PDF2 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This destroys the structure of the original function and lacks flexibility
[0004] In addition, the callback function in the ajax technology (Asynchronous JavaScript and XML) can also be used to wake up a certain function to realize the pause in the execution process of the web script language, but this will make the execution process of the web script language depend on the ajax technology. There is a lack of flexibility

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
  • Manner of execution and device of webpage scripting language
  • Manner of execution and device of webpage scripting language
  • Manner of execution and device of webpage scripting language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] figure 1 A method for executing a web page scripting language in an embodiment is shown, including the following steps:

[0044] Step S110, executing the main function of the web page scripting language.

[0045] In this embodiment, the web page scripting language (Javascript) is used to meet user requirements in the browser and implement various application programs. When the user runs the browser, the code in the main function of the corresponding web page scripting language will be executed. For example, if the user opens a certain page in the browser, there are multiple related tables in the page. The user displays the opened page, executes the main function of the webpage scripting language, initiates multiple requests to load multiple related tables and their data. Specifically, the code in the main function of the web page scripting language is executed line by line, requests are initiated one by one corresponding to multiple forms in the page, and each form in...

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

Disclosed is a manner of execution of a webpage scripting language. The process includes a first step of carrying out a webpage scripting language main function. When a first function of the webpage scripting language main function is carried out, a mark of the first function is obtained. The process includes a second step of constructing a second function according to a marked code. The process includes a third step of carrying out the second function after setting time is reached. The manner of execution and a device of the webpage scripting language calls the first function in the process of the implementation of the webpage scripting language main function, and unexecuted codes of the webpage scripting language main function are constructed to the second function through the first function, and therefore the unexecuted codes of the webpage scripting language main function are enabled to be executed in a suspending mode. After the setting time is reached, the suspend execution of the webpage scripting language is flexibly achieved by a manner that the unexecuted codes of the webpage scripting language main function are executed through the second function. The structures of original codes are not destroyed, and controlling the whole implementation process in the webpage scripting language is easy.

Description

【Technical field】 [0001] The invention relates to data processing technology, in particular to a method and device for executing a script language of a webpage. 【Background technique】 [0002] At present, web application programs are popularized very rapidly, and various dynamic display functions of web application programs are realized in clients such as browsers through web page scripting languages. During the execution of the webpage scripting language, the need to pause sometimes occurs. For example, in a web application page with a relatively large amount of data, multiple requests are initiated to obtain the data in the entire page and return all the data in the entire page. This will generate a long waiting time, resulting in a slow and clumsy web application. At this time, if only a part of the request is sent, the sending of the other part of the request will be suspended and resumed after the data returned by this part of the request is loaded. Execution sends ano...

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/44
Inventor 陈界
Owner SHENZHEN KINGDEE MIDDLEWARE
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