Virtual item interaction method and device, electronic equipment and computer program product

By adjusting the backpack information display based on the distance of virtual objects in shooting games, the problem of lack of distance perception in item interaction between teammates is solved, achieving the effect of simplifying operation and improving the interactive experience.

CN121668674APending Publication Date: 2026-03-17GUANGZHOU BOGUAN TELECOMM TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610108335.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-01-26
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

In existing shooting games, the interaction between teammates using items lacks distance awareness, resulting in cumbersome and unintuitive operation.

Method used

The graphical user interface is displayed on the terminal device, and the display status of backpack information is dynamically adjusted based on the distance between virtual objects. This includes showing or hiding backpack information icons when specific distance conditions are met, and providing differentiated visual cues when the distance is closer.

Benefits of technology

It simplifies the user interaction process, reduces unnecessary interface switching and data transmission, enhances the interactive experience and fun of the game, and reduces the resource consumption of devices and servers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121668674A_ABST
    Figure CN121668674A_ABST
Patent Text Reader

Abstract

The invention provides a virtual item interaction method which comprises the steps that a graphical user interface is displayed through terminal equipment, the graphical user interface comprises a game scene and a first virtual object located in the game scene, and the first virtual object corresponds to the terminal equipment; distance information between a first virtual object and a second virtual object is obtained, and the first virtual object and the second virtual object belong to the same virtual team; when the distance information meets a first distance condition, controlling to display a knapsack information identifier at a position corresponding to the azimuth information of the second virtual object in the graphical user interface; and when the distance information meets a second distance condition, controlling to cancel display of the backpack information identifier of the second virtual object. The display state of the knapsack information is dynamically adjusted based on the distance between the virtual objects, the user interaction operation process is simplified, unnecessary interface switching and operation steps are reduced, and the interaction experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of game technology, and in particular to a virtual item interaction method, device, electronic device, and computer program product. Background Technology

[0002] Shooting games are a genre of games where weapon shooting is the core gameplay. Players typically control characters in a virtual environment, engaging in tactical cooperation, resource management, and target elimination to achieve victory. In related technologies, players can usually view their inventory information and manage items, as well as interact with teammates using items. However, these systems often employ fixed interaction mechanisms, requiring players to use specific menus or interface operations to view and exchange items. Summary of the Invention

[0003] This disclosure provides a virtual item interaction method, device, electronic device, and computer program product to solve the problem of lack of distance perception in item interaction between teammates.

[0004] In a first aspect, this disclosure provides a virtual item interaction method, comprising: displaying a graphical user interface through a terminal device, the graphical user interface including a game scene and a first virtual object located in the game scene, the first virtual object corresponding to the terminal device; acquiring distance information between the first virtual object and a second virtual object, wherein the first virtual object and the second virtual object belong to the same virtual team; when the distance information meets a first distance condition, controlling the display of a backpack information identifier at the position corresponding to the orientation information of the second virtual object in the graphical user interface; and controlling the cancellation of the display of the backpack information identifier of the second virtual object when the distance information meets a second distance condition.

[0005] Optionally, the method further includes: controlling the display of an object identifier of the second virtual object on a graphical user interface, wherein the object identifier is configured to indicate the orientation information of the second virtual object in the game scene.

[0006] Optionally, the backpack information identifier includes at least one of the following: the item identifier of the item held by the second virtual object; the item identifier of the item that is not in use by the second virtual object; the item identifier corresponding to the item that is not in use by the second virtual object and matches the first virtual object; the item identifier of the item held by the second virtual object and matches the first virtual object; and the backpack identifier.

[0007] Optionally, the method further includes: when the distance information meets the third distance condition, displaying the backpack information identifier through the first target display parameter, wherein the distance threshold corresponding to the third distance condition is not greater than the distance threshold corresponding to the first distance condition.

[0008] Optionally, the method further includes: when the distance information meets the target distance condition, displaying distance prompt information in a preset area of ​​the user interface, wherein the distance prompt information is used to indicate the distance that the first virtual object needs to move to enter the target range, and the target distance condition includes at least one of the following: a first distance condition and a second distance condition.

[0009] Optionally, when the distance information meets the target distance condition, the step of displaying distance prompt information in a preset area of ​​the user interface includes: when the distance information meets the first distance condition, controlling the display of the second virtual object's character identifier and distance prompt information at the position of the backpack control in the graphical user interface; when the distance information meets the third distance condition, controlling the display of the second virtual object's character identifier and / or the item identifier of the virtual item held by the second virtual object at the position of the backpack control in the graphical user interface.

[0010] Optionally, the method further includes: when the distance information meets the third distance condition, in response to the backpack opening command, displaying the virtual items of the first virtual object and the virtual items of the second virtual object in the backpack interface.

[0011] Optionally, the step of displaying the virtual items of the first virtual object and the virtual items of the second virtual object in the backpack interface includes: displaying the virtual items of the first virtual object in the backpack interface, and displaying at least one virtual item of the second virtual object whose distance information from the first virtual object satisfies a third distance condition according to a preset sorting rule.

[0012] Optionally, the virtual items displayed in the backpack interface for the second virtual object include at least one of the following: items held by the second virtual object; items that the second virtual object is not in use; items that the second virtual object is not in use and that match the first virtual object; and items held by the second virtual object and that match the first virtual object.

[0013] Optionally, the backpack interface includes an object identifier of a second virtual object that satisfies a third distance condition with the first virtual object; the method further includes at least one of the following: in response to a first trigger operation targeting virtual items of the second virtual object and a first target area, controlling the sending of a request to the client corresponding to the second virtual character, wherein the first target area includes at least one of the following areas: other areas of the backpack interface that are not filled with virtual items of the second virtual object, the object identifier of the first virtual object displayed in the backpack interface, and an equipment switching area included in the graphical user interface; in response to a second trigger operation targeting virtual items of the first virtual object and the second target area, controlling the sending of a gift request to the client corresponding to the second virtual character corresponding to the second target area, wherein the second target area includes at least one of the following areas: the object identifier of the second virtual object displayed in the backpack interface, and the area of ​​the backpack interface filled with virtual items of the second virtual object.

[0014] Optionally, the method further includes: in response to a second sub-triggering operation on a virtual prop for a first virtual object, controlling the display of an object identifier of a second virtual object that matches the virtual prop affected by the second sub-triggering operation via a second target display parameter.

[0015] Secondly, this disclosure provides a virtual item interaction device, comprising: a display module configured to display a graphical user interface via a terminal device, the graphical user interface including a game scene and a first virtual object located in the game scene, the first virtual object corresponding to the terminal device; a distance acquisition module configured to acquire distance information between the first virtual object and a second virtual object, wherein the first virtual object and the second virtual object belong to the same virtual team; and a control module configured to, when the distance information meets a first distance condition, control the display of a backpack information identifier at a position corresponding to the orientation information of the second virtual object in the graphical user interface; and control the cancellation of the display of the backpack information identifier of the second virtual object when the distance information meets a second distance condition.

[0016] Thirdly, this disclosure provides an electronic device, including: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to perform the steps in the virtual prop interaction method described in any of the preceding claims.

[0017] Fourthly, this disclosure provides a computer program product having a computer program stored thereon, which, when executed by a processor, is implemented to perform the steps in the virtual prop interaction method described in any of the preceding claims.

[0018] This disclosure provides a virtual item interaction method, device, electronic device, and program product. The method provided in this embodiment dynamically adjusts the display state of backpack information based on the distance between virtual objects, simplifying the user interaction process, reducing unnecessary interface switching and operation steps, and improving the interactive experience. Simultaneously, it introduces a distance-based item interaction mechanism, making gameplay more diverse and enhancing the game's fun and strategic aspects. Furthermore, by displaying and processing backpack information in a targeted manner, unnecessary data processing and transmission are avoided, reducing the resource consumption of devices and servers. Attached Figure Description

[0019] Figure 1 A schematic diagram of a system architecture according to an embodiment of this disclosure is shown;

[0020] Figure 2 A flowchart illustrating a method for virtual prop interaction according to an embodiment of this disclosure is shown. Figure 3 A schematic diagram of an interface for displaying backpack information identifiers is shown in an embodiment of this disclosure; Figure 4 This diagram illustrates an interface for canceling the display of backpack information identifiers according to an embodiment of the present disclosure. Figure 5 This diagram illustrates yet another interface for displaying backpack information identifiers according to an embodiment of the present disclosure; Figure 6 A schematic diagram of a backpack display interface according to an embodiment of the present disclosure is shown; Figure 7 A schematic diagram of a combined backpack display interface according to an embodiment of this disclosure is shown; Figure 8 This diagram illustrates an interaction diagram of sending a request according to an embodiment of the present disclosure; Figure 9 This diagram illustrates the interface in an embodiment of the present disclosure where a teammate receives a request. Figure 10 This diagram illustrates an interaction diagram of sending a gift request according to an embodiment of the present disclosure; Figure 11 This diagram illustrates the interface of a teammate receiving a gift request in an embodiment of this disclosure. Figure 12 A schematic diagram of a virtual prop interaction device according to an embodiment of the present disclosure is shown; Figure 13 A schematic diagram of an electronic device according to an embodiment of the present disclosure is shown. Detailed Implementation

[0021] Exemplary embodiments of this disclosure will be described more fully below with reference to the accompanying drawings.

[0022] The accompanying drawings are schematic illustrations of this disclosure and are not necessarily drawn to scale. Some block diagrams shown in the drawings may be functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in hardware modules or integrated circuits, or in networks, processors, or microcontrollers. Implementations can be carried out in various forms and should not be construed as limited to the examples set forth herein. The features, structures, or characteristics described in this disclosure can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough description of embodiments of this disclosure. However, those skilled in the art will recognize that one or more specific details may be omitted when implementing the technical solutions of this disclosure, or other methods, components, apparatuses, steps, etc., may be used to replace one or more specific details.

[0023] To make the objectives, technical solutions, and advantages of this disclosure clearer, the embodiments of this disclosure will be described in further detail below with reference to the accompanying drawings.

[0024] Figure 1 A system architecture diagram of the operating environment of this embodiment is shown. This system architecture may include a first client 110, a second client 120, and a server 130. The first client 110 and the second client 120 are terminal devices that have installed and run game client programs, such as mobile phones, tablets, personal computers, smart wearable devices, game consoles, etc. They have display functions and can display a graphical user interface, which may include the operating system interface or the application interface. The first client 110 is the client used by the first game account, and the second client 120 is the client used by the second game account; that is, the game client program running on the first client 110 is logged into the first game account, and the game client program running on the second client 120 is logged into the second game account. The server 130 generally refers to the backend system providing game services in this exemplary embodiment; it can be a single server or a cluster of multiple servers. A game server program is deployed on the server 130 to perform server-side game data processing. The first client 110, the second client 120, and the server 130 can be connected via wired or wireless communication links for data transmission. For example, the first client 110 can send information (such as an editing assistance request) to the second client 120 through the server 130, and the second client 120 can send information (such as an edited first game lineup) to the first client 110 through the server 130. In addition, the first client 110 and the second client 120 can also communicate directly through wired or wireless means.

