# US 2025/0224912 A1 · Window switching 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/0224912 A1
- Document ID: US20250224912A1
- Status: Published application
- Kind: A1
- Application number: 19/094,357
- Filed: 2025-03-28
- Published: 2025-07-10
- Earliest claimed: 2022-09-30
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Jie XU; Liang HU
- Web page: https://patentgrep.com/patent/US20250224912A1

## CPC

- 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 1/1698: {the I/O peripheral being a sending/receiving arrangement to establish a cordless communication link, e.g. radio or infrared link, integrated cellular phone (details of antennas disposed inside a computer H01Q1/2266)}
- G06F 3/039: Accessories therefor, e.g. mouse pads
- 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/04817: using icons (graphical or visual programming using iconic symbols G06F8/34)
- G06F 3/1423: {controlling a plurality of local displays, e.g. CRT and flat panel display}
- H04M 1/04: Supports for telephone transmitters or receivers
- G09G 2354/00: Aspects of interface with display user
- H04M 1/72409: by interfacing with external accessories (hands-free H04M1/60)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)
- 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

The present disclosure relates to window switching methods and electronic devices. One example method is applied to a first electronic device and a second electronic device. The first electronic device and the second electronic device have a screen projection relationship. When it is determined that the first electronic device or the second electronic device has switched from a first state to a second state, the first electronic device may display a first display interface and suspend screen projection to the second electronic device. The second electronic device displays a first icon, where the first icon indicates that a display of the first electronic device serves as an extension screen of the second electronic device.

## Claims

### Claim 1

A window switching method, wherein the method is applied to a first electronic device, the first electronic device is in a scenario of performing screen projection to a second electronic device, a first display interface displayed on the second electronic device is an interface projected by the first electronic device to the second electronic device, and the method comprises:
determining, by the first electronic device, that the first electronic device or the second electronic device has switched from a first state to a second state, wherein an electronic device whose status is not switched is in the second state;
suspending, by the first electronic device, screen projection to the second electronic device; and
displaying, by the first electronic device, the first display interface.

### Claim 2 (depends on 1)

The method according to claim 1, wherein before suspending the screen projection to the second electronic device, the method further comprises:
determining whether a display of the first electronic device is turned on; and
turning on the display of the first electronic device in response to determining that the display of the first electronic device is not turned on.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the first electronic device determines that the first electronic device has switched from the first state to the second state, and the method further comprises:
sending, by the first electronic device, first indication information to the second electronic device, wherein the first indication information indicates that the first electronic device has switched from the first state to the second state.

### Claim 4 (depends on 1)

The method according to claim 1, wherein determining, by the first electronic device, that the second electronic device has switched from the first state to the second state comprises:
receiving, by the first electronic device, second indication information sent by the second electronic device; and
when the second indication information indicates that the second electronic device has switched from the first state to the second state, determining, by the first electronic device, that the second electronic device has switched from the first state to the second state.

### Claim 5 (depends on 1)

The method according to claim 1, wherein at least one of the first state or the second state is a physical form of the electronic device.

### Claim 6 (depends on 5)

The method according to claim 5, wherein:
the second state is a holder state, and the holder state indicates that the electronic device is in a stable state, or the holder state is a state in which the electronic device is placed on a holder; and
the first state is a normal state, and the normal state indicates that the electronic device is in an unstable state, or the normal state is a state in which the electronic device is not placed on the holder.

### Claim 7 (depends on 6)

The method according to claim 6, wherein:
in the second state, an angle of the first electronic device in a first direction is greater than a first preset angle and is less than or equal to a second preset angle, and a first variation range of the angle is less than a first preset value within preset time; and
in the first state, the angle is less than or equal to the first preset angle or is greater than the second preset angle, and a second variation range of the angle is greater than a second preset value within the preset time.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the method further comprises:
determining, by the first electronic device, that a variation range of the angle is greater than or equal to the first preset value and is less than or equal to the second preset value within the preset time;
determining, by the first electronic device, that the first electronic device is in a third state; and
continuing, by the first electronic device, to display the first display interface in the third state.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the method further comprises:
determining, by the first electronic device, that the second electronic device has switched from the second state to the first state;
turning off, by the first electronic device, the display; and
continuing, by the first electronic device, to perform screen projection to the second electronic device.

