# US 2020/0393953 A1 · Method and apparatus, computer device, and storage medium for picking up a virtual item in a virtual environment

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

- Number: US 2020/0393953 A1
- Document ID: US20200393953A1
- Status: Published application
- Kind: A1
- Application number: 17/006,358
- Filed: 2020-08-28
- Published: 2020-12-17
- Earliest claimed: 2018-08-31
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Ya Zhang; Xiyang Zhou; Yiqi Li; Han Wen; Ronghao Huang
- Web page: https://patentgrep.com/patent/US20200393953A1

## CPC

- G06F 3/04815: Interaction with a metaphor-based environment or interaction object displayed as three-dimensional [3D], e.g. changing the user viewpoint with respect to the environment or object
- G06F 3/04817: using icons (graphical or visual programming using iconic symbols G06F8/34)
- G06F 3/04842: Selection of displayed objects or displayed text elements (G06F3/0482 takes precedence)
- G06F 3/04847: Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
- G06F 3/0488: using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F 3/04883: for inputting data by handwriting, e.g. gesture or text
- G06V 20/20: in augmented reality scenes
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

This application discloses a method and an apparatus for picking up a virtual item in a virtual environment, a terminal, and a computer-readable storage medium, which belong to the field of human-computer interaction. The method can include displaying a user interface, and obtaining, according to a first instruction triggered by an interaction operation on the user interface, an operation trajectory formed by the interaction operation on the user interface. The method can further include obtaining, in a case that the operation trajectory forms an enclosed region, at least two target virtual items located in the enclosed region in the virtual environment, aggregating the target virtual items in a designated location in the virtual environment, and controlling, in a case that the virtual object moves to the designated location, the virtual object to pick up the target virtual items.

## Claims

### Claim 1

A method for picking up a virtual item in a virtual environment that is performed by a terminal, the method comprising:
displaying a user interface having a virtual environment and a virtual object located in the virtual environment;
obtaining, based a first instruction triggered by an interaction operation on the user interface, an operation trajectory formed by the interaction operation on the user interface;
obtaining, when the operation trajectory forms an enclosed region, at least two target virtual items located in the enclosed region in the virtual environment;
aggregating the target virtual items in a designated location in the virtual environment; and
controlling the virtual object to pick up the target virtual items when the virtual object moves to the designated location.

### Claim 2 (depends on 1)

The method according to claim 1, wherein:
each virtual item corresponds to a pickup region;
the obtaining at least two target virtual items located in the enclosed region in the virtual environment further comprises using virtual items located in either:
intersection regions between pickup regions and the enclosed region as candidate virtual items; or
pickup regions of which central locations are in the enclosed region as candidate virtual items; and
using virtual items that need to be picked up in the candidate virtual items as the target virtual items.

### Claim 3 (depends on 2)

The method according to claim 2, wherein:
each virtual item has an item type; and
the using virtual items that need to be picked up in the candidate virtual items as the target virtual items further comprises:
using, when the candidate virtual items include a virtual item that does not need to be picked up, candidate virtual items other than the virtual item that does not need to be picked up in the candidate virtual items as the target virtual items.

### Claim 4 (depends on 3)

The method according to claim 3, wherein, before the obtaining the operation trajectory formed by the interaction operation on the user interface, the method further comprises:
displaying an item setting page;
receiving an item type determining signal triggered on the item setting page; and
determining an item type that does not need to be picked up based on the item type determining signal.

### Claim 5 (depends on 2)

The method according to claim 2, wherein
each virtual item corresponds to an item quantity; and
the using virtual items that need to be picked up in the candidate virtual items as the target virtual items further comprises:
determining whether a virtual item that is the same as an item carried by the virtual object and whose item quantity exceeds a quantity threshold exists in the candidate virtual items; and
using the virtual item whose item quantity exceeds the quantity threshold as an excess item when the candidate virtual items includes the virtual item whose item quantity exceeds the quantity threshold, and using candidate virtual items other than the excess item in the candidate virtual items as the target virtual items.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the aggregating the target virtual items further comprises:
receiving a second instruction triggered by a touch operation in a touched location in the enclosed region; and
using the touched location as the designated location based on the second instruction.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the aggregating the target virtual items further comprises:
obtaining a central location of the enclosed region; and
using the central location of the enclosed region as the designated location.

### Claim 8 (depends on 1)

The method according to claim 1, wherein, after the controlling the virtual object to pick up the target virtual items, the method further comprises:
increasing, when the target virtual items include a restoring item, a health point of the virtual object according to a restoring value corresponding to the restoring item.

