Human-computer interaction method, device, equipment, medium and program product for virtual items

By displaying function buttons on the virtual item operation interface, users can accurately realize the directive role of virtual items, solving the problem of misidentification in virtual item operation and improving user experience.

CN114130024BActive Publication Date: 2025-03-28TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111628789.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-10-20
Filing Date
2021-12-28
Publication Date
2025-03-28
Estimated Expiration
2041-12-28

AI Technical Summary

Technical Problem

In the prior art, users are prone to misidentification between the up and down sliding function and the automatic assembly function when operating virtual items, resulting in inaccurate operation.

Method used

By displaying a function button on the user interface, the user can trigger the button to achieve directive effects between virtual items, thereby avoiding misidentification.

Benefits of technology

It realizes fast and accurate interaction between virtual items, improves user experience, and avoids misidentification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114130024B_ABST
    Figure CN114130024B_ABST
Patent Text Reader

Abstract

The present application discloses a human-computer interaction method, device, equipment, medium and program product for virtual items, belonging to the field of human-computer interaction. The method comprises: displaying a user interface; in response to a first selection operation on a first virtual item, displaying the first virtual item in a selected state; in response to a second selection operation on a second virtual item, displaying the second virtual item in a selected state and the first virtual item in a deselected state; displaying a function button when the action relationship between the first virtual item and the second virtual item is satisfied; in response to a triggering operation on the function button, displaying the action result after the first virtual item acts on the second virtual item. The present application utilizes the action relationship between virtual items to add a display function button to the user interface. By triggering the function button, the user can quickly and accurately realize the first virtual item acting on the second virtual item, thereby avoiding the occurrence of misidentification.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims priority to Chinese patent application No. 202111223248.0, filed on October 20, 2021, and entitled “Human-computer interaction method, device, equipment, medium and program product for virtual objects”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to the field of human-computer interaction, and in particular to a method, device, equipment, medium and program product for human-computer interaction of virtual items. Background Art

[0003] When a user operates a virtual character to move around in a virtual world, he or she can interact with virtual objects by operating the virtual objects displayed in the user interface.

[0004] In the related art, a user opens a backpack interface, which includes a virtual gun and a virtual magazine. The virtual gun occupies a part of the backpack grid, and the virtual magazine occupies another part of the backpack grid. The user drags the virtual magazine over the virtual gun and lets go, and the virtual magazine will be automatically mounted on the virtual gun.

[0005] Since the backpack interface has an up and down sliding function, when the user drags the virtual magazine, it is easy to misidentify between the up and down sliding function and the automatic assembly function. Summary of the invention

[0006] The present application provides a human-computer interaction method, device, equipment, medium and program product for virtual items, which can avoid misidentification between the up and down sliding function and the automatic assembly function. The technical solution is as follows:

[0007] According to one aspect of the present application, a human-computer interaction method for a virtual item is provided, the method comprising:

[0008] Displaying a user interface, the user interface including a first virtual item and a second virtual item owned by the virtual character;

[0009] In response to a first selection operation on the first virtual item, displaying the first virtual item in a selected state;

[0010] In response to a second selection operation on the second virtual item, displaying the second virtual item in a selected state and the first virtual item in a deselected state;

[0011] In the case where the first virtual item and the second virtual item satisfy the functional relationship, displaying a function button;

[0012] In response to the triggering operation of the function button, the effect of the first virtual item on the second virtual item is displayed.

[0013] According to one aspect of the present application, a human-computer interaction device for a virtual item is provided, the device comprising:

[0014] A display module, configured to display a user interface, wherein the user interface includes a first virtual item and a second virtual item owned by the virtual character;

[0015] a human-computer interaction module, configured to display the first virtual item in a selected state in response to a first selection operation on the first virtual item;

[0016] The human-computer interaction module is further configured to, in response to a second selection operation on the second virtual item, display the second virtual item in a selected state and the first virtual item in a deselected state;

[0017] The display module is further configured to display a function button when the first virtual item and the second virtual item satisfy the action relationship;

[0018] The human-computer interaction module is further configured to display the result of the first virtual item acting on the second virtual item in response to a triggering operation on the function button.

[0019] According to another aspect of the present application, a computer device is provided, which includes: a processor and a memory, wherein at least one computer instruction is stored in the memory, and the at least one computer instruction is loaded and executed by the processor to implement the human-computer interaction method of virtual items as described above.

[0020] According to another aspect of the present application, a computer storage medium is provided, wherein at least one computer instruction is stored in the computer-readable storage medium, and the at least one computer instruction is loaded and executed by a processor to implement the human-computer interaction method of virtual items as described above.

[0021] According to another aspect of the present application, a computer program product is provided, which includes computer instructions stored in a computer-readable storage medium; the computer instructions are read and executed from the computer-readable storage medium by a processor of a computer device, so that the computer device executes the human-computer interaction method for virtual items as described above.

[0022] The beneficial effects of the technical solution provided by this application include at least:

[0023] By displaying a user interface, in response to the selection operation of the first virtual item and the second virtual item, when the action relationship between the first virtual item and the second virtual item is satisfied, a function button is displayed; in response to the triggering operation of the function button, the action result after the first virtual item acts on the second virtual item is displayed. This application utilizes the action relationship between the first virtual item and the second virtual item to add a function button to the user interface. By triggering the function button, the user can quickly and accurately realize the first virtual item acting on the second virtual item, thereby avoiding the occurrence of misidentification. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0025] Figure 1 is a schematic diagram of a human-computer interaction method for virtual items provided by an exemplary embodiment of the present application;

[0026] Figure 2 is a structural block diagram of a computer system provided by an exemplary embodiment of the present application;

[0027] Figure 3 is a flow chart of a human-computer interaction method for virtual items provided by an exemplary embodiment of the present application;

[0028] Figure 4 is a flow chart of a human-computer interaction method for virtual items provided by an exemplary embodiment of the present application;

[0029] Figure 5 is a flow chart of a human-computer interaction method for virtual items provided by an exemplary embodiment of the present application;

[0030] Figure 6 is a schematic diagram of a human-computer interaction method for virtual items provided by an exemplary embodiment of the present application;

[0031] Figure 7 is a flow chart of a human-computer interaction method for virtual items provided by an exemplary embodiment of the present application;

[0032] Figure 8 is a schematic diagram of a human-computer interaction method for virtual items provided by an exemplary embodiment of the present application;

[0033] Fig. 9 is a schematic diagram of a human-computer interaction method for virtual items provided by an exemplary embodiment of the present application;

[0034] Fig.10 is a schematic diagram of a human-computer interaction method for virtual items provided by an exemplary embodiment of the present application;

[0035] Fig.11 is a flow chart of a human-computer interaction method for virtual items provided by an exemplary embodiment of the present application;

[0036] Fig.12 is a block diagram of a human-computer interaction device for virtual items provided by an exemplary embodiment of the present application;

[0037] Fig.13 It is a structural diagram of a computer device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0038] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0039] The present application embodiment provides a technical solution for a human-computer interaction method of a virtual item. Figure 1 As shown, the user interface displays an equipment area 10 and a warehouse area 20. The user interface includes a first virtual item 30 and a second virtual item 40 owned by the virtual character. Exemplarily, the virtual item includes at least one of a virtual bullet, a virtual magazine, a virtual shell, a virtual light machine gun, a virtual heavy machine gun, and a virtual grenade, which is not limited in the embodiment of the present application.

[0040] Exemplarily, the equipped area 10 and the warehouse area 20 in the user interface present at least one of a two-dimensional storage space and a three-dimensional storage space. In the embodiment of the present application, the two-dimensional storage space is taken as an example. The two-dimensional storage space can be divided into at least two two-dimensional grids. Different virtual items occupy different two-dimensional grids, or different virtual items occupy different numbers of two-dimensional grids. Superimposable virtual items can repeatedly occupy the same two-dimensional grid after superposition; non-superimposable virtual items each occupy a different two-dimensional grid. After all the two-dimensional grids in the two-dimensional storage space are filled with virtual items, no new virtual items can be placed in the two-dimensional storage space.

[0041] When the user selects the first virtual item 30, the first virtual item 30 is displayed in a selected state. When the user selects the second virtual item 40, the second virtual item 40 is displayed in a selected state, and the selected state of the first virtual item 30 is cancelled. When the first virtual item 30 and the second virtual item 40 satisfy the directional action relationship, a function button 50 is displayed on the user interface. By triggering the function button 50, the user can realize that the first virtual item 30 acts on the second virtual item 40.