### Claim 10 (depends on 9)

The method according to claim 9, wherein before turning off, by the first electronic device, the display, the method further comprises:
determining, by the first electronic device, that no image of a user is obtained when a camera is turned on.

### Claim 11 (depends on 1)

The method according to claim 1, wherein the method further comprises:
determining, by the first electronic device, that the first electronic device has switched from the second state to the first state;
continuing, by the first electronic device, to display the first display interface; and
continuing, by the first electronic device, to perform screen projection to the second electronic device.

### Claim 12 (depends on 1)

The method according to claim 1, wherein suspending, by the first electronic device, the screen projection to the second electronic device, and displaying, by the first electronic device, the first display interface, or displaying, by the first electronic device, the first display interface based on first data received from the second electronic device comprises:
when determining that a distance between the first electronic device and the second electronic device is less than or equal to a preset distance, suspending, by the first electronic device, the screen projection to the second electronic device, and displaying, by the first electronic device, the first display interface, or displaying, by the first electronic device, the first display interface based on the first data received from the second electronic device.

### Claim 13

A window switching method, wherein the method is applied to a second electronic device, the second electronic device is in a scenario in which a first electronic device performs screen projection to the second electronic device, and the method comprises:
determining, by the second electronic device, that the second electronic device or the first electronic device has switched from a first state to a second state, wherein an electronic device whose status is not switched is in the second state; and
displaying, by the second electronic device, a first icon, wherein the first icon indicates that a display of the first electronic device serves as an extension screen of the second electronic device.

### Claim 14 (depends on 13)

The method according to claim 13, wherein displaying, by the second electronic device, the first icon comprises:
if a first display interface of the first electronic device is displayed on a display interface of the second electronic device in a form of a screen projection window, closing, by the second electronic device, the first display interface, and displaying, by the second electronic device, the first icon; or
if a first display interface of the first electronic device is displayed on a display interface of the second electronic device in a form of a screen projection icon, changing, by the second electronic device, the screen projection icon to the first icon.

### Claim 15 (depends on 13)

The method according to claim 13, wherein determining, by the second electronic device, that the first electronic device has switched from the first state to the second state comprises:
receiving, by the second electronic device, first indication information sent by the first electronic device; and
when the first indication information indicates that the first electronic device has switched from the first state to the second state, determining, by the second electronic device, that the first electronic device has switched from the first state to the second state.

### Claim 16 (depends on 13)

The method according to claim 13, wherein the second electronic device determines that the second electronic device has switched from the first state to the second state, and the method further comprises:
sending, by the second electronic device, second indication information to the first electronic device, wherein the second indication information indicates that the second electronic device has switched from the first state to the second state.

### Claim 17 (depends on 13)

The method according to claim 13, wherein the method further comprises:
sending, by the second electronic device, first data to the first electronic device, wherein the first data is used to control the first electronic device to display a first display interface, and the first data is data projected by the first electronic device to the second electronic device.

### Claim 18

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 comprising instructions which, when executed by the one or more processors, cause the first electronic device to perform operations comprising:
determining that the first electronic device or a second electronic device has switched from a first state to a second state, wherein an electronic device whose status is not switched is in the second state;
suspending screen projection to the second electronic device; and
displaying a first display interface.

### Claim 19

A second electronic device, comprising one or more processors and one or more memories, wherein the one or more memories store one or more computer programs comprising instructions which, when executed by the one or more processors, cause the second electronic device perform operations comprising:
determining that the second electronic device or a first electronic device has switched from a first state to a second state, wherein an electronic device whose status is not switched is in the second state; and
displaying a first icon, wherein the first icon indicates that a display of the first electronic device serves as an extension screen of the second electronic device.

### Claim 20 (depends on 1)

The method according to claim 1, wherein displaying the first display interface comprises displaying the first display interface based on first data received from the second electronic device.
