Method, apparatus, and computer program for displaying a virtual item exchange scheme
The method and apparatus enhance virtual item exchange efficiency in first-person shooting games by displaying exchange controls and schemes on the backpack interface, eliminating the need for manual communication and simplifying the exchange process.
Patent Information
- Application Number
- JP2026506050
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-09-12
- Filing Date
- 2024-07-09
- Publication Date
- 2026-08-25
AI Technical Summary
The inefficiency and time-consuming nature of virtual item exchanges between members within the same virtual camp during battles in first-person shooting games due to the need for manual communication and item selection.
A method and apparatus that displays an exchange request control on the backpack interface of a virtual target, allowing it to initiate a virtual item exchange request, transition to an item exchange state, and show the expected change in virtual items through a first virtual item exchange scheme, eliminating the need for text or voice communication.
Improves the efficiency of virtual item exchange by allowing players to understand the expected changes in virtual items without communication, reducing the complexity and learning cost of the exchange process.
Smart Images

Figure 2026528752000001_ABST
Abstract
Description
Technical Field
[0001] This application claims the priority of a Chinese patent application filed on September 12, 2023, with the application number 202311178113.6 and the invention title "Display Method, Device, Equipment and Storage Medium of Virtual Item Exchange Scheme", and the entire content thereof is incorporated herein by reference.
[0002] Embodiments of this application relate to the technical field of human-computer interaction, and particularly to a display method, device, equipment and storage medium of a virtual item exchange scheme.
Background Art
[0003] A first-person shooting game (FPS) is an application based on a three-dimensional virtual environment. Users can control virtual objects in the virtual environment to walk, run, climb, shoot and other actions. In addition, multiple users can form teams online and cooperate to complete some missions in the same virtual environment.
[0004] In such technologies, due to the lack of virtual items during battles and the need to allocate virtual items, there is often a need to exchange virtual items among members within the same virtual camp. However, when exchanging virtual items, it is necessary for members to communicate in advance by text or voice to understand the virtual items required by both parties and the surplus virtual items. Then, the item provider opens the item backpack, selects the exchange of virtual items, drops and marks the virtual items, and then the item recipient picks up the virtual items at the designated location.
[0005] It is obvious that in such technologies, the communication efficiency when exchanging virtual items among members within the same virtual camp during battles is low and time-consuming.
Summary of the Invention
[0006] Embodiments of the present application provide a method, apparatus, device, and storage medium for displaying a virtual item exchange scheme that can improve the efficiency of virtual item exchange between virtual objects within a virtual faction. The technical means are as follows:
[0007] According to one embodiment, an embodiment of the present application provides a method for displaying a virtual item exchange scheme performed by a terminal. This method is
[0008] A step of displaying an exchange request control on the backpack interface of a first virtual target, wherein the exchange request control is used to trigger the first virtual target to initiate a virtual item exchange request within the virtual faction, and
[0009] The steps include: responding to a trigger operation on the exchange request control and controlling the first virtual target to transition to the item exchange state;
[0010] The steps include: displaying a first virtual item exchange scheme in the backpack interface, wherein the first virtual item exchange scheme is used to show the expected change in the number of virtual items from a virtual item exchange performed by a first virtual object.
[0011] In another embodiment, an embodiment of the present application provides a display device for a virtual item exchange scheme. This device is
[0012] A first display module for displaying an exchange request control on the backpack interface of a first virtual target, wherein the exchange request control is used to trigger the first virtual target to initiate a virtual item exchange request within a virtual faction, and the first display module...
[0013] A second display module for controlling the transition of the first virtual target to the item exchange state in response to a trigger operation on the exchange request control,
[0014] A third display module for displaying a first virtual item exchange scheme on a backpack interface, the third display module being used to show the expected change in the number of virtual items from a virtual item exchange performed by a first virtual object.
[0015] In yet another embodiment, an embodiment of the present application provides a computer device comprising a processor and memory. At least some programs are stored in the memory, and at least some of the programs are loaded and executed by the processor to realize the method of displaying the virtual item exchange scheme described in the above embodiment.
[0016] In yet another embodiment, an embodiment of the present application provides a computer-readable storage medium in which at least some programs are stored. At least some programs are loaded and executed by a processor to realize the method of displaying the virtual item exchange scheme described in the above embodiment.
[0017] In yet another embodiment, an embodiment of the present application provides a computer program product including computer instructions stored in a computer-readable storage medium. The processor of a computer device reads and executes the computer instructions from the computer-readable storage medium, thereby causing the computer device to execute the display method of the virtual item exchange scheme described in the above embodiment.
[0018] The beneficial effects brought about by the technical means provided in this application include at least the following effects:
[0019] By adding an exchange request control to the backpack interface of the first virtual target, when a trigger operation is received for the exchange request control, the first virtual target is controlled to transition to an item exchange state, and the first virtual item exchange scheme is displayed. This allows the first virtual target to understand the expected change in the number of virtual items from the execution of the virtual item exchange without any text or voice communication. As a result, the communication process regarding virtual item exchange between virtual targets is omitted, and the efficiency of virtual item exchange between virtual targets within a virtual faction is improved. Furthermore, the player controlling the first virtual target does not need to perform complex exchange operations or understand specific exchange procedures, thus reducing the learning cost. [Brief explanation of the drawing]
[0020] [Figure 1] This is a schematic diagram showing a computer system provided in one embodiment of the present invention. [Figure 2] This is a flowchart showing a method for demonstrating a virtual item exchange scheme provided in one exemplary embodiment of the present application. [Figure 3] This is a schematic diagram showing a virtual item exchange scheme display screen provided in one exemplary embodiment of the present invention. [Figure 4] This is a flowchart showing a virtual item exchange scheme demonstration method provided in another exemplary embodiment of the present application. [Figure 5] This is a schematic diagram showing a location control display screen provided in one exemplary embodiment of the present invention. [Figure 6] This is a schematic diagram showing a display screen for a first virtual item exchange scheme provided in one exemplary embodiment of the present invention. [Figure 7] This is a schematic diagram showing a screen for controlling a first virtual object to synchronize with a first virtual item exchange scheme, as provided in one exemplary embodiment of the present application. [Figure 8] This is a schematic diagram showing a screen for controlling a first virtual object to discard surplus first virtual items, as provided in one exemplary embodiment of the present application. [Figure 9] FIG. 1 is a schematic diagram showing a screen for updating an exchange application control to a cancellation application control provided in an exemplary embodiment of the present application. [Figure 10] FIG. 2 is a schematic diagram showing a screen for controlling virtual item exchange for a first virtual object and a second virtual object provided in an exemplary embodiment of the present application. [Figure 11] FIG. 3 is a flowchart showing the display of first virtual item difference information provided in an exemplary embodiment of the present application. [Figure 12] FIG. 4 is a flowchart showing the synchronization of first virtual item difference information provided in an exemplary embodiment of the present application. [Figure 13] FIG. 5 is a flowchart showing virtual item exchange within a virtual camp provided in an exemplary embodiment of the present application. [Figure 14] FIG. 6 is a flowchart showing the disposal of surplus virtual items provided in an exemplary embodiment of the present application. [Figure 15] FIG. 7 is a block diagram showing the configuration of a display device for a virtual item exchange scheme provided in an exemplary embodiment of the present application. [Figure 16] FIG. 8 is a block diagram showing the configuration of a terminal provided in an exemplary embodiment of the present application.
BEST MODE FOR CARRYING OUT THE INVENTION
[0021] Refer to FIG. 1. FIG. 1 is a schematic diagram showing a computer system provided in an embodiment of the present application. The computer system 100 may include a first terminal 110, a server 120, and a second terminal 130.
[0022] On the first terminal 110, an application 111 that supports the virtual environment runs. When application 111 runs on the first terminal 110, the user interface of application 111 is displayed on the display of the first terminal 110. Application 111 may be any of the following: a multiplayer online battle program, specifically a Multiplayer Online Battle Arena (MOBA) game, a Simulation Game (SLG), a Massive Multiplayer Online Role-Playing Game (MMORPG), or a First-Person Shooting Game (FPS). In this embodiment, the case where application 111 is an FPS game will be described as an 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 target existing in the virtual environment to take action. The first virtual target may also be called the first user 112's main control virtual target. The actions of the first virtual object may include, but are not limited to, at least one of the following: adjusting posture, climbing, walking, running, riding, flying, jumping, driving, picking up, shooting, attacking, throwing, and using a special skill. For example, the first virtual object is a first virtual person, such as a fictional character or a cartoon / anime character.
[0023] On the second terminal 130, an application 131 that supports the virtual environment runs. When application 131 runs on the second terminal 130, the user interface of application 131 is displayed on the display of the second terminal 130. Application 131 may be a multi-online competitive program, specifically one of the following: MOBA game, SLG game, MMORPG game, or FPS game. In this embodiment, the case where application 131 is an FPS game will be described as an example. The second terminal 130 is a terminal used by the second user 132. The second user 132 uses the second terminal 130 to control the second virtual target existing in the virtual environment to take action. The second virtual target may be called the second user 132's main control virtual character. Exemplarily, the second virtual target is a second virtual person, for example, a simulated person or a cartoon / anime character.
[0024] As an example of what is possible, the first virtual object and the second virtual object exist within the same virtual environment. As an example of what is possible, the first virtual object and the second virtual object may belong to the same virtual faction, the same virtual team, or the same virtual organization, and may be friends or have temporary communication privileges. As an example of what is possible, the first virtual object and the second virtual object may belong to different virtual factions, different virtual teams, different virtual organizations, or be in a hostile relationship.
[0025] As an example of what can be selected, the applications installed on the first terminal 110 and the second terminal 130 may be the same, or the applications installed on the two terminals may be the same type of application on different operating system platforms (Android or iOS). In a broad sense, the first terminal 110 is one of several terminals, and the second terminal 130 is the other of several terminals. In this embodiment, we will simply use the first terminal 110 and the second terminal 130 as examples. The device types of the first terminal 110 and the second terminal 130 may be the same or different. The device types include at least one of the following: smartphone, tablet computer, e-book reader, Moving Picture Experts Group Audio Layer III (MP3) player, Moving Picture Experts Group Audio Layer IV (MP4) player, laptop mobile computer, and desktop computer.
[0026] Although only two terminals are shown in Figure 1, in different embodiments, there may be multiple other terminals that access the server 120. As an optional example, there may be one or more terminals corresponding to developers, on which a platform for developing and editing applications that support the virtual environment is installed. Developers may edit and update applications on these terminals and send the updated application installation batch to the server 120 via a wired or wireless network. The first terminal 110 and the second terminal 130 may download the application installation batch from the server 120 to perform the application update.
[0027] The first terminal 110, the second terminal 130, and other terminals connect to the server 120 via a wireless or wired network.
[0028] Server 120 includes at least one of the following: a single server, a group of servers, a cloud computing platform, and a virtualization hub. Server 120 provides background processing services to applications supporting a three-dimensional virtual environment. Possible examples include Server 120 handling primary computing processing and terminals handling secondary computing processing, or Server 120 handling secondary computing processing and terminals handling primary computing processing, or employing a distributed computing architecture between Server 120 and terminals to perform cooperative computing.
[0029] In a schematic example, server 120 includes memory 121, a processor 122, a user account database 123, a battle service module 124, and an input / output interface (I / O interface) 125 for users. The processor 122 reads instructions stored in server 120 and processes data in the user account database 123 and the battle service module 124. The user account database 123 stores user account data used by the first terminal 110, the second terminal 130, and other terminals, such as the user account's profile picture, nickname, combat power index, and the service zone to which the user account belongs. The battle service module 124 provides multiple battle rooms for users to play battles, such as 1v1 battles, 3v3 battles, 5v5 battles, and 1v5 battles. The user I / O interface 125 is used to initiate communication with the first terminal 110 and / or the second terminal 130 via a wireless or wired network and to exchange data.
[0030] Based on the above brief explanation, the method for displaying the virtual item exchange scheme provided in this application will now be described. This method may be performed by a server or a terminal, or by a server and a terminal working together.
[0031] In some embodiments, the first terminal 110 is used to control the first virtual object, the second terminal 130 and other terminals are used to control other virtual objects within the virtual faction, the other virtual objects can transition to an item exchange state, and cooperative computing is performed between the first terminal 110, the second terminal 130 and the other terminals. In this case, the first terminal 110 displays an exchange request control on the backpack interface of the first virtual object to trigger the first virtual object to initiate a virtual item exchange request within the virtual faction. It also controls the first virtual object to transition to an item exchange state in response to a trigger operation on the exchange request control. Furthermore, it displays a first virtual item exchange scheme on the backpack interface, showing the expected change in the number of virtual items from the virtual item exchange performed by the first virtual object. Here, the first terminal 110 obtains virtual item difference information for other virtual objects in an item exchange state from the second terminal 130 and the other terminals. The first terminal 110 also obtains virtual item difference information for the first virtual object. Based on this virtual item difference information, the first terminal 110 determines a virtual item exchange scheme suitable for the first virtual target and other virtual targets that are in an item exchange state, and further determines and displays the first virtual item exchange scheme. The first virtual item exchange scheme shows the predicted change in the number of virtual items for the first virtual target when all other virtual targets in an item exchange state perform the virtual item exchange scheme.
[0032] In some embodiments, the first terminal 110 is used to control the first virtual object, the second terminal 130 and other terminals are used to control other virtual objects within the virtual faction, the other virtual objects can transition to an item exchange state, and cooperative computing is performed between the first terminal 110, the second terminal 130 and the other terminals. In this case, the first terminal 110 displays an exchange request control on the backpack interface of the first virtual object to trigger the first virtual object to initiate a virtual item exchange request within the virtual faction. It also controls the first virtual object to transition to an item exchange state in response to a trigger operation on the exchange request control. Furthermore, it displays a first virtual item exchange scheme on the backpack interface, showing the expected change in the number of virtual items from the virtual item exchange performed by the first virtual object. Here, the server 120 obtains virtual item difference information for the first virtual object and the other virtual objects that are in an item exchange state from the first terminal 110, the second terminal 130 and the other terminals. Furthermore, based on this virtual item difference information, server 120 determines a virtual item exchange scheme suitable for the first virtual target and other virtual targets that are in an item exchange state, and then determines the first virtual item exchange scheme. Server 120 transmits the first virtual item exchange scheme to the first terminal 110, causing it to display the first virtual item exchange scheme. The first virtual item exchange scheme shows the predicted change in the number of virtual items for the first virtual target when all other virtual targets in an item exchange state perform the virtual item exchange scheme.
[0033] In the embodiments of the present application, the case in which the method is performed by a terminal will be described as an example. Refer to Figure 2. Figure 2 is a flowchart showing a method for demonstrating a virtual item exchange scheme provided in one exemplary embodiment of the present application. In this embodiment, the case in which the method is performed by a first terminal 110 or a second terminal 130 in the implementation environment shown in Figure 1, or by another terminal in the same implementation environment, will be described as an example. The method includes at least one of steps 201, 202, and 203.
[0034] Step 201 displays the exchange request control on the backpack interface of the first virtual target, and the exchange request control is used to trigger the first virtual target to initiate a virtual item exchange request within the virtual faction.
[0035] As an example of a selectable virtual object, a virtual object is an actionable object within a virtual environment. Such actionable objects include virtual pieces, virtual people, virtual animals, manga / anime characters, etc., such as people, animals, plants, drums, walls, stones, etc., that are displayed within the virtual environment. As an example of a selectable virtual object, a virtual object is a three-dimensional model constructed based on skeletal animation technology. Each virtual object has its own shape and volume within the virtual environment and occupies a portion of the space within the virtual environment.
[0036] As an example of what can be selected, a virtual battle refers to an interaction between multiple virtual targets within a virtual environment through the use of virtual tools, the use of special abilities, etc. As an example of what can be selected, the form of a virtual battle may include a 1v1 battle, a 5v5 battle, or a 1v5 sub-mission mode, and the embodiments of this application are not limited to these.
[0037] As an example of what can be selected, a virtual faction is a team consisting of multiple virtual individuals who have team member relationships in a virtual match.
[0038] As an example of what can be selected, the backpack interface is for displaying to the player information about the virtual items that a virtual target possesses in the current virtual battle, specifically information including at least one of the following: the type of virtual item the virtual target possesses, the name of the virtual item, and the number of virtual items. The virtual items may include at least one of virtual ammunition, virtual ornaments, and virtual medicine, and the embodiments of the present application are not limited to these.
[0039] In some embodiments, to facilitate virtual item exchanges within a virtual faction by a first virtual object, the terminal may display an exchange request control on the backpack interface of the first virtual object to trigger the first virtual object to initiate a virtual item exchange request within the virtual faction.
[0040] As an example, a virtual item exchange request is triggered by an exchange request control and is a request to offer to exchange at least one virtual item with at least one other virtual target within the virtual faction. The exchange may involve acquiring a virtual item from another virtual target, or sending one's own virtual item to another virtual target. As an example of what can be selected, the exchange request control is displayed in the area around the virtual item held by the first virtual target, for example, in the area above or below the virtual item held by the first virtual target. Note that the exchange request control may be named by other names, such as first control or request control, as long as it can trigger the initiation of a virtual item exchange request by the first virtual target within the virtual faction.
[0041] Schematically, as shown in Figure 3, the terminal displays the exchange request control 303 on the backpack interface 302 of the first virtual object 301. The exchange request control 303 is displayed in the area below the virtual items possessed by the first virtual object 301.
[0042] Step 202 controls the first virtual target to transition to the item exchange state in response to a trigger operation on the exchange request control.
[0043] In some embodiments, the terminal controls the first virtual target to transition to an item exchange state when it receives a trigger operation from the player for an exchange request control.
[0044] As an example of a selectable state, the item exchange state refers to the state in which a virtual item exchange has begun from the first virtual target to another virtual target within the virtual faction. When the first virtual target enters the item exchange state, other virtual targets within the virtual faction that are in the same item exchange state can directly confirm and understand that the first virtual target currently needs a virtual item exchange.
[0045] In one possible embodiment, in order to make other virtual targets within the virtual faction aware that the first virtual target requires a virtual item exchange, the terminal may be controlled so that a state transition notification is sent from the first virtual target to other virtual targets within the virtual faction at the same time that the first virtual target transitions to the item exchange state.
[0046] In some embodiments, to improve the efficiency of virtual item exchange between multiple virtual objects in an item exchange state, the terminal may control the transition of the first virtual object to an item exchange state and display exchange detail controls on the backpack interface for confirming the first virtual item exchange scheme of the first virtual object.
[0047] As an example of selectable options, the exchange details control is displayed in the area surrounding the virtual items held by the first virtual target, for example, in the area above or below the virtual items held by the first virtual target. The virtual item exchange scheme refers to the exchange scheme that may arise for the surplus, lack, or shortage of virtual items of each virtual target in an item exchange state within the virtual faction. The first virtual item exchange scheme for the first virtual target shows the result of the change in the number of virtual items that are expected to be transferred through the virtual item exchange performed by the first virtual target.
[0048] For example, if the surplus virtual items of the first virtual target are two medical kits, the virtual item exchange scheme would be either transferring both medical kits to the second virtual target, or transferring one medical kit each to the second and third virtual targets. In this case, the first virtual item exchange scheme displayed for the first virtual target would be a scheme that predicts the discarding of the two medical kits and the acquisition of zero other medicines, regardless of which transfer is chosen. Note that the exchange detail control may be named by other names, such as second control or detail control, as long as it allows for the actual verification of the first virtual item exchange scheme.
[0049] In some embodiments, the terminal displays exchange detail controls on the backpack interface to verify the first virtual item exchange scheme for the first virtual object. It also displays the first virtual item exchange scheme on the backpack interface in response to a trigger operation on the exchange detail controls.
[0050] As an example of a selectable action, a player's trigger action on the exchange request control could be a click, a long press, or any other possible mode of operation.
[0051] As an example of an option, in order to omit the control display space on the backpack interface, the terminal may update the exchange request control directly to the exchange details control after receiving a trigger operation from the player on the exchange request control.
[0052] In the embodiments of this application, the format of the display and trigger for each control is not specifically limited.
[0053] Schematically, as shown in Figure 3, when the terminal receives a click operation from the player on the exchange request control 303, it controls the first virtual target 301 to transition to the item exchange state, updates the exchange request control 303 to the exchange details control 304 on the backpack interface 302, and displays the exchange details control 304.
[0054] In step 203, the first virtual item exchange scheme is displayed in the backpack interface, and the first virtual item exchange scheme is used to show the expected change in the number of virtual items from the virtual item exchange performed by the first virtual object.
[0055] In some embodiments, when the terminal receives a trigger operation from the player for the exchange detail controls, it displays to the player a first virtual item exchange scheme corresponding to the first virtual target on the backpack interface. This allows the player to timely understand, from the first virtual item exchange scheme, the expected change in the number of virtual items for the first virtual target when each virtual target in the current virtual battle exchange state performs a virtual item exchange.
[0056] As an example of what can be selected, in order to allow the player to be aware of virtual targets within a virtual faction that have entered an item exchange state, the first virtual item exchange scheme may include at least one of the target information of other virtual targets within the virtual faction that are in an item exchange state, such as the target number, marker, profile picture, and location information of the virtual target.
[0057] As an example of what can be selected, in order to let the player know which virtual items are available for the first virtual object and which virtual items should be discarded when a virtual item exchange takes place, the first virtual item exchange scheme displays the expected changes in the number of virtual items from the virtual item exchange performed by the first virtual object, such as the item labels and quantities of the virtual items that can be obtained, and the item labels and quantities of the virtual items that can be discarded.
[0058] Schematically, as shown in Figure 3, when the terminal receives a click operation from the player on the exchange details control 304, it displays the first virtual item exchange scheme 305 corresponding to the first virtual object 301 on the backpack interface 302. The first virtual item exchange scheme 305 includes target information of other virtual objects in the item exchange state within the virtual faction, specifically the target number 13, and the result of the change in the number of virtual items predicted from the virtual item exchange performed by the first virtual object, which includes results indicating the acquisition of two virtual items of some kind and the discarding of one virtual item of another kind.
[0059] In summary, by adding an exchange request control to the backpack interface of the first virtual target, when a trigger operation is received for the exchange request control, the first virtual target is controlled to transition to an item exchange state, and the first virtual item exchange scheme is displayed on the backpack interface. Therefore, the first virtual target can understand the expected change in the number of virtual items from the virtual item exchange performed by the first virtual target without any text or voice communication, the process of communication regarding virtual item exchange between virtual targets is omitted, and the efficiency of virtual item exchange between virtual targets within a virtual faction is improved. In some embodiments, in order to improve the accuracy of the first virtual item exchange scheme and provide the first virtual target with a relatively accurate virtual item exchange scheme within a virtual faction, the terminal determines a suitable virtual item exchange scheme for each virtual target based on the virtual item possession status of each virtual target in the item exchange state within the virtual faction.
[0060] Refer to Figure 4. Figure 4 is a flowchart illustrating a method for demonstrating a virtual item exchange scheme provided in another exemplary embodiment of the present application. In this embodiment, the method is described as being performed by a first terminal 110 or a second terminal 130 in the implementation environment shown in Figure 1, or by another terminal in the same implementation environment. The method includes at least one of steps 401, 402, 403, 404, and 405.
[0061] In step 401, the exchange request control is displayed on the backpack interface of the first virtual target, and the exchange request control is used to trigger the first virtual target to initiate a virtual item exchange request within the virtual faction.
[0062] In step 402, in response to a trigger operation on the exchange request control, the system controls the first virtual target to transition to the item exchange state and displays the exchange details control on the backpack interface, which is used to confirm a suitable virtual item exchange scheme for the first virtual target.
[0063] For specific embodiments of steps 401-402, please refer to steps 201-202, and this embodiment will not repeat that explanation.
[0064] In step 403, in response to a trigger operation on the exchange details control, virtual item difference information is obtained for each virtual target currently in an item exchange state within the virtual faction. This virtual item difference information is used to represent the difference between the actual number of virtual items held by the virtual target and the maximum number of items it has.
[0065] In some embodiments, when the terminal receives a trigger operation from the player for the exchange details control, it may first determine each virtual target currently in an item exchange state within the virtual faction and obtain virtual item difference information corresponding to each virtual target. Note that each virtual target currently in an item exchange state within the virtual faction includes the first virtual target.
[0066] As an example of what can be selected, the virtual item difference information represents the difference between the actual number of virtual items held and the maximum number of virtual items corresponding to the virtual target.
[0067] As an example of what can be selected, the maximum number of virtual items is the optimal number of virtual items that a virtual target can possess in a virtual battle, specifically the optimal number of each type of virtual item. Furthermore, the optimal number of each type of virtual item may be the same or different, and may be the optimal number of virtual items in several other embodiments.
[0068] For example, the upper limit of virtual items for a virtual target refers to the optimal total number of virtual items the virtual target possesses being 100. Alternatively, for example, the upper limit of virtual items for a virtual target refers to the optimal number of each type of virtual item the virtual target possesses being 30. Furthermore, for example, the upper limit of virtual items for a virtual target refers to the optimal number of each type of virtual item the virtual target possesses being 15. In the embodiments of this application, the upper limits are explained by listing the specific optimal numbers for each type of virtual item.
[0069] As an example of what can be selected, the maximum number of virtual items for a virtual target may be a value set by the player before the virtual battle, a value pre-set by the terminal, or a value adjusted in real time based on the current battle status in the virtual target. The current battle status includes, but is not limited to, the current level, hit points, number of kills, and win rate.
[0070] As an example of what can be selected, the actual number of virtual items a virtual target possesses refers to the actual quantity of virtual items that the virtual target currently possesses in a virtual battle. This actual number may change in real time depending on how the virtual target picks up, discards, and uses virtual items during the virtual battle.
[0071] In a schematic example, the maximum number of virtual items corresponding to the first virtual object is 10. If the actual number of virtual items held by the first virtual object corresponding to that virtual item is 15, the difference between the first virtual item and the corresponding virtual item will be 5 remaining. Conversely, if the actual number of virtual items held by the first virtual object corresponding to that virtual item is 5, the difference between the first virtual item and the corresponding virtual item will be 5 missing.
[0072] In one possible embodiment, when the terminal receives a trigger operation from the player for the exchange details control, it first determines at least one of the target information for each virtual target currently in an item exchange state within the virtual faction, such as the target number, marker, or profile picture of the virtual target. Next, it obtains the actual number and upper limit of each virtual item corresponding to each virtual target in an item exchange state, subtracts the upper limit from the actual number of virtual items, and obtains virtual item difference information corresponding to that virtual item. This makes it possible to calculate virtual item difference information corresponding to each virtual target currently in an item exchange state within the virtual faction.
[0073] In step 404, a virtual item exchange scheme suitable for each virtual target in the item exchange state is determined based on the virtual item difference information corresponding to each virtual target in the item exchange state.
[0074] In some embodiments, after obtaining virtual item difference information corresponding to each virtual target in an item exchange state, the terminal determines a virtual item exchange scheme suitable for each virtual target in an item exchange state based on the actual number of virtual items held and the upper limit of each virtual target.
[0075] In several embodiments, the terminal first compiles statistics on the current virtual items awaiting exchange within the virtual faction, as well as the types and quantities of these awaiting items, based on the virtual item difference information corresponding to each virtual target in the item exchange state. These awaiting items are virtual items that each virtual target in the item exchange state possesses, and whose actual number exceeds the maximum limit. The quantity of awaiting items to be exchanged is the difference between the actual number and the maximum limit. For example, if the virtual items are medical kits and bandages, and the first virtual target currently possesses 5 medical kits (with a maximum limit of 3), and also possesses 3 bandages (with a maximum limit of 5), then the first virtual target has 2 medical kits left over. Therefore, the awaiting items for the first virtual target are medical kits, and the quantity is 2.
[0076] The terminal can determine the number of virtual items to be allocated between virtual targets in an item exchange state, based on the virtual item difference information corresponding to each virtual target, and the type and quantity of virtual items awaiting exchange, and generate a suitable virtual item exchange scheme corresponding to each virtual target in an item exchange state.
[0077] In one possible embodiment, if there are at least two virtual targets in an item exchange state within a virtual faction, the terminal may first determine the availability and possession status of the virtual item awaiting exchange for each virtual target in the item exchange state, based on the type of virtual item awaiting exchange. Furthermore, based on the quantity of the virtual item awaiting exchange to be exchanged and the availability and possession status of the virtual item awaiting exchange for each virtual target in the item exchange state, the terminal may determine the number of virtual items awaiting exchange to be allocated between each virtual target in the item exchange state.
[0078] In a schematic example, the virtual targets in an item exchange state within a virtual faction include the first virtual target and the second virtual target. Here, the first virtual item difference information for the first virtual target may indicate that there is one first virtual item missing and three second virtual items remaining, and the second virtual item difference information for the second virtual target may indicate that there are two second virtual items missing. In this case, the terminal can determine that the virtual item awaiting exchange is the second virtual item and that the number of exchangeable second virtual items is three. The terminal can also decide to allocate two second virtual items to the second virtual target based on the second virtual item difference information.
[0079] In a schematic example, the virtual targets in the item exchange state within a virtual faction include the first virtual target, the second virtual target, and the third virtual target. Here, the first virtual item difference information for the first virtual target may indicate that one first virtual item is missing and three second virtual items are available; the second virtual item difference information for the second virtual target may indicate that two second virtual items are missing and two third virtual items are available; and the third virtual item difference information for the third virtual target may indicate that one second virtual item is missing. In this case, the terminal can determine that the virtual items awaiting exchange are the second virtual item and the third virtual item. Here, based on the virtual items awaiting exchange and the first virtual item difference information, it can be seen that the virtual item allocation for the first virtual target is 0. Also, based on the virtual items awaiting exchange and the second virtual item difference information, it can be seen that the virtual item allocation for the second virtual target is 2. Also, based on the virtual items awaiting exchange and the third virtual item difference information, it can be seen that the virtual item allocation for the third virtual target is 1. Although both the first and third virtual targets are lacking the third virtual item, the terminal may randomly assign the third virtual item to the first and third virtual targets, or it may choose not to assign the third virtual item.
[0080] In some embodiments, the number of virtual items awaiting exchange may be small, and the item exchange needs of each virtual target in the item exchange state may not be met. Therefore, the terminal may determine a priority for allocating virtual items awaiting exchange to each virtual target based on the actual number of virtual items awaiting exchange held and / or the number of items missing for each virtual target, in order to improve the exchange efficiency of virtual items awaiting exchange, and to the greatest extent possible, ensure that the number of virtual items after exchange for each virtual target meets the number required for the virtual battle.
[0081] In another implementation, priority may be determined based on the current battle status of each virtual target. The more difficult the current battle status, the higher the priority. The current battle status includes at least one of the following: current level, hit points, number of kills, and win rate. For example, if the second virtual target has the lowest current hit points, the second virtual target will be given the highest priority, and virtual item exchanges with that second virtual target will be prioritized.
[0082] In one possible embodiment, after determining the virtual items awaiting exchange within a virtual faction, the terminal may analyze the virtual item difference information corresponding to each virtual target in the item exchange state and determine the actual number of virtual items awaiting exchange held by each virtual target in the item exchange state. Furthermore, if the actual number of virtual items awaiting exchange held by the first target virtual target is less than the actual number of virtual items awaiting exchange held by other virtual targets, the target virtual item allocation number for the virtual items awaiting exchange held by the first target virtual target may be determined preferentially. The first target virtual target is any one of the virtual targets in the item exchange state. The target virtual item allocation number is the quantity of virtual items awaiting exchange that is lacking in the first target virtual target.
[0083] In a schematic example, the virtual targets in the item exchange state within a virtual faction include the first virtual target, the second virtual target, and the third virtual target. Here, the first virtual item difference information for the first virtual target may indicate that it is missing one first virtual item and has three second virtual items in reserve; the second virtual item difference information for the second virtual target may indicate that it possesses four second virtual items but is still missing two second virtual items and has two third virtual items in reserve; and the third virtual item difference information for the third virtual target may indicate that it possesses one second virtual item but is missing one second virtual item. In this case, the terminal can determine that the virtual items awaiting exchange are the second virtual item and the third virtual item. However, although both the second and third virtual targets are missing second virtual items, with respect to that second virtual item, the second virtual target already possesses four second virtual items, even though it is two short of the maximum number. On the other hand, the third virtual target is only one short of the maximum number of second virtual items, but only possesses one second virtual item. Thus, the actual number of second virtual items possessed by the second virtual target is greater than the actual number possessed by the third virtual target. Therefore, with respect to the second virtual item, the terminal may first determine the target number of virtual items allocated to the third virtual target, and then determine the target number of virtual items allocated to the second virtual target.
[0084] In one possible embodiment, the terminal may, from the standpoint of the actual number of virtual items awaiting exchange held by each virtual target and the number of virtual items awaiting exchange missing for each virtual target in the item exchange state, then compare the actual number of virtual items awaiting exchange held by each virtual target, and subsequently compare the number of virtual items awaiting exchange missing for each virtual target. As an example of selectable cases, if the actual number of virtual items awaiting exchange held by the first target virtual target is the same as the actual number of virtual items awaiting exchange held by other virtual targets, and if the number of virtual items awaiting exchange missing for the first target virtual target is greater than the number of virtual items awaiting exchange missing for other virtual targets, the terminal may prioritize determining the target virtual item allocation for the virtual items awaiting exchange corresponding to the first target virtual target.
[0085] In a schematic example, the virtual targets in the item exchange state within a virtual faction include the first virtual target, the second virtual target, and the third virtual target. Here, the first virtual item difference information for the first virtual target may indicate that it is missing one first virtual item and has three second virtual items in reserve; the second virtual item difference information for the second virtual target may indicate that it possesses four second virtual items but is still missing two second virtual items and has two third virtual items in reserve; and the third virtual item difference information for the third virtual target may indicate that it possesses four second virtual items but is still missing one second virtual item. In this case, the terminal can determine that the virtual items awaiting exchange are the second virtual item and the third virtual item. However, both the second and third virtual targets are missing second virtual items, but with respect to the second virtual item, the second virtual target already possesses four second virtual items, although it is two short of the maximum number of second virtual items. Furthermore, in the case of the third virtual target, although it is still one short of the maximum number of second virtual items, it already possesses four of them. Thus, the actual number of second virtual items possessed by the second virtual target is the same as the actual number possessed by the third virtual target, but the number of second virtual items lacking in the second virtual target is greater than the number of second virtual items lacking in the third virtual target. Therefore, with respect to the second virtual items, the terminal may first determine the target number of virtual items allocated to the second virtual target, and then determine the target number of virtual items allocated to the third virtual target.
[0086] As an example of what can be selected, the lack status of virtual items awaiting exchange includes the quantity of items missing, and the possession status of virtual items awaiting exchange includes the actual number of items possessed. To summarize the embodiments described above, the detailed steps by which the terminal determines a suitable virtual item exchange scheme for each virtual target in the item exchange state are as follows: 1) Statistically analyze the number of virtual targets within a virtual faction that are currently in an item exchange state. 2) The types and quantities of virtual items awaiting exchange for each of the aforementioned virtual targets are aggregated. 3) Total the types and quantities of all virtual items awaiting exchange. 4) For each virtual item awaiting exchange in the aforementioned virtual target, read the difference between the actual number held and the maximum number. 5) For each virtual target, determine whether there are other virtual targets that lack the surplus virtual items awaiting exchange, how many such other virtual targets there are, and the actual number of such virtual items awaiting exchange held by each of those other virtual targets. 6) Determine a virtual item exchange scheme suitable for the virtual target. If there are some virtual items awaiting exchange that are in surplus in one virtual target, there may be a shortage of those same virtual items in another virtual target. In this case, if there is one other virtual target, the items are allocated to that other virtual target. The virtual item allocation number is the quantity of the virtual items awaiting exchange that is lacking in that other virtual target. If there are multiple other virtual targets, the items are preferentially allocated to the other virtual target with the smaller actual number of the virtual items awaiting exchange. The virtual item allocation number is the quantity of the virtual items awaiting exchange that is lacking in that other virtual target. If the actual number of the virtual items awaiting exchange is lacking in multiple other virtual targets is the same, the items are preferentially allocated to the other virtual target with the larger difference between the actual number and the upper limit. The virtual item allocation number is the quantity of the virtual items awaiting exchange that is lacking in that other virtual target. If the difference for multiple other virtual targets is the same, the items are randomly allocated to any other virtual target. The virtual item allocation number is, i.e., the quantity of the virtual items awaiting exchange that is lacking in that other virtual target. Furthermore, if the number of virtual items awaiting exchange far exceeds the number of virtual items that can be exchanged, the maximum number of virtual items allocated will be the number of items that can be exchanged. 7) Determine whether there are any surplus virtual items awaiting exchange that have not yet been exchanged. If there are any surplus virtual items awaiting exchange, determine the actual number of such items held by each of the virtual targets. Prioritize allocating them to the other virtual target with the smaller actual number of items held. If multiple other virtual targets have the same actual number of items held, randomly allocate them to any other virtual target.
[0087] Step 405 showcases the first virtual item exchange scheme in the backpack interface.
[0088] In some embodiments, the terminal may, after determining a virtual item exchange scheme suitable for each virtual object in an item exchange state, display a first virtual item exchange scheme on the backpack interface. Specifically, the first virtual item exchange scheme includes object information corresponding to each virtual object in an item exchange state, and the predicted change in the number of virtual items for the first virtual object when each virtual object in an item exchange state performs a virtual item exchange as shown in the virtual item exchange scheme. As an example of selectable information, the object information includes at least one of the following: the object number, markings, profile face image, and location information of the virtual object. In this embodiment, the terminal does not need to display the specific contents of the virtual item exchange scheme suitable for each virtual object in an item exchange state, but only needs to display the first virtual item exchange scheme.
[0089] From the perspective that the virtual environment is constantly changing, the distance between virtual targets in an item exchange state within the same virtual faction may be large, making simultaneous virtual item exchange impossible. For example, if the first, second, and third virtual targets are all in an item exchange state, and the distance between the first and second virtual targets is relatively small, while the distance between the third and first virtual targets, and the distance between the third and second virtual targets are relatively large, then virtual item exchange between the first and second virtual targets is easier. However, if the backpack interface simply displays that the first, second, and third virtual targets are all participating in virtual item exchange, the first virtual item exchange scheme corresponding to the first virtual target will not allow the player to fully grasp the results of changes in the number of virtual items due to various virtual item exchanges for the first virtual target.
[0090] In one possible embodiment, if there are at least two virtual targets in the virtual faction that are in an item exchange state other than the first virtual target, the terminal may, in response to a trigger operation on target information by the player, display a target virtual item exchange scheme on the backpack interface so that the player can understand the results of changes in the number of virtual items in various virtual item exchanges for the first virtual target. The target information is the selected target information from the target information of each of the at least two virtual targets that are in an item exchange state. The target virtual exchange scheme shows the results of changes in the number of virtual items predicted from a virtual item exchange between the first virtual target and the virtual target corresponding to the target information. As an example of selectable, the target virtual exchange scheme further includes target information.
[0091] In a schematic example, if the first virtual object, the second virtual object, and the third virtual object are all in an item exchange state, the terminal, upon receiving a trigger operation from the player for the exchange detail controls, first displays the first virtual item exchange scheme. This first virtual item exchange scheme includes the target information for each of the first, second, and third virtual objects, and the result of the change in the number of virtual items in the first virtual object when the first, second, and third virtual objects all participate in the virtual item exchange. Next, if the terminal receives a trigger operation from the player for the target information of the second virtual object, the terminal displays the target virtual item exchange scheme between the first and second virtual objects in the backpack interface. This target virtual item exchange scheme is the result of the predicted change in the number of virtual items in the first virtual object when only the first and second virtual objects perform the virtual item exchange and the third virtual object does not participate in the virtual item exchange.
[0092] In the embodiment described above, the accuracy of the first virtual item exchange scheme is improved and the efficiency of virtual item exchange between virtual targets is optimized by determining the virtual item difference information for each virtual target that is in an item exchange state, and by statistically calculating and allocating the exchange quantity of virtual items awaiting exchange based on the virtual item difference information for each virtual target.
[0093] In some embodiments, in order to increase the speed of virtual item exchange by virtual objects within the virtual environment, the terminal may, in addition to displaying the first virtual item exchange scheme on the backpack interface, also display location controls on the backpack interface to trigger the first virtual object to begin gathering at a location within the virtual faction.
[0094] In one possible embodiment, the terminal may acquire location information within the virtual environment for each virtual object in an item exchange state and determine a target destination based on this location information for each virtual object in an item exchange state. The terminal then displays a location control on the backpack interface to trigger the start of a point assembly within the virtual faction from the first virtual object to move towards the target destination. Simultaneously, to allow each player to find the target destination more intuitively, when the terminal receives a trigger operation for the location control, it may display location information for the target destination on the virtual map, which instructs at least one other virtual object in an item exchange state to move towards the target destination and perform a virtual item exchange.
[0095] As an example of selectable options, the target destination is one of the following: a fixed position, the location of each virtual object in the item exchange state, or a predetermined location where the distance from the location of each virtual object in the item exchange state is the same as, or less than, a threshold.
[0096] In one possible embodiment, since the urgency of virtual item exchange varies among virtual targets in an item exchange state, there may be virtual targets whose current hit points are relatively low and who urgently need an exchange virtual item to increase their hit points. If the target destination is determined solely based on the location information of each virtual target, there is a risk that virtual targets with relatively low current hit points may not be able to reach the target destination, resulting in a failed virtual item exchange. Therefore, in order to improve the rationality of determining the target destination, the terminal may determine the target destination between virtual targets in an item exchange state based not only on the location information of each virtual target but also on the attribute values of each virtual target.
[0097] As an example of what can be selected, the attribute values of the virtual target may be hit points, attack value, or other values that affect the virtual target's battle status, and are not limited to these in the embodiments of the present application.
[0098] In a schematic example, if the first, second, and third virtual targets, which are in an item exchange state, are located within the virtual faction, and the current hit points of the third virtual target are relatively low, the terminal may determine the target movement point as a point within the virtual environment where the distance from the third virtual target is less than a distance threshold.
[0099] Schematically, as shown in Figure 5, the terminal determines the target movement points between each virtual object in an item exchange state, and then displays a location control 503 on the backpack interface 502 of the first virtual object 501. Clicking this control triggers the display of the specific location of the target movement point. Furthermore, if the terminal receives a trigger operation on the location control 503 from the player, it displays location information 504 of the target movement point on the virtual map.
[0100] In the embodiment described above, a location control for virtual targets performing virtual item exchange to begin gathering at a location within the virtual faction is added to the backpack interface, and the target movement location is determined based on the virtual target's location information and attribute values. This allows virtual targets in the item exchange state to quickly complete gathering at a location and perform virtual item exchange, improving the efficiency of virtual item exchange between virtual targets within the virtual faction.
[0101] In some embodiments, the terminal may display to the player, on the backpack interface, first virtual item difference information for the first virtual object, which represents the difference between the actual number of virtual items held by the first virtual object and the maximum number of virtual items held by the first virtual object, so that the player can more intuitively understand the status of the number of virtual items currently held by the first virtual object before the first virtual object initiates a virtual item exchange request.
[0102] In one possible embodiment, when the terminal receives a confirmation operation from the player on the backpack interface, it first obtains the actual number and maximum number of virtual items corresponding to the first virtual object, and then, based on the actual number and maximum number of virtual items, determines the first virtual item difference information corresponding to the first virtual object, and displays the said first virtual item difference information on the backpack interface.
[0103] As an example of what can be selected, the first virtual item difference information may include the actual number of each virtual item corresponding to the first virtual object, and the difference in quantity between the actual number and the upper limit.
[0104] As an example of what can be selected, the upper limit may be the maximum number of virtual items that the player has set in advance for the first virtual target before the virtual battle, or it may be a value set in advance by the system, and is not limited to these in the embodiment of the present invention.
[0105] In one possible embodiment, taking into consideration the optimization of the spatial display effect within the backpack interface and the fact that the need for virtual item exchange usually arises for a virtual object only when virtual items are missing, the terminal may display an exchange request control on the backpack interface if the actual number of at least one type of virtual item held by the first virtual object is less than the upper limit, and may not display the exchange request control if there are no virtual items held by the first virtual object that are less than the upper limit.
[0106] In some embodiments, in order to allow the player to grasp the first virtual item difference information of the first virtual object in a more intuitive and concrete way, the terminal may display the first virtual item difference information in different states with different display effects.
[0107] In one possible embodiment, if the actual number of virtual items corresponding to the first virtual object is less than the upper limit, the terminal may display the first virtual item difference information on the backpack interface using a first display effect. If the actual number of virtual items corresponding to the first virtual object is more than the upper limit, the terminal may display the first virtual item difference information on the backpack interface using a second display effect. If the actual number of virtual items corresponding to the first virtual object is equal to the upper limit, the terminal may display the first virtual item difference information on the backpack interface using a third display effect. As selectable examples, the first, second, and third display effects may be different from each other, may have different display colors, and may have different display fonts, and the embodiments of this application are not limited to these.
[0108] Schematically, as shown in Figure 6, the terminal displays the first virtual item difference information 603 relating to the first virtual object 601 on the backpack interface 602. Here, the first actual number of the first virtual item 604 is 5, which is 2 more than the first upper limit of the first virtual item 604. In this case, the terminal displays the first virtual item difference information relating to the first virtual item 604 using the first display effect (bold). Also, the first actual number of the first virtual item 605 is 0, which is 2 less than the first upper limit of the first virtual item 605. In this case, the terminal displays the first virtual item difference information relating to the first virtual item 605 using the second display effect (underlined italic). Also, the first actual number of the first virtual item 606 is 10, which is equal to the first upper limit of the first virtual item 606. In this case, the terminal displays the first virtual item difference information relating to the first virtual item 606 using the third display effect (not bold, not italic, not underlined).
[0109] In the embodiment described above, the first virtual item difference information is displayed on the backpack interface, and the first virtual item difference information is displayed with various display effects according to the actual number of virtual items held and the upper limit number of each virtual item corresponding to the first virtual target. This optimizes the display effect of the virtual item information, allowing the player to grasp the current status of the virtual items held by the first virtual target more intuitively.
[0110] In some embodiments, if a virtual item is missing only for an individual virtual target within a virtual faction, that is, if only the first virtual target is in an item exchange state, then even if the first virtual target is controlled to transition to an item exchange state, timely execution of the virtual item exchange is not possible. Therefore, in order to allow other virtual targets within the virtual faction to quickly become aware that the first virtual target needs a virtual item exchange, the terminal may install an information synchronization control on the backpack interface to synchronize the first virtual item difference information of the first virtual target, which represents the difference between the actual number of virtual items held and the upper limit for the virtual items corresponding to the first virtual target, with other virtual targets within the virtual faction.
[0111] In one possible embodiment, the terminal responds to a trigger operation by the player for information synchronization control by acquiring first virtual item difference information corresponding to the first virtual object, and controls the first virtual object to transmit the first virtual item difference information to other virtual objects within the virtual faction.
[0112] In one possible embodiment, the terminal may set display effects for the first virtual item difference information when controlling the first virtual object to transmit the first virtual item difference information, so that other players who receive the first virtual item difference information can more intuitively grasp the current lack status of the virtual item of the first virtual object. For example, if the actual number of virtual items possessed is less than the upper limit, the first virtual item difference information may be displayed with a first display effect; if the actual number of virtual items possessed is more than the upper limit, the first virtual item difference information may be displayed with a second display effect; and if the actual number of virtual items possessed is the same as the upper limit, the first virtual item difference information may be displayed with a third display effect.
[0113] Schematically, as shown in Figure 7, the terminal displays an information synchronization control 703 on the backpack interface 702 of the first virtual object 701. When the terminal receives a click operation on the information synchronization control 703 by the player, it controls the first virtual object 701 to send first virtual item difference information 704 to other virtual objects within the virtual faction.
[0114] In the embodiment described above, by providing information synchronization control in the backpack interface, it is possible to control the first virtual target that requires item exchange to directly transmit the first virtual item difference information to other virtual targets within the virtual faction. This improves the efficiency of communication regarding virtual items between virtual targets within the virtual faction, as well as the efficiency of virtual item exchange between virtual targets.
[0115] In some embodiments, there are often situations where the actual number of virtual items a virtual object possesses exceeds the upper limit due to the virtual object repeatedly acquiring virtual items within the virtual environment, necessitating the disposal of virtual items. Therefore, the terminal may add a disposal control to the backpack interface to trigger the bulk disposal of surplus first virtual items from the first virtual object with a single click, rather than one by one.
[0116] In one possible embodiment, when the terminal receives a trigger operation for discard control from the player, it first determines the number of virtual items awaiting discard for the first virtual target and the number of virtual items awaiting discard to discard. Virtual items awaiting discard are virtual items corresponding to the first virtual target whose actual number exceeds the upper limit. The terminal then controls the discard process so that the virtual items awaiting discard are discarded from the first virtual target in the specified number of items, based on the number of items to discard.
[0117] In one possible embodiment, in order to allow other virtual objects within the virtual faction to be aware that the first virtual object has discarded the first virtual item and to pick up the first virtual item in a timely manner, the terminal may control the first virtual object to send an item discard message to at least one other virtual object within the virtual faction by controlling the first virtual object to perform location marking of the virtual item awaiting discard. The item discard message may include at least one of the following: the type of virtual item awaiting discard, the number of items to be discarded, and location marking information. The location marking information may specifically be coordinate information.
[0118] In some embodiments, to optimize the layout effect of controls within the backpack interface, the terminal may set display conditions for the discard control. Specifically, the terminal displays the discard control in the backpack interface only if there are no missing virtual items for the first virtual target and the actual number of virtual items exceeds the upper limit.
[0119] In one possible embodiment, the terminal first obtains the actual number and upper limit of virtual items corresponding to the first virtual object, and compares the actual number of each virtual item with the upper limit. If the actual number of at least one type of virtual item in the first virtual object is greater than the upper limit, a discard control is displayed on the backpack interface. In another possible embodiment, if the actual number of any of the virtual items corresponding to the first virtual object is greater than the upper limit, a discard control is displayed on the backpack interface.
[0120] Schematically, as shown in Figure 8, the terminal displays a discard control 803 on the backpack interface 802 of the first virtual object 801 if there are no missing virtual items in the first virtual object 801. Furthermore, when the terminal receives a click operation on the discard control 803 by the player, it controls the discarding of any surplus first virtual items, marking of the discarded virtual items, and sending of an item discard message 804 to other virtual objects within the virtual faction from the first virtual object 801.
[0121] In the embodiment described above, by installing a discard control in the backpack interface, if the actual number of at least one type of virtual item held by the first virtual object exceeds the upper limit, the excess virtual item can be discarded from the first virtual object with a single click. This improves the efficiency of virtual item discarding by the virtual object and is advantageous for managing virtual items.
[0122] In some embodiments, a virtual target does not always need to exchange virtual items during a virtual battle. For example, once a virtual item exchange is performed by the first virtual target, the need for another virtual item exchange may disappear. Alternatively, the first virtual target may transition to an item exchange state, but later pick up a virtual item within the virtual environment, thus eliminating the need for another virtual item exchange. Therefore, to improve the efficiency of controlling the state of the first virtual target, the terminal may be equipped with an application cancellation control, and when it receives a trigger operation from the player for the application cancellation control, it may be controlled to move the first virtual target out of the item exchange state.
[0123] In one possible embodiment, to optimize the display effect of the controls, the terminal may, upon receiving a trigger operation for the exchange request control, update the exchange request control to an application cancellation control. Furthermore, if the first virtual target is in an item exchange state, the terminal may, in response to a trigger operation for the application cancellation control, control the first virtual target to move away from the item exchange state.
[0124] Schematically, as shown in Figure 9, in order to optimize the display effect of the controls within the backpack interface 902 of the first virtual object 901, the terminal first displays the exchange request control 903 and the information synchronization control 904 on the backpack interface 902. When a click operation is received on the exchange request control 903, the terminal controls the first virtual object 901 to transition to the item exchange state, updates the exchange request control 903 to the application cancellation control 905, and updates the information synchronization control 904 to the exchange details control 906. As a result, when a click operation is received on the application cancellation control 905, the terminal can control the first virtual object 901 to leave the item exchange state.
[0125] In the embodiment described above, by installing application cancellation control, the first virtual target in the item exchange state can leave the item exchange state at any time, thereby improving the efficiency of control over the virtual target during a virtual battle.
[0126] In some embodiments, when the first virtual object is in an item exchange state, the terminal may display to the first virtual object virtual item difference information corresponding to other virtual objects in the virtual faction that are in an item exchange state in a timely manner, when those other virtual objects enter the field of view of the first virtual object.
[0127] In one possible embodiment, if a second virtual target belonging to a virtual faction is present in the battle interface and the second virtual target is in an item exchange state, the terminal may obtain the actual number of virtual items held and the maximum number of virtual items corresponding to the second virtual target, and determine the second virtual item difference information corresponding to the second virtual target based on the actual number of virtual items held and the maximum number of virtual items, and update and display the said second virtual item difference information around the second virtual target.
[0128] As an example of what can be selected, the second virtual item difference information represents the difference between the actual number of virtual items held and the maximum number of virtual items corresponding to the second virtual target.
[0129] In some embodiments, to facilitate virtual item exchange between virtual objects in an item exchange state, the terminal may be equipped with an additional item exchange control that enables rapid virtual item exchange between virtual objects in an item exchange state.
[0130] In one possible embodiment, when the distance between a second virtual target and a first virtual target in an item exchange state within the virtual environment becomes smaller than a distance threshold, the terminal may immediately display an item exchange control during the battle interface. Alternatively, in response to a trigger operation on the item exchange control by the player, the terminal may immediately control the first and second virtual targets to perform a virtual item exchange.
[0131] In some embodiments, from the perspective that the distance between multiple second virtual objects and the first virtual object in an item exchange state may be smaller than a distance threshold, the terminal may control the system so that virtual item exchanges from the first virtual object to multiple second virtual objects occur simultaneously when it receives a trigger operation for item exchange control, in order to improve the efficiency of virtual item exchanges between multiple virtual objects.
[0132] In one possible embodiment, when the target distance between the first virtual target and at least one second virtual target becomes smaller than a distance threshold, the terminal may immediately display an item exchange control. Furthermore, since the player needs to confirm a second target virtual target whose target distance from the first virtual target is smaller than the distance threshold, when the terminal receives a trigger operation for the item exchange control from the player, it controls the first virtual target and the second target virtual target to perform a virtual item exchange based on the first virtual item difference information of the first virtual target and the second virtual item difference information of the second target virtual target. The second target virtual target is any of the multiple second virtual targets, a selected second virtual target, or the second virtual target that is closest to the first virtual target.
[0133] As schematically shown in Figure 10, after controlling the first virtual object 1001 to transition to an item exchange state, if a second virtual object 1002 in the same item exchange state within the virtual faction is within the field of view of the first virtual object 1001, the terminal displays second virtual item difference information 1003 relating to the second virtual object 1002 above the head of the second virtual object 1002, and displays an item exchange control 1004 when the target distance between the first virtual object 1001 and the second virtual object 1002 becomes smaller than the distance threshold. Furthermore, if the terminal receives a click operation on the item exchange control 1004 by the player, it controls the first virtual object 1001 and the second virtual object 1002 to perform a virtual item exchange.
[0134] In the above-described embodiment, if a second virtual target in the same item exchange state exists within the virtual faction and the second virtual target is within the field of view of the first virtual target, displaying the second virtual item difference information corresponding to the second virtual target around the second virtual target in the battle interface allows the player to quickly grasp the current virtual item difference status of the second virtual target, improving the efficiency of virtual item exchanges between virtual targets. Furthermore, by displaying an item exchange control when the target distance between the first and second virtual targets is less than a distance threshold, it is possible to control the system so that the first and second virtual targets perform a virtual item exchange when a trigger operation for the item exchange control is received, improving the efficiency of virtual item exchanges between virtual targets in an item exchange state.
[0135] Refer to Figure 11. Figure 11 is a flowchart showing the display of first virtual item difference information, provided in one exemplary embodiment of the present invention. The steps for the terminal to display the first virtual item difference information are as follows:
[0136] Step 1101 accepts confirmation requests for the backpack interface. Step 1102 retrieves the actual number of virtual items held by the first virtual target. If the terminal accepts a confirmation operation from the player regarding the backpack interface, it may obtain the actual number of virtual items held for each of the first virtual objects. In step 1103, the actual number of virtual items corresponding to the first virtual target is displayed in the backpack interface.
[0137] To allow the player to understand the actual number of virtual items currently possessed by the first virtual target, the terminal displays the actual number of virtual items corresponding to the first virtual target on the backpack interface. For example, the terminal displays the actual number of each virtual item corresponding to the first virtual target on the backpack interface in white font.
[0138] Step 1104 retrieves the maximum number of virtual items corresponding to the first virtual target. In order to determine the quantity difference of each virtual item for the first virtual object, the terminal also obtains the upper limit for each virtual item corresponding to the first virtual object.
[0139] In step 1105, the difference information for the first virtual item is determined based on the actual number of virtual items held and the upper limit number of virtual items corresponding to the first virtual target. After obtaining the actual number of each virtual item owned and the maximum number of each virtual item of the first virtual target, the terminal calculates the difference information for each virtual item of the first virtual item by subtracting the maximum number from the actual number of items owned.
[0140] In step 1106, the actual number of virtual items held by the first virtual target is compared with the maximum number. To distinguish between different difference situations, the terminal may display the first virtual item difference information with different display effects. In this case, the terminal needs to compare the actual number of virtual items held by the first virtual target with the maximum number.
[0141] In step 1107, if the actual number of virtual items corresponding to the first virtual target is less than the maximum number, the first display effect displays the difference information for the first virtual item. If the actual number of virtual items corresponding to the first virtual target is less than the first upper limit, the terminal may display the difference information for the first virtual item using the first display effect. For example, it may display "(-4)" in red font.
[0142] In step 1108, if the actual number of virtual items held by the first virtual target is greater than the maximum number, the second display effect, the difference information for the first virtual item, is displayed. If the actual number of virtual items corresponding to the first virtual target exceeds the maximum number, the terminal may display the difference information for the first virtual item using the second display effect. For example, it may display "(+2)" in green font.
[0143] In step 1109, if the actual number of virtual items corresponding to the first virtual target is the same as the maximum number, the third display effect displays the difference information for the first virtual item. If the actual number of virtual items corresponding to the first virtual object is the same as the maximum number, the terminal may display the difference information for the first virtual item using the third display effect. For example, it may display only the actual number of items without showing the difference in quantity.
[0144] Refer to Figure 12. Figure 12 is a flowchart for synchronizing first virtual item difference information, provided in one exemplary embodiment of the present invention. The steps by which the terminal synchronizes the first virtual item difference information are as follows:
[0145] Step 1201 determines whether the player clicked the information synchronization control.
[0146] If the player has triggered the information synchronization control, proceed to step 1202; otherwise, proceed to step 1209.
[0147] Step 1202 retrieves the actual number of virtual items and the maximum number of virtual items corresponding to the first virtual target.
[0148] When a trigger operation is received by the player for the information synchronization control, the terminal obtains the actual number of virtual items held and the maximum number of virtual items corresponding to the first virtual target.
[0149] In step 1203, the difference information for the first virtual item is determined based on the actual number of virtual items held and the upper limit number of virtual items corresponding to the first virtual target. After obtaining the actual number of virtual items and the maximum number of virtual items corresponding to the first virtual target, the terminal can determine the difference information for the first virtual item by calculating the difference.
[0150] In step 1204, the actual number of virtual items held by the first virtual target is compared with the maximum number. To distinguish between different differential situations, the terminal may transmit the first virtual item differential information with different display effects. In this case, the terminal needs to compare the actual number of virtual items held by the first virtual target with the upper limit.
[0151] In step 1205, if the actual number of virtual items corresponding to the first virtual target is less than the maximum number, the first display effect displays the difference information for the first virtual item. If the actual number of virtual items corresponding to the first virtual target is less than the maximum number, the terminal may display the difference information for the first virtual item using the first display effect. For example, it may display "(-4)" in red font.
[0152] In step 1206, if the actual number of virtual items corresponding to the first virtual target exceeds the maximum number, the second display effect displays the difference information for the first virtual item. If the actual number of virtual items corresponding to the first virtual target exceeds the maximum number, the terminal may display the difference information for the first virtual item using the second display effect. For example, it may display "(+2)" in green font.
[0153] In step 1207, if the actual number of virtual items corresponding to the first virtual target is the same as the maximum number, the third display effect displays the difference information for the first virtual item. If the actual number of virtual items corresponding to the first virtual object is equal to the maximum number, the terminal may display the difference information for the first virtual item using the third display effect. For example, it may display only the actual number of items without displaying the quantity difference.
[0154] Step 1208 controls the first virtual target to send the first virtual item difference information to other virtual targets within the virtual faction. After determining the first virtual item difference information, the terminal immediately controls the first virtual target to transmit the first virtual item difference information to other virtual targets within the virtual faction. The process ends at step 1209.
[0155] Refer to Figure 13. Figure 13 is a flowchart of virtual item exchange within a virtual faction, provided in one exemplary embodiment of the present invention. The steps by which a terminal performs virtual item exchange within a virtual faction are as follows:
[0156] Step 1301 determines whether the player clicked the exchange request control. If the player has triggered the exchange request control, proceed to step 1302; otherwise, proceed to step 1318.
[0157] Step 1302 controls the first virtual target to transition to the item exchange state. When the terminal receives a trigger operation from the player for the exchange request control, it controls the first virtual target to transition to the item exchange state.
[0158] Step 1303 updates and displays the exchange details control and the application cancellation control. To reduce the control display area on the screen, the terminal may update the information synchronization control to the exchange details control, and also update the exchange request control to the request cancellation control.
[0159] Step 1304 determines whether the player clicked the exchange details control. If the player triggers an action on the exchange details control, proceed to step 1305.
[0160] Step 1305 retrieves target information for virtual targets that are in an item exchange state within the virtual faction. When the terminal receives a trigger operation from the player for the exchange details control, it retrieves target information of the virtual target in the item exchange state within the virtual faction, such as the target's number, sign, profile picture, and location information.
[0161] Step 1306 determines whether there are other virtual targets in an item exchange state. If there are other virtual targets in an item exchange state, proceed to step 1307.
[0162] Step 1307 displays the target information of virtual targets that are in the item exchange state within the virtual faction. The backpack interface displays information about virtual targets in the exchange details display area, showing the target information of virtual targets that are currently exchanging items within the virtual faction.
[0163] Step 1308 retrieves the virtual item difference information for the virtual target that is in an item exchange state. The terminal retrieves virtual item difference information corresponding to each virtual target in the item exchange state within the virtual faction.
[0164] In step 1309, the virtual item exchange scheme is determined and displayed based on the virtual item difference information.
[0165] The terminal determines a suitable virtual item exchange scheme for each virtual target in an item exchange state based on the virtual item difference information corresponding to each virtual target in an item exchange state, and displays the first virtual item exchange scheme corresponding to the first virtual target on the backpack interface. The first virtual item exchange scheme includes target information corresponding to other virtual targets in an item exchange state, and the predicted change in the number of virtual items for the first virtual target when each virtual target in an item exchange state performs the virtual item exchange shown in the virtual item exchange scheme.
[0166] Specifically, the detailed steps for determining the virtual item exchange scheme include the following steps 1) to 7). 1) Statistically analyze the virtual targets that are currently exchanging items within the virtual faction. 2) The types and quantities of virtual items awaiting exchange for each of the aforementioned virtual targets are aggregated. 3) Total the types and quantities of all virtual items awaiting exchange. 4) For each virtual item awaiting exchange in the aforementioned virtual target, read the difference between the actual number held and the maximum number. 5) For each virtual target, determine whether there are other virtual targets that lack the surplus virtual items awaiting exchange, how many such other virtual targets there are, and the actual number of such virtual items awaiting exchange held by each of those other virtual targets. 6) Determine a virtual item exchange scheme suitable for the virtual target. If there are some virtual items awaiting exchange that are in surplus in one virtual target, there may be a shortage of those same virtual items in another virtual target. In this case, if there is one other virtual target, the items are allocated to that other virtual target. The virtual item allocation number is the quantity of the virtual items awaiting exchange that is lacking in that other virtual target. If there are multiple other virtual targets, the items are preferentially allocated to the other virtual target with the smaller actual number of the virtual items awaiting exchange. The virtual item allocation number is the quantity of the virtual items awaiting exchange that is lacking in that other virtual target. If the actual number of the virtual items awaiting exchange is lacking in multiple other virtual targets is the same, the items are preferentially allocated to the other virtual target with the larger difference between the actual number and the upper limit. The virtual item allocation number is the quantity of the virtual items awaiting exchange that is lacking in that other virtual target. If the difference for multiple other virtual targets is the same, the items are randomly allocated to any other virtual target. The virtual item allocation number is, i.e., the quantity of the virtual items awaiting exchange that is lacking in that other virtual target. 7) Determine whether there are any surplus virtual items awaiting exchange that have not yet been exchanged. If there are any surplus virtual items awaiting exchange, determine the actual number of such virtual items held by each of the virtual targets. Prioritize allocating them to the other virtual target with the smaller actual number of items held. If multiple other virtual targets have the same actual number of items held, randomly allocate them to any other virtual target.
[0167] In a schematic example, if there are three virtual targets in the virtual faction in an item exchange state—a first virtual target, a second virtual target, and a third virtual target—and the first virtual target has two medical kits and three bandages left over, the second virtual target has one painkiller and two adrenaline drugs left over, and the third virtual character has no leftover drugs, then the terminal will determine that the first virtual target has two medical kits and three bandages waiting to be exchanged, and the second virtual target has one painkiller and two adrenaline drugs waiting to be exchanged. In total, the waiting virtual items will be two medical kits, three bandages, one painkiller, and two adrenaline drugs.
[0168] Furthermore, the terminal determines the virtual item difference information for each virtual target. Specifically, it determines that the first virtual target has 2 medical kits and 3 bandages in excess, but is short of 5 painkillers and 1 adrenaline; the second virtual target has 1 painkiller and 2 adrenaline in excess; and the third virtual target is short of 1 medical kit and 2 painkillers. In this case, regarding the 2 medical kits that the first virtual target has in excess, it determines that only the third virtual target is short of them, and therefore the third virtual target needs 1 medical kit. Also, regarding the 1 painkiller that the second virtual target has in excess, it determines that both the first and third virtual targets are short of them, and therefore the first virtual target needs 5 painkillers and the third virtual target needs 2 painkillers. Also, regarding the 2 adrenaline drugs that the second virtual target has in excess, it determines that only the first virtual target is short of them, and therefore the first virtual target needs 1 adrenaline drug. Therefore, the terminal can remain as is, and one surplus medical kit from the virtual target can be assigned to the third virtual target, while one surplus adrenaline drug from the second virtual target can be assigned to the first virtual target.
[0169] Regarding painkillers needed by both the first and third virtual targets, the terminal may first compare the number of painkillers currently possessed by the first and third virtual targets. If the first virtual target has no painkillers and the third virtual target has one, the terminal may preferentially allocate the painkillers to the first virtual target. Also, if both the first and third virtual targets have one painkiller, the first virtual target still needs five painkillers, and the third virtual target still needs two. Since the first virtual target has a greater shortage, the terminal may preferentially allocate the painkillers to the first virtual target. Regarding surplus virtual items awaiting exchange, the terminal may randomly allocate them to each virtual target.
[0170] Step 1310 determines whether the player clicked the application cancellation control. If a trigger operation is received from the player regarding the application cancellation control, proceed to step 1311.
[0171] Step 1311 controls the first virtual target to move away from the item exchange state. When the player triggers an action to cancel the application, the terminal controls the first virtual target to leave the item exchange state.
[0172] Step 1312 sends a state transition notification to other virtual targets. When the terminal receives a trigger operation from the player for the exchange request control, it controls the first virtual target to transition to the item exchange state and sends a state transition notification to the other virtual targets.
[0173] Step 1313 determines whether the second virtual target, which is in an item exchange state, is within the distance threshold range. The terminal determines whether a second virtual target exists in the virtual environment whose distance from the first virtual target is within the distance threshold and which is in an item exchange state. If such a second virtual target exists in an item exchange state, the process proceeds to step 1314.
[0174] Step 1314 retrieves the second virtual item difference information corresponding to the second virtual target. In order to allow other virtual targets in an item exchange state to be aware of the current virtual item possession status of a virtual target, the terminal obtains the second virtual item difference information corresponding to the second virtual target.
[0175] In step 1315, the second virtual item difference information is displayed around the second virtual object, along with the item exchange control. The terminal also displays the difference information of the second virtual item around the second virtual target, as well as the item exchange control.
[0176] Step 1316 determines whether the player clicked the item exchange control. If the player triggers an item exchange control, proceed to step 1317.
[0177] Step 1317 controls the first virtual target and the second virtual target to perform a virtual item exchange. When the player triggers an item exchange control, the terminal controls the first virtual target and the second virtual target to perform a virtual item exchange. The process ends at step 1318.
[0178] Refer to Figure 14. Figure 14 is a flowchart of the disposal of surplus virtual items provided in one exemplary embodiment of the present invention. The steps by which the terminal disposes of surplus virtual items are as follows:
[0179] Step 1401 compares whether the actual number of virtual items held by the first virtual target is greater than the maximum number. To reduce the control display area on the screen, the terminal may first compare the actual number of virtual items held by the first virtual object with the upper limit.
[0180] Step 1402 displays the discard control on the backpack interface. If the actual number of virtual items held by the first virtual target exceeds the maximum limit, the terminal will display a discard control in the backpack interface.
[0181] Step 1403 determines whether the player clicked the discard control. If a trigger operation against a discard control is received by a player, proceed to step 1404.
[0182] Step 1404 controls the first virtual object to discard any surplus virtual items. When the player triggers a discard control, the terminal controls the first virtual target to discard any surplus virtual items.
[0183] The process ends at step 1405.
[0184] Refer to Figure 15. Figure 15 is a block diagram showing the configuration of a display device for a virtual item exchange scheme provided in one exemplary embodiment of the present application. The device includes at least some of the modules of a first display module 1501, a second display module 1502, and a third display module 1503. The first display module 1501 displays an exchange request control on the backpack interface of the first virtual target to trigger the first virtual target to initiate a virtual item exchange request within the virtual faction. The second display module 1502 responds to a trigger operation for the exchange request control and controls the first virtual target to transition to the item exchange state. The third display module 1503 displays a first virtual item exchange scheme on the backpack interface, which shows the result of the change in the number of virtual items predicted from the virtual item exchange performed by the first virtual object.
[0185] As an example of selectable features, the second display module 1502 may display exchange detail controls on the backpack interface for confirmation of the first virtual item exchange scheme, and the third display module 1503 may, in response to a trigger operation on the exchange detail controls, display the first virtual item exchange scheme on the backpack interface. As an example of what can be selected, the third display module 1503 is:
[0186] A first acquisition unit that, in response to a trigger operation on the exchange details control, acquires virtual item difference information corresponding to each virtual target currently in the item exchange state within the virtual faction, which represents the difference between the actual number of virtual items held and the upper limit for each virtual item corresponding to that virtual target.
[0187] A first decision unit determines a virtual item exchange scheme suitable for each virtual target in the item exchange state based on virtual item difference information corresponding to each virtual target in the item exchange state,
[0188] The first display unit displays the first virtual item exchange scheme on the backpack interface, which includes target information corresponding to other virtual targets in the item exchange state, and the predicted change in the number of virtual items for the first virtual target when each virtual target in the item exchange state performs a virtual item exchange as shown in the virtual item exchange scheme.
[0189] As an example of what can be selected, the first decision unit is:
[0190] A step of statistically determining the types and quantities of virtual items awaiting exchange within the virtual faction based on virtual item difference information corresponding to each virtual target in the item exchange state, wherein a virtual item awaiting exchange is a virtual item corresponding to each virtual target in the item exchange state whose actual number exceeds the upper limit, and
[0191] The steps include determining the number of virtual items to allocate to each virtual target in the item exchange state, and
[0192] The process involves generating a virtual item exchange scheme suitable for each virtual target in the aforementioned item exchange state.
[0193] As an example of what can be selected, if there are at least two virtual targets in the item exchange state within the virtual faction, the first decision unit,
[0194] The steps include determining the lack and possession status of the virtual items awaiting exchange for each virtual target in the item exchange state, based on the type of virtual item awaiting exchange;
[0195] The process involves determining the number of virtual items to be allocated among the virtual targets in the item exchange state, based on the quantity of virtual items awaiting exchange and the status of the lack and possession of the virtual items awaiting exchange at each virtual target in the item exchange state.
[0196] As an example of what can be selected, the first decision unit is: If the actual number of virtual items awaiting exchange held by the first target virtual object is less than the actual number of virtual items awaiting exchange held by other virtual objects, the first target virtual object is given priority in determining the target virtual item allocation for the virtual items awaiting exchange.
[0197] If the actual number of virtual items awaiting exchange held by the first target virtual object is the same as the actual number of virtual items awaiting exchange held by the other virtual objects, and the number of virtual items awaiting exchange missing in the first target virtual object is greater than the number of virtual items awaiting exchange missing in the other virtual objects, then the first target virtual object is given priority in determining the target number of virtual items to be allocated to the virtual items awaiting exchange.
[0198] As an example of what can be selected, if there are at least two virtual targets other than the first virtual target that are in the item exchange state within the virtual faction, the device further: In response to a trigger operation on target information, the backpack interface includes a fourth display module that exhibits a target virtual item exchange scheme showing the expected change in the number of virtual items from a virtual item exchange between the first virtual object and the virtual object corresponding to the target information. As an example of what can be selected, the device further includes:
[0199] A first acquisition module that acquires the location information of each virtual target in the aforementioned item exchange state within the virtual environment,
[0200] A first determination module that determines a target movement point based on the aforementioned location information and the attribute values of each virtual target in the item exchange state,
[0201] A fifth display module that displays location controls on the backpack interface to trigger the first virtual target to begin gathering at a location within the virtual faction,
[0202] The system includes a sixth display module that, in response to a trigger operation for the location control, displays location information for the target movement point, which instructs at least one other virtual object in the item exchange state to move toward the target movement point and perform a virtual item exchange, on a virtual map.
[0203] As an example of what can be selected, the first display module 1501 is: The steps include: In response to a confirmation operation on the backpack interface, obtaining the actual number and maximum number of virtual items corresponding to the first virtual object;
[0204] A step of determining first virtual item difference information for the virtual items corresponding to the first virtual object, based on the actual number of virtual items possessed and the upper limit of each virtual item corresponding to the first virtual object, which represents the difference between the actual number of virtual items possessed and the upper limit of the virtual items corresponding to the first virtual object,
[0205] The steps include displaying the first virtual item difference information on the backpack interface,
[0206] If the actual number of at least one type of virtual item possessed by the first virtual target is less than the upper limit, the player performs the step of displaying the exchange request control on the backpack interface.
[0207] As an example of what can be selected, the first display module 1501 further:
[0208] If the actual number of virtual items corresponding to the first virtual target is less than the upper limit, the first virtual item difference information is displayed on the backpack interface with a first display effect.
[0209] If the actual number of virtual items corresponding to the first virtual target is greater than the upper limit, the first virtual item difference information is displayed on the backpack interface using a second display effect.
[0210] If the actual number of virtual items corresponding to the first virtual target is the same as the maximum number, the following steps are taken: display the difference information of the first virtual item on the backpack interface using a third display effect.
[0211] As an example of what can be selected, the backpack interface further includes information synchronization controls for synchronizing the first virtual item difference information of the first virtual object, which represents the difference between the actual number of virtual items held and the upper limit for the virtual items corresponding to the first virtual object, with other virtual objects within the virtual faction.
[0212] The aforementioned device further, The system includes a first control module that, in response to a trigger operation on the information synchronization control, controls the first virtual object to transmit the first virtual item difference information to other virtual objects within the virtual faction.
[0213] As an example of what can be selected, the backpack interface further includes a discard control for triggering the first virtual object to discard any surplus first virtual items.
[0214] The aforementioned device further, A second determination module that, in response to a trigger operation for the discard control, determines the number of virtual items of the first virtual target that are awaiting discard, which are virtual items of the first virtual target whose actual number of possessions exceeds the upper limit, and the number of virtual items awaiting discard to be discarded. A second control module controls the first virtual object to discard the virtual items awaiting discard based on the number of items to be discarded, and also marks the location of the virtual items awaiting discard. The system includes a third control module that controls the first virtual target to send an item discard message to at least one other virtual target within the virtual faction, which includes at least one of the type, number, and location marking information of the virtual items awaiting discard.
[0215] As an example of what can be selected, the apparatus further, A second acquisition module that acquires the actual number and maximum number of virtual items corresponding to the first virtual target, The system includes a seventh display module that displays the discard control on the backpack interface if the actual number of at least one type of virtual item in the first virtual object exceeds the upper limit. As an example of what can be selected, the second display module 1502 further: In response to a trigger operation on the aforementioned exchange request control, the exchange request control is updated to an application cancellation control.
[0216] The aforementioned device further, The system includes a fourth control module that, in response to a trigger operation for the application cancellation control, controls the first virtual object to move away from the item exchange state. As an example of what can be selected, the device is In the battle interface, if a second virtual target belonging to the virtual faction exists and the second virtual target is in the item exchange state, a third acquisition module acquires the actual number and maximum number of virtual items corresponding to the second virtual target. The system includes an eighth display module that updates and displays, around the second virtual object, second virtual item difference information for the virtual item corresponding to the second virtual object, which represents the difference between the actual number of virtual items held and the maximum number of virtual items corresponding to the second virtual object, based on the actual number of virtual items held and the maximum number of virtual items corresponding to the second virtual object.
[0217] As an example of what can be selected, the apparatus further, If the distance between the first virtual object and at least one second virtual object is less than a distance threshold, a ninth display module that displays an item exchange control is provided. A third decision module that, in response to a trigger operation for the item exchange control, determines a second target virtual target whose target distance from the first virtual target is less than the distance threshold, The system includes a fifth control module that controls the first virtual target and the second target virtual target to perform a virtual item exchange based on the first virtual item difference information of the first virtual target and the second virtual item difference information of the second target virtual target.
[0218] In summary, in the embodiment of the present invention, an exchange request control is added to the backpack interface of the first virtual target, and when a trigger operation is received for the exchange request control, the status of the item exchange performed by the first virtual target can be controlled and an exchange details control can be displayed on the backpack interface. When a trigger operation is received for the exchange details control, the first virtual item exchange scheme is displayed on the backpack interface. As a result, there is no need for text or voice communication by the first virtual target, and it is possible to grasp the target information of other virtual targets in the virtual faction that currently require virtual item exchange, as well as the results of changes in the number of virtual items predicted based on the item exchange. This eliminates the communication process regarding virtual item exchange between virtual targets, and improves the efficiency of virtual item exchange between virtual targets in the virtual faction.
[0219] It should be noted that the above-described embodiments merely illustrate the case where the provided device is divided into various functional modules. In actual application, the above functions can be assigned to and executed by various functional modules as needed. That is, the internal configuration of the device can be divided into different functional modules, and all or part of the functions described above can be executed. The embodiments of the device and method provided in the above-described embodiments belong to the same inventive concept, and the process of realization can be found by referring to the embodiments of the method described above, and will not be repeated here. Refer to Figure 16. Figure 16 is a block diagram showing the configuration of a terminal 1600 provided in one exemplary embodiment of the present invention. The terminal 1600 may be a portable mobile terminal, such as a smartphone, a tablet computer, a Moving Picture Experts Group Audio Layer III (MP3) player, or a Moving Picture Experts Group Audio Layer IV (MP4) player. The terminal 1600 may also be referred to by other names, such as user device or mobile terminal.
[0220] Typically, terminal 1600 includes a processor 1601 and memory 1602. The processor 1601 may include one or more processing cores, such as a quad-core processor or an eight-core processor. The processor 1601 may be implemented by at least one form of hardware from among Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1601 may include a main processor, also called a Central Processing Unit (CPU), which is a processor for processing data in a wake state, and a subprocessor, which is a low-power-consuming processor for processing data in a standby state. In some embodiments, the processor 1601 may further integrate a Graphics Processing Unit (GPU) for rendering and drawing content on a display. In some embodiments, the processor 1601 may further include an artificial intelligence (AI) processor for handling machine learning computing. The memory 1602 may include one or more tangible, non-temporary computer-readable storage media. The memory 1602 may include high-speed random-access memory or non-volatile memory, such as one or more magnetic-dick storage devices or flash memory storage devices. In some embodiments, the non-temporary computer-readable storage media of the memory 1602 stores at least one instruction which, when executed by the processor 1601, realizes the method of exhibiting the virtual item exchange scheme provided in the embodiments of the present application. In some embodiments, terminal 1600 may optionally include a peripheral interface 1603 and at least one peripheral device. The peripheral interface 1603 may be for connecting at least one input / output (I / O) peripheral device to the processor 1601 and memory 1602. The processor 1601, memory 1602, and peripheral interface 1603 are integrated on the same semiconductor chip or circuit board. In some other embodiments, any one or two of the processor 1601, memory 1602, and peripheral interface 1603 may be implemented on a single semiconductor chip or circuit board, and this embodiment is not limited thereto. As a person skilled in the art will understand, the structure shown in Figure 16 does not constitute a limitation to terminal 1600, and may include more or fewer components than shown, combinations of specific components, or different arrangements of components.
[0221] Furthermore, embodiments of the present invention provide a computer-readable storage medium storing a program for at least one session, which, when loaded into a processor and executed, realizes the method of displaying the virtual item exchange scheme described in each of the above embodiments.
[0222] Furthermore, embodiments of the present application provide a computer program product that includes computer instructions stored in a computer-readable storage medium. The terminal's processor reads the computer instructions from the computer-readable storage medium and executes the computer instructions, thereby enabling the terminal to perform a demonstration method of a virtual item exchange scheme provided in each of the selectable implementations of the embodiments described above.
[0223] As a person skilled in the art will understand, in one or more of the above-described examples, the functions described in the embodiments of this application can be implemented by hardware, software, firmware, or any combination thereof. When implemented by software, these functions may be stored in a computer-readable storage medium or transmitted as one or more instructions or codes on a computer-readable storage medium. Computer-readable storage mediums include computer storage media and communication media. Communication media include any medium suitable for transmitting computer programs from one place to another. Storage media may be any general-purpose or dedicated, computer-accessible, available medium. The above are merely selectable embodiments in this application and do not limit it. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application are also covered by this application.
Claims
1. A method for demonstrating a virtual item exchange scheme performed by a terminal, A step of displaying an exchange request control on the backpack interface of a first virtual object, wherein the exchange request control is used to trigger the first virtual object to initiate a virtual item exchange request within a virtual faction, The steps include controlling the first virtual target to transition to an item exchange state in response to a trigger operation for the exchange request control, A step of displaying a first virtual item exchange scheme on the backpack interface, wherein the first virtual item exchange scheme is used to show the expected change in the number of virtual items from the virtual item exchange performed by the first virtual object, A method for exhibiting a virtual item exchange scheme, including the above.
2. The step of displaying the first virtual item exchange scheme to the backpack interface is: A step of displaying exchange details controls on the backpack interface, wherein the exchange details controls are used to confirm the first virtual item exchange scheme, The steps include: responding to a trigger operation for the exchange detail control and exhibiting the first virtual item exchange scheme to the backpack interface; The method according to claim 1, including the method described in claim 1.
3. The step of exhibiting the first virtual item exchange scheme to the backpack interface in response to a trigger operation on the exchange detail control is: A step in which, in response to a trigger operation on the exchange detail control, virtual item difference information corresponding to each virtual target currently in the item exchange state within the virtual faction is obtained, wherein the virtual item difference information is used to represent the difference between the actual number of virtual items held and the upper limit for each virtual item corresponding to the virtual target, The steps include determining a virtual item exchange scheme suitable for each virtual target in the item exchange state based on virtual item difference information corresponding to each virtual target in the item exchange state, A step of displaying the first virtual item exchange scheme on the backpack interface, wherein the first virtual item exchange scheme includes object information corresponding to other virtual objects in the item exchange state, and the predicted change in the number of virtual items for the first virtual object when each virtual object in the item exchange state performs a virtual item exchange shown in the virtual item exchange scheme. The method according to claim 1 or 2, including the method according to claim 1 or 2.
4. The step of determining a virtual item exchange scheme suitable for each virtual target in the item exchange state, based on the virtual item difference information corresponding to each virtual target in the item exchange state, is: A step of statistically determining the types and quantities of virtual items awaiting exchange within the virtual faction based on virtual item difference information corresponding to each virtual target in the item exchange state, wherein the virtual items awaiting exchange are virtual items corresponding to each virtual target in the item exchange state whose actual number exceeds the upper limit, The steps include determining the number of virtual items to allocate for the virtual items awaiting exchange between each virtual target that is in the item exchange state, The steps include generating a virtual item exchange scheme suitable for each virtual target in the item exchange state, The method according to any one of claims 1 to 3, including
5. If there are at least two virtual targets in the aforementioned item exchange state within the virtual faction, The step of determining the number of virtual items to allocate for the virtual items awaiting exchange between each virtual target that is in the item exchange state is: The steps include determining the lack and possession status of the virtual items awaiting exchange for each virtual target in the item exchange state, based on the type of virtual item awaiting exchange; A step of determining the number of virtual items to be allocated among the virtual targets in the item exchange state, based on the number of virtual items awaiting exchange to be exchanged and the status of the lack and possession of the virtual items awaiting exchange at each virtual target in the item exchange state. The method according to any one of claims 1 to 4, including the method described in any one of claims 1 to 4.
6. The step of determining the number of virtual items to be allocated among the virtual targets in the item exchange state, based on the quantity of the virtual items awaiting exchange and the status of the lack and possession of the virtual items awaiting exchange at each virtual target in the item exchange state, is as follows: If the actual number of virtual items awaiting exchange held by the first target virtual object is less than the actual number of virtual items awaiting exchange held by other virtual objects, the first target virtual object is given priority in determining the target virtual item allocation for the virtual items awaiting exchange that correspond to the first target virtual object. If the actual number of virtual items awaiting exchange held by the first target virtual object is the same as the actual number of virtual items awaiting exchange held by the other virtual objects, and the number of virtual items awaiting exchange missing in the first target virtual object is greater than the number of virtual items awaiting exchange missing in the other virtual objects, then the number of target virtual items to be allocated to the virtual items awaiting exchange corresponding to the first target virtual object is determined preferentially. The method according to any one of claims 1 to 5, including the method described in any one of claims 1 to 5.
7. If there are at least two virtual targets in the item exchange state other than the first virtual target within the virtual faction, the method is as follows: A step of responding to a trigger operation on target information and displaying a target virtual item exchange scheme on the backpack interface, wherein the target virtual item exchange scheme is used to show the result of the change in the number of virtual items predicted from a virtual item exchange between the first virtual object and the virtual object corresponding to the target information. The method according to any one of claims 1 to 6.
8. The aforementioned method, The steps include: obtaining location information in the virtual environment for each virtual target in the aforementioned item exchange state; The steps include determining a target movement point based on the location information and the attribute values of each virtual target in the item exchange state, A step of displaying a location control on the backpack interface, wherein the location control is used to trigger the first virtual object to begin gathering at a location within the virtual camp; A step of responding to a trigger operation on the location control by displaying location information of the target movement location on a virtual map, wherein the location information is used to instruct at least one other virtual object in the item exchange state to move to the target movement location in order to perform a virtual item exchange; The method according to any one of claims 1 to 7, further comprising:
9. The step of displaying the exchange request control on the backpack interface of the first virtual target is: In response to a confirmation operation on the backpack interface, the steps include obtaining the actual number and maximum number of virtual items corresponding to the first virtual object, A step of determining first virtual item difference information for the virtual items corresponding to the first virtual object, based on the actual number of virtual items possessed and the upper limit number of each virtual item corresponding to the first virtual object, wherein the first virtual item difference information is used to represent the difference between the actual number of virtual items possessed and the upper limit number of virtual items corresponding to the first virtual object, The steps include displaying the first virtual item difference information on the backpack interface, If the actual number of at least one type of virtual item possessed by the first virtual object is less than the upper limit, the steps include displaying the exchange request control on the backpack interface, The method according to any one of claims 1 to 8, including the method described in any one of claims 1 to 8.
10. The step of displaying the first virtual item difference information on the backpack interface is: If the actual number of virtual items corresponding to the first virtual target is less than the upper limit, the first virtual item difference information is displayed on the backpack interface with a first display effect. If the actual number of virtual items corresponding to the first virtual target is greater than the upper limit, the first virtual item difference information is displayed on the backpack interface using a second display effect. If the actual number of virtual items corresponding to the first virtual object is the same as the upper limit, the first virtual item difference information is displayed on the backpack interface using a third display effect. The method according to any one of claims 1 to 9, comprising at least one of the steps.
11. The backpack interface further includes an information synchronization control for synchronizing the first virtual item difference information of the first virtual object with other virtual objects within the virtual faction, the first virtual item difference information is used to represent the difference between the actual number of virtual items held and the upper limit for the virtual items corresponding to the first virtual object. The aforementioned method, The method according to any one of claims 1 to 10, further comprising the step of controlling the first virtual object to transmit the first virtual item difference information to other virtual objects in the virtual camp in response to a trigger operation for the information synchronization control.
12. The backpack interface further includes a discard control for triggering the first virtual object to discard surplus virtual items, The aforementioned method, A step in which, in response to a trigger operation for the discard control, the number of virtual items awaiting discard for the first virtual object and the number of virtual items awaiting discard to be discarded are virtual items corresponding to the first virtual object in a quantity greater than the upper limit, The steps include controlling the first virtual object to discard the virtual items awaiting discard based on the number of items to be discarded, and marking the location of the virtual items awaiting discard, A step of controlling the first virtual object to send an item discard message to at least one other virtual object within the virtual faction, wherein the item discard message includes at least one of the type, number, and location marking information of the virtual items awaiting discard; The method according to any one of claims 1 to 11, further comprising:
13. The aforementioned method, The steps include obtaining the actual number of virtual items and the maximum number of virtual items corresponding to the first virtual object, If the actual number of at least one type of virtual item in the first virtual object exceeds the upper limit, the steps include displaying the discard control on the backpack interface, The method according to any one of claims 1 to 12, further comprising:
14. The step of controlling the first virtual target to transition to an item exchange state in response to a trigger operation for the exchange request control is: The further step includes updating the exchange request control to an application cancellation control in response to a trigger operation on the exchange request control, The aforementioned method, The method according to any one of claims 1 to 13, further comprising the step of controlling the first virtual object to move away from the item exchange state in response to a trigger operation for the application cancellation control.
15. The aforementioned method, In the battle interface, if a second virtual target belonging to the virtual faction exists and the second virtual target is in the item exchange state, the steps include obtaining the actual number of virtual items held and the maximum number of virtual items corresponding to the second virtual target, A step of updating and displaying second virtual item difference information for the virtual items corresponding to the second virtual object around the second virtual object, based on the actual number of virtual items possessed and the upper limit number of virtual items corresponding to the second virtual object, wherein the second virtual item difference information is used to represent the difference between the actual number of virtual items possessed and the upper limit number of virtual items corresponding to the second virtual object, The method according to any one of claims 1 to 14, further comprising:
16. The aforementioned method, If the distance between the first virtual object and at least one of the second virtual objects is less than a distance threshold, the step of displaying an item exchange control, A step of determining a second target virtual target whose target distance from the first virtual target is less than the distance threshold in response to a trigger operation for the item exchange control, A step of controlling the first virtual target and the second target virtual target to perform a virtual item exchange based on the first virtual item difference information of the first virtual target and the second virtual item difference information of the second target virtual target, The method according to any one of claims 1 to 15, further comprising:
17. A display device for a virtual item exchange scheme, A first display module for displaying an exchange request control on the backpack interface of a first virtual target, wherein the exchange request control is used to trigger the first virtual target to initiate a virtual item exchange request within a virtual faction, and the first display module... A second display module for controlling the first virtual target to transition to an item exchange state in response to a trigger operation for the exchange request control, A third display module for displaying a first virtual item exchange scheme on the backpack interface, wherein the first virtual item exchange scheme is used to show the result of the change in the number of virtual items predicted from the virtual item exchange performed by the first virtual object, and the third display module is used to show the result of the change in the number of virtual items. An exhibition device for a virtual item exchange scheme, equipped with the necessary features.
18. A computer device comprising a processor and memory, wherein at least a portion of a program is stored in the memory, and the at least portion of the program is loaded and executed by the processor to realize a method for displaying a virtual item exchange scheme according to any one of claims 1 to 16.
19. A computer-readable storage medium having at least a portion of a program stored therein, wherein the at least portion of the program is loaded and executed by a processor to realize a method for displaying a virtual item exchange scheme according to any one of claims 1 to 16.
20. A computer program product comprising computer instructions, wherein, when executed by a processor, the computer instructions realize a method for displaying a virtual item exchange scheme as described in any one of claims 1 to 16.