# US 2022/0032188 A1 · Method for selecting virtual objects, apparatus, terminal and storage medium

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

- Number: US 2022/0032188 A1
- Document ID: US20220032188A1
- Status: Published application
- Kind: A1
- Application number: 17/494,624
- Filed: 2021-10-05
- Published: 2022-02-03
- Earliest claimed: 2020-05-12
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Yulin WAN; Xun HU; Jianmiao WENG; Shandong SU
- Web page: https://patentgrep.com/patent/US20220032188A1

## CPC

- A63F 13/525: Changing parameters of virtual cameras
- A63F 13/5372: for tagging characters, objects or locations in the game scene, e.g. displaying a circle under the character controlled by the player
- A63F 13/35: Details of game servers
- A63F 13/426: involving on-screen location information, e.g. screen coordinates of an area at which the player is aiming with a light gun
- A63F 13/577: using determination of contact between game characters or objects, e.g. to avoid collision between virtual racing cars
- A63F 13/833: Hand-to-hand fighting, e.g. martial arts competition
- A63F 13/837: Shooting of targets
- G06F 3/04842: Selection of displayed objects or displayed text elements (G06F3/0482 takes precedence)
- A63F: CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method is provided for selecting a virtual object on a user terminal of a terminal. The method is performed by the terminal and includes: displaying the user interface; obtaining a predefined execution area of a first operation of a first virtual object within a virtual environment; obtaining a visible boundary scope of the virtual environment; determining, based on the predefined execution area and the visible boundary scope, an effective execution area of the first operation within the virtual environment; and determining, based on the effective execution area, a target virtual object.

## Claims

### Claim 1

A method for selecting a virtual object on a user interface of a terminal, performed by the terminal, the method comprising:
displaying the user interface, wherein the user interface includes a display screen corresponding to a virtual environment, and further includes a first virtual object located in the virtual environment;
obtaining a predefined execution area of a first operation of the first virtual object within the virtual environment;
obtaining a visible boundary scope of the virtual environment, wherein virtual objects that reside in the visible boundary scope are visible on the user interface;
determining, based on the predefined execution area and the visible boundary scope, an effective execution area of the first operation within the virtual environment; and
determining, based on the effective execution area, a target virtual object.

### Claim 2 (depends on 1)

The method according to claim 1, wherein determining the effective execution area comprises:
identifying an intersection area of the predefined execution area and the visible boundary scope as the effective execution area of the first operation.

### Claim 3 (depends on 1)

The method according to claim 1, wherein obtaining the visible boundary scope comprises:
processing a three-dimensional visual representation of the virtual environment;
obtaining a two-dimensional visual representation of the virtual environment by the processing of the three-dimensional visual representation;
obtaining, from the two-dimensional visual representation, coordinates of feature points of the visible boundary scope within the virtual environment; and
obtaining, based on the coordinates of the feature points, the visible boundary scope.

### Claim 4 (depends on 3)

The method according to claim 3, wherein obtaining the coordinates of the feature points comprises:
obtaining, based on parameters of a virtual camera, coordinates of the feature points of the visible boundary scope within the virtual environment;
wherein the parameters include a location parameter and a rotation parameter, the location parameter is configured to determine the location of the virtual camera in the virtual environment, the rotation parameter is configured to determine a shooting angle value of the virtual camera in the virtual environment.

### Claim 5 (depends on 4)

The method according to claim 4, wherein obtaining the coordinates of the feature points comprises:
adjusting, based on screen parameters, the parameters of the virtual camera;
obtaining the location parameter and the rotation parameter of the virtual camera, by the process of the adjustments, wherein the screen parameters include parameters of screen size and screen resolution; and
obtaining, based on the location parameter and the rotation parameter, the coordinates of the feature points of the visible boundary scope within the virtual environment.

### Claim 6 (depends on 1)

The method according to claim 1, wherein obtaining the predefined execution area comprises:
obtaining the location information of the first virtual object within the virtual environment; and,
determining, based on the location information and a predefined execution distance of the first operation, the predefined execution area of the first operation in the virtual environment.

### Claim 7 (depends on 1)

The method according to claim 1, wherein determining the target virtual object comprises:
determining a second virtual object within the effective execution area as a candidate virtual object;
selecting the target virtual object from one or more candidate virtual object based on an object selection criteria.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the visible boundary scope is a trapezoidal area enclosed by a first edge, a second edge, a third edge and a fourth edge, the first edge is parallel to the third edge, and the method further comprises:
obtaining the location information of the second virtual object in the predefined execution area;
when the location information of the second virtual object is located between the first edge and the third edge, determining that the second virtual object meets a first requirement;
when the location information of the second virtual object is between the second edge and the fourth edge, determining that the second virtual object meets a second requirement; and
when the second virtual object meets the first requirement and the second requirement, determining that the second virtual object is located in the effective execution area.

### Claim 9 (depends on 7)