[0042] Exemplarily, a directional action relationship is used to represent a directional action relationship between virtual item A and virtual item B, including an action direction and an action relationship. For example, a virtual bullet can be assembled in a virtual magazine. The virtual bullet to the virtual magazine is the action direction, and the assembly is the action relationship.

[0043] When the user clicks the first virtual item 30 and the second virtual item 40 in sequence, if the directional action relationship between the first virtual item 30 and the second virtual item 40 is not satisfied, no function button is displayed on the user interface, and the user can perform other operations on the second virtual item 40 .

[0044] For example, if a user wants to assemble a virtual magazine into a virtual firearm, the user clicks on the virtual magazine and then on the virtual firearm. When the virtual magazine and the virtual firearm have a directional relationship, a function button is displayed on the user interface. The user completes the assembly of the virtual magazine into the virtual firearm by triggering the function button 50, thereby obtaining a virtual firearm with a virtual magazine.

[0045] In the case where the virtual magazine and the virtual firearm have no directional relationship, after the user clicks the virtual magazine and the virtual firearm, there is no additional display on the user interface. The user switches from selecting the virtual magazine to selecting the virtual firearm on the user interface, and the user does not need to cancel the selection of the virtual magazine to perform other operations on the virtual firearm. Exemplarily, the other operations include at least one of unloading the firearm and switching between the primary and standby modes, which is not limited in this application.

[0046] The present application utilizes the directional interaction relationship between virtual items to display function buttons on the user interface. Users can quickly and accurately realize the directional interaction between virtual items by triggering the function buttons, thereby avoiding the occurrence of misrecognition and improving the user experience.

[0047] Figure 2 The following is a block diagram of a computer system according to an exemplary embodiment of the present application. The computer system 100 includes: a first terminal 110 , a server 120 , and a second terminal 130 .

[0048] The first terminal 110 is installed and runs a client 111 that supports a virtual environment, and the client 111 can be a multiplayer online battle program. When the first terminal runs the client 111, the user interface of the client 111 is displayed on the screen of the first terminal 110. The client 111 can be any one of a battle royale shooting game, a virtual reality (VR) application, an augmented reality (AR) program, a three-dimensional map program, a virtual reality game, an augmented reality game, a first-person shooting game (FPS), a third-person shooting game (TPS), a multiplayer online tactical competitive game (MOBA), and a strategy game (SLG). In this embodiment, the client 111 is an MOBA game for example. The first terminal 110 is a terminal used by the first user 112. The first user 112 uses the first terminal 110 to control the first virtual character in the virtual environment to perform activities, or to operate the virtual items owned by the second virtual character. The first virtual character can be referred to as the virtual character of the first user 112. The first user 112 can assemble, disassemble, and uninstall the virtual items owned by the first virtual character, and this application does not limit this. Schematically, the first virtual character is a first virtual character, such as a simulated human character or an animated human character.

[0049] The second terminal 130 is installed and runs a client 131 that supports a virtual environment, and the client 131 can be a multiplayer online battle program. When the second terminal 130 runs the client 131, the user interface of the client 131 is displayed on the screen of the second terminal 130. The client can be any one of a battle royale shooting game, a VR application, an AR program, a three-dimensional map program, a virtual reality game, an augmented reality game, an FPS, a TPS, a MOBA, and a SLG. In this embodiment, the client is an MOBA game as an example. The second terminal 130 is a terminal used by the second user 113. The second user 113 uses the second terminal 130 to control the second virtual character in the virtual environment to carry out activities and operate the virtual items owned by the second virtual character. The second virtual character can be called the virtual character of the second user 113. Schematically, the second virtual character is a second virtual character, such as a simulated character or an anime character.

[0050] Optionally, the first virtual character and the second virtual character are in the same virtual environment. Optionally, the first virtual character and the second virtual character may belong to the same camp, the same team, the same organization, have a friend relationship, or have temporary communication permissions. Optionally, the first virtual character and the second virtual character may belong to different camps, different teams, different organizations, or have a hostile relationship.

[0051] Optionally, the client installed on the first terminal 110 and the second terminal 130 is the same, or the client installed on the two terminals is the same type of client on different operating system platforms (Android or IOS). The first terminal 110 may refer to one of a plurality of terminals, and the second terminal 130 may refer to another of a plurality of terminals. This embodiment is only illustrated by taking the first terminal 110 and the second terminal 130 as examples. The device types of the first terminal 110 and the second terminal 130 are the same or different, and the device type includes at least one of: a smart phone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, a laptop portable computer, and a desktop computer.

[0052] Figure 2 Only two terminals are shown, but in different embodiments, there are multiple other terminals 140 that can access the server 120. Optionally, there are one or more terminals 140 corresponding to the developer, and a development and editing platform for the client supporting the virtual environment is installed on the terminal 140. The developer can edit and update the client on the terminal 140, and transmit the updated client installation package to the server 120 through a wired or wireless network. The first terminal 110 and the second terminal 130 can download the client installation package from the server 120 to update the client.

[0053] The first terminal 110 , the second terminal 130 , and other terminals 140 are connected to the server 120 via a wireless network or a wired network.

[0054] The server 120 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. The server 120 is used to provide background services for the client supporting the three-dimensional virtual environment. Optionally, the server 120 undertakes the main computing work, and the terminal undertakes the secondary computing work; or, the server 120 undertakes the secondary computing work, and the terminal undertakes the main computing work; or, the server 120 and the terminal adopt a distributed computing architecture for collaborative computing.

[0055] In an illustrative example, the server 120 includes a processor 122, a user account database 123, a battle service module 124, and a user-oriented input / output interface (I / O interface) 125. The processor 122 is used to load instructions stored in the server 121 and process data in the user account database 123 and the battle service module 124; the user account database 123 is used to store data of user accounts used by the first terminal 110, the second terminal 130, and other terminals 140, such as the user account's avatar, the user account's nickname, the user account's combat power index, and the service area where the user account is located; the battle service module 124 is used to provide multiple battle rooms for users to fight, such as 1V1 battle, 3V3 battle, 5V5 battle, etc.; the user-oriented I / O interface 125 is used to establish communication and exchange data with the first terminal 110 and / or the second terminal 130 through a wireless network or a wired network.

[0056] Figure 3 is a flowchart of a human-computer interaction method for virtual items provided by an exemplary embodiment of the present application. The method can be performed as follows Figure 2 The method is executed by a terminal in the system shown or by a client on the terminal. The method includes:

[0057] Step 302: Display a user interface, where the user interface includes a first virtual item and a second virtual item owned by the virtual character.

[0058] The virtual environment is a virtual activity space provided by the application in the terminal during operation, in which the virtual character can perform various activities. Virtual items are items owned by the virtual character in the virtual world. The acquisition of virtual items can be obtained by at least one of picking up, competing, and purchasing, which is not limited in this application.

[0059] Exemplarily, the virtual items include at least one of virtual bullets, virtual magazines, virtual shells, virtual light machine guns, virtual heavy machine guns, and virtual grenades, which is not limited in the embodiments of the present application.

[0060] Exemplarily, the user interface is at least one of a two-dimensional accommodation space and a three-dimensional accommodation space presented by the terminal. In the embodiment of the present application, the two-dimensional accommodation space is taken as an example. The two-dimensional accommodation space can be divided into at least two two-dimensional grids. Different virtual items occupy different two-dimensional grids, or different virtual items occupy different numbers of two-dimensional grids. Superimposable virtual items can repeatedly occupy the same two-dimensional grid after superposition; non-superimposable virtual items each occupy a different two-dimensional grid. After all the two-dimensional grids in the two-dimensional accommodation space are placed with virtual items, no new virtual items can be placed in the two-dimensional accommodation space.

[0061] The stackable virtual items are used to represent virtual items that have an interactive relationship, such as: bullets and magazines, magazines and firearms, scopes and rails, but are not limited thereto.

[0062] Step 304: In response to a first selection operation on the first virtual item, display the first virtual item in a selected state.

[0063] The terminal displays the first virtual item in a selected state on the user interface in response to a first selection operation of the user on the first virtual item.

[0064] Exemplarily, the user performs a first selection operation on the first virtual item on the touch screen, or the user performs a first selection operation on the first virtual item using a mouse on a computer, and the first virtual item in a selected state is displayed on the user interface.

