# US 2022/0032186 A1 · Operation control display method and apparatus based on virtual scene

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

- Number: US 2022/0032186 A1
- Document ID: US20220032186A1
- Status: Published application
- Kind: A1
- Application number: 17/501,989
- Filed: 2021-10-14
- Published: 2022-02-03
- Earliest claimed: 2020-04-23
- 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/US20220032186A1

## CPC

- A63F 13/52: involving aspects of the displayed game scene
- A63F 13/533: for prompting the player, e.g. by displaying a game menu
- A63F 13/56: Computing the motion of game characters with respect to other game characters, game objects or elements of the game scene, e.g. for simulating the behaviour of a group of virtual soldiers or for path finding
- G06F 3/0484: for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06T 7/70: Determining position or orientation of objects or cameras (camera calibration G06T7/80)
- G06V 10/22: by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
- A63F 2300/64: for computing dynamical parameters of game objects, e.g. motion determination or computation of frictional forces for a virtual car
- G06T 2200/24: involving graphical user interfaces [GUIs]
- G06T 2207/30242: Counting objects in image
- 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)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

An operation control display method is provided to be applied to a computing device. The method includes: obtaining position information of a target virtual object in the virtual scene, the target virtual object being a virtual object controlled by a terminal; determining, based on the position information and at least one of virtual elements in the virtual scene, an element type of a target virtual element corresponding to the target virtual object; and displaying, in a control display region in the virtual scene, a target operation control corresponding to the element type of the target virtual element, the target operation control being configured to control the target virtual object to interact with the target virtual element

## Claims

### Claim 1

An operation control display method based on a virtual scene, applied to a computing device, the method comprising:
obtaining position information of a target virtual object in the virtual scene, the target virtual object being a virtual object controlled by a terminal;
determining, based on the position information and at least one of virtual elements in the virtual scene, an element type of a target virtual element corresponding to the target virtual object; and
displaying, in a control display region in the virtual scene, a target operation control corresponding to the element type of the target virtual element, the target operation control being configured to control the target virtual object to interact with the target virtual element.

### Claim 2 (depends on 1)

The method according to claim 1, wherein determining the element type of the target virtual element comprises:
determining, based on the position information, a position index of a region indicated by the position information;
obtaining, based on the position index, a region type of the region from a map index table corresponding to the virtual scene, the map index table including a position index of each region in the virtual scene and a region type of the each region; and
determining an element type of a virtual element corresponding to the region type as the element type of the target virtual element.

### Claim 3 (depends on 1)

The method according to claim 1, wherein determining the element type of the target virtual element comprises:
determining, based on the position information, an element type of a virtual element closest to the target virtual object from the virtual elements included in the virtual scene as the element type of the target virtual element.

### Claim 4 (depends on 1)

The method according to claim 1, wherein determining the element type of the target virtual element comprises:
determining, by using a position indicated by the position information as a center, a target region in the virtual scene;
determining a quantity of virtual elements included in each element type in the target region; and
determining an element type including a maximum quantity of virtual elements as the element type of the target virtual element.

### Claim 5 (depends on 1)

The method according to claim 1, wherein determining the element type of the target virtual element comprises:
determining, by using a position indicated by the position information as a center, a target region in the virtual scene;
determining an interactive priority of each virtual element in the target region; and
determining an element type of a virtual element having a highest interactive priority as the element type of the target virtual element.

### Claim 6 (depends on 1)

The method according to claim 1, wherein displaying the target operation control comprises:
obtaining, for any control display position in the control display region, candidate operation controls corresponding to the any control display position;
matching the element type of the target virtual element with a display condition of each candidate operation control;
determining a candidate operation control of which a display condition successfully matches the element type of the target virtual element as the target operation control; and
displaying the target operation control at the any control display position.

### Claim 7 (depends on 6)

The method according to claim 6, wherein displaying the target operation control comprises:
determining whether an operation control currently displayed at the control display position is the same as the target operation control; and
displaying the currently displayed operation control in response to determining that the operation control currently displayed at the control display position is the same as the target operation control; and switching the currently displayed operation control to the target operation control in response to determining that the operation control currently displayed at the control display position is different from the target operation control.

### Claim 8 (depends on 1)

The method according to claim 1, wherein obtaining position information of the target virtual object comprises:
obtaining the position information of the target virtual object in real time in response to a movement operation on the target virtual object.