[0025] In one implementation, the above method can be implemented and executed based on a cloud interaction system. The cloud interaction system can be based on the aforementioned system architecture. Various cloud applications can run under the cloud interaction system, such as cloud gaming. Taking cloud gaming as an example, cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operating mode, the game program's execution and the game screen presentation are separated. The storage and execution of in-game control and interaction methods are completed on the cloud gaming server (such as the aforementioned server 130). The cloud gaming client (such as the aforementioned first client 110 and second client 120) includes receiving and sending data, as well as presenting the game screen. For example, the cloud gaming client can be a display device with data transmission capabilities located close to the user, such as a mobile terminal, television, computer, or PDA; while the cloud gaming server in the cloud performs information processing. When playing or editing, the player operates the cloud gaming client to send operation commands to the cloud gaming server. The cloud gaming server runs the game according to the operation commands, encodes and compresses game screen data, returns it to the cloud gaming client via the network, and finally decodes and outputs the game screen through the cloud gaming client.

[0026] This embodiment provides a method for interacting with virtual props. Figure 2 This is a flowchart of a virtual prop interaction method according to an embodiment of the present disclosure, such as... Figure 2 As shown, the process includes the following steps: Step S110: Display a graphical user interface through a terminal device. The graphical user interface includes a game scene and a first virtual object located in the game scene. The first virtual object corresponds to the terminal device. Step S120: Obtain the distance information between the first virtual object and the second virtual object, wherein the first virtual object and the second virtual object belong to the same virtual team; Step S130: When the distance information meets the first distance condition, control the display of the backpack information identifier at the position corresponding to the orientation information of the second virtual object in the graphical user interface; Step S140: When the distance information meets the second distance condition, control to cancel the display of the backpack information identifier of the second virtual object.

[0027] The method provided in this embodiment achieves intelligent visual control of backpack information between teammates based on dynamic distance thresholds. When the distance between the first virtual object and the second virtual object meets the first distance condition, the system automatically displays the backpack information icon of the second virtual object in the graphical user interface, enabling players to perceive the exchangeable items held by their teammates in a timely manner, thereby effectively improving the interactive experience in multiplayer cooperative scenarios. At the same time, by displaying the backpack information icon at the position corresponding to the location information of the second virtual object, players can intuitively obtain the item status of their teammates without additional operations, enriching the tactical expression of team cooperation and the diversity of gameplay. In addition, the display of the backpack information icon is automatically canceled when the distance information meets the second distance condition, effectively reducing interface information redundancy, reducing the rendering load and data transmission overhead of the graphical user interface, and resolving the technical contradiction between real-time synchronization of teammate information and interface performance optimization in multiplayer online game scenarios.

[0028] Part Two The steps described above are explained in detail below.

[0029] In step S110, when applied, the virtual prop interaction method provided in this embodiment is applied to a terminal device, which can be an electronic device with graphics display and network communication capabilities, such as a smartphone, tablet computer, personal computer, or game console.

[0030] Specifically, the terminal device renders and presents a graphical user interface through its display module. This graphical user interface carries the visual content of the game scene and the first virtual object located in the game scene, where the first virtual object serves as the avatar of the current terminal device user in the virtual world.

[0031] In this context, the game scene can be the virtual environment space rendered in the graphical user interface. It typically serves to provide a space for virtual objects to move around, to carry out gameplay rules, to create an immersive game atmosphere, and to support real-time interaction among multiple players, thus forming the basic spatial framework of the game world.

[0032] In one alternative implementation, the game scene can be an open battlefield environment with diverse terrain features. For example, in tactical competitive games, the game scene includes various terrain areas such as city ruins, mountain jungles, rivers, and lakes, where the first virtual object and its teammates can move, search for items, and fight against enemy virtual objects.

[0033] The first virtual object can be a virtual character entity controlled by the user of the current terminal device in the game scene. It typically has the functions of receiving and executing user operation commands, interacting with other virtual objects and environmental elements in the game scene, carrying and using virtual props, and participating in the core gameplay.

[0034] In step S120, specifically, the system calculates the positions of the first virtual object and the second virtual object in the game scene in real time to obtain the distance information between them. This distance information is used to determine whether a specific distance condition is met to trigger the corresponding interface display logic. The first virtual object and the second virtual object are the same virtual team.

[0035] The distance information can be a numerical value or a range representing the spatial interval between the first and second virtual objects. It typically serves to quantify the relative positional relationship between the two virtual objects, trigger interface display logic corresponding to different distance thresholds, and constrain the effective range of virtual prop interaction behavior.

[0036] The second virtual object can be a virtual character entity controlled by another player who belongs to the same virtual team as the first virtual object. Virtual teams can be logical groups that associate and collaborate multiple virtual objects within a game system.

[0037] In one alternative implementation, a virtual team can be a temporary team with a fixed maximum number of members. For example, in a four-player team-based tactical competitive game, a virtual team can contain a maximum of four members. The team automatically disbands after the match ends, and players can choose to continue playing with some of their teammates or be re-matched.

[0038] In a specific application, in a four-player team tactical competitive game, the first virtual object controlled by the player and the second virtual objects controlled by the other three teammates belong to the same virtual team. After the four players land in the same area of ​​the game scene, they disperse to search for items. The system continuously obtains the distance information between the first virtual object and each of the second virtual objects. At the current moment, the distance information between the first virtual object and the nearest teammate is 6 meters, and the distance information between the first virtual object and the other two teammates is 15 meters and 23 meters respectively. This distance information will be used to determine whether the distance condition for triggering the display of the backpack information icon is met.

[0039] In step S130, specifically, after obtaining the distance information between the first virtual object and the second virtual object, the distance information is judged. When the judgment result shows that the distance information meets the preset first distance condition, the corresponding display position is determined in the graphical user interface according to the orientation information of the second virtual object, and the backpack information identifier associated with the second virtual object is controlled to be displayed at the position.

[0040] The first distance condition can be a pre-set threshold condition used to determine whether the distance information reaches the threshold for triggering the display of the backpack information identifier. It typically serves as a trigger criterion for the backpack information identifier display logic; when the distance information meets this condition, the system executes the corresponding display control operation.

[0041] In an optional implementation, the first distance condition can be that the distance information is less than or equal to a first distance threshold. For example, in a virtual prop interaction scenario, the first distance threshold is set to 10 meters. When the system detects that the distance information between the first virtual object and the second virtual object is 8 meters, since 8 meters is less than 10 meters, it is determined that the distance information meets the first distance condition, and at this time, the backpack information icon is displayed.

[0042] In an optional implementation, the first distance condition may be that the distance information is within a preset distance range.

[0043] In an optional implementation, the first distance condition can be that the distance level corresponding to the distance information reaches a preset level. For example, in a virtual prop interaction scenario, the system divides the distance into three levels: "long distance", "medium distance" and "short distance". The first distance condition is set to the distance level being "medium distance" or "short distance". When the distance level between two virtual objects is detected to be "medium distance", it is determined that the first distance condition is met.

[0044] The orientation information can be spatial positioning information representing the location and / or orientation of the second virtual object in the game scene. It typically serves to provide a location reference for the display position of the backpack information icon, enabling the backpack information icon to be displayed in the graphical user interface area corresponding to the spatial location of the second virtual object.

[0045] In an optional implementation, the orientation information can be the three-dimensional coordinates of the second virtual object in the game scene. For example, in a virtual item interaction scene, the second virtual object is located at game scene coordinates (150, 80, 25). The system determines the orientation information of the second virtual object based on these three-dimensional coordinates and maps these coordinates to the corresponding position in the graphical user interface to display the backpack information icon.

[0046] The backpack information identifier can be a visual identifier element used to indicate relevant information about the backpack of the second virtual object. It usually serves to intuitively display to the user the information of the items held or interactable by the second virtual object, making it easy for the user to quickly know the equipment status of their teammates in order to perform subsequent item interaction operations.

[0047] In an optional implementation, the backpack information identifier can be a backpack icon displayed above the head of the second virtual object. For example, in a virtual item interaction scenario, when the distance between the first virtual object and the second virtual object meets a first distance condition, the system controls the display of a backpack-shaped icon above the head of the second virtual object to indicate to the user that the teammate has viewable or interactive backpack information.

[0048] In an alternative implementation, the backpack information identifier can be an item notification bubble displayed near the second virtual object. For example, in a virtual item interaction scenario, when the distance meets a first distance condition, the system displays a bubble-like identifier above the second virtual object's head, containing a thumbnail icon of the specific item held by the teammate.

[0049] In an optional implementation, the backpack information identifier can be a quantity indicator associated with the second virtual object. For example, in a virtual item interaction scenario, when the distance meets a first distance condition, the system displays an identifier containing a number in the graphical user interface at the location corresponding to the second virtual object's position. This number indicates the quantity of interactive items in the second virtual object's backpack.

[0050] like Figure 3As shown, in a specific application, in a virtual item interaction scenario, both the first virtual object and the second virtual object belonging to the same virtual team are located in the game scene, and the system obtains the distance information between them in real time. When the system detects that the distance between the first and second virtual objects is 7 meters, it determines that the distance information meets the preset first distance condition (e.g., the distance is less than or equal to 10 meters). The system then obtains the position information of the second virtual object in the game scene, determines that the second virtual object is located slightly to the left in front of the first virtual object, and then controls the display of a backpack information icon in the graphical user interface at the position corresponding to the position information. This icon is presented in the form of a bubble above the head of the second virtual object, prompting the user that the teammate's backpack information is available for viewing.

[0051] In step S140, specifically, during the continuous monitoring of the distance information between the first virtual object and the second virtual object, the distance information is judged in real time. When the judgment result shows that the distance information meets the preset second distance condition, the backpack information identifier associated with the second virtual object displayed in the graphical user interface is canceled.

[0052] The second distance condition can be a pre-set threshold condition used to determine whether the backpack information identifier needs to be hidden. It usually serves as a trigger criterion for the backpack information identifier hiding logic. When the distance information meets this condition, the system performs a control operation to cancel the display to reduce redundancy of interface information.

[0053] In an optional implementation, the second distance condition can be that the distance information is greater than a second distance threshold. For example, in a virtual prop interaction scenario, the second distance threshold is set to 10 meters. When the system detects that the distance information between the first virtual object and the second virtual object has changed to 12 meters, since 12 meters is greater than 10 meters, it is determined that the distance information meets the second distance condition, and at this time, the system controls the cancellation of the display of the backpack information icon of the second virtual object.

[0054] In an optional implementation, the second distance condition can be that the distance information exceeds a preset effective interaction distance range.

[0055] The "Cancel Display" option allows you to remove or hide displayed backpack information icons from the graphical user interface. It typically serves to eliminate redundant visual information; when the distance between two virtual objects exceeds the effective interaction range, unnecessary icons are removed to maintain interface simplicity.

