IP Library › Granted Patent US 12,524,140
Granted Patent B2
US 12,524,140 · App. 18/580,897 · Granted Jan 13, 2026

Window interaction method and electronic device

Inventors: Chaojie Yan (Shenzhen, CN); Junfeng Liu (Shenzhen, CN)
Assignee: HONOR DEVICE CO., LTD.
G06F3/04847G06F1/1641G06F1/1652G06F1/1677G06F3/04842G06F3/04845H04M1/0268G06F2203/04803
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 12,524,140
App. No.
18/580,897
Granted
Jan 13, 2026
Kind
B2
Abstract

An electronic device displays a first interface by using the first display screen; the electronic device displays a second interface in response to a first operation on the first window or the second window; the second interface includes a first floating window, the first window, the second window, and the first slide bar; and a width of the first floating window is less than that of the first display screen, the first floating window is a non-modal dialog box, and the first floating window satisfies a first state.

Claims (50)

1 . A window interaction method, applied to an electronic device, wherein the electronic device comprises a first display screen, and the method comprises:

displaying, by the electronic device, a first interface by using the first display screen, wherein the first interface comprises a first window, a second window, and a first slide bar configured to resize the first window and the second window, and content displayed in the first window and content displayed in the second window both belong to a first application;

displaying, by the electronic device, a second interface in response to a first operation on the first window or the second window, wherein the second interface comprises a first floating window displayed in the first window, the first window, the second window, and the first slide bar, and a width of the first floating window is less than that of the first display screen, and the first floating window satisfies a first state; and

displaying, by the electronic device, a modified interface in response to an operation of sliding the first slide bar to resize the first window and the second window, wherein when a width of the first window is reduced to a certain width threshold due to the sliding operation, the first floating window is replaced with a floating ball for display in the first window and a second floating window is centrally displayed in a bottom end of the second window, wherein the floating ball is a system window that has a display form different from a display form of the first floating window and that is displayed in the first window over content of the first window, wherein the floating ball is a window that receives a triggering operation by a user to open the first floating window, and wherein when the width of the first window is increased from the certain width threshold due to the sliding operation, the floating ball is replaced with the first floating window for display in the first window.

2 . The method according to claim 1 , wherein the second interface further comprises a first region, the first region is a region in the second interface other than the first floating window, and the method further comprises:

displaying, by the electronic device, a third interface in response to an operation of sliding the first slide bar to the first region in the second interface, the third interface comprises a second floating window, the second floating window satisfies a second state, and the second state is different from or the same as the first state.

3 . The method according to claim 2 , wherein the first state comprises any one of a half-screen state, a full-screen state, or a bottom state; and

wherein the second state comprises the bottom state.

4 . The method according to claim 1 , further comprising:

displaying, by the electronic device, a fourth interface in response to a third operation on the electronic device, wherein the fourth interface comprises a third floating window; and a width of the third floating window is less than that of the first display screen, and the third floating window satisfies the first state.

5 . The method according to claim 4 , wherein the fourth interface is an interface of the electronic device in a landscape state when the second interface is an interface of the electronic device in a portrait state.

6 . The method according to claim 1 , wherein the electronic device further comprises a second display screen, and the method further comprises:

displaying, by the electronic device in response to a fourth operation on the electronic device, a fifth interface by using the second display screen, wherein the fifth interface comprises a fourth floating window and the second window, and a width of the fourth floating window is the same as that of the second display screen.

7 . The method according to claim 6 , wherein displaying, by the electronic device in response to the fourth operation on the electronic device, the fifth interface by using the second display screen comprises:

obtaining, by the electronic device, first data in response to the fourth operation on the electronic device, wherein the first data comprises folding-angle data, and the folding-angle data is detected based on a hinge sensor; and

displaying, by the electronic device, the fifth interface by using the second display screen when the electronic device determines that the folding-angle data satisfies a first preset condition.