### Claim 9 (depends on 8)

The method according to claim 8, further comprising:
determining a region type of a region indicated by the position information; and
performing, in response to a change of the region type, the operation of determining, based on the position information and at least one of virtual elements in the virtual scene, an element type of a target virtual element corresponding to the target virtual object.

### Claim 10

An operation control display apparatus based on a virtual scene, 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:
obtaining position information of a target virtual object in the virtual scene, the target virtual object being a virtual object controlled by a terminal;
determining, based on the position information and at least one of virtual elements in the virtual scene, an element type of a target virtual element corresponding to the target virtual object; and
displaying, in a control display region in the virtual scene, a target operation control corresponding to the element type of the target virtual element, the target operation control being configured to control the target virtual object to interact with the target virtual element.

### Claim 11 (depends on 10)

The apparatus according to claim 10, wherein the processor is further configured to execute the computer program instructions and perform:
determining, based on the position information, a position index of a region indicated by the position information;
obtaining, based on the position index, a region type of the region from a map index table corresponding to the virtual scene, the map index table including a position index of each region in the virtual scene and a region type of the each region; and
determining an element type of a virtual element corresponding to the region type as the element type of the target virtual element.

### Claim 12 (depends on 10)

The apparatus according to claim 10, wherein the processor is further configured to execute the computer program instructions and perform:
determining, based on the position information, an element type of a virtual element closest to the target virtual object from the virtual elements included in the virtual scene as the element type of the target virtual element.

### Claim 13 (depends on 10)

The apparatus according to claim 10, wherein the processor is further configured to execute the computer program instructions and perform:
determining, by using a position indicated by the position information as a center, a target region in the virtual scene;
determining a quantity of virtual elements included in each element type in the target region; and
determining an element type including a maximum quantity of virtual elements as the element type of the target virtual element.

### Claim 14 (depends on 10)

The apparatus according to claim 10, wherein the processor is further configured to execute the computer program instructions and perform:
determining, by using a position indicated by the position information as a center, a target region in the virtual scene;
determining an interactive priority of each virtual element in the target region; and
determining an element type of a virtual element having a highest interactive priority as the element type of the target virtual element.

### Claim 15

A non-transitory computer-readable storage medium storing computer program instructions executable by at least one processor to perform:
obtaining position information of a target virtual object in a virtual scene, the target virtual object being a virtual object controlled by a terminal;
determining, based on the position information and at least one of virtual elements in the virtual scene, an element type of a target virtual element corresponding to the target virtual object; and
displaying, in a control display region in the virtual scene, a target operation control corresponding to the element type of the target virtual element, the target operation control being configured to control the target virtual object to interact with the target virtual element.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium according to claim 15, wherein the computer program instructions are further executable by the at least one processor to perform:
determining, based on the position information, a position index of a region indicated by the position information;
obtaining, based on the position index, a region type of the region from a map index table corresponding to the virtual scene, the map index table including a position index of each region in the virtual scene and a region type of the each region; and
determining an element type of a virtual element corresponding to the region type as the element type of the target virtual element.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium according to claim 15, wherein the computer program instructions are further executable by the at least one processor to perform:
determining, based on the position information, an element type of a virtual element closest to the target virtual object from the virtual elements included in the virtual scene as the element type of the target virtual element.

### Claim 18 (depends on 15)

The non-transitory computer-readable storage medium according to claim 15, wherein the computer program instructions are further executable by the at least one processor to perform:
determining, by using a position indicated by the position information as a center, a target region in the virtual scene;
determining a quantity of virtual elements included in each element type in the target region; and
determining an element type including a maximum quantity of virtual elements as the element type of the target virtual element.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium according to claim 15, wherein the computer program instructions are further executable by the at least one processor to perform:
determining, by using a position indicated by the position information as a center, a target region in the virtual scene;
determining an interactive priority of each virtual element in the target region; and
determining an element type of a virtual element having a highest interactive priority as the element type of the target virtual element.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage medium according to claim 15, wherein the computer program instructions are further executable by the at least one processor to perform:
obtaining, for any control display position in the control display region, candidate operation controls corresponding to the any control display position;
matching the element type of the target virtual element with a display condition of each candidate operation control;
determining a candidate operation control of which a display condition successfully matches the element type of the target virtual element as the target operation control; and
displaying the target operation control at the any control display position.