[0056] In a specific application, in a virtual prop interaction scenario, the first virtual object and the second virtual object are initially within a distance range that satisfies the first distance condition, and the graphical user interface already displays the backpack information of the second virtual object, such as... Figure 3As shown, as the game progresses, the first virtual object moves away from the second virtual object, and the system continuously monitors the distance between them. When the system detects that the distance has increased from 8 meters to 13 meters, it determines that the distance meets a preset second distance condition (e.g., the distance is greater than 10 meters). The system then controls the removal of the backpack information icon from the second virtual object's display. The backpack icon, which was originally displayed above the second virtual object's head, disappears from the graphical user interface, thus avoiding unnecessary interference with the user's view. Figure 4 As shown.

[0057] A virtual prop interaction method provided in one embodiment of this application further includes: Step S210: Control the display of the object identifier of the second virtual object on the graphical user interface, wherein the object identifier is configured to indicate the orientation information of the second virtual object in the game scene.

[0058] By using the method provided in this embodiment, users can intuitively know the specific location of their teammates in the game scene by displaying the object identifier of the second virtual object on the graphical user interface, thereby effectively solving the technical problem of difficulty in perceiving the location of teammates in multi-player cooperative scenarios.

[0059] Specifically, during game operation, when the first virtual object and the second virtual object are in the same virtual team, the system controls the generation and display of an object identifier corresponding to the second virtual object on the graphical user interface. This object identifier is configured to indicate to the user the current location information of the second virtual object in the game scene, so that the user can know the position status of the teammate by observing the object identifier.

[0060] The object identifier can be a visual graphic element used to represent the identity or location of the second virtual object. It typically serves to provide users with a reference to their teammates' locations within the graphical user interface, facilitating quick identification of teammates and enabling tactical coordination.

[0061] In an optional implementation, the object identifier can be a teammate serial number, representing the number of different teammates using symbols such as numbers or letters. For example, ... Figure 4 As shown, in the multiplayer team mode of shooting games, when the first virtual object controlled by the player forms a four-person team with three teammates, the system displays the serial numbers "2", "3", and "4" in the graphical user interface to indicate the location information of the three second virtual objects in the game scene.

[0062] In an alternative implementation, the object identifier can be a teammate avatar identifier, which identifies the location of different teammates by displaying the avatar icons of teammate characters.

[0063] In an optional implementation, the object identifier can be a teammate's nickname identifier, which identifies the teammate's location information by displaying the teammate's game nickname in the interface.

[0064] In this embodiment, the object identifier is permanently displayed to indicate the location of teammates during gameplay. Furthermore, when the distance between a player and a teammate meets a first distance condition, a backpack information identifier is displayed near the object identifier, such as... Figure 3 As shown, this method can effectively convey information about the items in the backpacks of different teammates.

[0065] In a virtual item interaction method provided in one embodiment of this application, the backpack information identifier includes: The item identifier of the item held by the second virtual object; The item identifier of the second virtual object's idle items; The item identifier corresponding to the idle item of the second virtual object that matches the first virtual object; The item identifier of an item held by the second virtual object that matches the first virtual object; Backpack logo.

[0066] The method provided in this implementation allows users to intuitively obtain the item holding status of their teammates through diverse backpack information icons, effectively solving the technical problem of players finding it difficult to quickly determine the item status of their teammates in team scenarios. Specifically, by providing a multi-layered icon system including held item icons, idle item icons, matched item icons, and backpack icons, the system can display the most relevant item information to users based on the actual situation, avoiding interface clutter caused by information redundancy and improving the interactive experience.

[0067] The above plan will be explained in detail below.

[0068] Specifically, the backpack information icon, as a visual element used to indicate the item status of a second virtual object, can present the teammate's item information in various forms, allowing the user corresponding to the first virtual object to quickly identify and determine whether there are items that can be exchanged collaboratively. Different icons have different display timings and conditions. During gameplay, the display of information icons representing different information will be controlled according to different situations. For example, if the user possesses an item needed by a teammate, the item icon will be displayed; otherwise, only the backpack icon will be displayed.

[0069] The item identifier of the item held by the second virtual object can be a visual identifier used to indicate the item currently equipped or used by the second virtual object. It serves as an information carrier reflecting the main combat equipment status of the second virtual object. It typically helps the user of the first virtual object understand the current equipment configuration of their teammates, thereby assessing their combat capabilities and cooperation needs.

[0070] In one optional implementation, the item identifier of the prop held by the second virtual object can be configured as a thumbnail identifier for a weapon-type prop. For example, in a shooting game scenario, when the second virtual object is currently holding a sniper rifle, the system can display a small sniper rifle icon above the second virtual object's head, allowing the user of the first virtual object to understand that their teammate's current primary weapon type is a long-range sniper weapon by observing this icon.

[0071] In an optional implementation, the item identifier of the item held by the second virtual object can be configured as the level identifier of a protective equipment item.

[0072] In an optional implementation, the item identifier of the item held by the second virtual object can be configured as a quantity identifier of a consumable item.

[0073] The item identifier for the second virtual object's idle items can be a visual identifier used to indicate items that the second virtual object is currently not equipped or used. It serves as an information carrier reflecting the exchangeable resources in the second virtual object's inventory. It typically helps the user of the first virtual object identify unused item resources owned by teammates, thereby discovering potential item exchange opportunities.

[0074] In an optional implementation, the item identifier for the second virtual object's unused items can be configured as an identifier for accessory items. For example, in a shooting game scenario, when the second virtual object has a stock accessory in its backpack that is not installed on any weapon, the system can display an icon of the stock above the virtual object's head. After seeing the unused accessory identifier, the user of the first virtual object can consider requesting the item from their teammates if their own weapon is missing a stock.

[0075] In this context, the item identifier corresponding to the idle item of the second virtual object that matches the first virtual object can be a visual identifier used to indicate an unused item of the second virtual object that is suitable for the first virtual object. This typically helps the user of the first virtual object quickly locate the idle item of a teammate that best suits their needs, reducing information filtering costs.

[0076] In an optional implementation, the item identifier corresponding to the item matching the first virtual object can be configured as an accessory identifier compatible with the first virtual object's current weapon. For example, in a shooting game scenario, when the first virtual object holds a rifle but lacks a high-powered scope, while the second virtual object happens to have an 8x scope in its inventory, the system can highlight the 8x scope icon in the second virtual object's inventory information, indicating to the user of the first virtual object that a highly matching interchangeable item exists. In an optional implementation, the item identifier corresponding to the item that matches the first virtual object can be configured as an ammunition identifier that matches the ammunition requirements of the first virtual object.

[0077] In an optional implementation, the item identifier corresponding to the item that matches the first virtual object can be configured as an equipment identifier that matches the upgrade requirements of the first virtual object's protective equipment.

[0078] In this context, the item identifier of an item held by the second virtual object that matches the first virtual object can be a visual identifier indicating that the item currently in use by the second virtual object is also applicable to the first virtual object. It serves as an information carrier reflecting the compatibility between the teammate's currently used item and their own equipment. Typically, it helps the user of the first virtual object understand whether the item their teammate is using is also suitable for them, thereby assessing the feasibility of requesting the teammate to temporarily relinquish the item in a specific situation.

[0079] The backpack icon can be a general visual identifier used to indicate that the second virtual object has viewable or exchangeable items. It is a general backpack status indicator provided when specific item information cannot be displayed. It typically serves to inform the user of the first virtual object that their teammate has the ability to exchange items, even when the second virtual object does not have any idle or matching items.

[0080] In an optional implementation, the backpack icon can be configured as a uniform backpack icon. For example, in a team game scenario, when the second virtual object's backpack contains no idle items and / or the items it holds do not match those of the first virtual object, the system can display a standard backpack icon above the second virtual object's head, indicating that the teammate is in an interactive state but there are currently no recommended exchange items. Figure 3 As shown.

[0081] In an optional implementation, the backpack icon can be configured as a backpack icon with a capacity indicator. For example, in a resource collection scenario, when the second virtual object has no matching items but still has remaining space in its backpack, the system can display a backpack icon with a capacity progress bar. After seeing this icon, the user of the first virtual object can determine whether their teammate is capable of receiving the items they are gifting.

[0082] like Figure 3 As shown in the exemplary application of this embodiment, in the team mode of a shooting survival game, the first virtual object controlled by the player cooperates with teammates number 2 and 3 in the game scene. When the distance between the first virtual object and teammates number 2 and 3 meets a first distance condition, the system displays backpack information icons at the corresponding positions of teammates number 2 and 3 in the graphical user interface. At this time, teammate number 2's backpack contains several items, including unused magazine attachments and stock attachments, which match the first virtual object's current weapon. Therefore, magazine attachment icons and stock attachment icons are displayed above teammate number 2's head. Meanwhile, teammate number 3 does not have any item attachments matching their teammates, so the backpack information icon displays a generic backpack icon, indicating that the teammate is in an interactive state but there are currently no specific item recommendations.

[0083] In one embodiment of this application, a virtual prop interaction method is provided, which further includes: Step S310: When the distance information meets the third distance condition, the backpack information identifier is displayed through the first target display parameter, wherein the distance threshold corresponding to the third distance condition is not greater than the distance threshold corresponding to the first distance condition.

[0084] The method provided in this embodiment enables backpack information identification to be presented through differentiated display parameters when the distance between the first virtual object and the second virtual object is closer.

[0085] The above plan will be explained in detail below.

[0086] Specifically, after obtaining the distance information between the first virtual object and the second virtual object, it can be determined whether the distance information meets the third distance condition. When the third distance condition is met, the backpack information identifier is displayed through the first target display parameter to distinguish it from the display effect when the first distance condition is met but the third distance condition is not met. The distance threshold corresponding to the third distance condition is configured to be no greater than the distance threshold corresponding to the first distance condition.

[0087] The third distance condition can be used to determine whether the distance between the first virtual object and the second virtual object has reached a closer level. It usually has the function of triggering differentiated display effects when the distance meets a more stringent threshold, so that players can intuitively perceive that the current distance with their teammates is close enough to perform deeper item interaction operations.

[0088] In an optional implementation, the third distance condition can be configured such that the distance between the first virtual object and the second virtual object is no greater than a preset second distance threshold, which is less than or equal to the first distance threshold corresponding to the first distance condition. For example, in a multiplayer team-based competitive game, the distance threshold corresponding to the first distance condition is 2 to 10 meters, meaning that when the distance between a teammate and the player-controlled character is within 10 meters, the backpack information icon is displayed. The distance threshold corresponding to the third distance condition is configured to be 2 meters. When a teammate enters the 2-meter range, the third distance condition is met, and the backpack information icon will be displayed differently based on the first target display parameters.

[0089] Furthermore, the third distance condition is configured to trigger a mode that merges the backpacks of teammates. That is, when the backpack interface is opened, the item information of other teammates who meet the third distance condition is displayed, and item gift messages or requests for items can be sent directly to teammates through the merged backpack. This, in turn, triggers the permission for item interaction between teammates.

[0090] The first target display parameters can be a set of parameters used to control the visual effect of backpack information icons in the graphical user interface. They typically serve to convey information about changes in distance status to the player by altering the display appearance, allowing the player to intuitively perceive through visual differences that the current distance to teammates has met the third distance condition for closer proximity.