[0065] Exemplarily, the first selection operation includes at least one of a long press, a single click, a double click, a sliding operation, and a circle operation, which is not limited in the embodiments of the present application.

[0066] Exemplarily, the first virtual item displaying the selected state may be represented by at least one of the first virtual item being highlighted and a selected label being displayed on the first virtual item, which is not limited in this embodiment of the present application.

[0067] Step 306: In response to a second selection operation on the second virtual item, display the second virtual item in a selected state and the first virtual item in a deselected state.

[0068] In response to the second selection operation of the user on the second virtual item, the terminal displays the second virtual item in a selected state on the user interface, and displays the first virtual item in a deselected state on the user interface.

[0069] Exemplarily, when the user performs a second selection operation on the second virtual item on the touch screen, or when the user performs a second selection operation on the second virtual item using a mouse on the computer, the second virtual item in a selected state and the first virtual item in a deselected state are displayed on the user interface.

[0070] Exemplarily, the second selection operation includes at least one of a long press, a single click, a double click, a sliding operation, and a circle operation, which is not limited in the embodiments of the present application.

[0071] Exemplarily, the second virtual item displaying the selected state may be expressed as at least one of the following: the second virtual item being highlighted, and a selected label being displayed on the second virtual item, which is not limited in this embodiment of the present application.

[0072] Step 308: When the action relationship between the first virtual item and the second virtual item is satisfied, display a function button.

[0073] When the action relationship is satisfied between the first virtual item and the second virtual item, a function button is displayed on the user interface.

[0074] Exemplarily, the interaction relationship is used to represent the interaction relationship between the first virtual item and the second virtual item, and may be at least one of a master-slave relationship, a containment relationship, a parent-child relationship, a subordinate relationship, an inclusion relationship, and a parallel relationship, which is not limited in the embodiments of the present application.

[0075] The interaction relationship between the first virtual item and the second virtual item can be applied to at least one of the following scenarios: visor is equipped to a helmet, items are placed in a backpack, items are placed in a magazine, bullets are loaded into a magazine, a scope is equipped to a bolt, and a muzzle is equipped to a bolt. The embodiments of the present application do not limit this.

[0076] Exemplarily, the function button is displayed in a floating manner on the user interface. The floating display position of the function button can be displayed on the left side, right side, top side, bottom side, or center of the user interface, or a prompt animation can be provided when the function button is displayed. The prompt animation is used to prompt the user to display the position of the function button. The embodiment of the present application is not limited to this. In the embodiment of the present application, in order to make the left and right hands cooperate more properly, the function button is displayed on the left side of the user interface.

[0077] Step 310: In response to the triggering operation of the function button, display the effect of the first virtual item on the second virtual item.

[0078] The user triggers the function button to display the result of the first virtual item acting on the second virtual item on the user interface.

[0079] Exemplarily, the user may trigger the function button by long pressing the function button, clicking the function button, double-clicking the function button, and / or sliding the function button to generate a signal.

[0080] Exemplarily, the result of the first virtual item acting on the second virtual item may be at least one of the following: the first virtual item is placed on the second virtual item, the first virtual item is placed inside the second virtual item, the first virtual item is assembled on the second virtual item, the first virtual item is included in the second virtual item, and the first virtual item is attached to the second virtual item, which is not limited in the embodiments of the present application.

[0081] In summary, the method provided by this embodiment displays a user interface, selects a first virtual item through a first selection operation, and selects a second virtual item through a second selection operation, and uses the action relationship between the first virtual item and the second virtual item to add a display function button to the user interface, and by triggering the function button, the action result after the first virtual item acts on the second virtual item is displayed on the user interface. The embodiment of the present application can quickly and accurately realize the directional action between virtual items by triggering the function button, thereby avoiding the occurrence of misidentification and improving the user experience.

[0082] Figure 4 is a flowchart of a human-computer interaction method for virtual items provided by an exemplary embodiment of the present application. The method can be performed as follows Figure 2 The method is executed by a terminal in the system shown or by a client on the terminal. The method includes:

[0083] Step 402: Display a user interface, where the user interface includes a first virtual item and a second virtual item owned by the virtual character.

[0084] The terminal displays a user interface having an equipped area and a warehouse area, wherein the second virtual item is displayed in the equipped area and the first virtual item is displayed in the warehouse area.

[0085] In one possible implementation, the user interface may display at least one of the virtual character's equipment interface, physical health interface, digital asset interface, wardrobe interface, inheritance box interface, and store interface. This application is not limited to this. In the embodiments of this application, the equipment interface is taken as an example.

[0086] The equipment interface displayed in the user interface includes virtual items owned by the virtual character, and the user interface includes an equipment area 10 and a warehouse area 20, such as Figure 1 As shown, virtual items can be placed in the equipped area 10 or the warehouse area 20. In the embodiment of the present application, the equipped area 10 includes the second virtual item, and the warehouse area 20 includes the first virtual item. The equipped area 10 is used to place virtual props that the virtual character has equipped; the warehouse area 20 is used to place virtual props that the virtual character has but has not equipped.

[0087] Exemplarily, the terminal displays a user interface having an equipped area 10 and a warehouse area 20. The equipped area 10 can be divided into at least two two-dimensional grids. The second virtual item occupies at least one two-dimensional grid in the equipped area 10. The warehouse area 20 can be divided into at least two two-dimensional grids. The first virtual item occupies at least one two-dimensional grid in the warehouse area 20. Different virtual items occupy different two-dimensional grids, or different virtual items occupy different numbers of two-dimensional grids. Virtual items that can be superimposed can repeatedly occupy the same two-dimensional grid after superposition. Non-superimposable virtual items each occupy a different two-dimensional grid. After all two-dimensional grids in the two-dimensional storage space are filled with virtual items, the two-dimensional storage space cannot be filled with new virtual items.

[0088] The warehouse area 20 is used to store unequipped virtual items owned by the virtual character; the equipped area 10 is used to store virtual items equipped by the virtual character; and the two-dimensional grid is used to represent the minimum storage space for the virtual items.

[0089] Exemplarily, the terminal updates and displays the virtual items displayed in the warehouse area in response to a sliding operation on the warehouse area. The terminal updates and displays the virtual items displayed in the warehouse area in the user interface in response to a user sliding operation on the warehouse area in the user interface.

[0090] Exemplarily, the sliding operation on the warehouse area may be performed by at least one of sliding from top to bottom, sliding from left to right, sliding from bottom to top, and sliding from right to left, and the embodiment of the present application is not limited to this.

[0091] Step 404: In response to a first selection operation on the first virtual item, display the first virtual item in a selected state.

[0092] Exemplarily, after the user performs a first selection operation on the first virtual item on the touch screen, or after the user performs a first selection operation on the first virtual item using a mouse on a computer, the first virtual item in a selected state is displayed on the user interface.

[0093] Exemplarily, the first selection operation includes at least one of a long press, a single click, a double click, a sliding operation, and a circle operation, which is not limited in the embodiments of the present application.

[0094] Exemplarily, the first virtual item displaying the selected state may be represented by at least one of the first virtual item being highlighted and a selected label being displayed on the first virtual item, which is not limited in this embodiment of the present application.

[0095] Step 406: In response to a second selection operation on the second virtual item, display the second virtual item in a selected state and the first virtual item in a deselected state.

[0096] In response to the second selection operation of the user on the second virtual item, the terminal displays the second virtual item in a selected state on the user interface, and displays the first virtual item in a deselected state on the user interface.

[0097] Exemplarily, when the user performs a second selection operation on the second virtual item on the touch screen, or when the user performs a second selection operation on the second virtual item using a mouse on the computer, the second virtual item in a selected state and the first virtual item in a deselected state are displayed on the user interface.

[0098] Exemplarily, the second selection operation includes at least one of a long press, a single click, a double click, a sliding operation, and a circle operation, which is not limited in the embodiments of the present application.

[0099] Exemplarily, the second virtual item displaying the selected state may be expressed as at least one of the following: the second virtual item being highlighted, and a selected label being displayed on the second virtual item, which is not limited in this embodiment of the present application.

[0100] Step 408a: When the first virtual item is a slave item, the second virtual item is a master item, and the slave item and the master item have a master-slave assembly relationship, display a function button.

[0101] In a possible implementation, when the first virtual item is a slave item and the second virtual item is a master item, and the slave item and the master item have a master-slave assembly relationship, the first virtual item and the second virtual item are selected in sequence, and a function button is displayed on the user interface to indicate to the user that the first virtual item can be assembled to the second virtual item.

