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

Component rendering method and device

A component and delayed rendering technology, applied in the direction of program control devices, program loading/starting, etc., can solve problems such as poor user experience, affecting basic functions, slow screen display speed, etc., to avoid system resource occupation problems and avoid meaningless , avoiding the effect of rendering operations

Active Publication Date: 2014-02-05
ALIBABA GRP HLDG LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In order to provide users with a more convenient and beautiful visual operation interface, a large number of visual components need to be used. Correspondingly, when the software is running, the rendering of these components requires a large amount of system resources, so there are also high requirements for system performance. When the system performance cannot meet the requirements, it will cause the screen display speed to be slow, and even affect the execution of basic functions in severe cases, resulting in poor user experience

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
  • Component rendering method and device
  • Component rendering method and device
  • Component rendering method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] figure 1 A flow chart of a component rendering method provided by this application includes the following steps:

[0032] S111. Load the page components according to the page data;

[0033] When a page needs to be called, the system first initializes the relevant data of the page, and after determining the components to be loaded according to the page data, loads these components.

[0034] S112. Determine whether the loaded component needs to be rendered immediately according to the currently output content to be displayed;

[0035] In the solution provided by this application, the loaded visual component is not directly rendered, but firstly judges whether the component involves the content that needs to be displayed immediately. If so, execute S113; otherwise, execute S114; the component encapsulates business logic rules of system operation, and the system can determine when the corresponding component is rendered by analyzing the business logic rules of the compone...

Embodiment 2

[0051] In the first embodiment, the judgment of S112 is for the components that have already been loaded. However, in practical applications, the loading of some components does not have to be executed immediately. For such components, different delayed rendering methods are required. figure 2 The flow chart of the method of this embodiment includes the following steps:

[0052] S100. Determine whether data feedback is required after the component is loaded.

[0053] In this embodiment, after the page data is initialized, the system will analyze the component loading instruction in the page data to determine whether data feedback is required after the component is loaded. If yes, execute S111, otherwise execute S121.

[0054] The loading of components by the system is divided into two situations: one situation requires components to perform data feedback, such as inputting several parameters into components with calculation functions, and the system is required to feed back ...

Embodiment 3

[0069] On the basis of the solutions in the above embodiments, this embodiment provides some preferred implementation solutions to achieve better system resource occupation control.

[0070] In the prior art, many softwares provide display effect options, and users can turn on or off certain display effects that are not necessary for realizing basic functions according to their own preferences and actual hardware configuration. In fact, most users do not understand the actual resource usage of various display effects, so it is difficult to make appropriate display effect configurations without affecting basic functions.

[0071] In the solution provided in this embodiment, at least three options are provided for various display effects of the software, including:

[0072] 1) display

[0073] 2) do not display

[0074] 3) Optional display

[0075] In this way, the user can choose 1) or 2) for the display effect that he wants or does not want to see, and for other uncertain d...

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 component rendering method and device. The component rendering method comprises the steps of: initializing page data and then loading components of a page according to the page data; judging whether the loaded components are in need of immediate rendering or not according to content to be displayed and output currently; if so, immediately rendering the components; and or else, setting deferred rendering identifications for the components. By applying the technical scheme provided by the invention, on one hand, meaningless rendering operations can be avoided so as to save system resources, and on the other hand, the loaded components without being rendered immediately can be set with the deferred rendering identifications so as to render the components at a proper time and avoid the problem of system resource occupation caused by rendering a mass of components in a short time.

Description

technical field [0001] The present application relates to the technical field of computer applications, in particular to a component rendering method and device. Background technique [0002] In the process of software development, componentizing certain data objects with high access frequency and defining simple data interfaces can easily reuse the original logic and provide convenient object operation services for others. [0003] Rendering (Render) refers to the process of converting the object model and data inside the computer into visual objects through algorithmic instructions; during the running of the software, some components themselves are visible (or can produce corresponding visual effects). Component rendering is to render these visual components in the form of interfaces, convert them into text or graphics, and output them to the display screen for users to view. [0004] With the popularity of computer applications, users' requirements for software are not l...

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/44G06F9/445
Inventor 姜珊
Owner ALIBABA GRP HLDG 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