[0091] In an optional implementation, the first target display parameter may include a color parameter configured to switch the display color of the backpack information identifier from a default color to a highlight color. For example, such as Figure 5 As shown, when the distance between the character controlled by the first virtual object and teammate number 2 decreases from 5 meters to within 2 meters, the system determines that the third distance condition is met. At this time, the color of the backpack information icon displayed above the teammate's head changes from the original light color (e.g., ...). Figure 5 The backpack information icon above teammate #3 in the game turns dark to highlight the player and indicate that they have entered the distance range where backpack merging reference can be triggered.

[0092] In an optional implementation, the first target display parameter may include a size parameter, configured to enlarge the display size of the backpack information identifier. In an alternative implementation, the first target display parameter may include motion effect parameters configured to add a blinking or breathing light effect to the backpack information identifier.

[0093] The backpack information identifier, as described in the above embodiments, can be an icon representing a specific accessory, such as... Figure 5The magazine attachments and stock attachments displayed above teammates #2 and #4 indicate that teammates #2 and #4 possess unused attachments and / or items compatible with the player, and are currently within exchangeable range; alternatively, a backpack icon could be used. Figure 5 The backpack icon displayed above teammate number 3's head, rather than a specific item icon, indicates that although they are within interactive range, there are currently no suitable items recommended. This usually serves to visually display the teammate's item status to the player controlling the primary virtual object, allowing them to quickly understand their teammate's carried items without opening the inventory interface.

[0094] like Figure 5 As shown in an exemplary application of this embodiment, the first virtual object controlled by the player is collecting resources in a town area of ​​the game scene, while the second virtual object (teammate number 2) is located in another building nearby. As the first virtual object gradually approaches the location of the second virtual object, and the distance between them decreases from 6 meters to 2 meters, the system detects that the distance information changes from meeting the first distance condition to simultaneously meeting the third distance condition. At this time, the magazine attachments and stock attachments that were originally displayed above the head of the second virtual object in the graphical user interface are switched to be displayed through the first target display parameters. By observing this color change, the player can clearly know that the current distance with the teammate is close enough, and can click to open the backpack to view the item information of both sides in the backpack merge reference mode and exchange items.

[0095] A virtual prop interaction method provided in one embodiment of this application further includes: Step S410: When the distance information meets the target distance condition, a distance prompt message is displayed in a preset area of ​​the user interface. The distance prompt message is used to indicate the distance that the first virtual object needs to move to enter the target range. The target distance condition includes at least one of the following: a first distance condition and a third distance condition.

[0096] The method provided in this embodiment enables the system to dynamically display distance prompts in a preset area of ​​the user interface when the distance between the first virtual object and the second virtual object meets the target distance condition. This allows players to intuitively understand how far they are from their teammates and how far they need to move to enter the interactive target range.

[0097] The above plan will be explained in detail below.

[0098] In step S410, specifically, in a game scenario where the first virtual object and the second virtual object are in the same virtual team, the system continuously monitors the distance information between them and compares this distance information with a preset target distance condition. When the distance information meets the target distance condition, the system generates and displays distance prompt information within a preset area of ​​the graphical user interface. This distance prompt information conveys the distance difference between the player controlling the first virtual object's current position and the target interaction range, thereby indicating the specific distance the first virtual object needs to move towards the second virtual object.

[0099] The target distance condition can be a pre-configured distance threshold range used by the system to determine whether to trigger the display of distance prompt information.

[0100] In an optional implementation, the target distance condition can be a first distance condition, which corresponds to a range of conditions with a larger distance threshold. For example, in a game, the first distance condition can be set to a distance greater than 2 meters and less than or equal to 10 meters. When the distance between the first virtual object and the second virtual object is 8 meters, the first distance condition is met, and the system displays a distance prompt message in a preset area: "6 meters away from teammate's package can be combined".

[0101] In an optional implementation, the target distance condition can be a third distance condition, which corresponds to a range of conditions with a smaller distance threshold. For example, in a game, the third distance condition is set to a distance of less than or equal to 2 meters. When the distance between the first virtual object and the second virtual object is 1.5 meters, the third distance condition is met, and the system displays a prompt message in a preset area indicating that the user has entered the interactive range and updates the corresponding interface display status.

[0102] In an optional implementation, the target distance condition may include a combination of a first distance condition and a third distance condition. For example, the system is configured with a first distance condition of 2 to 10 meters and a third distance condition of less than 2 meters. When the distance information meets either of these two conditions, a distance prompt message will be triggered, but the content and form of the display will vary depending on the specific condition met.

[0103] The preset area can be a specific display area in the graphical user interface that is pre-planned to carry distance prompt information.

[0104] In an optional implementation, the preset area could be the location of the backpack control in the lower left corner of the graphical user interface. For example, Figure 5As shown, a package control is set in the lower left corner of the game interface. When the distance information meets the target distance condition, the system displays a distance prompt message "6 meters away from teammate's package can be combined" at the position of the package control, so that players can know the distance status at the same time when checking the backpack related functions.

[0105] In one alternative implementation, the preset area could be the team information bar area at the top of the graphical user interface. For example, in the area at the top of the game interface where the team member list is displayed, the system displays a distance indicator value next to the information entry of the corresponding teammate, allowing players to check the distance between themselves and each teammate by viewing the top information bar.

[0106] In an optional implementation, the preset area can be a floating prompt box area in the graphical user interface. For example, the system generates a semi-transparent floating prompt box above the game scene screen, displaying a distance prompt message such as "Need to move 4 meters to get closer to teammate 2". The floating prompt box automatically adjusts its position according to the change of the game scene's viewing angle.

[0107] Distance prompts are visual information that conveys the distance difference between the first virtual object and the target interaction area to the player. They typically serve to intuitively inform the player of their current location and the distance they need to move, helping them make quick movement decisions and improving spatial awareness and operational accuracy during teamwork.

[0108] In an optional implementation, the distance prompt can be the remaining distance expressed in numerical form. For example, when the distance between the first virtual object and the second virtual object is 8 meters and the target range is within 2 meters, the system displays the distance prompt "6 meters to move," directly informing the player of the specific distance to move forward in numerical form.

[0109] In an optional implementation, the distance indication information can be represented by a progress bar indicating the degree of approach. For example, the system displays a horizontal progress bar in a preset area, and the fill percentage of the progress bar gradually increases as the first virtual object moves towards the second virtual object. When the progress bar is completely filled, it indicates that the target range has been entered, and the player can intuitively understand the approach progress by observing the progress bar.

[0110] In an optional implementation, the distance prompt information can be a distance status expressed in the form of a text description. For example, when the distance information meets a first distance condition, the system displays the text prompt "Approaching, backpack merging will be available soon"; when the distance information meets a third distance condition, the system displays the text prompt "Entered range, backpack merging can be opened", using semantic descriptions to help players understand the current status.

[0111] The target range can be the response range that triggers item exchange between teammates, for example, 2 meters. In this implementation, the value of the target range is the same as the third distance threshold, that is, when the distance between the player and the teammate is less than 2 meters, item exchange can be performed, and at the same time, the merged display mode of the backpack interface is enabled.

[0112] In a virtual prop interaction method provided in one embodiment of this application, the step of displaying distance prompt information in a preset area of ​​the user interface when the distance information meets the target distance condition includes: Step S510: When the distance information meets the first distance condition, control the display of the second virtual object's character identifier and distance prompt information at the position of the backpack control in the graphical user interface; Step S520: When the distance information meets the third distance condition, control the display of the character identifier of the second virtual object and / or the item identifier of the virtual item held by the second virtual object at the position of the backpack control in the graphical user interface.

[0113] The method provided in this embodiment enables differentiated information display at the backpack control position when the first virtual object and the second virtual object are at different distance ranges. When the first distance condition is met, the user is guided to approach the teammate through the character icon and distance prompt information to interact with the item. When the third distance condition is met, the item icon of the virtual item held by the teammate is further displayed so that the user can intuitively understand the exchangeable item content.

[0114] The above plan will be explained in detail below.

[0115] In step S510, specifically, when the distance information between the first virtual object and the second virtual object meets the distance range defined by the first distance condition, the role identifier used to identify the identity of the second virtual object is displayed in the location area of ​​the backpack control pre-configured in the graphical user interface, and at the same time, distance prompt information is displayed to indicate the distance the first virtual object needs to move to enter the target range.

[0116] In an exemplary application, such as Figure 5 As shown, when the distance between a player and a teammate meets a first preset distance threshold, a backpack information icon (such as...) is displayed above the teammate's head. Figure 5 As shown in the figure, the teammate's role identifier (e.g., "2", "3", "4") and distance prompt information (e.g., 3 meters) are displayed in the backpack control area.

[0117] The backpack control is an interactive control in the graphical user interface used to carry backpack-related function entries and information display. The backpack control serves as an information display carrier, overlaying teammate role icons and distance prompts at its location when distance conditions are met, allowing users to know the location and proximity status of teammates without opening the backpack interface.

[0118] In an alternative implementation, the backpack control can be configured as a permanently positioned control, located in a preset fixed area of ​​the graphical user interface. For example, in a multiplayer online shooter game, the backpack control can be fixedly displayed in the lower left corner of the graphical user interface (e.g., ...). Figure 4 As shown in the figure, when the distance between the first virtual object and the teammate meets the first distance condition, the teammate's serial number icon and the distance prompt message "Distance merged in X meters" are superimposed at the position of the backpack control.

[0119] In an optional implementation, the backpack control can be configured as a composite control with multi-level display capabilities, capable of displaying different levels of information content based on different triggering conditions. For example, in a multiplayer online shooting game, the backpack control only displays the backpack icon by default. When a first distance condition is met, a thumbnail of a teammate's avatar and distance value are displayed in a floating layer above the backpack control. When a third distance condition is met, a list of item icons in the teammate's backpack is further displayed in the floating layer.

[0120] The role identifier can be a visual identifier element used to uniquely identify the identity of a second virtual object. The role identifier helps users quickly identify teammates, allowing users to intuitively determine which teammate is currently within range at the location of the inventory control.

[0121] In an optional implementation, the role identifier can be configured as a teammate number identifier, which uses numbers or letters to represent the teammate's number in the squad.

[0122] In an alternative implementation, the character identifier can be configured as a thumbnail of a teammate's avatar, displayed using the character image of a second virtual object or the avatar set by the player.

[0123] In an optional implementation, the character identifier can be configured as a teammate nickname identifier, displayed using the player's set game nickname or abbreviation.

[0124] In step S520, specifically, when the distance information between the first virtual object and the second virtual object meets the closer distance range defined by the third distance condition, the character identifier of the second virtual object is displayed in the pre-configured backpack control area in the graphical user interface, and / or the item identifier corresponding to the virtual item currently held by the second virtual object is displayed, so that the user can intuitively understand the items that teammates can exchange.

[0125] The distance prompt displayed when the first distance condition is met is canceled, and instead, character and / or item identifiers are retained to indicate the player and / or item information that has entered the interaction range. Players can then proceed to the item exchange stage by clicking on the character and / or item identifiers or the inventory control. Figure 5 As shown, the character identifiers (serial number identifiers) corresponding to players 2 and 4 are displayed in the backpack control. This indicates that the distance between players 2 and 4 and the player has met the third distance condition. For player 3, the third distance condition is not met, but the first distance condition is met. Therefore, the character identifier and specific prompt information (3 meters) are displayed, indicating that there are still 3 meters between the player and player 3 before item exchange and other related operations can be performed.