[0102] For example, the first virtual item is a virtual bullet, which is a slave item; the second virtual item is a virtual magazine, which is a master item; there is a master-slave assembly relationship between the virtual bullet and the virtual magazine; when the virtual bullet and the virtual magazine are selected in sequence, a function button is displayed on the user interface, and the function button is used to indicate to the user that the virtual bullet can be assembled on the virtual magazine.

[0103] In a possible implementation, when the first virtual item is a master item and the second virtual item is a slave item, and the master item and the slave item have a master-slave assembly relationship, the first virtual item and the second virtual item are selected in sequence, and a function button is displayed on the user interface, and the function button is used to indicate to the user that the second virtual item can be assembled to the first virtual item.

[0104] For example, the first virtual item is a virtual sniper rifle, which is the main item; the second virtual item is a virtual scope, which is the subordinate item; there is a master-slave assembly relationship between the virtual sniper rifle and the virtual scope; when the virtual sniper rifle and the virtual scope are selected in sequence, a function button is displayed on the user interface, and the function button is used to instruct the user that the virtual scope can be assembled on the virtual sniper rifle.

[0105] Step 408b: When the first virtual item is a contained item, the second virtual item is a container item, and the contained item and the container item have a size containment relationship, display a function button.

[0106] In a possible implementation, when the first virtual item is a contained item and the second virtual item is a container item, and when the contained item and the container item have a size containment relationship, the first virtual item and the second virtual item are selected in sequence, and a function button is displayed on the user interface, and the function button is used to indicate to the user that the first virtual item can be contained in the second virtual item.

[0107] For example, the first virtual item is a virtual grenade, which is a contained item; the second virtual item is a virtual backpack, which is a container item; the virtual grenade and the virtual backpack have a size containment relationship; when the virtual grenade and the virtual backpack are selected in sequence, a function button is displayed on the user interface, and the function button is used to indicate to the user that the virtual grenade can be contained in the virtual backpack.

[0108] In a possible implementation, when the first virtual item is a container item, the second virtual item is a contained item, and the contained item and the container item have a size containment relationship, the first virtual item and the second virtual item are selected in sequence, and a function button is displayed on the user interface, and the function button is used to indicate to the user that the first virtual item can contain the second virtual item.

[0109] For example, the first virtual item is a virtual backpack, which is a container item; the second virtual item is a virtual grenade, which is a contained item; there is a size containment relationship between the virtual grenade and the virtual backpack; when the virtual grenade and the virtual backpack are selected in sequence, a function button is displayed on the user interface, and the function button is used to indicate to the user that the virtual grenade can be contained in the virtual backpack.

[0110] Step 410a: In response to the triggering operation of the function button and the master-slave assembly relationship being satisfied, displaying the second virtual item assembled with the first virtual item.

[0111] In a possible implementation, when the first virtual item is a slave item and the second virtual item is a master item, and the slave item and the master item have a master-slave assembly relationship, a function button is displayed on the user interface, and the user triggers the function button, so that the first virtual item acts on the second virtual item, and the result of the first virtual item being assembled on the second virtual item is displayed on the user interface, thereby obtaining the second virtual item assembled with the first virtual item.

[0112] For example, the first virtual item is a virtual bullet, and the second virtual item is a virtual magazine. There is a master-slave assembly relationship between the virtual bullet and the virtual magazine, and a function button is displayed on the user interface. The user triggers the function button by long pressing the function button, clicking the function button, double-clicking the function button, and / or sliding the function button to generate a signal, and a virtual magazine equipped with the virtual bullet is displayed on the user interface.

[0113] Step 410b: In response to the triggering operation of the function button and the size accommodation relationship being satisfied, displaying the second virtual object that accommodates the first virtual object.

[0114] In a possible implementation, when the first virtual item is a contained item and the second virtual item is a container item, and the contained item and the container item have a size containment relationship, a function button is displayed on the user interface, and the user triggers the function button, so that the first virtual item acts on the second virtual item, and the result of the action of the first virtual item being contained in the second virtual item is displayed on the user interface, thereby obtaining the second virtual item that contains the first virtual item.

[0115] For example, the first virtual item is a virtual grenade, and the second virtual item is a virtual backpack. There is a size accommodation relationship between the virtual grenade and the virtual backpack, and a function button is displayed on the user interface. The user triggers the function button by long pressing, clicking, double-clicking and / or sliding the function button to generate a signal, and a virtual backpack containing the virtual grenade is displayed on the user interface.

[0116] In summary, the method provided by this embodiment displays a user interface, selects a first virtual item through a first selection operation, and selects a second virtual item through a second selection operation, and uses the master-slave assembly relationship and the size accommodation relationship between the first virtual item and the second virtual item to add a display function button on the user interface, and by triggering the function button, displays the second virtual item assembled with the first virtual item or displays the second virtual item that accommodates the first virtual item on the user interface.

[0117] The method provided in this embodiment selects a first unequipped virtual item in a warehouse area through a first selection operation, and selects a second virtual item in an equipped area through a second selection operation, and uses the directional action relationship between the first virtual item and the second virtual item to equip the first unequipped virtual item in the warehouse area onto the second virtual item in the equipped area, and changes the unequipped attribute of the first virtual item to the equipped attribute, thereby realizing directional action between virtual items having a directional action relationship.

[0118] The embodiment of the present application can quickly and accurately achieve the directional effect between virtual objects by triggering the function button, thereby avoiding the occurrence of misrecognition and improving the user experience.

[0119] The above embodiment describes the case where the first virtual item and the second virtual item have a single directional action relationship. Next, the case where the first virtual item and the second virtual item have multiple directional action relationships will be described in detail.

[0120] Figure 5 is a flowchart of a human-computer interaction method for virtual items provided by an exemplary embodiment of the present application. The method can be performed as follows Figure 2 The method is executed by a terminal in the system shown or by a client on the terminal. The method includes:

[0121] Step 502: Display a user interface, where the user interface includes a first virtual item and a second virtual item owned by the virtual character.

[0122] In a possible implementation, the equipment interface displayed in the user interface includes virtual items owned by the virtual character, and the user interface includes an equipment area 10 and a warehouse area 20, such as Figure 1 As shown, virtual items can be placed in the equipped area 10 or the warehouse area 20. In the embodiment of the present application, the equipped area 10 includes the second virtual item, and the warehouse area 20 includes the first virtual item. The equipped area 10 is used to place virtual props that the virtual character has equipped; the warehouse area 20 is used to place virtual props that the virtual character has but has not equipped.

[0123] Step 504: In response to a first selection operation on the first virtual item, display the first virtual item in a selected state.

[0124] Exemplarily, after the user performs a first selection operation on the first virtual item on the touch screen, or after the user performs a first selection operation on the first virtual item using a mouse on a computer, the first virtual item in a selected state is displayed on the user interface.

[0125] Exemplarily, the first selection operation includes at least one of a long press, a single click, a double click, a sliding operation, and a circle operation, which is not limited in the embodiments of the present application.

[0126] Exemplarily, the first virtual item displaying the selected state may be represented by at least one of the first virtual item being highlighted and a selected label being displayed on the first virtual item, which is not limited in this embodiment of the present application.

[0127] Step 506: In response to a second selection operation on the second virtual item, display the second virtual item in a selected state and the first virtual item in a deselected state.

[0128] In response to the second selection operation of the user on the second virtual item, the terminal displays the second virtual item in a selected state on the user interface, and displays the first virtual item in a deselected state on the user interface.

[0129] Exemplarily, when the user performs a second selection operation on the second virtual item on the touch screen, or when the user performs a second selection operation on the second virtual item using a mouse on the computer, the second virtual item in a selected state and the first virtual item in a deselected state are displayed on the user interface.

[0130] Exemplarily, the second selection operation includes at least one of a long press, a single click, a double click, a sliding operation, and a circle operation, which is not limited in the embodiments of the present application.

[0131] Exemplarily, the second virtual item displaying the selected state may be expressed as at least one of the following: the second virtual item being highlighted, and a selected label being displayed on the second virtual item, which is not limited in this embodiment of the present application.

[0132] Step 508: When n types of directional action relationships are satisfied between the first virtual item and the second virtual item, n function buttons corresponding to the n types of directional action relationships are displayed.

[0133] When a directional action relationship is satisfied between the first virtual item and the second virtual item, and there are n types of directional action relationships, n function buttons corresponding to the n types of directional action relationships are displayed on the user interface, where n is an integer greater than 1.

