# US 2025/0156023 A1 · Display control method and apparatus, and electronic device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0156023 A1
- Document ID: US20250156023A1
- Status: Published application
- Kind: A1
- Application number: 18/838,627
- Filed: 2022-09-28
- Published: 2025-05-15
- Earliest claimed: 2022-04-26
- Assignees: Netease (Hangzhou) Network Co., Ltd.
- Applicants: Netease (Hangzhou) Network Co., Ltd.
- Inventors: Shuo LIN; Yinting LIU
- Web page: https://patentgrep.com/patent/US20250156023A1

## CPC

- G06F 3/0481: based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F 3/04845: for image manipulation, e.g. dragging, rotation, expansion or change of colour
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure provides a display control method and apparatus, and an electronic device. The method includes: in response to a terminal screen being rotated from a first posture to a second posture, acquiring control elements on the screen under the first posture and size information of the control elements, wherein the control elements on the screen under the first posture are divided into a plurality of control groups in advance; according to size information of the control groups and the size of the screen under the second posture, determining a target control group, which needs to be adjusted, and an adjustment mode therefor; and adjusting the target control group according to the adjustment mode, and displaying the control elements on the screen under the second posture.

## Claims

### Claim 1

A display control method, performed by a terminal, the method comprising:
obtaining, in response to a screen of the terminal being converted from a first posture to a second posture, control elements on the screen under the first posture and size information of the control elements, wherein a first size of the screen under the first posture along a specified direction and a second size of the screen under the second posture along the specified direction are different, the control elements on the screen under the first posture are pre-divided into at least one control group, and each control group comprises at least one of the control elements;
determining, based on size information associated with the control group and the second size of the screen under the second posture, a target control group that needs to be adjusted and an adjustment approach for the target control group, wherein the size information associated with the control group comprises the size information of the control elements and size information of the control group; and
adjusting the target control group according to the adjustment approach for the target control group, to display the control elements on the screen under the second posture based on a display position of the at least one control group after being adjusted.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the control group is determined as a parent control element, and the control element in the control group is determined as a child control element of the parent control element, and
wherein determining, based on the size information associated with the control group and the size of the screen under the second posture, the target control group that needs to be adjusted and the adjustment approach for the target control group, comprises:
determining, in response to a size of the parent control element along the specified direction being greater than the size of the screen under the second posture along the specified direction, the parent control element as a target parent control element, wherein in the case where the screen under the first posture is horizontal and the screen under the second posture is vertical, the specified direction is a horizontal direction, and in the case where the screen under the first posture is vertical and the screen under the second posture is horizontal, the specified direction is a vertical direction; and
determining, based on size information of the child control element of the target parent control element and the size of the screen under the second posture, a target child control element that needs to be adjusted and an adjustment approach for the target child control element.

### Claim 3 (depends on 2)

The method according to claim 2, wherein determining the target child control element that needs to be adjusted and the adjustment approach for the target child control element, comprises:
determining, in response to a size of the child control element along the specified direction being greater than the size of the screen under the second posture along the specified direction, the child control element as a first target child control element; and
determining the adjustment approach for the first target child control element as size adjustment.

### Claim 4 (depends on 2)

The method according to claim 2, wherein determining the target child control element that needs to be adjusted and the adjustment approach for the target child control element, comprises:
determining, in response to a sum of sizes of multiple child control elements located at the same specified position along the specified direction being greater than the size of the screen under the second posture along the specified direction, the multiple child control elements as second target child control elements; and
determining the adjustment approach for the second target child control elements as position adjustment.

### Claim 5 (depends on 2)

The method according to claim 2, wherein the parent control element comprises a dynamically filled container, and wherein a first specified edge spacing between adjacent child control elements of the parent control element remains unchanged, and a second specified edge spacing between an inner edge of the parent control element and the child control element adjacent to the parent control element remains unchanged.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the target control group comprises a first target child control element and a second target child control element, and
wherein adjusting the target control group according to the adjustment approach for the target control group, comprises:
adjusting, according to an automatic layout approach, a size of the first target child control element and a position of the second target child control element, to enable the size of the first target child control element along the specified direction to be smaller than the size of the screen under the second posture along the specified direction, and to enable a sum of sizes of second target child control elements located at the same specified position along the specified direction to be smaller than the size of the screen under the second posture along the specified direction.

### Claim 7 (depends on 6)

The method according to claim 6, further comprising:
adjusting, in response to the sum of the sizes of the second target child control elements located at the same specified position along the specified direction being greater than the size of the screen under the second posture along the specified direction, the sizes of the second target child control elements after the position of the second target child control element is adjusted.

### Claim 8 (depends on 2)

