# US 2024/0004675 A1 · Exhibiting method of desktop element 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 2024/0004675 A1
- Document ID: US20240004675A1
- Status: Published application
- Kind: A1
- Application number: 18/070,788
- Filed: 2022-11-29
- Published: 2024-01-04
- Earliest claimed: 2022-06-30
- Assignees: Guangzhou Shiyuan Electronic Technology Company Limited; Guangzhou Shiyuan Innovation Technology Co., Ltd.
- Applicants: Guangzhou Shiyuan Electronic Technology Company Limited; Guangzhou Shiyuan Innovation Technology Co., Ltd.
- Inventors: Jiayu WANG
- Web page: https://patentgrep.com/patent/US20240004675A1

## CPC

- G06F 9/451: Execution arrangements for user interfaces
- 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

An exhibiting method of a desktop element and an electronic device are provided. The exhibiting method of the desktop element is applied to an operating system of the electronic device, a desktop of the operating system includes a desktop element, and the exhibiting method of the desktop element includes: receiving a set-to-top instruction directed at the desktop element; creating a floating-window container for the desktop element according to the set-to-top instruction; moving the desktop element from the desktop to the floating-window container; and locating the desktop element exhibited in the floating-window container on the upper layer of the interface exhibited in the desktop.

## Claims

### Claim 1

An exhibiting method of a desktop element, wherein the method is performed by an operating system of an electronic device, and a desktop of the operating system comprises the desktop element, the method comprising:
receiving a set-to-top instruction directed at the desktop element;
creating a floating-window container for the desktop element according to the set-to-top instruction;
moving the desktop element from the desktop to the floating-window container; and
locating the desktop element exhibited in the floating-window container on an upper layer of an interface exhibited in the desktop.

### Claim 2 (depends on 1)

The method according to claim 1, wherein creating the floating-window container for the desktop element comprises:
determining a desktop coordinate of the desktop element, wherein the desktop coordinate refers to a coordinate position of the desktop element under a grid coordinate system of the desktop, and the grid coordinate system is established based on a grid matrix of the desktop;
converting the desktop coordinate of the desktop element into a screen coordinate, wherein the screen coordinate refers to a coordinate position of the desktop element under a screen coordinate system of the desktop, and the screen coordinate system is established based on a screen resolution; and
creating the floating-window container in a regional position defined by the screen coordinate.

### Claim 3 (depends on 1)

The method according to claim 1, wherein after creating the floating-window container, the method further comprises:
when a floating-window closing instruction is received, removing the desktop element from the floating-window container and restoring the desktop element to the desktop.

### Claim 4 (depends on 3)

The method according to claim 3, wherein before moving the desktop element from the desktop to the floating-window container, the method further comprises:
storing a desktop coordinate of the desktop element as an element desktop coordinate;
wherein restoring the desktop element to the desktop comprises:
upon determining that there is not a content in the regional position defined by the element desktop coordinate, restoring the desktop element to the regional position defined by the element desktop coordinate.

### Claim 5 (depends on 4)

The method according to claim 4, further comprising:
upon determining that there is a content in the regional position defined by the element desktop coordinate, restoring the desktop element to a free regional position on the desktop.

### Claim 6 (depends on 4)

The method according to claim 4, wherein after restoring the desktop element to the regional position defined by the element desktop coordinate, the method further comprises:
when a size of the desktop element is different from that of the regional position defined by the element desktop coordinate, adjusting the size of the desktop element, so that the size of the desktop element matches the size of the regional position defined by the element desktop coordinate.

### Claim 7 (depends on 1)

The method according to claim 1, wherein after moving the desktop element from the desktop to the floating-window container, the method further comprises:
in response to a floating-window adjusting instruction, adjusting a window size of the floating-window container so as to adjust the size of the desktop element; or
in response to a window moving instruction, moving the floating-window container from a current region to another region of the desktop so as to exhibit the desktop element in the another region.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the floating-window container comprises a normal display state and a minimization display state, wherein the normal display state refers to a state in which a window of the floating-window container is exhibited on the desktop, and the minimization display state refers to a state in which the floating-window container remains running but the corresponding window is not exhibited on the desktop; and
after moving the desktop element from the desktop to the floating-window container, the method further comprises:
when a minimization instruction is received or detecting that a current interface exhibited in the desktop is a preset interface, adjusting the floating-window container from the normal display state to the minimization display state.

### Claim 9

An electronic device, wherein the electronic device is provided with an operating system, and a desktop of the operating system comprises a desktop element, the electronic device comprises:
a touch screen, configured to exhibit the desktop and receive a set-to-top instruction directed at the desktop element; and
a processor coupled to the touch screen, and configured to:
create a floating-window container for the desktop element according to the set-to-top instruction,
move the desktop element from the desktop to the floating-window container, and
locate the desktop element exhibited in the floating-window container on an upper layer of an interface exhibited in the desktop.

