IP Library Granted Patent US 12671760
Granted Patent B2
US 12671760 · App. 18/246,971 · Granted Jun 30, 2026

Window display method and device

Inventors: Xingchen Zhou (Nanjing, CN); Fengkai Liu (Nanjing, CN); Haijun Wang (Nanjing, CN); Liang Xu (Nanjing, CN); Ning Ding (Nanjing, CN); Wanyi Yang (Nanjing, CN); Xi Wei (Shenzhen, CN)
Assignee: HUAWEI TECHNOLGOIES CO., LTD.
H04M1/72427H04M2201/42
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12671760
App. No.
18/246,971
Granted
Jun 30, 2026
Kind
B2
Abstract

A terminal displays an application window of a first application on a display screen of the terminal. The application window includes a plurality of elements. After receiving a first operation, the terminal displays an animation in which the application window moves. When determining that the application window moves to a specified area of the display screen of the terminal, the terminal displays a live window on the display screen of the terminal. The live window includes some elements in the application window.

Claims (80)

1 . A method implemented by a first terminal and comprising:

displaying, on a display screen of the first terminal in response to receiving a second operation, a multi-task interface comprising a first application window of a first application, wherein the first application window comprises a plurality of elements, and wherein the first application window is in a full-screen freeform window form;

displaying, in response to a first operation, an animation in which the first application window moves, wherein the first operation is a drag operation on the first application window in the multi-task interface;

extracting, in response to the first operation, a first subset of elements from the plurality of elements;

determining that the first application window moves to a specified area of the display screen;

displaying, on the display screen when determining that the first application window moves to the specified area of the display screen, a first window as a small window floating on the first application window, wherein the first window comprises the first subset of elements;

displaying, in response to receiving the second operation, the multi-task interface, wherein the multi-task interface comprises a second application window of a second application;

displaying, in response to receiving an operation of dragging the first window, the animation in which the first window moves; and

displaying, when the first window is dragged to a position of the second application window, the second application window on the display screen of the first terminal.

2 . The method of claim 1 , wherein a layout of the first subset of elements in the first window is different from a layout, in the first application window, of elements corresponding to the first subset of elements.

3 . The method of claim 2 , wherein before displaying the first window on the display screen, the method further comprises:

obtaining, by the first terminal from a stored layout file based on a first identifier or a type of the first application, a layout file corresponding to the first identifier or the type of the first application; and

laying, by the first terminal, the first subset of elements based on the layout file, wherein the first identifier comprises an identifier of the first application, or wherein the first identifier comprises the identifier of the first application and an interface identifier of an interface in the first application window.

4 . The method of claim 2 , wherein the layout of the first subset of elements in the first window is predetermined.

5 . The method of claim 1 , wherein after displaying the first window on the display screen, the method further comprises:

changing, by the first terminal in response to receiving a third operation on the first window, the first window to a second window; and

displaying the second window on the display screen, wherein the second window comprises a second subset of elements in the first application window, and wherein the second window comprises more elements than the first window.

6 . The method of claim 5 , wherein the second window further comprises a close button and an enlarge button, and wherein the method further comprises:

skipping, by the first terminal after the first terminal receives an operation on the close button, displaying the second window;

displaying, by the first terminal after the first terminal receives an operation on the enlarge button, the first application window; and

skipping, by the first terminal after the first terminal receives an operation on the enlarge button, displaying the second window.

7 . The method of claim 5 , wherein after changing the first window to the second window and displaying the second window on the display screen of the first terminal, the method further comprises:

changing, by the first terminal after determining that no user operation is received within a preset time period or after receiving a fourth operation on the second window, the second window to the first window; and

displaying the first window on the display screen of the first terminal.

8 . The method of claim 1 , further comprising:

converting, by the first terminal in response to receiving a drag release operation, the first window into a resource file; and

sending, by the first terminal, the resource file to a second terminal using the second application.

9 . The method of claim 8 , further comprising connecting the first terminal to the second terminal, wherein after displaying the first window on the display screen of the first terminal, the method further comprises:

sending, after determining that a drag intent of a user is to perform a cross-device drag, data of the first window to the second terminal for displaying the first window on a second display screen of the second terminal.

10 . The method of claim 1 , wherein extracting the first subset of elements comprises:

obtaining, by the first terminal, a first identifier;

obtaining, by the first terminal and from stored configuration files corresponding to different identifiers, a configuration file corresponding to the first identifier, wherein the configuration file corresponding to the first identifier comprises identifiers of the first subset of elements; and

extracting, by the first terminal, the first subset of elements based on the configuration file corresponding to the first identifier, wherein the first identifier comprises an identifier of the first application, or wherein the first identifier comprises the identifier of the first application and an interface identifier of an interface in the first application window.

11 . The method of claim 1 , wherein extracting the first subset of elements comprises:

obtaining, by the first terminal, a type of the first application;