8 . The method according to claim 1 , wherein before displaying, by the electronic device, the first interface by using the first display screen, the method further comprises:

displaying, by the electronic device, a sixth interface by using the first display screen when a preset function of the first application is enabled, content displayed on the sixth interface belong to the first application; and

wherein displaying, by the electronic device, the first interface by using the first display screen comprises: displaying, by the electronic device in response to a fifth operation on the sixth interface, the first interface by using the first display screen.

9 . The method according to claim 1 , wherein displaying, by the electronic device, the second interface in response to the first operation on the first window or the second window comprises:

displaying, by the electronic device, a seventh interface in response to the first operation on the first window or the second window, wherein the seventh interface comprises a first text;

displaying, by the electronic device, a first control in response to an operation on the first text, wherein the first control comprises a copy option and a translation option;

displaying, by the electronic device, a floating ball control in response to an operation on the copy option; and

displaying, by the electronic device, the second interface in response to an operation on the floating ball control.

10 . The method according to claim 1 , wherein displaying, by the electronic device, the first interface by using the first display screen comprises:

displaying, by the electronic device, an eighth interface by using the first display screen, wherein the eighth interface comprises a second text;

displaying, by the electronic device, a second control in response to an operation on the second text, wherein the second control comprises a copy option and a translation option; and

displaying, by the electronic device in response to an operation on the translation option, the first interface by using the first display screen.

11 . An electronic device, wherein the electronic device comprises a memory storing a computer program instruction and a processor configured to execute the program instruction, and wherein, when the computer program instruction is executed by the processor, the electronic device is enabled to:

display a first interface using a first display screen, wherein the first interface comprises a first window, a second window, and a first slide bar configured to resize the first window and the second window, and content displayed in the first window and content displayed in the second window both belong to a first application;

display a second interface in response to a first operation on the first window or the second window, wherein the second interface comprises a first floating window displayed in the first window, the first window, the second window, and the first slide bar, and wherein a width of the first floating window is less than that of the first display screen, and the first floating window satisfies a first state; and

display a modified interface in response to an operation of sliding the first slide bar to resize the first window and the second window, wherein when a width of the first window is reduced to a certain width threshold due to the sliding operation, the first floating window is replaced with a floating ball for display in the first window and a second floating window is centrally displayed in a bottom end of the second window, wherein the floating ball is a system window that has a display form different from a display form of the first floating window and that is displayed in the first window over content of the first window, wherein the floating ball is a window that receives a triggering operation by a user to open the first floating window, and wherein when the width of the first window is increased from the certain width threshold due to the sliding operation, the floating ball is replaced with the first floating window for display in the first window.

12 . The electronic device, according to claim 11 , wherein the second interface further comprises a first region, the first region is a region in the second interface other than the first floating window, the electronic device is further enabled to:

display a third interface in response to an operation of sliding the first slide bar to the first region in the second interface, wherein the third interface comprises a third floating window, the third floating window satisfies a second state, and the second state is different from or the same as the first state.

13 . The electronic device, according to claim 12 , wherein the first state comprises any one of a half-screen state, a full-screen state, or a bottom state, and the second state comprises the bottom state.

14 . The electronic device, according to claim 11 , wherein the electronic device is further enabled to:

display a fourth interface in response to a third operation on the electronic device, wherein the fourth interface comprises a third floating window, and a width of the third floating window is less than that of the first display screen, and the third floating window satisfies the first state.

15 . The electronic device, according to claim 14 , wherein the fourth interface is an interface of the electronic device in a landscape state when the second interface is an interface of the electronic device in a portrait state.

16 . The electronic device, according to claim 11 , wherein the electronic device further comprises a second display screen, and the electronic device is further enabled to:

display a fifth interface by using the second display screen in response to a fourth operation on the electronic device, wherein the fifth interface comprises a fourth floating window and the second window, and wherein a width of the fourth floating window is the same as that of the second display screen.