### Claim 10 (depends on 9)

The electronic device according to claim 9, wherein the processor configured to create the floating-window container for the desktop element is further configured to:
determine a desktop coordinate of the desktop element, wherein the desktop coordinate refers to a coordinate position of the desktop element under a grid coordinate system of the desktop, and the grid coordinate system is established based on a grid matrix of the desktop;
convert the desktop coordinate of the desktop element into a screen coordinate, wherein the screen coordinate refers to a coordinate position of the desktop element under a screen coordinate system of the desktop, and the screen coordinate system is established based on a screen resolution; and
create the floating-window container in a regional position defined by the screen coordinate.

### Claim 11 (depends on 9)

The electronic device according to claim 9, wherein after creating the floating-window container, the processor is further configured to:
when a floating-window closing instruction is received, remove the desktop element from the floating-window container and restore the desktop element to the desktop.

### Claim 12 (depends on 11)

The electronic device according to claim 11, wherein before moving the desktop element from the desktop to the floating-window container, the processor is further configured to:
store a desktop coordinate of the desktop element as an element desktop coordinate;
wherein the processor configured to restore the desktop element to the desktop is further configured to:
upon determining that there is not a content in the regional position defined by the element desktop coordinate, restore the desktop element to the regional position defined by the element desktop coordinate.

### Claim 13 (depends on 12)

The electronic device according to claim 12, wherein the processor is further configured to:
upon determining that there is a content in the regional position defined by the element desktop coordinate, restore the desktop element to a free regional position on the desktop.

### Claim 14 (depends on 12)

The electronic device according to claim 12, wherein after restoring the desktop element to the regional position defined by the element desktop coordinate, the processor is further configured to:
when a size of the desktop element is different from that of the regional position defined by the element desktop coordinate, adjust the size of the desktop element, so that the size of the desktop element matches the size of the regional position defined by the element desktop coordinate.

### Claim 15 (depends on 9)

The electronic device according to claim 9, wherein after moving the desktop element from the desktop to the floating-window container, the processor is further configured to:
in response to a floating-window adjusting instruction, adjust a window size of the floating-window container so as to adjust the size of the desktop element; or
in response to a window moving instruction, move the floating-window container from a current region to another region of the desktop so as to exhibit the desktop element in the another region.

### Claim 16 (depends on 9)

The electronic device according to claim 9, wherein the floating-window container comprises a normal display state and a minimization display state, wherein the normal display state refers to a state in which a window of the floating-window container is exhibited on the desktop, and the minimization display state refers to a state in which the floating-window container remains running but the corresponding window is not exhibited on the desktop; and
after moving the desktop element from the desktop to the floating-window container, the processor is further configured to:
when a minimization instruction is received or detecting that a current interface exhibited in the desktop is a preset interface, adjust the floating-window container from the normal display state to the minimization display state.

### Claim 17

An electronic device, wherein the electronic device is connected with a display device, the electronic device is provided with an operating system, a desktop of the operating system comprises a desktop element and is exhibited by the display device, the electronic device comprising:
a memory storing computer-readable instructions; and
a processor coupled to the memory and configured to execute the computer-readable instructions, wherein the computer-readable instructions, when executed by the processor, cause the processor to perform operations comprising:
receiving a set-to-top instruction directed at the desktop element;
creating a floating-window container for the desktop element according to the set-to-top instruction;
moving the desktop element from the desktop to the floating-window container; and
locating the desktop element exhibited in the floating-window container on an upper layer of an interface exhibited in the desktop.

### Claim 18 (depends on 17)

The electronic device according to claim 17, wherein creating the floating-window container for the desktop element comprises:
determining a desktop coordinate of the desktop element, wherein the desktop coordinate refers to a coordinate position of the desktop element under a grid coordinate system of the desktop, and the grid coordinate system is established based on a grid matrix of the desktop;
converting the desktop coordinate of the desktop element into a screen coordinate, wherein the screen coordinate refers to a coordinate position of the desktop element under a screen coordinate system of the desktop, and the screen coordinate system is established based on a screen resolution; and
creating the floating-window container in a regional position defined by the screen coordinate.

### Claim 19 (depends on 17)

The electronic device according to claim 17, wherein after creating the floating-window container, the operations further comprise:
when a floating-window closing instruction is received, removing the desktop element from the floating-window container and restoring the desktop element to the desktop.

### Claim 20 (depends on 19)

The electronic device according to claim 19, wherein before moving the desktop element from the desktop to the floating-window container, the operations further comprise:
storing a desktop coordinate of the desktop element as an element desktop coordinate;
wherein restoring the desktop element to the desktop comprises:
upon determining that there is not a content in the regional position defined by the element desktop coordinate, restoring the desktop element to the regional position defined by the element desktop coordinate.
