User interface data isolation method and device
A user interface and data isolation technology, applied in the computer field, can solve the problems of increasing the front-end view rendering calculation and the overall performance of the front-end system, and achieve the effect of saving the rendering calculation.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0022] like figure 2 As shown, the embodiment of the present invention provides a user interface data isolation method, including:
[0023] Step S210, divide the views in the user interface into view groups according to the real-time performance of the underlying data connected to the views: divide the views connected to the same real-time data into the same view group; wherein, the underlying data are divided according to the real-time performance are: real-time data and non-real-time data;
[0024] Step S220, when real-time data update occurs in the underlying data, determine the target view group connected to the updated real-time data in the user interface, re-render all the views in the target view group, and re-render the user interface Views that do not belong to the target view group are not re-rendered;
[0025] In the above embodiment, by dividing the views in the user interface into view groups according to the real-time performance of the underlying data connect...
Embodiment 2
[0039] like Figure 4 As shown, the embodiment of the present invention provides a user interface data isolation device, including:
[0040] The grouping module 10 divides the views in the user interface into view groups according to the real-time properties of the underlying data connected to the views: divides the views connected to the same real-time data into the same view group; wherein, the underlying data is divided according to the real-time properties Divided into: real-time data and non-real-time data;
[0041] The update module 20, when real-time data update occurs in the underlying data, determines the target view group connected with the updated real-time data in the user interface, re-renders all the views in the target view group, and the user Views in the interface that do not belong to the target view group are not re-rendered;
[0042] In one embodiment, the user interface is constructed through a React framework; views in the user interface are connected t...
Embodiment 3
[0052] An embodiment of the present invention provides a user interface data isolation device, including:
[0053] A memory, a processor, and a user interface data isolation program stored on the memory and operable on the processor, when the user interface data isolation program is executed by the processor, the user interface in the first embodiment above is realized Steps of the data isolation method.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