[0134] For example, Figure 6As shown, take the two directional action relationships between the first virtual item and the second virtual item as an example. The user interface displays an equipped area 601 and a warehouse area 602, and the virtual item can be placed in the equipped area 601 or the warehouse area 602. In the embodiment of the present application, the equipped area 601 is used to place the second virtual item, and the warehouse area 602 is used to place the first virtual item. The user selects the first virtual item (virtual magazine 603) in the warehouse area 602 through the first selection operation, and the virtual magazine 603 is in a selected state; then, the user selects the second virtual item (virtual firearm 604) in the equipped area 601 through the second selection operation, and the virtual firearm 604 is in a selected state, and the virtual magazine 603 cancels the display of the selected state; in the case where there are two directional action relationships between the virtual magazine 603 and the virtual firearm 604, that is, in the case where there are two action relationships between the virtual magazine 603 and the virtual firearm 604, namely, assembly and replacement, two function buttons are displayed on the user interface, namely, function button 605 and replacement function button 606.

[0135] Exemplarily, the function button 605 and the replacement function button 606 can be displayed separately in floating state, for example: the function button 605 and the replacement function button 606 are respectively displayed in floating state on the left and right sides of the user interface, or the function button 605 and the replacement function button 606 are respectively displayed in floating state on the top and bottom sides of the user interface, but is not limited to this and the embodiments of the present application are not limited to this.

[0136] Exemplarily, the function button 605 and the replacement function button 606 can be displayed in parallel and suspended, for example: the function button 605 and the replacement function button 606 are displayed in parallel and suspended horizontally, or the function button 605 and the replacement function button 606 are displayed in parallel and suspended vertically; or the function button 605 and the replacement function button 606 are displayed in parallel and suspended at least one of the upper side, lower side, left side, right side, and center of the user interface, but not limited thereto; or the function button 605 and the replacement function button 606 are displayed according to the priority of the two action relationships of assembly and replacement, for example: when the replacement action relationship is superior to the assembly action relationship, the replacement function button 606 is displayed on the upper side of the function button 605, or the replacement function button 606 is displayed on the outer side of the function button 605, but not limited thereto, and the embodiment of the present application does not limit this. In the embodiment of the present application, the function button 605 and the replacement function button 606 are displayed in parallel and suspended vertically on the left side of the user interface, the function button 605 is located on the lower side, and the replacement function button 606 is located on the upper side, so as to facilitate the user's left hand to operate.

[0137] In a possible implementation, in response to a third selection operation on the third virtual item, the function button is canceled from display; or, in response to a time period during which the function button is not triggered reaching a threshold, the function button is canceled from display. The third virtual item is a virtual item owned by the virtual character.

[0138] Exemplarily, when there is a directional action relationship between the first virtual item and the second virtual item, a function button is displayed on the user interface. When the user selects the third virtual item through the third selection operation, the function button and the second virtual item are cancelled on the user interface, and the user can perform further operations on the third virtual item. Alternatively, when the time period after the function button is displayed and not triggered reaches a threshold, the function button is cancelled on the user interface.

[0139] Step 510: In response to a triggering operation on the i-th function button among the n function buttons, displaying an action result of the first virtual object acting on the second virtual object based on the i-th directional action relationship.

[0140] The user triggers the i-th function button among the n function buttons, and the first virtual item acts on the second virtual item based on the i-th directional action relationship on the user interface, where i is an integer not greater than n.

[0141] For example, Figure 6 As shown, there are two directional action relationships between the first virtual item and the second virtual item, including an assembly relationship and a replacement relationship. The user can select and trigger the assembly function button 605 to assemble the virtual magazine 603 on the virtual firearm 604; or the user can select and trigger the replacement function button 606 to replace the original magazine on the virtual firearm 604 with the virtual magazine 603.

[0142] In a possible implementation, a virtual gun is equipped with a virtual first rail, a virtual second rail and a virtual third rail, and a virtual first sight is mounted on the virtual first rail. After the user clicks on the virtual second sight in the user interface, the virtual second sight displays a selected state, then the user clicks on the virtual gun in the user interface, the virtual gun displays a selected state, and the virtual second sight cancels the display of the selected state. At this time, the virtual second sight and the virtual gun have two directional action relationships, and the user interface simultaneously displays a first assembly function button, a second assembly function button and a replacement function button. The user can mount the virtual second sight on the virtual second rail of the virtual gun by triggering the first assembly function button; or, by triggering the second assembly function button, the virtual second sight is mounted on the virtual third rail of the virtual gun; or, by triggering the replacement function button, the virtual second sight replaces the virtual first sight and is mounted on the virtual first rail.

[0143] In summary, the method provided by this embodiment displays a user interface, selects a first virtual item through a first selection operation, and selects a second virtual item through a second selection operation. When n types of directional action relationships are satisfied between the first virtual item and the second virtual item, n function buttons corresponding to the n types of directional action relationships are added and displayed on the user interface, and by triggering the i-th function button among the n function buttons, the result of the action of the first virtual item on the second virtual item based on the i-th directional action relationship is displayed on the user interface. The embodiment of the present application can quickly and accurately realize the directional action between virtual items by triggering the function buttons, thereby avoiding the occurrence of misidentification and improving the user experience.

[0144] In the above embodiments, the cases where the first virtual item and the second virtual item have one or more directional action relationships are described respectively. Next, the case where the first virtual item and the second virtual item have a multi-level action relationship will be described in detail.

[0145] Figure 7 is a flowchart of a human-computer interaction method for virtual items provided by an exemplary embodiment of the present application. The method can be performed as follows Figure 2 The method is executed by a terminal in the system shown or by a client on the terminal. The method includes:

[0146] Step 702: Display a user interface, where the user interface includes a first virtual item, a second virtual item, and a fourth virtual item owned by the virtual character.

[0147] Virtual items are items owned by a virtual character in the virtual world, and the user interface includes a first virtual item, a second virtual item, and a fourth virtual item owned by the virtual character.

[0148] The user interface includes virtual items owned by the virtual character, and the user interface includes an equipment area 10 and a warehouse area 20, such as Figure 1 As shown, virtual items can be placed in the equipped area 10 or the warehouse area 20. In the embodiment of the present application, the equipped area 10 includes the second virtual item, and the warehouse area 20 includes the first virtual item and the fourth virtual item. The equipped area 10 is used to place virtual props that the virtual character has equipped; the warehouse area 20 is used to place virtual props that the virtual character has but has not equipped.

[0149] Step 704: In response to a first selection operation on the first virtual item, display the first virtual item in a selected state.

[0150] Exemplarily, after the user performs a first selection operation on the first virtual item on the touch screen, or after the user performs a first selection operation on the first virtual item using a mouse on a computer, the first virtual item in a selected state is displayed on the user interface.

[0151] Exemplarily, the first selection operation includes at least one of a long press, a single click, a double click, a sliding operation, and a circle operation, which is not limited in the embodiments of the present application.

[0152] Exemplarily, the first virtual item displaying the selected state may be represented by at least one of the first virtual item being highlighted and a selected label being displayed on the first virtual item, which is not limited in this embodiment of the present application.

[0153] Step 706: In response to a second selection operation on the second virtual item, display the second virtual item in a selected state and the first virtual item in a deselected state.

[0154] In response to the second selection operation of the user on the second virtual item, the terminal displays the second virtual item in a selected state on the user interface, and displays the first virtual item in a deselected state on the user interface.

[0155] Exemplarily, when the user performs a second selection operation on the second virtual item on the touch screen, or when the user performs a second selection operation on the second virtual item using a mouse on the computer, the second virtual item in a selected state and the first virtual item in a deselected state are displayed on the user interface.

[0156] Exemplarily, the second selection operation includes at least one of a long press, a single click, a double click, a sliding operation, and a circle operation, which is not limited in the embodiments of the present application.

[0157] Exemplarily, the second virtual item displaying the selected state may be expressed as at least one of the following: the second virtual item being highlighted, and a selected label being displayed on the second virtual item, which is not limited in this embodiment of the present application.

[0158] Step 708: When the first virtual item and the fourth virtual item satisfy the first action relationship and the fourth virtual item and the second virtual item satisfy the second action relationship, display the multi-level function button.

