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

Rendering processing method and processing device for user interaction interface

A technology of interactive interface and processing method, applied in the field of rendering processing of user interactive interface, can solve the problems of unsupported DirectX technology and increase program complexity, and achieve the effect of speeding up rendering speed, wide application range and improving calculation speed.

Active Publication Date: 2020-07-14
TENCENT TECH WUHAN
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Although multi-threaded programming technology can open multiple threads and share calculations, in general, it can effectively solve UI performance problems. However, when there are a large number of transparent effect calculations, or when the drawing level is large, multi-threading issues also need to be considered. Increased program complexity, but also brought about the consumption of thread switching
[0006] Using DirectX technology, you can let the graphics processor (Graphic Processing Unit, referred to as GPU) share the load of the CPU, to a certain extent, it can solve the problems of UI card, slowness, etc., but the DirectX technology needs the support of the operating system and hardware. On some machines, DirectX technology is not supported

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
  • Rendering processing method and processing device for user interaction interface
  • Rendering processing method and processing device for user interaction interface
  • Rendering processing method and processing device for user interaction interface

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0038] figure 2 It is a flow chart of the rendering processing method of the user interaction interface provided in the first embodiment. Such as figure 2 As shown, the rendering processing method of the user interaction interface in this embodiment includes the following steps:

[0039] Step S11, converting the user interface data to be rendered into floating point numbers.

[0040] Floating-point numbers are digital representations of numbers belonging to a specific subset of rational numbers, and are used in computers to approximate any real number. Specifically, this real number is obtained by multiplying an integer or fixed-point number (ie, the mantissa) by the integer power of a certain base number (usually 2 in computers).

[0041] User interface data, usually an integer. However, SSE technology performs high-precision calculations, so floating-point numbers must be used. Converting an integer to a floating point number is simple, for example, 1 has a floating p...

no. 2 example

[0054] image 3 It is a flow chart of the rendering processing method of the user interaction interface provided by the second embodiment. Such as image 3 As shown, this embodiment mainly introduces the processing method of using the SSE2 instruction to render the user interaction interface in the C / C++ program. The rendering processing method of the user interaction interface in this embodiment includes the following steps:

[0055] Step S21, converting the user interface data to be rendered into floating point numbers;

[0056] Step S22, loading the converted floating-point numbers into multiple arrays, each array storing four floating-point numbers;

[0057] Step S23, loading multiple arrays containing floating point numbers into the SSE2 register;

[0058] Step S24, use the intrinsic function to call the SSE instruction, the intrinsic function includes the header file xmmintrin.h;

[0059] Intrinsics is a collection of functions that can be used directly in C / C++ pro...

no. 3 example

[0077] Figure 4 A schematic structural diagram of a rendering processing device for a user interaction interface provided in the third embodiment. The apparatus for rendering a user interaction interface provided in this embodiment may be used to implement rendering processing of a user interaction interface. Such as Figure 4 As shown, the rendering processing device 30 of the user interaction interface includes:

[0078] A data type conversion module 31, configured to convert the user interface data to be rendered into a floating point number;

[0079] The first processing module 32 is used to load the converted floating-point numbers into multiple arrays, and each array stores at least two floating-point numbers;

[0080] The second processing module 33 is used to load the floating-point numbers in multiple arrays into the SSE register;

[0081] The third processing module 34 is configured to simultaneously perform arithmetic and logic operations on the at least two floa...

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 rendering processing method of a user interaction interface. The rendering processing method comprises the following steps: loading user interaction interface data which needs to be rendered into multiple arrays in a type of floating-point numbers, wherein each array stores at least two floating point numbers; in each CPU (Central Processing Unit) clock period, simultaneously carrying out arithmetical logic operation on at least two floating point numbers in the array which needs to carry out the arithmetical logic operation; taking out a calculation result from a SSE (Streaming SIMD Extensions) register, and putting the calculation result into a memory; and calling a drawing interface, and drawing the user interaction interface according to the calculation result in the memory. In addition, the invention also provides a rendering processing device of the user interaction interface. The rendering processing method and processing device of the user interaction interface has the advantages of being high in processing speed and wide in applicable range.

Description

technical field [0001] The invention relates to a rendering processing technology of a user interaction interface, in particular to a rendering processing method and a processing device of a user interaction interface. Background technique [0002] For a software product, the quality of the user interface (UI) design directly affects the user experience. The more dazzling the UI is made, and the more the interaction is in line with user habits, the larger the software audience will be. It can be said that the UI largely determines whether the user likes the product and is willing to continue using it. [0003] Paradoxically, UI performance may degrade as users become more demanding about the UI. Whether it is animation technology or translucent effects, a lot of calculations are required, which will lead to a huge load on the central processing unit (Central Processing Unit, referred to as CPU) in a short period of time, resulting in UI stuck, slow and so on. [0004] Exi...

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): G06F8/34G06F8/38
Inventor 康亮
Owner TENCENT TECH WUHAN