### Claim 9 (depends on 1)

The method according to claim 1, wherein, after the controlling the virtual object to pick up the target virtual items, the method further comprises:
increasing, when the target virtual items includes an upgrading item, an experience point of the virtual object according to an experience point corresponding to the upgrading item.

### Claim 10 (depends on 1)

The method according to claim 1, wherein, after the aggregating the target virtual items in the designated location in the virtual environment, the method further comprises:
displaying the at least two target virtual items in the designated location in a form of an aggregation icon.

### Claim 11 (depends on 1)

The method according to claim 1, wherein:
each virtual item has an item type; and
the method further comprises displaying virtual items that belong to the same item type in the at least two target virtual items as one icon after the aggregating the target virtual items in the designated location in the virtual environment.

### Claim 12 (depends on 1)

The method according to claim 1, wherein:
the interaction operation is a slide operation on a touch display screen of the terminal, and the operation trajectory includes a beginning region and an ending region, the beginning region being a region formed by a finger pressing-down operation in the slide operation on a display screen of the terminal, and the ending region being a region formed by a finger removing operation in the slide operation on the display screen of the terminal; and
before the obtaining, when the operation trajectory forms an enclosed region, at least two target virtual items located in the enclosed region in the virtual environment further comprises:
determining whether the operation trajectory forms the enclosed region based on the beginning region and the ending region.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the determining whether the operation trajectory forms the enclosed region further comprises:
obtaining a first distance between a central location of the beginning region and a central location of the ending region; and
determining that the operation trajectory forms the enclosed region when the first distance is less than a first distance threshold.

### Claim 14 (depends on 12)

The method according to claim 12, wherein the determining whether the operation trajectory forms the enclosed region further comprises:
obtaining an area of an intersection between the beginning region and the ending region; and
determining that the operation trajectory forms the enclosed region when an area proportion of the intersection exceeds an area proportion threshold, the area proportion being a proportion of the area of the intersection to a total area, the total area being a sum of an area of the beginning region and an area of the ending region.

### Claim 15 (depends on 1)

The method according to claim 1, wherein the controlling the virtual object to pick up the target virtual items further comprises:
obtaining a second distance between the virtual object and the designated location; and
picking up the target virtual items automatically when the second distance is less than a second distance threshold.

### Claim 16

An apparatus for picking up a virtual item in a virtual environment, comprising processing circuitry that is configured to perform operations comprising:
displaying a user interface having a virtual environment and a virtual object located in the virtual environment;
obtaining, based on a first instruction triggered by an interaction operation on the user interface, an operation trajectory formed by the interaction operation on the user interface;
obtaining, when the operation trajectory forms an enclosed region, at least two target virtual items located in the enclosed region in the virtual environment;
aggregating the target virtual items in a designated location in the virtual environment; and
controlling the virtual object to pick up the target virtual items when the virtual object moves to the designated location.

### Claim 17

A terminal, comprising a processor and a memory, the memory storing at least one instruction that, when executed by the processor, causes the processor to implement operations comprising:
displaying a user interface having a virtual environment and a virtual object located in the virtual environment;
obtaining, based on a first instruction triggered by an interaction operation on the user interface, an operation trajectory formed by the interaction operation on the user interface;
obtaining, when the operation trajectory forms an enclosed region, at least two target virtual items located in the enclosed region in the virtual environment;
aggregating the target virtual items in a designated location in the virtual environment; and
controlling the virtual object to pick up the target virtual items when the virtual object moves to the designated location.

### Claim 18 (depends on 17)

The terminal according to claim 17, wherein the processor further implements operations comprising:
in virtual items, using virtual items located in intersection regions between pickup regions and the enclosed region as candidate virtual items, or in virtual items, using virtual items located in pickup regions of which central locations are in the enclosed region as candidate virtual items; and
using virtual items that need to be picked up in the candidate virtual items as the target virtual items.

### Claim 19 (depends on 1)

A non-transitory computer-readable storage medium, storing at least one instruction that, when executed by a processor, causes the processor to implement operations comprising the method recited in claim 1.

### Claim 20 (depends on 19)

The non-transitory computer-readable storage medium according to claim 19, wherein the processor further implements operations comprising:
in virtual items, using virtual items located in intersection regions between pickup regions and the enclosed region as candidate virtual items, or in virtual items, using virtual items located in pickup regions of which central locations are in the enclosed region as candidate virtual items; and
using virtual items that need to be picked up in the candidate virtual items as the target virtual items.