[0159] When a first action relationship is satisfied between the first virtual item and the fourth virtual item, and a second action relationship is satisfied between the fourth virtual item and the second virtual item, a multi-level function button is displayed on the user interface. The first action relationship is a directional action relationship between the first virtual item and the fourth virtual item; the second action relationship is a directional action relationship between the fourth virtual item and the second virtual item.

[0160] For example, Figure 8 As shown. The user interface displays an equipped area 801 and a warehouse area 802. Virtual items can be placed in the equipped area 801 or the warehouse area 802. In the embodiment of the present application, the equipped area 801 is used to place the second virtual item (virtual firearm 804), and the warehouse area 802 is used to place the first virtual item (virtual magazine 803) and the fourth virtual item (virtual adapter 806). The user selects the virtual magazine 803 in the warehouse area 802 through the first selection operation, and the virtual magazine 803 is in a selected state; then, the user selects the virtual firearm 804 in the equipped area 801 through the second selection operation, and the virtual firearm 804 is in a selected state, and the virtual magazine 803 cancels the display of the selected state; when the first action relationship is satisfied between the virtual magazine 803 and the virtual adapter 806, and the second action relationship is satisfied between the virtual adapter 806 and the virtual firearm 804, a multi-level function button 805 is displayed on the user interface.

[0161] For example, the user clicks on the virtual magazine 803, and then the user clicks on the virtual firearm 804. When there is an assembly relationship between the virtual magazine 803 and the virtual adapter 806, and there is also an assembly relationship between the virtual adapter 806 and the virtual firearm 804, a multi-level function button 805 is displayed on the user interface.

[0162] Step 710: In response to the triggering operation of the multi-level function button, display the multi-level effect results of the first virtual item acting on the fourth virtual item and the fourth virtual item acting on the second virtual item.

[0163] In one possible implementation, the terminal responds to the triggering operation of the multi-level function button, and if the virtual character does not own the fourth virtual item, the terminal purchases the fourth virtual item, and after the purchase is successful, displays the multi-level effect results of the first virtual item acting on the fourth virtual item, and the fourth virtual item acting on the second virtual item.

[0164] For example, the user selects the first virtual item through the first selection operation, selects the second virtual item through the second selection operation, and when the virtual character does not have the fourth virtual item, other props buttons and multi-level function buttons are displayed. The user triggers the other props button, and a purchase interface is displayed on the user interface, such as Fig. 9 As shown, after successfully purchasing the fourth virtual item, the user triggers the multi-level function button, and the user interface displays the multi-level effect results of the first virtual item acting on the fourth virtual item and the fourth virtual item acting on the second virtual item.

[0165] Exemplarily, the user selects the first virtual item through the first selection operation, and selects the second virtual item through the second selection operation. When the virtual character does not own the fourth virtual item, a prompt information label and a multi-level function button are displayed. The user triggers the multi-level function button, and the user interface displays a purchase interface, such as Fig.10 As shown, after successfully purchasing the fourth virtual item, the user interface displays the multi-level effect results of the first virtual item acting on the fourth virtual item and the fourth virtual item acting on the second virtual item. The prompt information label is used to prompt that the virtual character does not own the fourth virtual item.

[0166] In a possible implementation, in response to a triggering operation on a multi-level function button, when the virtual character possesses a fourth virtual item, multi-level action results of the first virtual item acting on the fourth virtual item and the fourth virtual item acting on the second virtual item are displayed.

[0167] Exemplarily, the user selects the first virtual item through the first selection operation, and selects the second virtual item through the second selection operation. If the virtual character already has the fourth virtual item, the prop label and the multi-level function button are displayed. The user triggers the multi-level function button, and the user interface displays the multi-level effect of the first virtual item on the fourth virtual item and the fourth virtual item on the second virtual item. The prop label is used to prompt the virtual character to have the fourth virtual item.

[0168] For example, Figure 8 As shown, there is a first functional relationship between the virtual magazine 803 and the virtual adapter 806, and a second functional relationship between the virtual adapter 806 and the virtual firearm 804. By triggering the multi-level function button 805, the user can assemble the virtual magazine 803 on the virtual adapter 806 and assemble the virtual adapter 806 on the virtual firearm 804 at the same time.

[0169] For example, there is a three-level association relationship between the virtual magazine and the virtual gun, that is, there is an assembly relationship between the virtual magazine and the virtual adapter, and there is an assembly relationship between the virtual adapter and the virtual gun. After the user clicks on the virtual magazine in the user interface, and then clicks on the virtual gun in the user interface, multi-level function buttons and prop labels are displayed on the user interface. By triggering the multi-level function buttons, the user can assemble the virtual magazine to the virtual adapter and assemble the virtual adapter to the virtual gun at the same time.

[0170] In summary, the method provided by this embodiment displays a user interface, selects a first virtual item through a first selection operation, and selects a second virtual item through a second selection operation. When a multi-level action relationship is satisfied between the first virtual item and the second virtual item, that is, when a first action relationship is satisfied between the first virtual item and the fourth virtual item, and when a second action relationship is satisfied between the fourth virtual item and the second virtual item, a multi-level function button is added to the user interface, and the user triggers the multi-level function button to display the multi-level action results of the first virtual item acting on the fourth virtual item and the fourth virtual item acting on the second virtual item on the user interface. The embodiment of the present application can quickly and accurately realize the directional action between multiple virtual items by triggering the function button, thereby improving the user experience.

[0171] Fig.11 is a flowchart of a human-computer interaction method for virtual items provided by an exemplary embodiment of the present application. The method can be performed as follows Figure 2 The method is executed by a terminal in the system shown or by a client on the terminal. The method includes:

[0172] Step 1101: Start.

[0173] Step 1102: Select a first virtual item.

[0174] The virtual environment is the environment in which the virtual character is located in the virtual world during the operation of the application in the terminal. The virtual item is the item owned by the virtual character in the virtual world. In response to the user's first selection operation on the first virtual item, the terminal displays the first virtual item in a selected state on the user interface.

[0175] Step 1103: Select a second virtual item.

[0176] The second virtual item is an item owned by the virtual character in the virtual world. In response to the user's second selection operation on the second virtual item, the terminal displays the second virtual item in a selected state on the user interface, and displays the first virtual item in a deselected state on the user interface.

[0177] Step 1104: Determine whether the first virtual item and the second virtual item satisfy an action relationship.

[0178] Exemplarily, it is determined whether the first virtual item and the second virtual item satisfy an action relationship, that is, it is determined whether the first virtual item and the second virtual item satisfy a directional action relationship. If the first virtual item and the second virtual item satisfy the directional action relationship, step 1105 is executed; if the first virtual item and the second virtual item do not satisfy the directional action relationship, step 1108 is executed.

[0179] Step 1105: Display function buttons.

[0180] Exemplarily, when the action relationship is satisfied between the first virtual item and the second virtual item, a function button is displayed on the user interface.

[0181] Step 1106: Whether to trigger the function button.

[0182] Exemplarily, it is determined whether the user triggers the function button. If the user triggers the function button, step 1107 is executed; if the user does not trigger the function button, step 1108 is executed.

[0183] Step 1107: The first virtual item acts on the second virtual item.

[0184] Exemplarily, if the user triggers the function button, the result of the first virtual item acting on the second virtual item is displayed on the user interface.

[0185] Step 1108: Whether to operate the second virtual item.

[0186] Exemplarily, after the function button is displayed on the user interface, if the user chooses not to trigger the function button, it is further determined whether the user performs other operations on the second virtual item. If the user performs other operations on the second virtual item, step 1109 is executed; if the user does not perform other operations on the second virtual item, step 1110 is executed.

[0187] Step 1109: Execute the operation.

[0188] For example, if the user chooses not to trigger the function button, the second virtual item can be further operated, and the terminal performs other operations. The other operations include at least one of unloading the firearm and switching between the main and standby modes, which is not limited in this application.

[0189] Step 1110: Waiting for operation.

[0190] Exemplarily, when the user chooses not to trigger the multi-level function button and does not perform other operations on the second virtual item, the operation is waited for.

[0191] Step 1111: End.

[0192] Fig.12 A schematic diagram of the structure of a human-computer interaction device for virtual items provided by an exemplary embodiment of the present application is shown. The device can be implemented as all or part of a computer device through software, hardware, or a combination of both. The device includes:

[0193] The display module 1201 is used to display a user interface, wherein the user interface includes a first virtual item and a second virtual item owned by the virtual character;

[0194] The human-computer interaction module 1202 is configured to display the first virtual item in a selected state in response to a first selection operation on the first virtual item;