The method according to claim 7, wherein determining the second virtual object comprises:
when the first operation is identified as an attack operation, identifying a virtual object, which belongs to a different camp from the first virtual object, in the effective execution area as the candidate virtual object.

### Claim 10 (depends on 7)

The method according to claim 7, wherein determining the second virtual object comprises:
when the first operation is identified as a gain operation, identifying a virtual object which belongs to the same camp with the first virtual object, in the effective execution area as the candidate virtual object.

### Claim 11

An apparatus for selecting a virtual object on a user interface of a terminal, the apparatus comprising: a memory storing computer program instructions; and a processor coupled to the memory and configured to execute the computer program instructions and perform:
displaying the user interface, wherein the user interface includes a display screen corresponding to a virtual environment, and further includes a first virtual object located in the virtual environment;
obtaining a predefined execution area of a first operation of the first virtual object within the virtual environment;
obtaining a visible boundary scope of the virtual environment, wherein virtual objects that reside in the visible boundary scope are visible on the user interface;
determining, based on the predefined execution area and the visible boundary scope, an effective execution area of the first operation within the virtual environment; and,
determining, based on the effective execution area, a target virtual object.

### Claim 12 (depends on 11)

The apparatus according to claim 11, wherein the processor is further configured to execute the computer program instructions and perform:
identifying an intersection area of the predefined execution area and the visible boundary scope as the effective execution area of the first operation.

### Claim 13 (depends on 11)

The apparatus according to claim 11, wherein the processor is further configured to execute the computer program instructions and perform:
processing a three-dimensional visual representation of the virtual environment, obtain a two-dimensional visual representation of the virtual environment by the processing of the three-dimensional visual representation;
obtaining, from the two-dimensional visual representation of the virtual environment, coordinates of feature points of the visible boundary scope within the virtual environment;
and,
obtaining, based on the coordinates of the feature points within the virtual environment, the visible boundary scope.

### Claim 14 (depends on 13)

The apparatus according to claim 13, wherein the processor is further configured to execute the computer program instructions and perform:
obtaining, based on parameters of a virtual camera, coordinates of the feature points of the visible boundary scope within the virtual environment;
wherein the parameters include a location parameter and a rotation parameter, the location parameter is configured to determine the location of the virtual camera in the virtual environment, the rotation parameter is configured to determine a shooting angle value of the virtual camera in the virtual environment.

### Claim 15 (depends on 14)

The apparatus according to claim 14, wherein obtaining the coordinates of the feature points comprises:
adjusting, based on screen parameters, the parameters of the virtual camera;
obtaining the location parameter and the rotation parameter of the virtual camera, by the process of the adjustments, wherein the screen parameters include parameters of screen size and screen resolution; and
obtaining, based on the location parameter and the rotation parameter, the coordinates of the feature points of the visible boundary scope within the virtual environment.

### Claim 16 (depends on 11)

The apparatus according to claim 11, wherein obtaining the predefined execution area comprises:
obtaining the location information of the first virtual object within the virtual environment; and,
determining, based on the location information and a predefined execution distance of the first operation, the predefined execution area of the first operation in the virtual environment.

### Claim 17 (depends on 11)

The apparatus according to claim 11, wherein determining the target virtual object comprises:
determining a second virtual object within the effective execution area as a candidate virtual object;
selecting the target virtual object from one or more candidate virtual object based on an object selection criteria.

### Claim 18 (depends on 17)

The apparatus according to claim 17, wherein the visible boundary scope is a trapezoidal area enclosed by a first edge, a second edge, a third edge and a fourth edge, the first edge is parallel to the third edge, and the processor is further configured to execute the computer program instructions and perform:
obtaining the location information of the second virtual object in the predefined execution area;
when the location information of the second virtual object is located between the first edge and the third edge, determining that the second virtual object meets a first requirement;
when the location information of the second virtual object is between the second edge and the fourth edge, determining that the second virtual object meets a second requirement; and
when the second virtual object meets the first requirement and the second requirement, determining that the second virtual object is located in the effective execution area.

### Claim 19 (depends on 17)

The apparatus according to claim 17, wherein determining the second virtual object comprises:
when the first operation is identified as an attack operation, identifying a virtual object, which belongs to a different camp from the first virtual object, in the effective execution area as the candidate virtual object.

### Claim 20

A non-transitory computer-readable storage medium storing computer program instructions executable by at least one processor to perform:
displaying a user interface of a terminal, wherein the user interface includes a display screen corresponding to a virtual environment, and further includes a first virtual object located in the virtual environment;
obtaining a predefined execution area of a first operation of the first virtual object within the virtual environment;
obtaining a visible boundary scope of the virtual environment, wherein virtual objects that reside in the visible boundary scope are visible on the user interface;
determining, based on the predefined execution area and the visible boundary scope, an effective execution area of the first operation within the virtual environment; and
determining, based on the effective execution area, a target virtual object.
