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

Control layout method, layout device, server and readable storage medium

A layout method and layout technology, applied in the direction of program control device, user interface execution, etc., can solve problems such as collision detection, achieve the effect of improving efficiency and improving computing efficiency

Active Publication Date: 2022-03-08
ADVANCED NEW TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, existing user interaction products all have multiple controls. When multiple controls are displayed on the display interface, each control is usually controlled to be displayed in the area of ​​the display interface through collision detection. At this time, there may be two Controls overlap, and each control needs to perform collision detection with the display interface

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
  • Control layout method, layout device, server and readable storage medium
  • Control layout method, layout device, server and readable storage medium
  • Control layout method, layout device, server and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to better understand the above technical solutions, the technical solutions of the embodiments of this specification will be described in detail below through the drawings and specific examples. It should be understood that the embodiments of this specification and the specific features in the embodiments are the technical solutions of the embodiments of this specification. It is a detailed description, rather than a limitation to the technical solutions of this specification. In the case of no conflict, the embodiments of this specification and the technical features in the embodiments can be combined with each other.

[0027] First aspect, such as figure 1 As shown, the embodiment of this specification provides a control layout method, including:

[0028] S102. Obtain a layout area for laying out multiple controls from the display interface;

[0029] S104. Segment the layout area to obtain a segmented area corresponding to each control, wherein the segmented...

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 this specification discloses a control layout method, which obtains the layout area used to lay out multiple controls from the display interface; divides the layout area to obtain the corresponding division area of ​​each control; When the detection method detects that each control does not collide with the edge area of ​​the corresponding segmentation area, obtain the placement coordinates of each control in the corresponding segmentation area; according to the placement coordinates of each control in the corresponding segmentation area, the Each control is set to the corresponding placement position in the segmentation area; in this way, it is only necessary to perform collision detection between each control and the corresponding segmentation area, and the solution space is reduced to the corresponding segmentation area. In the solution space of the collision detection On the basis of shrinkage, collision detection can be performed in parallel, which can greatly improve the calculation efficiency, thereby improving the efficiency of control layout.

Description

technical field [0001] The embodiments of this specification relate to the technical field of widget layout, and in particular, to a widget layout method, a layout device, a server, and a readable storage medium. Background technique [0002] With the rapid development of electronic technology, more and more user-interactive products are applied to electronic devices. User-interactive products such as Ant Forest and Shrimp Raising will have some "energy ball" controls, which communicate with users through controls. Interaction, improve user viscosity. [0003] However, existing user interaction products all have multiple controls. When multiple controls are displayed on the display interface, each control is usually controlled to be displayed in the area of ​​the display interface through collision detection. At this time, there may be two The controls overlap, and each control needs to perform collision detection with the display interface. Contents of the invention [...

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/451
CPCG06F9/451
Inventor 李瓛邵明博王颖连渠覃伟
Owner ADVANCED NEW TECH CO LTD