[0195] The human-computer interaction module 1202 is further configured to, in response to a second selection operation on the second virtual item, display the second virtual item in a selected state and the first virtual item in a deselected state;

[0196] The display module 1201 is further configured to display a function button when the first virtual item and the second virtual item satisfy an action relationship.

[0197] The human-computer interaction module 1202 is further configured to display the result of the first virtual item acting on the second virtual item in response to a triggering operation on the function button.

[0198] The display module 1201 is further configured to display the function button when the first virtual item and the second virtual item satisfy a directional action relationship.

[0199] The directional action relationship refers to a directional action relationship between the first virtual item and the second virtual item.

[0200] The directional action relationship includes at least one of the following relationships:

[0201] The first virtual item is a subordinate item, the second virtual item is a main item, and the subordinate item and the main item have a master-slave assembly relationship;

[0202] The first virtual item is a contained item, and the second virtual item is a container item. The contained item and the container item have a size containment relationship.

[0203] The display module 1201 is further configured to display n function buttons corresponding to n directional action relationships when n directional action relationships are satisfied between the first virtual item and the second virtual item, where n is an integer greater than 1.

[0204] The human-computer interaction module 1202 is further configured to, in response to a triggering operation on an i-th function button among the n function buttons, display an action result of the first virtual item acting on the second virtual item based on an i-th directional action relationship, where i is an integer not greater than n.

[0205] The human-computer interaction module 1202 is further configured to cancel display of the function button in response to a third selection operation on the third virtual item;

[0206] Or, in response to the time length during which the function button is not triggered reaching a threshold, the function button is cancelled from being displayed.

[0207] The display module 1201 is further configured to display a multi-level function button when the first virtual item and the fourth virtual item satisfy a first action relationship, and the fourth virtual item and the second virtual item satisfy a second action relationship;

[0208] The human-computer interaction module 1202 is further configured to display, in response to a triggering operation on the multi-level function button, a multi-level effect of the first virtual item acting on the second virtual item and a multi-level effect of the fourth virtual item acting on the second virtual item.

[0209] The human-computer interaction module 1202 is further configured to, in response to a triggering operation on the multi-level function button and if the virtual character does not own the fourth virtual item, purchase the fourth virtual item, and after the purchase is successful, display the multi-level effect results of the first virtual item acting on the fourth virtual item and the fourth virtual item acting on the second virtual item.

[0210] The human-computer interaction module 1202 is further configured to, in response to a triggering operation on the multi-level function button and when the virtual character possesses the fourth virtual item, display the multi-level effect results of the first virtual item acting on the fourth virtual item and the fourth virtual item acting on the second virtual item.

[0211] The display module 1201 is configured to display a user interface having an equipment area and a warehouse area, wherein the equipment area displays the second virtual item, and the warehouse area displays the first virtual item.

[0212] Display module 1201, used for displaying a user interface having the equipped area and the warehouse area, the equipped area can be divided into at least two two-dimensional grids, the second virtual item occupies at least one two-dimensional grid in the equipped area, the warehouse area can be divided into at least two two-dimensional grids, the first virtual item occupies at least one two-dimensional grid in the warehouse area;

[0213] The warehouse area is used to store unequipped virtual items owned by the virtual character; the equipped area is used to store the virtual items equipped by the virtual character; and the two-dimensional grid is used to represent the minimum storage space for the virtual items.

[0214] The human-computer interaction module 1202 is further configured to update and display the virtual items displayed in the warehouse area in response to a sliding operation on the warehouse area.

[0215] The human-computer interaction module 1202 is configured to display the second virtual item assembled with the first virtual item in response to a triggering operation on the function button and in accordance with the master-slave assembly relationship.

[0216] The human-computer interaction module 1202 is configured to display the second virtual item containing the first virtual item in response to a triggering operation on the function button and satisfying the size containing relationship.

[0217] Fig.13 The block diagram of the structure of a computer device 1300 provided by an exemplary embodiment of the present application is shown. The computer device 1300 may be a portable mobile terminal, such as a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV). The computer device 1300 may also be called a user device, a portable terminal, or other names.

[0218] Typically, the computer device 1300 includes a processor 1301 and a memory 1302 .

[0219] The processor 1301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1301 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1301 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1301 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0220] The memory 1302 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 1302 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1302 is used to store at least one instruction, which is used to be executed by the processor 1301 to implement the display method of the virtual environment screen provided in the embodiment of the present application.

[0221] In some embodiments, the computer device 1300 may further include: a peripheral device interface 1303 and at least one peripheral device. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1304 , a touch display screen 1305 , a camera 1306 , an audio circuit 1307 and a power supply 1309 .

[0222] The peripheral device interface 1303 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1301 and the memory 1302. In some embodiments, the processor 1301, the memory 1302, and the peripheral device interface 1303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1301, the memory 1302, and the peripheral device interface 1303 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0223] The radio frequency circuit 1304 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1304 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1304 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1304 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The radio frequency circuit 1304 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1304 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.

[0224] The touch display screen 1305 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. The touch display screen 1305 also has the ability to collect touch signals on the surface or above the surface of the touch display screen 1305. The touch signal may be input to the processor 1301 as a control signal for processing. The touch display screen 1305 is used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the touch display screen 1305 may be one, and the front panel of the computer device 1300 is set; in other embodiments, the touch display screen 1305 may be at least two, which are respectively set on different surfaces of the computer device 1300 or are folded; in some embodiments, the touch display screen 1305 may be a flexible display screen, which is set on a curved surface or a folded surface of the computer device 1300. Even, the touch display screen 1305 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The touch display screen 1305 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, organic light-emitting diode).

[0225] The camera assembly 1306 is used to capture images or videos. Optionally, the camera assembly 1306 includes a front camera and a rear camera. Typically, the front camera is used to realize video calls or selfies, and the rear camera is used to realize the shooting of photos or videos. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, and a wide-angle camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, and the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting functions. In some embodiments, the camera assembly 1306 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0226] The audio circuit 1307 is used to provide an audio interface between the user and the computer device 1300. The audio circuit 1307 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1301 for processing, or input them into the radio frequency circuit 1304 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the computer device 1300. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1301 or the radio frequency circuit 1304 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as distance measurement. In some embodiments, the audio circuit 1307 may also include a headphone jack.

[0227] The power supply 1309 is used to power various components in the computer device 1300. The power supply 1309 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1309 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged through a wired line, and a wireless rechargeable battery is a battery that is charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0228] In some embodiments, the computer device 1300 further includes one or more sensors 1310 , including but not limited to: an acceleration sensor 1311 , a gyroscope sensor 1312 , a pressure sensor 1313 , an optical sensor 1315 , and a proximity sensor 1316 .

[0229] The acceleration sensor 1311 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the computer device 1300. For example, the acceleration sensor 1311 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 1301 can control the touch display screen 1305 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1311. The acceleration sensor 1311 can also be used for collecting game or user motion data.

[0230] The gyro sensor 1312 can detect the body direction and rotation angle of the computer device 1300, and the gyro sensor 1312 can cooperate with the acceleration sensor 1311 to collect the user's 3D actions on the computer device 1300. The processor 1301 can implement the following functions based on the data collected by the gyro sensor 1312: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0231] The pressure sensor 1313 can be set on the side frame of the computer device 1300 and / or the lower layer of the touch display screen 1305. When the pressure sensor 1313 is set on the side frame of the computer device 1300, it can detect the user's grip signal of the computer device 1300, and perform left and right hand recognition or shortcut operation according to the grip signal. When the pressure sensor 1313 is set on the lower layer of the touch display screen 1305, it can control the operability controls on the UI interface according to the user's pressure operation on the touch display screen 1305. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0232] The optical sensor 1315 is used to collect the ambient light intensity. In one embodiment, the processor 1301 can control the display brightness of the touch display screen 1305 according to the ambient light intensity collected by the optical sensor 1315. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1305 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1305 is reduced. In another embodiment, the processor 1301 can also dynamically adjust the shooting parameters of the camera assembly 1306 according to the ambient light intensity collected by the optical sensor 1315.

[0233] The proximity sensor 1316, also called a distance sensor, is usually arranged on the front of the computer device 1800. The proximity sensor 1316 is used to collect the distance between the user and the front of the computer device 1300. In one embodiment, when the proximity sensor 1316 detects that the distance between the user and the front of the computer device 1300 is gradually decreasing, the processor 1301 controls the touch display screen 1305 to switch from the screen-on state to the screen-off state; when the proximity sensor 1316 detects that the distance between the user and the front of the computer device 1300 is gradually increasing, the processor 1301 controls the touch display screen 1305 to switch from the screen-off state to the screen-on state.

