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

Method and device for increasing execution rate of simulation operation

A technology for simulating operations and execution methods. Applied in the Internet field, it can solve problems such as the failure of the server to be completed in time, the elements of the operation being blocked, and the interface running for a long time.

Active Publication Date: 2020-08-11
BEIJING SHUJU XINYUN TECH CO LTD
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] When the interface is implemented by simulating operations, because the UI presentation layer contains a large amount of logic, calculation and communication overhead, the interface takes a long time to run and the efficiency is low
[0003] For example, there are a large number of animation calculations on the interface, which will lead to excessive calculation
A large amount of hardware resource communication and rendering are required on the interface, which will lead to failure to complete in time when the server load is high, resulting in interface response timeout
Some interface elements will randomly appear in different positions, causing elements that may need to be operated to be blocked, etc., resulting in process execution failure

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
  • Method and device for increasing execution rate of simulation operation
  • Method and device for increasing execution rate of simulation operation

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment 1

[0085] In the HTML application scenario, the manual interactive input operation is to click a button with the left mouse button, and the interface attribute corresponding to this manual interactive input operation is changed to add the "clicked" class to the DOM node attribute corresponding to the button. The background logic processing process corresponding to this manual interactive input operation is to call a section of JS code.

[0086] During recording:

[0087] The manual interactive input operation is to click a button with the left mouse button, and record that the "clicked" class is added to the attribute of the corresponding DOM node, which is a node in the DOM tree data structure. Record that the initiator of the above property change is a processor other than JS. Record the JS code called.

[0088] In the playback stage, according to the recorded information, the original simulated mouse click on a button and all other operations performed by the renderer are ch...

specific Embodiment 2

[0090] The first manual interactive input operation is to enter the user name and password, and the second manual interactive input operation is to select the login category. The third manual interaction input operation is to click to log in.

[0091] During recording:

[0092] The interface performance processing process corresponding to the first manual interactive input operation is to display the first dialog box, and the corresponding operation of the first manual interactive input operation is:

[0093] 1. On the DOM tree, add a specific value to the value attribute corresponding to the user name input control, and the initiator is a processor other than JS

[0094] 2. On the DOM tree, add a specific value to the value attribute corresponding to the password input control, and the initiator is a processor other than JS

[0095] 3. Call the JS callback function that listens to the "change" event, and the JS code will modify the properties in the DOM tree

[0096] 4. On...

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 discloses a method and a device for increasing an execution rate of simulation operation. The method comprises the steps of: executing a simulation operation process, carrying out interface attribute change in response to a man-machine interaction input operation, rendering an interface by means of an interface renderer according to the interface attribute change, and executing a background logic processing process by a background logic processor; recording the simulation operation process, recording an execution opportunity and an execution mode of the man-machine interaction input operation, and recording the interface attribute change and the background logic processing process corresponding to the man-machine interaction input operation; and playing back the execution simulation operation process of the simulation operation, and sequentially executing the interface attribute change and background logic processing process corresponding to the man-machine interaction input operation according to the execution mode at the execution opportunity of the man-machine interaction input operation in the playback process according to the recorded information. The method andthe device omit interface rendering, can effectively improve the processing performance, and reduce the stress of the server side.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and device for improving the execution speed of simulation operations. Background technique [0002] When the interface is implemented by simulating operations, since the UI presentation layer contains a large amount of logic, calculation and communication overhead, the interface takes a long time to run and the efficiency is low. [0003] For example, there are a large number of animation calculations on the interface, which will lead to excessive calculation. A large amount of hardware resource communication and rendering are required on the interface, which will not be completed in time when the server load is high, resulting in the interface response timeout. Some interface elements will randomly appear in different positions, causing elements that may need to be operated to be blocked, etc., resulting in process execution failure. Contents of the invention ...

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/451G06F11/34
CPCG06F9/451G06F11/3438
Inventor 李逸骏陈明生赵鹏
Owner BEIJING SHUJU XINYUN TECH CO LTD
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