# US 2024/0192844 A1 · Control content drag method and system, 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/0192844 A1
- Document ID: US20240192844A1
- Status: Published application
- Kind: A1
- Application number: 18/586,516
- Filed: 2024-02-25
- Published: 2024-06-13
- Earliest claimed: 2021-08-31
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Bo Wang
- Web page: https://patentgrep.com/patent/US20240192844A1

## CPC

- G06F 3/0488: using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F 9/451: Execution arrangements for user interfaces
- 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/0486: Drag-and-drop
- G06F 3/04883: for inputting data by handwriting, e.g. gesture or text
- G06F 3/14: Digital output to display device {; Cooperation and interconnection of the display device with other functional units}
- G06F 3/1423: {controlling a plurality of local displays, e.g. CRT and flat panel display}
- 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 2203/04803: Split screen, i.e. subdividing the display area or the window area into separate subareas
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A control content drag method is provided. The method includes: a first electronic device displays a first window and a second window of at least one application. A framework layer of the first electronic device detects a touch and hold operation on a first control in the first window. In response to a drag operation that uses the touch and hold operation as a drag start operation, the a framework layer transfers content of the first control from the first window to the second window.

## Claims

### Claim 1

A control content drag method performed by a first electronic device, comprising:
displaying a first window and a second window of at least one application running at an application layer of the first electronic device;
detecting, by a framework layer of an operating system of the first electronic device, a touch and hold operation on a first control in the first window; and
in response to a drag operation that uses the touch and hold operation as a drag start operation, transferring, by the framework layer, content of the first control from the first window to the second window, wherein the drag operation is used to drag the content of the first control from the first window to the second window.

### Claim 2 (depends on 1)

The method of claim 1, wherein the detecting the touch and hold operation and the transferring the content of the first control are performed by a drag unit belonging to the framework layer of the operating system.

### Claim 3 (depends on 1)

The method of claim 1, wherein the detecting the touch and hold operation on the first control in the first window comprises:
determining, based on a location of the touch and hold operation, that the touch and hold operation is the touch and hold operation on the first control in the first window.

### Claim 4 (depends on 1)

The method of claim 1, wherein after the detecting the touch and hold operation on the first control in the first window, and before the transferring content of the first control from the first window to the second window, the method further comprises:
determining, by the framework layer based on a control type of the first control, that the first control supports a drag function.

### Claim 5 (depends on 1)

The method of claim 1, wherein the transferring the content of the first control from the first window to the second window comprises:
detecting a drag end operation;
determining a first input control in the second window based on a location of the drag end operation; and
using the content of the first control as input content of the first input control.

### Claim 6 (depends on 5)

The method of claim 5, wherein the determining the first input control in the second window based on a location of the drag end operation comprises:
determining, by the framework layer based on the location of the drag end operation, that a window on which the drag end operation is performed is the second window; and
using, by the framework layer, a control in an input state in the second window as the first input control.

### Claim 7 (depends on 5)

The method of claim 5, wherein the determining the first input control in the second window based on a location of the drag end operation comprises:
determining, based on the location of the drag end operation, that a window on which the drag end operation is performed is the second window; and
using an input control that is closest to the location of the drag end operation in the second window as the first input control.

### Claim 8

A control content drag method performed by a second electronic device, comprising:
projecting a first window and a second window of at least one application running at an application layer onto a first electronic device;
receiving, by a framework layer of an operating system of the first electronic device, a touch and hold event sent by the first electronic device, wherein the touch and hold event comprises coordinates of a touch and hold operation on the first window that is displayed on the first electronic device;
determining a first control in the first window based on the coordinates of the touch and hold operation, and obtaining content of the first control;
receiving, by the framework layer, a drag end event sent by the first electronic device, wherein the drag end event comprises a location of a drag end operation of a drag operation, the drag operation is used to drag the content of the first control from the first window to the second window, and a drag start operation of the drag operation is the touch and hold operation; and
transferring, by the framework layer, the content of the first control to the second window based on the location of the drag end operation.

### Claim 9 (depends on 8)

The method of claim 8, wherein the receiving the touch and hold operation and the transferring the content of the first control are performed by a drag unit belonging to the operating system of the second electronic device.

### Claim 10 (depends on 8)

The method of claim 8, wherein before the obtaining the content of the first control, the method further comprises:
determining, by the framework layer, that the first control supports a drag function.

### Claim 11 (depends on 8)

The method of claim 8, wherein the transferring the content of the first control to the second window based on the location of the drag end operation comprises:
determining a first input control in the second window based on the location of the drag end operation; and
using the content of the first control as input content of the first input control.

### Claim 12 (depends on 11)

The method of claim 11, wherein the determining the first input control in the second window based on the location of the drag end operation comprises:
determining, based on the location of the drag end operation, that a window on which the drag end operation is performed is the second window; and
using a control in an input state in the second window as the first input control, or using a control that is closest to the location of the drag end operation in the second window as the first input control.

### Claim 13

A first electronic device comprising:
one or more processors; and
a non-transitory memory storing program instructions for execution by the one or more processors, the program instructions including instructions for:
displaying a first window and a second window of at least one application running at an application layer of the first electronic device;
detecting, by a framework layer of an operating system of the first electronic device, a touch and hold operation on a first control in the first window; and
in response to a drag operation that uses the touch and hold operation as a drag start operation, transferring, by the framework layer, content of the first control from the first window to the second window, wherein the drag operation is used to drag the content of the first control from the first window to the second window.

### Claim 14 (depends on 13)

The first electronic device of claim 13, wherein the detecting the touch and hold operation and the transferring the content of the first control are performed by a drag unit belonging to the framework layer of the operating system.

### Claim 15 (depends on 13)

The first electronic device of claim 13, wherein the detecting the touch and hold operation on a first control in the first window comprises:
determining, based on a location of the touch and hold operation, that the touch and hold operation is the touch and hold operation on the first control in the first window.

### Claim 16

A second electronic device comprising:
one or more processors; and
a non-transitory memory storing program instructions for execution by the one or more processors, the program instructions including instructions for:
projecting a first window and a second window onto a first electronic device of at least one application running at an application layer;
receiving, by a framework layer of an operating system of the second electronic device, a touch and hold event sent by the first electronic device, wherein the touch and hold event comprises coordinates of a touch and hold operation on the first window that is displayed on the first electronic device, the drag unit does not belong to an application to which the first window belongs or an application to which the second window belongs, and the first window and the second window belong to a same application or different applications;
determining a first control in the first window based on the coordinates of the touch and hold operation, and obtaining content of the first control;
receiving, by the framework layer, a drag end event sent by the first electronic device, wherein the drag end event comprises a location of a drag end operation of a drag operation, the drag operation is used to drag the content of the first control from the first window to the second window, and a drag start operation of the drag operation is the touch and hold operation; and
transferring, by the framework layer, the content of the first control to the second window based on the location of the drag end operation.

### Claim 17 (depends on 16)

The second electronic device of claim 16, wherein the receiving the touch and hold operation and the transferring the content of the first control are performed by a drag unit belonging to the operating system of the second electronic device.
