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

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.

Active Publication Date: 2019-11-22
恩亿科(北京)数据科技有限公司
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, when the data is updated frequently, the amount of rendering calculations for the front-end view will increase sharply, taking up too many computing resources will reduce the overall performance of the front-end system

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
  • User interface data isolation method and device
  • User interface data isolation method and device
  • User interface data isolation method and device

Examples

Experimental program
Comparison scheme
Effect test

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.

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 user interface data isolation method and device. The user interface data isolation method comprises: dividing views in a user interface into view groups according to the real-time performance of bottom-layer data connected with the views; dividing the views connected to the same real-time data into the same view group; wherein the underlying data is divided into real-timedata and non-real-time data according to real-time performance; and when real-time data update occurs in the underlying data, determining a target view group connected with the updated real-time datain the user interface, re-rendering all views in the target view group, and not re-rendering views which do not belong to the target view group in the user interface. According to the technical scheme, the rendering calculation amount of the user interface view can be saved through isolation of underlying data.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a user interface data isolation method and device. Background technique [0002] The current software development technology based on the B / S (browser / server) architecture is changing with each passing day. From the traditional way of rendering pages on the server side to the current separation of front and back ends, the page rendering step has been completely handled by the front end. There are many excellent front-end frameworks and development concepts. Among them, the most widely used is React+Redux's component UI (User Interface, user interface) framework plus publish-subscribe data flow. [0003] like figure 1 As shown, the conventional React+Redux architecture creates a global shared data layer through Redux, and all views can connect to the underlying data through the Redux interface. Through the interface provided by Redux, all components in the application...

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): G06F16/21G06F16/23
CPCG06F16/217G06F16/23G06F16/2365
Inventor 唐韬丁改花
Owner 恩亿科(北京)数据科技有限公司