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

Synchronous method and system for asynchronous rendering module

A technology for asynchronous rendering and monitoring modules, applied in the computer field to achieve the effect of solving synchronization problems

Active Publication Date: 2020-05-26
BEIJING DIDI INFINITY TECH & DEV
View PDF10 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the above technical problems, the present invention provides a synchronization method and system for asynchronous rendering modules, which can solve the synchronization problem of asynchronous rendering modules, and ensure that when performing specific operations, all asynchronous modules are rendered and all data is properly prepared

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
  • Synchronous method and system for asynchronous rendering module
  • Synchronous method and system for asynchronous rendering module
  • Synchronous method and system for asynchronous rendering module

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0059] figure 2 It is a schematic flowchart of a synchronization method for an asynchronous rendering module provided by an embodiment of the present disclosure, refer to figure 2 , the method includes the following steps:

[0060] S1. The monitoring module (monitor) monitors the events of the first view (View A) in the current interface.

[0061] S2. When receiving the event carrying the first data sent by the first view, adjust its ow...

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 method and system for synchronization of asynchronous rendering modules. The method comprises the steps that a monitoring module monitors an event of a first view in a current interface; when an event of carrying first data, which is sent by the first view, is received, own state parameters will be adjusted, and the first data will be stored to own data variables; whether state parameters obtained at present after adjustment are preset maximums and whether the data is stored in the data variables are judged; and if the state parameters obtained at present after the adjustment are the preset maximums and the data are stored in the data variables, the first data stored in the data variables will be sent to a second view of the current interface, thus the second view can render a sub-view according to the first data, and the state parameters will be reset to initial values after the second view completes rendering of the sub-view. The method has the advantages that the synchronization problem of the asynchronous rendering modules can be solved; all the asynchronous modules can be rendered; and all the data will be prepared well.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a synchronization method and system for an asynchronous rendering module. Background technique [0002] At present, in the rendering of the front-end model-view-controller (Model View Controller, referred to as MVC) model, such as figure 1 As shown, after the rendering of the first view (ViewA) is completed, it needs to send an event of its own data to the second view (ViewB), and ViewB listens to this event, and then uses the data of ViewA to render its subview (SubView). [0003] However, since ViewA and ViewB are asynchronous rendering modules, each requests the server independently, and the time of data return depends on the network, so the order in which the rendering of ViewA and ViewB is completed cannot be guaranteed. For example, when ViewA sends an event to ViewB, ViewB is probably still requesting data, and the rendering has not been completed, that is to say, ViewB...

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 Patents(China)
IPC IPC(8): G06F9/451
CPCG06F9/451G06F11/3055
Inventor 瞿宝明
Owner BEIJING DIDI INFINITY TECH & DEV