# US 2025/0094013 A1 · Display method 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/0094013 A1
- Document ID: US20250094013A1
- Status: Published application
- Kind: A1
- Application number: 18/963,509
- Filed: 2024-11-28
- Published: 2025-03-20
- Earliest claimed: 2022-07-15
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Chaoxiang Han; Yonglin Xia; Yu Zhou; Yu Tao
- Web page: https://patentgrep.com/patent/US20250094013A1

## 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/04812: Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
- G06F 3/038: Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
- G06F 3/14: Digital output to display device {; Cooperation and interconnection of the display device with other functional units}
- G06F 3/1454: {involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay}
- G06F 3/147: using display panels
- G09G 5/08: Cursor circuits
- G09G 2354/00: Aspects of interface with display user
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G09G: ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION (arrangements for transferring data between digital computers and displays G06F3/14; static indicating arrangements comprising an association of a number of separate sources or light control cells G09F9/00; static indicating arrangements comprising integral associations of a number of light sources H01J, H01K, H10H, H05B33/12; scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission, details thereof H04N1/00)

## Abstract

This application provides a display method, a display apparatus, and an electronic device. The method may be applied to a first electronic device. The method includes: The first electronic device receives a control instruction of a second electronic device, where the control instruction includes position information of a cursor; the first electronic device determines, based on the position information, whether a first position of the cursor is in a target display area, where the target display area is an area in which the second electronic device actually displays content; the first electronic device corrects, when determining that the first position is not in the target display area, the first position to obtain a second position, where the second position is in the target display area; and the first electronic device displays the cursor at the second position.

## Claims

### Claim 1

A display method comprising:
receiving, by a first electronic device, a control instruction of a second electronic device, wherein the control instruction comprises position information of a cursor;
determining, by the first electronic device based on the position information, that a first position of the cursor is not in a target display area, wherein the target display area is an area in which the first electronic device actually displays content;
correcting, by the first electronic device in response to the determining that the first position is not in the target display area, the first position to obtain a second position, wherein the second position is in the target display area; and
displaying, by the first electronic device, the cursor at the second position.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the method further comprises:
receiving, by the first electronic device, a second control instruction of the second electronic device, wherein the second control instruction comprises second position information of the cursor;
determining, by the first electronic device based on the second position information, that a third position of the cursor is in the target display area; and
displaying, by the first electronic device, the cursor at the first position in response to the determining that the third position is in the target display area.

### Claim 3 (depends on 1)

The method according to claim 1, wherein before the determining, by the first electronic device based on the position information, that the first position of the cursor is in the target display area, the method further comprises:
obtaining, by the first electronic device, the target display area.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the obtaining, by the first electronic device, the target display area comprises:
obtaining, by the first electronic device, the target display area through a system interface.

### Claim 5 (depends on 3)

The method according to claim 3, wherein the obtaining, by the first electronic device, the target display area comprises:
performing, by the first electronic device, screen capture on a display of the first electronic device, to obtain a first picture of the display; and
determining, by the first electronic device, the target display area from the first picture.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the determining, by the first electronic device, the target display area from the first picture comprises:
extracting, by the first electronic device, n pixels from rows of pixels in the first picture, and extracting m pixels from columns of pixels in the first picture;
adding, by the first electronic device, brightness values of the n pixels to obtain a first brightness value s1 for each of the rows, and adding brightness values of the m pixels to obtain a second brightness value s2 for each of the columns; and
when determining that a first brightness value s1q for a qth row of the rows is greater than (n*b)+δ, determining, by the first electronic device, that some pixels in the qth row belong to the target display area, and when determining that a second brightness value s2p for a pth column of the columns is greater than (m*b)+δ, determining, by the first electronic device, that some pixels in the pth column belong to the target display area, wherein b indicates a brightness value of a black pixel, δ is a preset error value, and both q and p are integers.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the determining, by the first electronic device based on the position information, that the first position of the cursor is in the target display area comprises:
determining, by the first electronic device based on coordinates of the first position and vertex coordinates of the target display area, whether the first position is in the target display area.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the correcting, by the first electronic device in response to determining that the first position is not in the target display area, the first position to obtain a second position comprises:
when a horizontal coordinate of the first position is less than a horizontal coordinate of a straight line on which a first boundary of the target display area is located, correcting the horizontal coordinate of the first position to the horizontal coordinate of the straight line on which the first boundary is located to be a horizontal coordinate of the second position;
when a horizontal coordinate of the first position is greater than a horizontal coordinate of a straight line on which a second boundary that is of the target display area and that is parallel to the first boundary is located, correcting the horizontal coordinate of the first position to the horizontal coordinate of the straight line on which the second boundary is located to be a horizontal coordinate of the second position;
when a vertical coordinate of the first position is less than a vertical coordinate of a straight line on which a third boundary of the target display area is located, correcting the vertical coordinate of the first position to the vertical coordinate of the straight line on which the third boundary is located to be a vertical coordinate of the second position; or
when a vertical coordinate of the first position is greater than a vertical coordinate of a straight line on which a fourth boundary that is of the target display area and that is parallel to the third boundary is located, correcting the vertical coordinate of the first position to the vertical coordinate of the straight line on which the fourth boundary is located to be a vertical coordinate of the second position.