The method according to claim 2, wherein the control elements on the screen under the first posture are pre-divided into the at least one control group by dividing control elements with the same attributes and located in a preset area into the same control group according to position information and attribute information of each control element on the screen under the first posture.

### Claim 9

(canceled)

### Claim 10

An electronic device comprising a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor is configured to:
obtain, in response to a screen of the terminal being converted from a first posture to a second posture, control elements on the screen under the first posture and size information of the control elements, wherein a size of the screen under the first posture along a specified direction and a size of the screen under the second posture along the specified direction are different, the control elements on the screen under the first posture are pre-divided into at least one control group, and each control group comprises at least one of the control elements;
determine, based on size information associated with the control group and the size of the screen under the second posture, a target control group that needs to be adjusted and an adjustment approach for the target control group, wherein the size information associated with the control group comprises the size information of the control elements and size information of the control group; and
adjust the target control group according to the adjustment approach for the target control group, to display the control elements on the screen under the second posture based on a display position of the at least one control group after being adjusted.

### Claim 11 (depends on 1)

A non-transitory computer-readable storage medium having computer executable instructions stored thereon, which when called and executed by a processor, cause the display control method according to claim 1 to be implemented.

### Claim 12 (depends on 2)

The method according to claim 2, wherein the parent control element is set as an <HTML> element, and the child control element of the parent control element is set as a <body> or <head> element; or
wherein the parent control element is set as the <body> or <head> element, and the child control element of the parent control element is set as a <ul> or <p> element.

### Claim 13 (depends on 5)

The method according to claim 5, wherein adjusting the target control group according to the adjustment approach for the target control group, comprises:
adjusting the parent control element with an adjustment of the child control element by setting that the first specified edge spacing and/or the second specified edge spacing remains unchanged.

### Claim 14 (depends on 10)

The electronic device according to claim 10, wherein the control group is determined as a parent control element, and the control element in the control group is determined as a child control element of the parent control element, and wherein the processor is further configured to:
determine, in response to a size of the parent control element along the specified direction being greater than the size of the screen under the second posture along the specified direction, the parent control element as a target parent control element, wherein in the case where the screen under the first posture is horizontal and the screen under the second posture is vertical, the specified direction is a horizontal direction, and in the case where the screen under the first posture is vertical and the screen under the second posture is horizontal, the specified direction is a vertical direction; and
determine, based on size information of the child control element of the target parent control element and the size of the screen under the second posture, a target child control element that needs to be adjusted and an adjustment approach for the target child control element.

### Claim 15 (depends on 14)

The electronic device according to claim 14, wherein the processor is further configured to:
determine, in response to a size of the child control element along the specified direction being greater than the size of the screen under the second posture along the specified direction, the child control element as a first target child control element; and
determine the adjustment approach for the first target child control element as size adjustment.

### Claim 16 (depends on 14)

The electronic device according to claim 14, wherein the processor is further configured to:
determine, in response to a sum of sizes of multiple child control elements located at the same specified position along the specified direction being greater than the size of the screen under the second posture along the specified direction, the multiple child control elements as second target child control elements; and
determine the adjustment approach for the second target child control elements as position adjustment.

### Claim 17 (depends on 14)

The electronic device according to claim 14, wherein the parent control element comprises a dynamically filled container, and wherein a first specified edge spacing between adjacent child control elements of the parent control element remains unchanged, and a second specified edge spacing between an inner edge of the parent control element and the child control element adjacent to the parent control element remains unchanged.

### Claim 18 (depends on 10)

The electronic device according to claim 10, wherein the target control group comprises a first target child control element and a second target child control element, and wherein the processor is further configured to:
adjust, according to an automatic layout approach, a size of the first target child control element and a position of the second target child control element, to enable the size of the first target child control element along the specified direction to be smaller than the size of the screen under the second posture along the specified direction, and to enable a sum of sizes of second target child control elements located at the same specified position along the specified direction to be smaller than the size of the screen under the second posture along the specified direction.

### Claim 19 (depends on 18)

The electronic device according to claim 18, wherein the processor is further configured to:
adjust, in response to the sum of the sizes of the second target child control elements located at the same specified position along the specified direction being greater than the size of the screen under the second posture along the specified direction, the sizes of the second target child control elements after the position of the second target child control element is adjusted.

### Claim 20 (depends on 14)

The electronic device according to claim 14, wherein the control elements on the screen under the first posture are pre-divided into the at least one control group by dividing control elements with the same attributes and located in a preset area into the same control group according to position information and attribute information of each control element on the screen under the first posture.

### Claim 21 (depends on 14)

The electronic device according to claim 14, wherein the parent control element is set as an <HTML> element, and the child control element of the parent control element is set as a <body> or <head> element; or wherein the parent control element is set as the <body> or <head> element, and the child control element of the parent control element is set as a <ul> or <p> element.