[0126] In one embodiment of this application, a virtual prop interaction method is provided, which further includes: In step S610, when the distance information meets the third distance condition, in response to the backpack opening command, the virtual items of the first virtual object and the virtual items of the second virtual object are displayed in the backpack interface.

[0127] The method provided in this embodiment enables users to trigger the backpack merging display function by opening the backpack when the distance between the first virtual object and the second virtual object meets the third distance condition. This allows users to view the virtual items of the first and second virtual objects simultaneously on the same backpack interface. This technology effectively solves the cumbersome problem of players having to repeatedly switch interfaces to view teammates' items in traditional game interactions. By integrating the item information of multiple virtual objects into a unified interface, the ease of operation and interactive experience for users during virtual item interaction are significantly improved. In addition, by constraining the triggering of the backpack merging function by the distance condition, dynamic control of the content rendered in the graphical user interface is achieved, effectively reducing interface information redundancy and computational resource consumption.

[0128] The above plan will be explained in detail below.

[0129] In step S610, specifically, when the distance information between the first virtual object and the second virtual object meets the preset third distance condition, the system detects the backpack opening command initiated by the user and responds to the command by simultaneously displaying the virtual items held by the first virtual object and the virtual items held by the second virtual object in the backpack interface, thereby realizing the integrated display of item information of multiple virtual objects in the same interface.

[0130] The third distance condition can be a preset threshold used to determine whether the distance between the first and second virtual objects meets the threshold for triggering the backpack merging display function. This third distance condition limits the timing of the backpack merging function, ensuring that the merged display of item information is only allowed when the two virtual objects are sufficiently close. For example, in a shooting game scenario, when the distance between the player-controlled first virtual object and the teammate-controlled second virtual object is less than or equal to 2 meters, the system determines that the distance information meets the third distance condition. At this time, the player can open the backpack to view the teammate's virtual item information. Opening the backpack interface triggers the backpack merging reference mode, allowing the player to view the exchangeable items in the teammate's backpack. In this embodiment, exchangeable items include items or accessories that match the player, as well as items or accessories that are unsuitable for the player. In other embodiments, exchangeable items only include items or accessories that match the player.

[0131] In an optional implementation, the third distance condition can be configured as a composite distance judgment condition that incorporates terrain factors. For example, in an open-world survival game, the third distance condition not only requires that the straight-line distance between the first virtual object and the second virtual object be less than or equal to 3 meters, but also requires that there are no obstructions between them. When this composite condition is met, the player can open their backpack and view the virtual items of themselves and their teammates simultaneously in the backpack interface.

[0132] The backpack opening command can be an operation command sent by the user to the terminal device through interactive operation to request the opening of the backpack interface. The backpack opening command can be implemented through click operation, swipe operation, long press operation and / or other operations. Taking the click operation as an example, when the distance information meets the third distance condition, the user sends the backpack opening command by clicking the backpack control in the graphical user interface. In response to the backpack opening command triggered by the click operation, the system displays the virtual items of the first virtual object and the virtual items of the second virtual object in the backpack interface.

[0133] In an optional implementation, the backpack opening command can be triggered by clicking a backpack control at a preset location in the graphical user interface. For example, in a multiplayer tactical competitive game, when the distance between the first virtual object and the teammate's second virtual object meets a third distance condition, the player clicks the backpack control in the lower left corner of the screen. This click is recognized as a backpack opening command, and the system then displays the player's own virtual items and the teammate's virtual items simultaneously in the backpack interface in a backpack merging reference mode.

[0134] In an alternative implementation, the backpack opening command can be triggered by a keyboard shortcut or gesture.

[0135] In an alternative implementation, the backpack opening command can be triggered via voice command.

[0136] The backpack interface can be a graphical user interface component used to display information about the virtual items held by the virtual object.

[0137] In an optional implementation, the backpack interface can be configured as a comprehensive information display interface including item icons, item names, and item quantities. For example... Figure 6 As shown, when no teammates or players meet the conditions for merging and displaying the backpacks, when a player expands the backpack interface using the backpack control, only the items and other information owned by the player are displayed in the backpack interface.

[0138] When the distance information meets the third distance condition and the player sends the backpack open command, the system opens the backpack interface. The interface displays icons of virtual items such as gun parts, ammunition, and medicine held by the first virtual object in a grid. At the same time, the virtual items held by the second virtual object are displayed behind the virtual items of the first virtual object, for example, in another area of ​​the interface.

[0139] In an alternative implementation, the backpack interface can be configured as a merged item display interface that includes a virtual object identifier area. For example, as Figure 7 As shown, the upper right corner of the backpack interface displays the avatar icons of teammates who meet the third distance condition. The main area of ​​the interface displays the virtual items of each team in the order of themselves, nearby teammates, and distant teammates, allowing players to intuitively view and distinguish the ownership of items from different virtual objects.

[0140] It should be noted that the backpack interface may be only one of the above embodiments, or it may be multiple of the above embodiments simultaneously. For example, in some application scenarios, the backpack interface may only use a simple grid-style item icon display method; while in other application scenarios, the backpack interface may simultaneously have category tag switching function and teammate avatar display area, that is, the interface can not only support switching and viewing by item category, but also display teammate identification information that meets the distance conditions in a prominent position.

[0141] Among them, the virtual props of the first virtual object can be virtual items that the first virtual object holds, equips, or stores in the game scene.

[0142] In an optional implementation, the virtual items of the first virtual object may include equipment items currently in use in the virtual object's current equipment inventory. For example, such as Figure 6 As shown, the virtual items of the first virtual object include its currently equipped primary weapon, secondary weapon, helmet, bulletproof vest, etc. When the distance information meets the third distance condition and the player opens the backpack, the icons and status information of these equipment items are displayed in the equipment bar of the backpack interface.

[0143] In an optional implementation, the virtual items of the first virtual object may include unused items stored in the virtual object's backpack. For example, in a multiplayer survival game, the virtual items of the first virtual object include spare ammunition, medical supplies, scope accessories, and other unused resources stored in its backpack. When the third distance condition is met, the backpack is opened, and this item information will be displayed in the backpack interface. Figure 6 As shown.

[0144] Among them, the virtual props of the second virtual object can be virtual items that the second virtual object holds, equips, or stores in the game scene.

[0145] In one optional implementation, the virtual items of the second virtual object may include items held by the virtual object that match the equipment requirements of the first virtual object. For example, in a shooting game, the first virtual object is equipped with a sniper rifle but lacks a high-magnification scope, while the second virtual object holds an 8x scope. When the distance information meets a third distance condition, the backpack is opened, and the backpack interface prioritizes displaying the 8x scope held by the second virtual object that matches the requirements of the first virtual object.

[0146] In one optional implementation, the virtual items of the second virtual object may include items that are not currently used by the virtual object and are not applicable to its own equipment. For example, in a tactical competitive game, the second virtual object is equipped with a submachine gun, and its backpack contains a sniper rifle suppressor that is not currently in use. When the distance information meets a third distance condition, the player can see this unused item of the second virtual object in the backpack interface after opening the backpack.

[0147] In an optional implementation, the virtual items of the second virtual object may include exchangeable items that the virtual object is willing to share. For example, in a cooperative game, the second virtual object may pre-mark certain items as shareable. When the distance between the first and second virtual objects meets a third distance condition, the backpack is opened, and the virtual items marked as shareable by the second virtual object are displayed in the backpack interface for the first virtual object to view and request.

[0148] like Figure 7 As shown in an exemplary application of this embodiment, when the first virtual object moves to the vicinity of the second virtual object and the distance between them is 1.8 meters, the distance information satisfies the third distance condition. The player then clicks the backpack control in the graphical user interface to trigger a backpack opening command. The terminal device responds to this command and displays the backpack interface on the screen. This backpack interface is presented using a backpack merge reference mode. The storage space area in the interface is divided into upper and lower parts. The upper part displays the virtual items held by the first virtual object, including three grenades. The lower part displays the magazine attachments and stock attachments owned by player 2, as well as the magazine attachments owned by player 4. The upper right corner of the backpack interface displays the teammate number and character avatar of the second virtual object. Through this merged backpack interface, the player can clearly view the item information of both sides, providing information for subsequent item requesting or gifting operations.

[0149] In a virtual item interaction method provided in one embodiment of this application, the steps of displaying virtual items of a first virtual object and virtual items of a second virtual object in the backpack interface include: Step S710: Display the virtual items of the first virtual object in the backpack interface, and display the virtual items of at least one second virtual object whose distance information from the first virtual object meets the third distance condition according to the preset sorting rules.

[0150] The method provided in this embodiment enables the orderly arrangement and display of virtual items of multiple second virtual objects in the backpack merging reference mode by means of a preset sorting rule. This effectively solves the technical problem of messy and disordered backpack information in close-range scenarios with multiple teammates, allowing players to quickly locate and identify the exchangeable items of different teammates.

[0151] The above plan will be explained in detail below.

[0152] In step S710, specifically, when the distance information between the first virtual object and at least one second virtual object meets the third distance condition, the virtual props are displayed in a merged manner in the backpack interface. The virtual props of the first virtual object are displayed as the basic content. At the same time, the virtual props of each second virtual object that meets the third distance condition are sorted and displayed according to a preset sorting rule, thereby realizing the orderly presentation of the virtual props of multiple virtual objects in the same backpack interface.

[0153] The backpack interface can be a graphical user interface area used to display the virtual items held by the virtual object.

[0154] In one alternative implementation, the backpack interface can be a semi-transparent overlay interface that overlays the game scene. This interface divides multiple item slots into a grid, with each slot used to place a corresponding virtual item icon. For example, in a tactical competitive game, when a player clicks the backpack control in the lower left corner of the screen, the system pops up the backpack interface in the central area of ​​the graphical user interface. This interface presents a grid layout with 6 rows and 3 columns, totaling 18 item slots. The background of the interface uses a semi-transparent dark overlay, allowing the player to both view the backpack contents and perceive changes in the game scene.

[0155] In one optional implementation, the backpack interface can be an item management interface with a partitioned display function. The interface is divided into different functional areas, each used to display virtual items from different sources or of different types. For example, in a multiplayer team game scenario, when all three teammates are within the third distance condition range, after the player opens the backpack interface, the top area displays the player's own equipment bar, the middle area displays the player's own backpack items, and the bottom area displays the exchangeable items of each teammate in turn. The different areas are visually distinguished by dividing lines.

[0156] In one optional implementation, the backpack interface can be a real-time item display interface that supports dynamic content updates. When the second virtual object that meets the third distance condition changes, the interface content can be updated accordingly. For example, during a game, when a teammate who was originally within the third distance condition range moves out of that range, the virtual item display area corresponding to that teammate in the backpack interface is automatically hidden. At the same time, if a new teammate enters the third distance condition range, the virtual item display area for that teammate is added to the interface accordingly.

[0157] In this embodiment, the display order of the virtual items of the first virtual object is higher than the display order of the items of teammates, such as... Figure 7 As shown, in the storage space area of ​​the backpack interface, the items owned by the player (the first virtual object) are displayed first. After the items of the first virtual object are displayed, the item information of teammates is displayed according to the preset sorting rules.

