# US 2025/0165132 A1 · Method and related device for presenting content

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

- Number: US 2025/0165132 A1
- Document ID: US20250165132A1
- Status: Published application
- Kind: A1
- Application number: 18/954,350
- Filed: 2024-11-20
- Published: 2025-05-22
- Earliest claimed: 2023-11-21
- Applicants: Beijing Youzhuju Network Technology Co., Ltd.
- Inventors: Zhigang Ji; Xiaowei Li
- Web page: https://patentgrep.com/patent/US20250165132A1

## CPC

- G06F 3/04845: for image manipulation, e.g. dragging, rotation, expansion or change of colour
- G06F 3/0483: Interaction with page-structured environments, e.g. book metaphor
- G06F 9/451: Execution arrangements for user interfaces
- G06F 16/9577: {Optimising the visualization of content, e.g. distillation of HTML documents}
- G06F 40/103: Formatting, i.e. changing of presentation of documents (automatic justification G06F40/189; automatic line break hyphenation G06F40/191)
- G06F 40/106: Display of layout of documents; Previewing
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure provides a method and a related device for presenting content. The method includes: presenting first content in a target presentation area of a target page; in response to an instruction for presenting second content, obtaining the second content; determining whether a size of the second content matches a size of the target presentation area; in response to the size of the second content not matching the size of the target presentation area, stretching the target presentation area; and presenting the second content in the stretched target presentation area.

## Claims

### Claim 1

A method for presenting content, comprising:
presenting first content in a target presentation area of a target page;
in response to an instruction for presenting second content, obtaining the second content;
determining whether a size of the second content matches a size of the target presentation area;
in response to the size of the second content not matching the size of the target presentation area, stretching the target presentation area; and
presenting the second content in the stretched target presentation area.

### Claim 2 (depends on 1)

The method according to claim 1, wherein determining whether the size of the second content matches the size of the target presentation area comprises:
determining whether a length-width ratio of the second content matches a length-width ratio of the target presentation area.

### Claim 3 (depends on 2)

The method according to claim 2, wherein stretching the target presentation area comprises:
in response to the length-width ratio of the second content being less than the length-width ratio of the target presentation area, stretching the target presentation area in a width direction.

### Claim 4 (depends on 3)

The method according to claim 3, wherein stretching the target presentation area in the width direction comprises:
stretching the target presentation area upward in the width direction by a first distance, and stretching the target presentation area downward in the width direction by a second distance.

### Claim 5 (depends on 1)

The method according to claim 1, wherein after stretching the target presentation area, the method further comprises:
moving the stretched target presentation area to the middle of a content area of the target page.

### Claim 6 (depends on 5)

The method according to claim 5, wherein moving the stretched target presentation area to the middle of the content area of the target page comprises:
determining center coordinates of the content area;
determining a center position of the stretched target presentation area; and
aligning the center position of the stretched target presentation area with the center coordinates of the content area.

### Claim 7 (depends on 4)

The method according to claim 4, wherein after stretching the target presentation area, the method further comprises:
in response to the stretched target presentation area exceeding a content area of the target page, moving the stretched target presentation area to the middle of the content area of the target page.

### Claim 8 (depends on 1)

The method according to claim 1, wherein presenting the second content in the stretched target presentation area comprises:
determining a relationship between a length-width ratio of the second content and a length-width ratio of the stretched target presentation area;
in response to the length-width ratio of the second content being less than the length-width ratio of the stretched target presentation area, displaying the second content centered in the stretched target presentation area, and filling the stretched target presentation area in a width direction;
in response to the length-width ratio of the second content being greater than the length-width ratio of the stretched target presentation area, displaying the second content centered in the stretched target presentation area, and filling the stretched target presentation area in a length direction; and
in response to the length-width ratio of the second content being equal to the length-width ratio of the stretched target presentation area, filling the stretched target presentation area with the second content.

### Claim 9 (depends on 8)

The method according to claim 8, wherein presenting the second content in the stretched target presentation area further comprises:
performing fuzzing processing on an area in the stretched target presentation area in which the second content is not presented.

### Claim 10 (depends on 1)

The method according to claim 1, wherein presenting the second content in the stretched target presentation area comprises:
displaying the second content centered in the stretched target presentation area, and filling the stretched target presentation area.

### Claim 11

A computer device, comprising one or more processors, a memory; and one or more programs, wherein the one or more programs are stored in the memory and executed by the one or more processors, and the program comprises instructions for performing a method for presenting content, comprising:
presenting first content in a target presentation area of a target page;
in response to an instruction for presenting second content, obtaining the second content;
determining whether a size of the second content matches a size of the target presentation area;
in response to the size of the second content not matching the size of the target presentation area, stretching the target presentation area; and
presenting the second content in the stretched target presentation area.

### Claim 12 (depends on 11)

The computer device of claim 11, wherein determining whether the size of the second content matches the size of the target presentation area comprises:
determining whether a length-width ratio of the second content matches a length-width ratio of the target presentation area.

### Claim 13 (depends on 12)

The computer device of claim 12, wherein stretching the target presentation area comprises:
in response to the length-width ratio of the second content being less than the length-width ratio of the target presentation area, stretching the target presentation area in a width direction.

### Claim 14 (depends on 13)

The computer device of claim 13, wherein stretching the target presentation area in the width direction comprises:
stretching the target presentation area upward in the width direction by a first distance, and stretching the target presentation area downward in the width direction by a second distance.

### Claim 15 (depends on 11)

The computer device of claim 11, wherein after stretching the target presentation area, the method further comprises:
moving the stretched target presentation area to the middle of a content area of the target page.

### Claim 16 (depends on 15)

The computer device of claim 15, wherein moving the stretched target presentation area to the middle of the content area of the target page comprises:
determining center coordinates of the content area;
determining a center position of the stretched target presentation area; and
aligning the center position of the stretched target presentation area with the center coordinates of the content area.

### Claim 17 (depends on 14)

The computer device of claim 14, wherein after stretching the target presentation area, the method further comprises:
in response to the stretched target presentation area exceeding a content area of the target page, moving the stretched target presentation area to the middle of the content area of the target page.

### Claim 18 (depends on 11)

The computer device of claim 11, wherein presenting the second content in the stretched target presentation area comprises:
determining a relationship between a length-width ratio of the second content and a length-width ratio of the stretched target presentation area;
in response to the length-width ratio of the second content being less than the length-width ratio of the stretched target presentation area, displaying the second content centered in the stretched target presentation area, and filling the stretched target presentation area in a width direction;
in response to the length-width ratio of the second content being greater than the length-width ratio of the stretched target presentation area, displaying the second content centered in the stretched target presentation area, and filling the stretched target presentation area in a length direction; and
in response to the length-width ratio of the second content being equal to the length-width ratio of the stretched target presentation area, filling the stretched target presentation area with the second content.

### Claim 19 (depends on 18)

The computer device of claim 18, wherein presenting the second content in the stretched target presentation area further comprises:
performing fuzzing processing on an area in the stretched target presentation area in which the second content is not presented.

### Claim 20

A non-transitory computer-readable storage medium containing a computer program, wherein the computer program, when executed by one or more processors, causes the processor to perform a method for presenting content, comprising:
presenting first content in a target presentation area of a target page;
in response to an instruction for presenting second content, obtaining the second content;
determining whether a size of the second content matches a size of the target presentation area;
in response to the size of the second content not matching the size of the target presentation area, stretching the target presentation area; and
presenting the second content in the stretched target presentation area.