[0234] Those skilled in the art will understand that Fig.13 The structure shown in the figure does not constitute a limitation on the computer device 1300, and the computer device 1300 may include more or less components than shown in the figure, or combine some components, or adopt a different component arrangement.

[0235] An embodiment of the present application also provides a computer device, which includes: a processor and a memory, wherein at least one computer instruction is stored in the memory, and the at least one computer instruction is loaded and executed by the processor to implement the human-computer interaction method for virtual items provided by the above-mentioned method embodiments.

[0236] An embodiment of the present application also provides a computer storage medium, in which at least one computer instruction is stored. The at least one computer instruction is loaded and executed by a processor to implement the human-computer interaction method for virtual items provided by the above-mentioned method embodiments.

[0237] An embodiment of the present application also provides a computer program product, which includes computer instructions stored in a computer-readable storage medium; the computer instructions are read and executed from the computer-readable storage medium by a processor of a computer device, so that the computer device executes the human-computer interaction method for virtual items provided in the above-mentioned method embodiments.

[0238] It should be understood that the "plurality" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0239] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0240] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent switching, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A human-computer interaction method for virtual items, characterized in that: The method comprises: displaying a user interface, the user interface including a first virtual item and a second virtual item owned by a virtual character, the user interface being at least one of a two-dimensional accommodation space and a three-dimensional accommodation space presented by a terminal, the two-dimensional accommodation space or the three-dimensional accommodation space being divisible into at least two grids, the first virtual item and the second virtual item occupying different grids or occupying different numbers of grids; In response to a first selection operation on the first virtual item, displaying the first virtual item in a selected state; In response to a second selection operation on the second virtual item, displaying the second virtual item in a selected state and the first virtual item in a deselected state; In the case where the first virtual item and the second virtual item satisfy the functional relationship, displaying a function button; In response to the triggering operation of the function button, the result of the first virtual item acting on the second virtual item is displayed, and the result of the action is that the second virtual item is superimposed and displayed in the grid occupied by the first virtual item.

2. The method according to claim 1, characterized in that The displaying of the function button when the first virtual item and the second virtual item satisfy the action relationship includes: In a case where the first virtual item and the second virtual item satisfy a directional action relationship, displaying the function button; The directional action relationship refers to a directional action relationship between the first virtual item and the second virtual item.

3. The method according to claim 2, characterized in that The directional action relationship includes at least one of the following relationships: The first virtual item is a subordinate item, the second virtual item is a main item, and the subordinate item and the main item have a master-slave assembly relationship; The first virtual item is a contained item, the second virtual item is a container item, and the contained item and the container item have a size containment relationship.

4. The method according to claim 3, characterized in that The displaying, in response to the triggering operation of the function button, the result of the first virtual item acting on the second virtual item, includes: In response to a triggering operation on the function button and satisfying the master-slave assembly relationship, the second virtual item assembled with the first virtual item is displayed.

5. The method according to claim 3, characterized in that: The displaying, in response to the triggering operation of the function button, the result of the first virtual item acting on the second virtual item, includes: In response to a triggering operation on the function button and satisfying the size accommodation relationship, the second virtual item accommodating the first virtual item is displayed.

6. The method according to claim 2, characterized in that The displaying of the function button when the first virtual item and the second virtual item satisfy a directional action relationship includes: In the case where n types of directional action relationships are satisfied between the first virtual item and the second virtual item, n function buttons corresponding to the n types of directional action relationships are displayed, where n is an integer greater than 1; The displaying, in response to the triggering operation of the function button, the result of the first virtual item acting on the second virtual item, includes: In response to a triggering operation on an i-th function button among the n function buttons, an action result of the first virtual item acting on the second virtual item based on an i-th directional action relationship is displayed, where i is an integer not greater than n.

7. The method according to any one of claims 1 to 6, characterized in that: The function button is displayed on the user interface, and the method further includes: In response to a third selection operation on a third virtual item, canceling display of the function button; or, In response to the time length during which the function button is not triggered reaching a threshold, the function button is cancelled from being displayed.

8. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: When the first virtual item and the fourth virtual item satisfy a first action relationship, and the fourth virtual item and the second virtual item satisfy a second action relationship, displaying a multi-level function button; In response to the triggering operation of the multi-level function button, the multi-level effect results of the first virtual item acting on the fourth virtual item and the fourth virtual item acting on the second virtual item are displayed.

9. The method according to claim 8, characterized in that The step of displaying, in response to the triggering operation of the multi-level function button, the multi-level effect results of the first virtual item acting on the fourth virtual item and the fourth virtual item acting on the second virtual item includes: In response to the triggering operation of the multi-level function button, if the virtual character does not own the fourth virtual item, the fourth virtual item is purchased, and after the purchase is successful, the multi-level effect results of the first virtual item acting on the fourth virtual item and the fourth virtual item acting on the second virtual item are displayed.

10. The method according to claim 8, characterized in that The step of displaying, in response to the triggering operation of the multi-level function button, the multi-level effect results of the first virtual item acting on the fourth virtual item and the fourth virtual item acting on the second virtual item includes: In response to the triggering operation of the multi-level function button, when the virtual character possesses the fourth virtual item, multi-level effect results of the first virtual item acting on the fourth virtual item and the fourth virtual item acting on the second virtual item are displayed.

11. The method according to any one of claims 1 to 6, characterized in that: The display user interface includes: A user interface having an equipped area and a warehouse area is displayed, wherein the equipped area displays the second virtual item and the warehouse area displays the first virtual item.

12. The method according to claim 11, characterized in that The user interface having an equipment area and a warehouse area, wherein the equipment area displays the second virtual item, and the warehouse area displays the first virtual item, comprises: Displaying a user interface having the equipped area and the warehouse area, wherein the equipped area can be divided into at least two two-dimensional grids, the second virtual item occupies at least one two-dimensional grid in the equipped area, the warehouse area can be divided into at least two two-dimensional grids, and the first virtual item occupies at least one two-dimensional grid in the warehouse area; The warehouse area is used to place unequipped virtual items owned by the virtual character; the equipped area is used to place the virtual items equipped by the virtual character; and the two-dimensional grid is used to represent the minimum storage space for the virtual items.

13. The method according to claim 11, characterized in that The method further comprises: In response to a sliding operation on the warehouse area, the virtual items displayed in the warehouse area are updated and displayed.

14. A human-computer interaction device for virtual items, characterized in that: The device comprises: A display module, configured to display a user interface, wherein the user interface includes a first virtual item and a second virtual item owned by a virtual character, wherein the user interface is at least one of a two-dimensional accommodation space and a three-dimensional accommodation space presented by a terminal, wherein the two-dimensional accommodation space or the three-dimensional accommodation space can be divided into at least two grids, and the first virtual item and the second virtual item occupy different grids or different numbers of grids; a human-computer interaction module, configured to display the first virtual item in a selected state in response to a first selection operation on the first virtual item; The human-computer interaction module is further configured to, in response to a second selection operation on the second virtual item, display the second virtual item in a selected state and the first virtual item in a deselected state; The display module is further configured to display a function button when the first virtual item and the second virtual item satisfy the action relationship; The human-computer interaction module is further configured to display, in response to a triggering operation on the function button, an effect result of the first virtual item acting on the second virtual item, wherein the effect result is the second virtual item being superimposed and displayed in a grid occupied by the first virtual item.

15. A computer device, characterized in that: The computer device comprises: a processor and a memory, wherein at least one computer instruction is stored in the memory, and the at least one computer instruction is loaded and executed by the processor to implement the human-computer interaction method for virtual items according to any one of claims 1 to 13.

16. A computer storage medium, characterized in that: The computer-readable storage medium stores at least one computer instruction, and the at least one computer instruction is loaded and executed by the processor to implement the human-computer interaction method for virtual items according to any one of claims 1 to 13.

17. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium; the computer instructions are read and executed by a processor of a computer device from the computer-readable storage medium, so that the computer device executes the human-computer interaction method for virtual items as described in any one of claims 1 to 13.

Citation Information

Patent Citations

  • Method, deVice and storage medium for controlling interaction of Virtual object and Virtual scene

    CN108671545A

  • Virtual equipment replacement method and device and electronic equipment

    CN112791397A