[0158] In other implementations, the virtual items of the first virtual object are displayed in a lower order than the items of the teammates.

[0159] The preset sorting rules can be pre-configured rules used to determine the display order of virtual items in the inventory interface for multiple second virtual objects. They typically arrange virtual items in an orderly manner according to a specific logic, allowing players to quickly identify and locate target items based on the sorting results, thus improving the efficiency of item searching and interaction.

[0160] In an optional implementation, the preset sorting rule can be based on distance, that is, the virtual items are arranged and displayed in order of increasing distance between each second virtual object and the first virtual object. For example, in the backpack merge reference mode, when the first virtual object is 1.5 meters away from teammate A and 1.8 meters away from teammate B, the backpack interface first displays the virtual items of the first virtual object itself, then displays the virtual items of teammate A who is closer, and finally displays the virtual items of teammate B.

[0161] In an optional implementation, the preset sorting rule can be a sorting rule based on item type, that is, items from different second virtual objects are classified and displayed according to the category attributes of the virtual items. For example, in the backpack interface, the system displays weapon items from all second virtual objects that meet the third distance condition in one area, armor items in another area, and consumable items in a third area, allowing players to quickly locate the items they need according to item type.

[0162] In an optional implementation, the preset sorting rule can be a sorting rule based on item matching degree, that is, the virtual items are arranged and displayed in descending order of their matching degree or applicability with the first virtual object. For example, in the backpack interface, if the weapon currently equipped by the first virtual object lacks a scope attachment, the system will prioritize arranging the scope attachments held by each second virtual object that match the weapon in the front row of the display area, while other attachments that do not match the weapon will be arranged in the back row.

[0163] Among them, at least one second virtual object can be one or more other virtual characters belonging to the same virtual team as the first virtual object and satisfying the third distance condition. They usually serve as objects for sharing and exchanging virtual items, allowing the first virtual object to view and interact with these second virtual objects in the inventory interface.

[0164] In an alternative implementation, at least one second virtual object may be a single teammate virtual character that meets the third distance condition, and only the virtual items of that single teammate are displayed in the backpack interface.

[0165] In an optional implementation, at least one second virtual object can be multiple teammate virtual characters that simultaneously meet the third distance condition, and the virtual items of multiple teammates are displayed simultaneously in the backpack interface.

[0166] In an alternative implementation, at least one second virtual object can be a dynamically changing set of virtual teammates. As each virtual object moves, the number and members of the second virtual objects that satisfy the third distance condition will change in real time.

[0167] like Figure 7 As shown, in an exemplary application of this embodiment, the distance between the player-controlled first virtual character and teammate number 2 is 1.5 meters, and the distance between the player and teammate number 4 is 1.8 meters. Both teammates meet the third distance condition. The first virtual character triggers the backpack opening command by clicking the backpack control in the lower left corner of the screen, displaying the backpack interface in a backpack merge reference mode. In the backpack interface, the top area displays the first virtual character's avatar and virtual items, including currently equipped weapons, armor, and various supplies in the backpack; then, the second teammate's magazine and stock are displayed, followed by the fourth player's magazine attachment. Simultaneously, the slots displaying these teammates' items also show the teammate's serial number to indicate the current attachment's ownership.

[0168] In a virtual item interaction method provided in one embodiment of this application, the virtual items displayed as a second virtual object in the backpack interface include at least one of the following: The items held by the second virtual object; The second virtual object's idle props; The second virtual object is an idle prop that matches the first virtual object; The items held by the second virtual object that match the first virtual object.

[0169] The method provided in this embodiment enables the display of virtual items of the second virtual object in the backpack merging reference mode based on the item's holding status and matching relationship. This allows players to quickly identify the types of items in their teammates' backpacks and their matching degree with their own needs, effectively reducing the time cost for players to find the required items during combat breaks and improving the interactive experience. At the same time, by distinguishing between held and idle items, and between matched and unmatched items, the information hierarchy and item display dimensions of the backpack interface are enriched, enhancing the game's richness. Furthermore, this classification display mechanism effectively reduces the information redundancy of the backpack interface and solves the interface rendering efficiency problem caused by item information overload in multiplayer cooperative scenarios.

[0170] The above plan will be explained in detail below.

[0171] Regarding the items held by the second virtual object: Specifically, the virtual items of the second virtual object displayed in the backpack interface can include items that the second virtual object is currently holding and using. These items are in a state of being equipped or activated by the second virtual object, indicating that the second virtual object is using the item for game activities.

[0172] Among them, the items held by the second virtual object can be virtual items that the second virtual object has already equipped in the equipment slot and are in a ready-to-use state.

[0173] Regarding the unused items in the second virtual object: Specifically, the virtual items of the second virtual object displayed in the backpack interface may include items stored in the backpack of the second virtual object but not currently in use. Although these items belong to the second virtual object, they have not been equipped or activated and are in an idle state that can be allocated or exchanged.

[0174] Among them, the idle items of the second virtual object can be virtual items stored in the second virtual object's inventory capacity, not equipped in any equipment slots, and not in an active state. They usually serve as backup resources or exchangeable resources for the second virtual object and are important objects for team item coordination and allocation.

[0175] Regarding the second virtual object's idle items that match the first virtual object: Specifically, the virtual items of the second virtual object displayed in the backpack interface may include items that are idle in the backpack of the second virtual object and happen to meet the equipment or usage requirements of the first virtual object. These items are not only in an exchangeable idle state, but can also directly meet the specific needs of the first virtual object.

[0176] Among them, the idle items of the second virtual object that match the first virtual object can be virtual items stored in the second virtual object's inventory that are not used and, after being matched and determined by the system, can be adapted to the first virtual object's current equipment configuration or replenish the first virtual object's missing resources. They usually have the function of providing precise resource replenishment for the first virtual object and improving the first virtual object's combat effectiveness, and are the core matching objects for intelligent item recommendation.

[0177] Regarding the items held by the second virtual object that match those of the first virtual object: Specifically, the virtual items of the second virtual object displayed in the backpack interface can include items that the second virtual object is currently holding and using but can also meet the needs of the first virtual object. Although such items are in a state of being equipped and used by the second virtual object, the system still recognizes their matching relationship with the first virtual object and displays them.

[0178] Among them, the items held by the second virtual object that match the first virtual object can be virtual items that the second virtual object is currently equipped in its equipment slot and that, according to the system, are also suitable for the first virtual object's equipment needs or ability enhancement needs. These items typically provide players with more comprehensive information on their teammates' equipment, assist players in tactical coordination and equipment reallocation decisions, and are important information references in deep team collaboration scenarios.

[0179] It should be noted that the inventory interface can display only one type of item mentioned above. For example, even if free items are detected, and free items suitable for the first virtual object are also detected, only the items suitable for the first virtual object will be displayed. Of course, multiple different types of items can also be displayed with corresponding icons for prompting.

[0180] In a virtual item interaction method provided in one embodiment of this application, the backpack interface includes an object identifier of a second virtual object that satisfies a third distance condition with a first virtual object; the method further includes at least one of the following: Step S810: In response to the first trigger operation for the virtual items of the second virtual object and the first target area, control sends a request to the client corresponding to the second virtual character, wherein the first target area includes at least one of the following areas: other areas of the backpack interface that are not filled with the virtual items of the second virtual object, the object identifier of the first virtual object displayed in the backpack interface, and the equipment switching area included in the graphical user interface. Step S820: In response to the second trigger operation targeting the virtual items of the first virtual object and the second target area, control the sending of a gift request to the client corresponding to the second virtual character in the second target area. The second target area includes at least one of the following areas: the object identifier of the second virtual object displayed in the backpack interface, and the area of ​​the backpack interface filled with the virtual items of the second virtual object.

[0181] The method provided in this embodiment enables users to obtain and give away items through intuitive drag-and-drop operations in the backpack merging reference mode, without having to exit the current interface or perform complex menu operations, thereby significantly improving the interactive experience between team members; at the same time, by supporting trigger operations in multiple target areas, the interactive methods of item exchange are enriched, enhancing the richness of the game.

[0182] The above plan will be explained in detail below.

[0183] Regarding the object identifier in the backpack interface that includes a second virtual object that satisfies the third distance condition with the first virtual object: Specifically, when the distance information between the first virtual object and the second virtual object meets the third distance condition, the object identifier of the second virtual object is displayed in the backpack interface so that the user can intuitively identify teammates who are currently within the interactive range.

[0184] The object identifier can be a visual element or symbol used to uniquely identify the virtual object. It typically serves to indicate the identity information of a specific virtual object in the backpack interface and to mark that the virtual object is currently in an interactive state.

[0185] In an optional implementation, the object identifier can be a teammate's serial number, which identifies different teammates in the backpack interface using a numerical code.

[0186] In an alternative implementation, the object identifier can be a teammate's avatar icon, which is used to indicate that the teammate is within the interactive range by displaying the teammate's avatar in a specific area of ​​the backpack interface.

[0187] In an optional implementation, the object identifier can be a teammate's nickname tag, which is displayed as text in the backpack interface.

[0188] like Figure 7As shown, in a specific application, the player-controlled character "Player A" teams up with teammates "Player 2" and "Player 4" in a game scene. When "Player A" approaches "Player 2" and "Player 4" within 1.8 meters, the system determines that the distance information between them meets the third distance condition. At this time, "Player A" opens the backpack interface, and the avatar icon and serial number "2" of "Player 2" and the avatar icon and serial number "4" of "Player 4" are displayed in the upper right corner of the backpack interface, indicating that "Player 2" and "Player 4" are currently within the interactive range. "Player A" can request virtual items from "Player 2" and "Player 4" or give his own virtual items to "Player 2" and "Player 4".

[0189] In step S810, specifically, when a user performs a trigger operation to drag the virtual prop of the second virtual object to the first target area, the system recognizes that the operation is intended to request a teammate's prop and sends a request to the client corresponding to that teammate to realize the cross-user transfer of props.

[0190] The first trigger action can be a user's interactive behavior expressing their intention to request items from teammates. It typically serves to initiate the item request process and convey the user's interactive intent to the system. The first trigger action can be implemented through clicks, swipes, long presses, and / or other actions. For example, with a click action, after selecting a virtual item in the second virtual object, the user then clicks the first target area to trigger the item request.

[0191] In an optional implementation, the first triggering operation can be a drag-and-drop operation, whereby the user triggers the request by pressing and holding a virtual prop of the second virtual object, dragging it to the first target area, and then releasing it. For example, as Figure 8 As shown, after dragging Player 4's item to an empty area of ​​their own inventory and releasing their finger or their own avatar, the system recognizes the drag operation and sends a request to Player 4's client.

[0192] In an optional implementation, the first triggering operation can be a double-click confirmation operation, whereby the user triggers a request by double-clicking the virtual prop of the second virtual object and then selecting the target area.

