# US 2024/0004541 A1 · Content Extraction Method, Electronic Device and Medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0004541 A1
- Document ID: US20240004541A1
- Status: Published application
- Kind: A1
- Application number: 18/225,433
- Filed: 2023-07-24
- Published: 2024-01-04
- Earliest claimed: 2021-01-25
- Assignees: Vivo Mobile Communication Co., Ltd.
- Applicants: Vivo Mobile Communication Co., Ltd.
- Inventors: Song Li
- Web page: https://patentgrep.com/patent/US20240004541A1

## CPC

- G06F 3/0488: using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F 3/04886: by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
- G06F 3/04186: {Touch location disambiguation}
- G06F 3/0482: Interaction with lists of selectable items, e.g. menus
- G06F 3/04842: Selection of displayed objects or displayed text elements (G06F3/0482 takes precedence)
- G06F 3/04883: for inputting data by handwriting, e.g. gesture or text
- G06F 9/451: Execution arrangements for user interfaces
- G06F 16/9535: Search customisation based on user profiles and personalisation
- G06F 16/954: Navigation, e.g. using categorised browsing
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A content extraction method includes in the case that the target interface is displayed on the screen of the electronic device, if the target touch input of the user on the screen is received, obtaining target coordinates, where the target coordinates are coordinates of the selected target position in the target interface, and the target position corresponds to the touch position of the target touch input on the screen; obtaining node information of at least one node in the target interface, where the node information of a node includes node coordinates of the node and the content indicated by the node; determining a target node according to the target coordinates and the node information of the at least one node, where the node coordinates of the target node match the target coordinates; and extracting the target content included in the target interface and indicated by the target node.

## Claims

### Claim 1

A content extraction method, comprising:
in a case that a target interface is displayed on a screen of an electronic device, if a target touch input from a user on the screen is received, obtaining target coordinates, wherein the target coordinates are coordinates of a selected target position in the target interface, and the target position corresponds to a touch position of the target touch input on the screen;
obtaining node information of at least one node in the target interface, wherein node information of a node includes node coordinates of the node and content indicated by the node;
determining a target node according to the target coordinates and the node information of the at least one node, wherein node coordinates of the target node match the target coordinates; and
extracting target content included in the target interface and indicated by the target node.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the obtaining target coordinates comprises:
determining, according to a correspondence between the screen and the target interface, the target position corresponding to the touch position; and
obtaining the target coordinates according to the target position.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the target position is a display region in the target interface; and
the obtaining the target coordinates according to the target position comprises:
acquiring position information of the display region;
determining coordinates of a center point of the display region according to the position information; and
using the coordinates of the center point as the target coordinates.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the determining a target node according to the target coordinates and the node information of the at least one node comprises:
sequentially comparing the target coordinates with node coordinates of the at least one node; and
determining, from the at least one node, a node whose node coordinates match the target coordinates as the target node.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the target interface includes a target script, and the target script is used to obtain node information of each node in the target interface; and
the obtaining node information of at least one node in the target interface comprises:
obtaining the node information of the at least one node by running the target script.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the node information of the node further includes attribute information of the content indicated by the node; and
after the extracting target content indicated by the target node, the method further comprises:
displaying prompt information according to attribute information of the target content, wherein the prompt information is used to prompt performing of a target operation on the target content;
wherein the target operation comprises at least one of: searching for content related to the target content, sharing the target content with target objects, copying the target content, or saving the target content.

### Claim 7

An electronic device, comprising a processor, a memory, and a program or an instruction stored in the memory and executable on the processor, wherein the program or the instruction, when executed by the processor, causes the electronic device to perform:
in a case that a target interface is displayed on a screen of an electronic device, if a target touch input from a user on the screen is received, obtaining target coordinates, wherein the target coordinates are coordinates of a selected target position in the target interface, and the target position corresponds to a touch position of the target touch input on the screen;
obtaining node information of at least one node in the target interface, wherein node information of a node includes node coordinates of the node and content indicated by the node;
determining a target node according to the target coordinates and the node information of the at least one node, wherein node coordinates of the target node match the target coordinates; and
extracting target content included in the target interface and indicated by the target node.

### Claim 8 (depends on 7)