obtaining, by the first terminal and from stored recommendation models corresponding to different types of applications, a recommendation model corresponding to the type of the first application, wherein the recommendation model comprises a function of extracting, based on a type corresponding to an application, an element that needs to be displayed in the first window; and

extracting, by the first terminal, the first subset of elements based on the recommendation model corresponding to the type of the first application.

12 . The method of claim 1 , wherein the first subset of elements is predetermined.

13 . The method of claim 1 , further comprising:

receiving a third operation on the first window;

changing, by the first terminal after receiving the third operation, the first window to a second window; and

displaying the second window in a medium window form on the display screen of the first terminal, wherein the second window comprises some elements of the first application window, and wherein the second window comprises more elements than the first subset of elements.

14 . A first terminal, comprising:

a display screen;

a memory that is configured to store executable instructions; and

a processor coupled to the memory and the display screen, wherein the processor is configured to execute the instructions and cause the first terminal to:

display, in response to receiving a second operation, a multi-task interface comprising a first application window of a first application on the display screen, wherein the first application window comprises a plurality of elements, and wherein the first application window is in a full-screen freeform window form;

display, in response to receiving a first operation, an animation in which the first application window moves, wherein the first operation is a drag operation on the first application window in the multi-task interface;

extract a first subset of elements from the plurality of elements;

determine that the first application window moves to a specified area of the display screen;

display, on the display screen when determining that the first application window moves to the specified area of the display screen, a first window as a small window floating on the first application window, wherein the first window comprises the first subset of elements;

display, in response to receiving the second operation, multi-task interface, wherein the multi-task interface comprises a second application window of a second application;

display, in response to receiving an operation of dragging the first window, the animation in which the first window moves; and

display, when the first window is dragged to a position of the second application window, the second application window on the display screen of the first terminal.

15 . The first terminal of claim 14 , wherein the first subset of elements is predetermined.

16 . The first terminal of claim 14 , wherein a layout of the first subset of elements in the first window is different from a layout, in the first application window, of elements corresponding to the first subset of elements.

17 . The first terminal of claim 16 , wherein the layout of the first subset of elements in the first window is predetermined.

18 . The first terminal of claim 14 , wherein the processor is further configured to execute the instructions and cause the first terminal to:

change, in response to receiving a third operation on the first window, the first window to a second window; and

display the second window on the display screen, wherein the second window comprises a second subset elements in the first application window, and wherein the second window comprises more elements than the first window.

19 . The first terminal of claim 14 , wherein extracting the first subset of elements comprises:

obtaining a first identifier;

obtaining a configuration file corresponding to the first identifier from stored configuration files corresponding to different identifiers, wherein the configuration file corresponding to the first identifier comprises identifiers of the first subset of elements; and

extracting the first subset of elements based on the configuration file corresponding to the first identifier, wherein the first identifier comprises an identifier of the first application, or wherein the first identifier comprises the identifier of the first application and an interface identifier of an interface in the first application window.

20 . The first terminal of claim 14 , wherein extracting the first subset of elements comprises:

obtaining a type of the first application;

obtaining a recommendation model corresponding to the type of the first application from stored recommendation models corresponding to different types of applications, wherein the recommendation model comprises a function of extracting, based on a type corresponding to an application, an element that needs to be displayed in the first window; and

extracting the first subset of elements based on the recommendation model corresponding to the type of the first application.

21 . The first terminal of claim 16 , wherein the processor is further configured to execute the instructions to cause the first terminal to:

obtain, before displaying the first window on the display screen, from a stored layout file based on a first identifier or a type of the first application, a layout file corresponding to the first identifier or the type of the first application; and

lay the first subset of elements based on the layout file, wherein the first identifier comprises an identifier of the first application, or wherein the first identifier comprises the identifier of the first application and an interface identifier of an interface in the first application window.

22 . A non-transitory computer-readable medium comprising instructions, which when executed by one or more processors of a first terminal, cause the first terminal to:

display, on a display screen of the first terminal in response to receiving a second operation, a multi-task interface comprising a first application window of a first application, wherein the first application window comprises a plurality of elements, and wherein the first application window is in a full-screen freeform window form;

display, in response to a first operation, an animation in which the first application window moves, wherein the first operation is a drag operation on the first application window in the multi-task interface;

extract, in response to the first operation, a first subset of elements from the plurality of elements;

determine, by the first terminal, that the first application window moves to a specified area of the display screen;

display, on the display screen when determining that the first application window moves to the specified area of the display screen, a first window as a small window floating on the first application window, wherein the first window comprises the first subset of elements;

display, in response to receiving the second operation, the multi-task interface, wherein the multi-task interface comprises a second application window of a second application;

display, in response to receiving an operation of dragging the first window, the animation in which the first window moves; and

display, when the first window is dragged to a position of the second application window, the second application window on the display screen of the first terminal.