[0193] In an optional implementation, the first triggering operation can be a long press followed by a swipe. The user activates the drag mode by long-pressing the virtual item of the second virtual object and then swipes it to the target area to trigger a request. For example, after "Player A" long-presses the medkit item icon of a teammate for about 0.5 seconds, the item icon enters a draggable state and is enlarged. At this time, "Player A" swipes his finger to the position of his own avatar displayed in the backpack interface and releases it. The system then sends a request to the teammate's client to retrieve the medkit.

[0194] The first target area can be a specific display area in the backpack interface or graphical user interface used to receive instructions to request items. It typically serves as the destination for the item request operation and clarifies the user's intention to request the item.

[0195] In an optional implementation, the first target area can be a blank area of ​​the backpack interface where no virtual items of the second virtual object are filled, which is used to place the item that the user intends to request. For example, a blank slot in the storage space of the backpack interface where no item is stored.

[0196] In an optional implementation, the first target area may be the area where the object identifier of the first virtual object is displayed in the backpack interface, and the user drags the item to the identifier to indicate the intention to request it.

[0197] In an alternative implementation, the first target area may be an equipment switching area included in a graphical user interface, used for quickly switching and equipping items. For example, such as Figure 6 As shown, there is an equipment shortcut bar at the bottom of the game interface, which displays the currently equipped weapons and attachment slots. When "Player A" drags a teammate's stock attachment directly to the attachment slot in the equipment shortcut bar, the system recognizes this operation as requesting the stock attachment and asking to equip it directly.

[0198] It should be noted that the first target area may be only one of the above embodiments, or it may be multiple of the above embodiments simultaneously. For example, the first target area may be set to only a blank area of ​​the backpack interface; or, the first target area may include a blank area of ​​the backpack interface, an object identifier area of ​​the first virtual object, and an equipment switching area, and the user may drag the item to be requested to any of these areas to trigger the request.

[0199] In this context, a request can be a data request initiated by a first virtual object to a second virtual object to obtain a specific virtual item. It typically serves to convey the intention to request the item and trigger a confirmation process between the two parties.

[0200] Upon receiving a request, the client controlling the second virtual object displays a prompt message corresponding to the request on the graphical user interface.

[0201] In an optional implementation, the request can be a data packet containing an item identifier and a requester identifier, used to inform the recipient of the specific content requested and the source of the request. Upon receiving the request, the recipient displays a confirmation interface for the user to choose whether to agree. For example, ... Figure 9After "Player A" initiates a request, a pop-up message appears on "Player B's" game interface: "Teammate A wants your 8x scope item. Do you want to give it to them?" It provides two options: "No" and "Yes". When Player B clicks "Yes", the 8x scope item is transferred from Player B's inventory to Player A's inventory. During this process, the distance between players must meet the third distance requirement.

[0202] In an alternative implementation, the request can be a request message with a time limit, which is automatically canceled if no response is received within a preset time.

[0203] In step S820, specifically, when the user performs a trigger operation to drag the first virtual object's own virtual items to the second target area, the system recognizes that the operation is intended to gift items to teammates and sends a gift request to the teammate client corresponding to the target area to realize the active sharing of items.

[0204] The second trigger action can be a user's interactive behavior expressing their intention to gift items to teammates. It typically serves to initiate the item gifting process and convey the user's sharing intention to the system. The second trigger action can be implemented through clicks, swipes, long presses, and / or other actions. For example, with a drag-and-drop action, the user presses and holds their virtual item, drags it to the second target area representing a teammate, and then releases it, thus triggering the item gifting.

[0205] In an optional implementation, the second triggering operation can be a drag-and-drop operation to a teammate's avatar, where the user triggers the gift request by dragging their item onto the teammate's icon. For example, ... Figure 10 As shown, in the backpack merging reference mode, "Player A" presses and holds the grenade item icon that he owns, drags it to the top right corner of the screen above the "Player 4" avatar, and then releases it. The system recognizes this operation and sends a request to "Player 4" to give him a grenade.

[0206] In one optional implementation, the second triggering operation can be a drag-and-drop operation to a teammate's item area. The user triggers the gifting request by dragging their own item to the area where the teammate's item is located. For example, the lower half of the backpack interface displays the item list of "Player 4". "Player A" drags their grenade item to any position in that area and releases it. The system determines that "Player A" wants to gift the grenade to "Player 4" and sends the corresponding gifting request.

[0207] In an optional implementation, the second triggering operation can be a long press followed by selecting a recipient. The user can trigger a gift request by long-pressing their own item and selecting a target teammate from the pop-up teammate list.

[0208] The second target area can be the display area in the backpack interface used to receive item gifting commands and associate them with specific teammates. It typically serves as the destination for item gifting operations and identifies the recipient.

[0209] In an optional implementation, the second target area may be the area where the object identifier of the second virtual object displayed in the backpack interface is located.

[0210] In an alternative implementation, the second target area may be an area in the backpack interface that is filled with virtual items of the second virtual object, and the area displays the items currently owned by the teammate.

[0211] In this context, a gift request can be a data request initiated by a first virtual object to a second virtual object, requesting the recipient to accept a specific virtual item. It typically serves to convey the intention to gift the item and trigger the recipient's confirmation process.

[0212] In an optional implementation, the gift request can be a data packet containing item information and the donor's identifier, used to inform the recipient of the specific gift content and source. Upon receiving the request, the recipient displays a confirmation interface for the user to choose whether to accept. For example, ... Figure 11 As shown, after "Player A" initiates a gift request, a pop-up message appears on "Player B's" game interface, displaying "Teammate A wants to give you a first aid kit item. Do you want to accept it?" and providing two selection buttons: "No" and "Yes".

[0213] In an optional implementation, the gift request can be a request message containing the item compatibility test results, prompting the recipient whether the item is compatible with their current equipment. For example, "Player A" requests to gift a scope to "Player B," and the gift request includes the compatibility test results of the scope with "Player B's" current weapon. When "Player B" receives the request, the interface displays "Teammate A wants to give you an 8x scope item (compatible with your sniper rifle), do you want to accept it?".

[0214] In one embodiment of this application, a virtual prop interaction method is provided, which further includes: In step S910, in response to a second sub-trigger operation on a virtual prop for a first virtual object, the object identifier of a second virtual object matching the virtual prop affected by the second sub-trigger operation is displayed via a second target display parameter.

[0215] The method provided in this embodiment enables the system to intelligently identify the matching relationship between the virtual item and other virtual objects in the team when the user performs a trigger operation on the virtual item of the first virtual object, and to visually emphasize the object identifier of the matching second virtual object through specific display parameters, so that the user can quickly and intuitively understand which teammates the currently selected virtual item is suitable to be given to.

[0216] The above plan will be explained in detail below.

[0217] In step S910, specifically, when the user performs a second sub-trigger operation on the virtual item held by the first virtual object in the backpack interface, the system obtains the attribute information of the virtual item, and judges the degree of matching between the virtual item and each of the second virtual objects currently in the backpack merging reference mode based on the preset matching rules. Then, it controls the display of the object identifier of the second virtual object that matches the virtual item with the second target display parameter, thereby realizing the visual prompt of item compatibility.

[0218] In an optional implementation, the second sub-trigger operation can be a part of a second trigger operation. For example, in the operation of dragging an item icon to the area of ​​a teammate's avatar, the second sub-trigger operation can be a trigger operation on the item icon or a drag operation before stopping at the teammate's avatar.

[0219] In one optional implementation, the second sub-trigger operation can be a long press operation on a virtual item. When a user long presses a virtual item in the backpack interface for a preset duration, a matching detection is triggered. For example, in a multiplayer cooperative shooting game, when a player opens the backpack interface and long presses a sniper rifle icon in their backpack for more than 0.5 seconds, the system recognizes this long press operation as the second sub-trigger operation and begins to detect the matching relationship between the sniper rifle and the teammates in the team.

[0220] In an optional implementation, the second sub-triggering operation can be a drag-and-drop initiation operation for a virtual item, triggering a matching detection when the user begins dragging a virtual item. For example, in the backpack merging reference mode, when a player begins dragging an 8x scope attachment from their backpack, the system recognizes this as the second sub-triggering operation the instant the dragging action begins, triggering a detection of the matching relationship between each teammate and the 8x scope.

[0221] The second target display parameter can be a set of parameters used to control the visual presentation effect of the object identifier. This set of parameters defines the specific display method of the object identifier in the matching state. It usually serves to distinguish between matching and non-matching states, guide the user's visual attention, and convey prop compatibility information, enabling the user to intuitively identify which teammates are suitable to receive the currently selected virtual prop.

[0222] In an alternative implementation, the second target display parameter may include a brightness enhancement parameter, which visually emphasizes the object identifier of the matched second virtual object by increasing its brightness value.

[0223] In an alternative implementation, the second target display parameter may include a border highlight parameter, which visually emphasizes the object identifier of the matched second virtual object by adding a highlighted border of a specific color.

[0224] In an alternative implementation, the second target display parameter may include dynamic animation parameters to attract user attention by adding dynamic animation effects to the object identifier of the matched second virtual object.

[0225] Among them, virtual prop matching can be a kind of adaptation relationship between virtual props and second virtual objects. This adaptation relationship is used to characterize the practical value or degree of demand of virtual props for second virtual objects.

[0226] In an optional implementation, the matching of virtual items can be determined based on the matching of equipment slots. When the second virtual object has an empty equipment slot and the type of the slot is consistent with the type of the virtual item, it is determined to be a match.

[0227] In one optional implementation, virtual item matching can be determined based on equipment quality upgrades. A match is determined when the quality level of a virtual item is higher than that of the same type currently equipped by the second virtual object. For example, if a player long-presses on a level 3 body armor vest, and the system detects that teammate 2 is currently only equipped with a level 2 body armor vest, and the level 3 vest can be upgraded, then a match is determined, and teammate 2's avatar is highlighted. In an optional implementation, virtual item matching can be determined based on the level of item demand, combining the current state information of the second virtual object to determine its demand for a specific type of item. For example, when a player long-presses a first aid kit, the system detects that teammate 3's current health is only 30% and there are no healing items in their inventory, indicating a high demand for medical items. Therefore, the system determines that the first aid kit matches teammate 3 and highlights teammate 3's avatar.

[0228] This disclosure also provides a virtual item interaction device. (See reference...) Figure 12 As shown, the virtual prop interaction device 1200 includes the following modules: Display module 1210 is configured to display a graphical user interface through a terminal device. The graphical user interface includes a game scene and a first virtual object located in the game scene. The first virtual object corresponds to the terminal device. The distance acquisition module 1220 is configured to acquire distance information between a first virtual object and a second virtual object, wherein the first virtual object and the second virtual object belong to the same virtual team; The control module 1230 is configured to, when the distance information meets the first distance condition, control the display of a backpack information identifier at the position corresponding to the orientation information of the second virtual object in the graphical user interface; and control the cancellation of the display of the backpack information identifier of the second virtual object when the distance information meets the second distance condition.

[0229] The virtual item interaction device provided by the above embodiments dynamically adjusts the display status of backpack information based on the distance between virtual objects, simplifying the user interaction process, reducing unnecessary interface switching and operation steps, and improving the interactive experience; at the same time, the introduction of a distance-based item interaction mechanism makes the gameplay more diverse and enhances the game's fun and strategy; in addition, by displaying and processing backpack information in a targeted manner, unnecessary data processing and transmission are avoided, reducing the resource consumption of devices and servers.