The electronic device according to claim 7, wherein the program or the instruction, when executed by the processor, causes the electronic device to perform:
determining, according to a correspondence between the screen and the target interface, the target position corresponding to the touch position; and
obtaining the target coordinates according to the target position.

### Claim 9 (depends on 8)

The electronic device according to claim 8, wherein the target position is a display region in the target interface; and
the program or the instruction, when executed by the processor, causes the electronic device to perform:
acquiring position information of the display region;
determining coordinates of a center point of the display region according to the position information; and
using the coordinates of the center point as the target coordinates.

### Claim 10 (depends on 7)

The electronic device according to claim 7, wherein the program or the instruction, when executed by the processor, causes the electronic device to perform:
sequentially comparing the target coordinates with node coordinates of the at least one node; and
determining, from the at least one node, a node whose node coordinates match the target coordinates as the target node.

### Claim 11 (depends on 7)

The electronic device according to claim 7, wherein the target interface includes a target script, and the target script is used to obtain node information of each node in the target interface; and
the program or the instruction, when executed by the processor, causes the electronic device to perform:
obtaining the node information of the at least one node by running the target script.

### Claim 12 (depends on 7)

The electronic device according to claim 7, wherein the node information of the node further includes attribute information of the content indicated by the node; and
the program or the instruction, when executed by the processor, causes the electronic device to further perform:
displaying prompt information according to attribute information of the target content, wherein the prompt information is used to prompt performing of a target operation on the target content;
wherein the target operation comprises at least one of: searching for content related to the target content, sharing the target content with target objects, copying the target content, or saving the target content.

### Claim 13

A non-transitory readable storage medium, storing a program or an instruction, wherein the program or the instruction, when executed by a processor of an electronic device, causes the electronic device to perform:
in a case that a target interface is displayed on a screen of an electronic device, if a target touch input from a user on the screen is received, obtaining target coordinates, wherein the target coordinates are coordinates of a selected target position in the target interface, and the target position corresponds to a touch position of the target touch input on the screen;
obtaining node information of at least one node in the target interface, wherein node information of a node includes node coordinates of the node and content indicated by the node;
determining a target node according to the target coordinates and the node information of the at least one node, wherein node coordinates of the target node match the target coordinates; and
extracting target content included in the target interface and indicated by the target node.

### Claim 14 (depends on 13)

The non-transitory readable storage medium according to claim 13, wherein the program or the instruction, when executed by the processor, causes the electronic device to perform:
determining, according to a correspondence between the screen and the target interface, the target position corresponding to the touch position; and
obtaining the target coordinates according to the target position.

### Claim 15 (depends on 14)

The non-transitory readable storage medium according to claim 14, wherein the target position is a display region in the target interface; and
the program or the instruction, when executed by the processor, causes the electronic device to perform:
acquiring position information of the display region;
determining coordinates of a center point of the display region according to the position information; and
using the coordinates of the center point as the target coordinates.

### Claim 16 (depends on 13)

The non-transitory readable storage medium according to claim 13, wherein the program or the instruction, when executed by the processor, causes the electronic device to perform:
sequentially comparing the target coordinates with node coordinates of the at least one node; and
determining, from the at least one node, a node whose node coordinates match the target coordinates as the target node.

### Claim 17 (depends on 13)

The non-transitory readable storage medium according to claim 13, wherein the target interface includes a target script, and the target script is used to obtain node information of each node in the target interface; and
the program or the instruction, when executed by the processor, causes the electronic device to perform:
obtaining the node information of the at least one node by running the target script.

### Claim 18 (depends on 13)

The non-transitory readable storage medium according to claim 13, wherein the node information of the node further includes attribute information of the content indicated by the node; and
the program or the instruction, when executed by the processor, causes the electronic device to further perform:
displaying prompt information according to attribute information of the target content, wherein the prompt information is used to prompt performing of a target operation on the target content;
wherein the target operation comprises at least one of: searching for content related to the target content, sharing the target content with target objects, copying the target content, or saving the target content.

### Claim 19 (depends on 1)

A computer software product stored in a non-transitory computer-readable storage medium, wherein the software product is executed by at least one processor to implement the content extraction method according to claim 1.

### Claim 20 (depends on 1)

A chip, wherein the chip comprises a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, to perform the content extraction method according to claim 1.