17 . The electronic device, according to claim 16 , wherein displaying the fifth interface by using the second display screen in response to the fourth operation on the electronic device comprises:

obtaining first data in response to the fourth operation on the electronic device, wherein the first data comprises folding-angle data, and the folding-angle data is detected based on a hinge sensor; and

displaying the fifth interface by using the second display screen when the electronic device determines that the folding-angle data satisfies a first preset condition.

18 . A non-transitory computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and the computer program, when executed on a computer, enables a computer to:

display a first interface using a first display screen, wherein the first interface comprises a first window, a second window, and a first slide bar configured to resize the first window and the second window, and wherein content displayed in the first window and content displayed in the second window both belong to a first application;

display a second interface in response to a first operation on the first window or the second window, wherein the second interface comprises a first floating window displayed in the first window, the first window, the second window, and the first slide bar, and wherein a width of the first floating window is less than that of the first display screen, and the first floating window satisfies a first state; and

display a modified interface in response to an operation of sliding the first slide bar to resize the first window and the second window, wherein when a width of the first window is reduced to a certain width threshold due to the sliding operation, the first floating window is replaced with a floating ball for display in the first window and a second floating window is centrally displayed in a bottom end of the second window, wherein the floating ball is a system window that has a display form different from a display form of the first floating window and that is displayed in the first window over content of the first window, wherein the floating ball is a window that receives a triggering operation by a user to open the first floating window, and wherein when the width of the first window is increased from the certain width threshold due to the sliding operation, the floating ball is replaced with the first floating window for display in the first window.

19 . The non-transitory computer-readable storage medium, according to claim 18 , wherein the second interface further comprises a first region, the first region is a region in the second interface other than the first floating window, the computer is further enabled to:

display a third interface in response to an operation of sliding the first slide bar to the first region in the second interface, wherein the third interface comprises a third floating window, the third floating window satisfies a second state, and the second state is different from or the same as the first state.

20 . The non-transitory computer-readable storage medium, according to claim 19 , wherein the first state comprises any one of a half-screen state, a full-screen state, or a bottom state, and wherein the second state comprises the bottom state.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 19, 2024
From: YAN, CHAOJIE; LIU, JUNFENG
To: HONOR DEVICE CO., LTD.
Reel/Frame 066185/0829 →
Priority Claims (2)
CN 202210023810.3 · Jan 10, 2022 · national
CN 202210114778.X · Jan 30, 2022 · national
Continuity (1)
Related Publication 20240361897A1 · Oct 31, 2024
References Cited (23)
US 5619639A · Mast · 1997 [cited by examiner]
US 20140310646A1 · Vranjes · 2014 [cited by examiner]
US 20150227509A1 · Landau · 2015 [cited by examiner]
US 20150338888A1 · Kim · 2015 [cited by examiner]
US 20180367666A1 · Won · 2018 [cited by examiner]
US 20200278720A1 · Kim · 2020 [cited by examiner]
US 20210004432A1 · Li · 2021 [cited by examiner]
US 20210096675A1 · Klein et al. · 2021 [cited by applicant]
US 20210097901A1 · Klein · 2021 [cited by examiner]
US 20220317873A1 · Wang et al. · 2022 [cited by applicant]
US 20230325072A1 · Wang · 2023 [cited by applicant]
CN 104820557A · 2015 [cited by applicant]
CN 107153541A · 2017 [cited by applicant]
CN 110324464A · 2019 [cited by applicant]
CN 111669459A · 2020 [cited by applicant]
CN 111813285A · 2020 [cited by applicant]
CN 111913774A · 2020 [cited by applicant]
CN 111949350A · 2020 [cited by applicant]
CN 111966252A · 2020 [cited by applicant]
CN 112578982A · 2021 [cited by applicant]
CN 113325996A · 2021 [cited by applicant]
CN 113672133A · 2021 [cited by applicant]
WO 2021227770A1 · 2021 [cited by applicant]