[0230] The specific details of each part of the above-mentioned device have been described in detail in the method section of the implementation plan. For any undisclosed details, please refer to the implementation plan of the method section, and therefore will not be repeated here.

[0231] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to exemplary embodiments of this disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0232] Exemplary embodiments of this disclosure also provide a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the methods described above.

[0233] In one implementation, the computer program product can be a tangible product, such as a computer-readable storage medium storing a computer program. The readable storage medium can be based on electrical, magnetic, optical, electromagnetic, infrared, or other signals, and includes, but is not limited to: random access memory (RAM), read-only memory (ROM), magnetic tape, floppy disk, flash memory, hard disk drive (HDD), solid-state drive (SSD), etc. For example, the computer program product can be a non-volatile storage medium storing a computer program, such as read-only memory, NAND flash memory, etc.

[0234] In one implementation, the computer program product can be an intangible product. For example, the computer program product can be a virtual digital product, such as an executable file or installation package containing a computer program.

[0235] Computer program code can be written in one or more programming languages. Examples of programming languages ​​include C, Java, and C++. Program code can execute entirely on the user's computing device, partially on the user's computing device, or as a standalone software package. It can also execute partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, such as a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via an internet connection provided by a mobile network operator).

[0236] Computer programs can be carried or transmitted via signals such as electrical, magnetic, optical, electromagnetic, and infrared rays. Electronic devices can convert signals carrying computer programs into digital signals, thereby running the computer programs. When a computer program runs on an electronic device, its code is used to cause the electronic device to execute (more specifically, to be executed by the processor of the electronic device) the method steps of various embodiments of this disclosure.

[0237] Implementing the above methods and steps through computer programs has the following technical effects: dynamically adjusting the display status of backpack information based on the distance between virtual objects simplifies the user interaction process, reduces unnecessary interface switching and operation steps, and improves the interactive experience; at the same time, it introduces a distance-based item interaction mechanism, making the gameplay more diverse and increasing the game's fun and strategy; in addition, by displaying and processing backpack information in a targeted manner, unnecessary data processing and transmission are avoided, reducing the resource consumption of devices and servers.

[0238] Exemplary embodiments of this disclosure also provide an electronic device, which may be the first client 110, the second client 120, or the server 130 described above. The electronic device includes a processor and a memory. The memory stores executable instructions for the processor, such as computer programs. The processor executes these executable instructions to perform the method steps of various exemplary embodiments of this disclosure.

[0239] Implementing the above methods and steps through computer programs has the following technical effects: dynamically adjusting the display status of backpack information based on the distance between virtual objects simplifies the user interaction process, reduces unnecessary interface switching and operation steps, and improves the interactive experience; at the same time, it introduces a distance-based item interaction mechanism, making the gameplay more diverse and increasing the game's fun and strategy; in addition, by displaying and processing backpack information in a targeted manner, unnecessary data processing and transmission are avoided, reducing the resource consumption of devices and servers.

[0240] The following is for reference. Figure 13The electronic device is illustrated by way of a general-purpose computing device. It should be understood that... Figure 13 The electronic device 1100 shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0241] like Figure 13 As shown, the electronic device 1100 may include: a processor 1110, a memory 1120, a bus 1130, an I / O (input / output) interface 1140, and a network adapter 1150.

[0242] Memory 1120 may include volatile memory, such as RAM 1121 and cache unit 1122, and may also include non-volatile memory, such as ROM 1123. Memory 1120 may also include one or more program modules 1124, such program modules 1124 including, but not limited to: operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. For example, program module 1124 may include the modules in the above-described apparatus.

[0243] The processor 1110 may include one or more processing units, such as an AP (Application Processor), a modem processor, a GPU (Graphics Processing Unit), an ISP (Image Signal Processor), a controller, an encoder, a decoder, a DSP (Digital Signal Processor), a baseband processor, and / or an NPU (Neural-Network Processing Unit).

[0244] The processor 1110 can be used to execute executable instructions stored in the memory 1120 to perform the method steps of various embodiments of the present disclosure.

[0245] By executing the above method steps through processor 1110, the following technical effects are achieved: a special skill acquisition and activation mechanism is designed, allowing players to activate skills by picking up specific items and collecting charging items, simplifying the skill acquisition process and improving the interactive experience; at the same time, special skills with multiple effects such as visual enhancement and improved mobility are introduced, enriching the tactical level and strategic diversity of the game, and enhancing the game's fun and competitiveness; in addition, through a unified skill activation mechanism and dynamic item interaction system, the game resource calling logic is optimized, reducing the storage requirements of redundant functions and effectively reducing the occupation of device storage space and server resources.

[0246] Bus 1130 is used to connect different components of electronic device 1100 and may include a data bus, an address bus and a control bus.

[0247] Electronic device 1100 can communicate with one or more external devices 1200 (such as keyboard, mouse, external controller, etc.) through I / O interface 1140.

[0248] Electronic device 1100 can communicate with one or more networks via network adapter 1150. For example, network adapter 1150 can provide mobile communication solutions such as 3G / 4G / 5G, or wireless communication solutions such as wireless LAN, Bluetooth, and near-field communication. Network adapter 1150 can communicate with other modules of electronic device 1100 via bus 1130.

[0249] In one embodiment, the electronic device 1100 further includes a display for displaying a graphical user interface.

[0250] although Figure 13 As not shown in the diagram, other hardware and / or software modules may also be configured in the electronic device 1100, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (Redundant Arrays of Independent Disks) systems, tape drives, and data backup storage systems.

[0251] As can be seen from the above, the technical solutions disclosed herein can be implemented as methods, apparatus, systems, computer program products, storage media, electronic devices, etc. Those skilled in the art will understand that various aspects of this disclosure can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software aspects, which may be referred to as "circuit," "module," or "system," respectively.

[0252] It should be understood that this disclosure is not limited to the specific methods, steps, or structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. Those skilled in the art will readily conceive of other embodiments based on the specific implementations provided in this disclosure. Therefore, the specific implementations provided in this disclosure are merely exemplary, and the scope and spirit of this disclosure are indicated by the claims, and should cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary technical means in the art not disclosed in this disclosure.

Claims

1. A virtual prop interaction method, characterized by, The method comprises: displaying, by a terminal device, a graphical user interface, the graphical user interface comprising a game scene and a first virtual object located in the game scene, the first virtual object corresponding to the terminal device; obtaining distance information between the first virtual object and a second virtual object, wherein the first virtual object and the second virtual object belong to the same virtual team; when the distance information satisfies a first distance condition, controlling display of a backpack information identifier at a position corresponding to orientation information of the second virtual object in the graphical user interface; when the distance information satisfies a second distance condition, controlling cancellation of display of the backpack information identifier of the second virtual object.

2. The method of claim 1, wherein, The backpack information identifier comprises at least one of the following: an item identifier of an item held by the second virtual object; an item identifier of an item left idle by the second virtual object; an item identifier corresponding to an item left idle by the second virtual object and matching the first virtual object; an item identifier of an item held by the second virtual object and matching the first virtual object; a backpack identifier.

3. The method of claim 1, wherein, The method further comprises: when the distance information satisfies a third distance condition, displaying the backpack information identifier by using a first target display parameter, wherein a distance threshold corresponding to the third distance condition is not greater than a distance threshold corresponding to the first distance condition.

4. The method according to any of claims 1 or 3, characterized in that, The method further comprises: when the distance information satisfies a target distance condition, displaying distance prompt information in a preset area of a user interface, wherein the distance prompt information is used to indicate a distance required for the first virtual object to move into a target range, and the target distance condition comprises at least one of the following: the first distance condition and the third distance condition.

5. The method of claim 4, wherein, When the distance information satisfies the target distance condition, the step of displaying the distance prompt information in the preset area of the user interface comprises: when the distance information satisfies the first distance condition, controlling display of a character identifier of the second virtual object and the distance prompt information at a position of a backpack control of the graphical user interface; when the distance information satisfies the third distance condition, controlling display of a character identifier of the second virtual object and / or an item identifier of a virtual item held by the second virtual object at the position of the backpack control of the graphical user interface.

6. The method of claim 3, wherein, The method further comprises: when the distance information satisfies the third distance condition, in response to a backpack opening instruction, displaying virtual items of the first virtual object and virtual items of the second virtual object in a backpack interface.

7. The method of claim 6, wherein, The step of displaying the virtual items of the first virtual object and the virtual items of the second virtual object in the backpack interface comprises: displaying the virtual items of the first virtual object in the backpack interface, and displaying virtual items of at least one of the second virtual objects whose distance information satisfies the third distance condition according to a preset sorting rule.

8. The method of claim 6, wherein, The step of displaying the virtual items of the second virtual object in the backpack interface comprises at least one of the following: an item held by the second virtual object; an item left idle by the second virtual object; The second virtual object is idle and matches the first virtual object; The second virtual object holds and matches the first virtual object.

9. The method of claim 6, wherein, The object identifier of the second virtual object that satisfies the third distance condition with the first virtual object is included in the backpack interface; and the method further includes at least one of the following: In response to a first trigger operation on the virtual object of the second virtual object and a first target area, a request for sending the second virtual character corresponding to the client is controlled, wherein the first target area includes at least one of the following areas: other areas of the backpack interface that are not filled with the virtual object of the second virtual object, the object identifier of the first virtual object displayed in the backpack interface, and the equipment switching area included in the graphical user interface; In response to a second trigger operation on the virtual object of the first virtual object and a second target area, a request for sending the second virtual character corresponding to the client is controlled, wherein the second target area includes at least one of the following areas: the object identifier of the second virtual object displayed in the backpack interface, and the area of the backpack interface filled with the virtual object of the second virtual object.

10. The method of claim 9, wherein, The method further includes: In response to a second sub-trigger operation on the virtual object of the first virtual object, the object identifier of the second virtual object that matches the virtual object acted on by the second sub-trigger operation is displayed through a second target display parameter.

11. A virtual prop interaction device, comprising: It includes: The display module is configured to display a graphical user interface through a terminal device, wherein the graphical user interface includes a game scene and a first virtual object located in the game scene, and the first virtual object corresponds to the terminal device; The distance acquisition module is configured to acquire distance information between the first virtual object and the second virtual object, wherein the first virtual object and the second virtual object belong to the same virtual team; The control module is configured to control the display of the backpack information identifier at a position corresponding to the orientation information of the second virtual object in the graphical user interface when the distance information satisfies the first distance condition; and control the display of the backpack information identifier of the second virtual object to be cancelled when the distance information satisfies the second distance condition.

12. An electronic device, comprising: It includes: A processor; A memory for storing processor-executable instructions; Wherein, the processor is configured to execute the instructions to realize the method of any one of claims 1 to 10.

13. A computer program product having stored thereon a computer program, the computer program comprising: computer readable program means for causing a computer to perform the steps of the method according to any one of claims 1 to 12. The computer program is executed by the processor to realize the method of any one of claims 1 to 10. The computer program is executed by the processor to realize the method of any one of claims 1 to 10.