Component rendering method and device

A technology for components and preset information, applied in the computer field, can solve problems such as difficulty in meeting requirements and poor user perception, and achieve the effect of meeting the requirements of component adaptation, improving user experience, and ensuring rendering efficiency

Active Publication Date: 2020-06-26
CHINA UNITED NETWORK COMM GRP CO LTD
View PDF10 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a component rendering method and device to overcome the existing window scaling event monitoring technology to realize component self-adaptation. In the scene where there are many self-adaptive components and the rendering frequency is fast, the user perception is poor and it is difficult to meet the requirements. The problem

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 Construction

[0056] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0057] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects and not necessarily Describe a particular order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances suc...

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 embodiment of the invention provides a component rendering method and device. The method comprises the following steps: receiving a notification that a window size corresponding to a to-be-processed component is changed, and then determining a current rendering state of a to-be-processed component; and if the current rendering state of the component is the intermediate rendering state, stopping rendering the to-be-processed component, and eliminating intermediate state rendering in the adaptive process, thereby ensuring the rendering efficiency of the adaptive component, improving the userexperience and meeting the requirements while realizing component adaptation in a scene with a large number of adaptive components and high rendering frequency; moreover, if the current rendering state of the component is a final rendering state, calling a callback function of the to-be-processed component to perform adaptive rendering on the to-be-processed component, the callback function beinga function required to be executed by the to-be-processed component after the window size is changed, and being capable of performing fine granularity rendering, thereby meeting the requirement for component adaptation in a scene with a relatively high requirement for the size and the fine granularity of the adaptive component.

Description

technical field [0001] Embodiments of the present invention relate to the field of computer technology, and in particular, to a component rendering method and device. Background technique [0002] A component (Component) generally refers to a reusable data object that can perform a certain function and provide a data interface to use the function. Usually, some data objects with high access frequency can be used as components. For example, an input box can be used as a component, or a button can be used as a component, or a combination of a check box and a text box can be used as a component. Rendering (Render) generally refers to the process of converting data objects into visual objects. Rendering a component may refer to a process of generating a style of the component based on the style data of the component, so as to transform the component into a visual object. [0003] With the development of Internet technology, more and more users browse or purchase commodities t...

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): G06F8/38G06F9/451
CPCG06F8/38G06F9/451Y02D10/00
Inventor 纪贵李丹徐可飞张兴宇
Owner CHINA UNITED NETWORK COMM GRP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products