### Claim 9 (depends on 1)

The method according to claim 1, wherein before the receiving, by the first electronic device, the control instruction of the second electronic device, the method further comprises:
establishing, by the first electronic device, a connection relationship with the second electronic device.

### Claim 10 (depends on 2)

The method according to claim 2, wherein before the receiving, by the first electronic device, the control instruction of the second electronic device, the method further comprises:
establishing, by the first electronic device, a connection relationship with the second electronic device.

### Claim 11

A first electronic device, comprising one or more processors and one or more memories, wherein the one or more memories store one or more computer programs, the one or more computer programs comprise instructions, and when the instructions are executed by the one or more processors the first electronic device performs the operations:
receiving a control instruction of a second electronic device, wherein the control instruction comprises position information of a cursor;
determining based on the position information, whether a first position of the cursor is in a target display area, wherein the target display area is an area in which the first electronic device actually displays content;
correcting, when determining that the first position is not in the target display area, the first position to obtain a second position, wherein the second position is in the target display area; and
displaying the cursor at the second position.

### Claim 12 (depends on 11)

The first electronic device according to claim 11, the operations further comprise:
displaying the cursor at the first position when determining that the first position is in the target display area.

### Claim 13 (depends on 11)

The first electronic device according to claim 11, the operations further comprise:
before the determining based on the position information, whether the first position of the cursor is in the target display area,
obtaining the target display area.

### Claim 14 (depends on 13)

The first electronic device according to claim 13, wherein the obtaining the target display area comprises:
obtaining the target display area through a system interface.

### Claim 15 (depends on 13)

The first electronic device according to claim 13, wherein the obtaining the target display area comprises:
performing screen capture on a display of the first electronic device, to obtain a first picture of the display; and
determining the target display area from the first picture.

### Claim 16 (depends on 15)

The first electronic device according to claim 15, wherein the determining the target display area from the first picture comprises:
extracting n pixels from rows of pixels in the first picture, and extracting m pixels from columns of pixels in the first picture;
adding brightness values of the n pixels to obtain a first brightness value s1 for each of the rows, and adding brightness values of the m pixels to obtain a second brightness value s2 for each of the columns; and
when determining that a first brightness value s1q for a qth row of the rows is greater than (n*b)+δ, determining that some pixels in the qth row belong to the target display area, and when determining that a second brightness value s2p for a pth column of the columns is greater than (m*b)+δ, determining that some pixels in the pth column belong to the target display area, wherein b indicates a brightness value of a black pixel, δ is a preset error value, and both q and p are integers.

### Claim 17 (depends on 11)

The first electronic device according to claim 11, wherein the determining based on the position information, whether the first position of the cursor is in the target display area comprises:
determining based on coordinates of the first position and vertex coordinates of the target display area, whether the first position is in the target display area.

### Claim 18 (depends on 11)

The first electronic device according to claim 11, wherein the correcting when determining that the first position is not in the target display area, the first position to obtain the second position comprises:
if a horizontal coordinate of the first position is less than a horizontal coordinate of a straight line on which a first boundary of the target display area is located, correcting the horizontal coordinate of the first position to the horizontal coordinate of the straight line on which the first boundary is located to be a horizontal coordinate of the second position;
if a horizontal coordinate of the first position is greater than a horizontal coordinate of a straight line on which a second boundary that is of the target display area and that is parallel to the first boundary is located, correcting the horizontal coordinate of the first position to the horizontal coordinate of the straight line on which the second boundary is located to be a horizontal coordinate of the second position;
if a vertical coordinate of the first position is less than a vertical coordinate of a straight line on which a third boundary of the target display area is located, correcting the vertical coordinate of the first position to the vertical coordinate of the straight line on which the third boundary is located to be a vertical coordinate of the second position; or
if a vertical coordinate of the first position is greater than a vertical coordinate of a straight line on which a fourth boundary that is of the target display area and that is parallel to the third boundary is located, correcting the vertical coordinate of the first position to the vertical coordinate of the straight line on which the fourth boundary is located to be a vertical coordinate of the second position.

### Claim 19 (depends on 11)

The first electronic device according to claim 11, the operations further comprise:
before the receiving the control instruction of the second electronic device, establishing a connection relationship with the second electronic device.

### Claim 20 (depends on 12)

The first electronic device according to claim 12, the operations further comprise:
before the receiving the control instruction of the second electronic device, establishing a connection relationship with the second electronic device.
