Operation control method and apparatus for virtual article, and electronic device

By realizing the intelligent identification and rapid positioning functions of virtual items in the game, the problem of low efficiency of material transfer operations in the game is solved, and the game experience and hardware resource utilization are improved.

WO2024041218A9PCT designated stage expired Publication Date: 2024-09-12NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/105035
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-08-22
Filing Date
2023-06-30
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

In the game, players need to frequently transfer materials from the warehouse area to the maintenance area. Especially when the maintenance area is divided into multiple types of storage columns, the operation efficiency of finding suitable storage columns is low, the cost of trial and error is high, and the hardware equipment is responsive The frequency is high and computing resources are wasted.

Method used

Provide an operation control method and device for virtual items, realize the movement and placement of virtual items on the terminal device through a graphical user interface, intelligently identify the target sub-container, and quickly locate near the target sub-container, reducing dragging items to find storage columns time and improve operational efficiency.

Benefits of technology

It improves the convenience and efficiency of virtual item transfer operations, reduces players' requirements for game understanding and trial and error costs, reduces the response frequency of hardware devices, and saves computing resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023105035_12092024_PF_FP_ABST
    Figure CN2023105035_12092024_PF_FP_ABST
Patent Text Reader

Abstract

An operation control method for a virtual article. The method comprises: in response to a movement control operation for a first virtual article in a first storage container, controlling the first virtual article to move (S102); determining, from among a plurality of sub-containers, a target sub-container for the placement of the first virtual article (S104); in response to the first virtual article moving to a second display area, and on the basis of a first current position of the first virtual article in the second display area, determining a first specified sub-area in the second display area, and performing control to display the target sub-container in the first specified sub-area, wherein the first current position is located in the first specified sub-area, or the distance between the first current position and the first specified sub-area is less than a preset threshold value (S106); and in response to the ending of the movement control operation, placing the first virtual article in the target sub-container (S108). By means of the method, the operation time for searching for a target sub-container can be shortened, thereby improving the operation efficiency, and reducing the understanding requirement and the trial-and-error cost of a player for a game.
Need to check novelty before this filing date? Find Prior Art

Description

Virtual item operation control method, device and electronic device

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This disclosure claims priority to Chinese patent application number 202211008075.5, filed on August 22, 2022, entitled “Method, device and electronic device for controlling operation of virtual items”, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present disclosure relates to the field of game technology, and in particular to a method, device, and electronic device for controlling the operation of virtual items. Background Art

[0004] In some game scenarios, players are often required to collect and cultivate various game supplies. To meet game requirements, players need to frequently transfer supplies between the warehouse area and the maintenance area. However, the maintenance area is typically divided into different types of storage slots, and some different types of storage slots can store the same supplies. For example, the maintenance area has safety slots, weapon slots, equipment slots, and consumable slots. Consumable items can be stored in either the safety slot or the consumable slot.

[0005] In the related art, when a player moves an item from the warehouse area to the preparation area, and there are multiple storage columns in the preparation area where the item can be placed, if the storage column where the item can be placed is not fully displayed in the interface, the player needs to drag the item and slide it up and down in the preparation area to find the corresponding storage column. It is difficult for the player to quickly locate the storage column where the item can be placed, the operation efficiency is low, and the player needs to have a certain understanding of the game. The cost of trial and error is high, and the response frequency of the hardware device is too high, which wastes the computing resources of the hardware device.

[0006] Summary of the Invention

[0007] In view of this, the purpose of the present disclosure is to provide a method, device and electronic device for controlling the operation of virtual items, so as to solve the problem that players need to drag virtual items up and down in the game to find a target sub-container in which to place the virtual items, thereby reducing the trial and error cost of the game, improving the convenience and efficiency of transferring virtual items, improving the player's gaming experience, reducing the response frequency of hardware devices, and helping to save the computing resources of hardware devices.

[0008] According to one aspect of the present disclosure, a method for controlling the operation of virtual items is provided. Typically, a terminal device provides a graphical user interface, the graphical user interface including a first display area of ​​a first storage container and a second display area of ​​a second storage container; the second storage container includes multiple sub-containers; the method includes: in response to a move control operation on a first virtual item in the first storage container, controlling the movement of the first virtual item; determining a target sub-container for placing the first virtual item from the multiple sub-containers; in response to the first virtual item moving to the second display area, determining a first designated sub-area within the second display area based on a first current position of the first virtual item in the second display area, and controlling the target sub-container to be displayed in the first designated sub-area of ​​the second display area; wherein the first current position is within the first designated sub-area, or the distance between the first current position and the first designated sub-area is less than a preset threshold; and in response to the completion of the move control operation, placing the first virtual item in the target sub-container.

[0009] According to one aspect of the present disclosure, a device for controlling the operation of a virtual item is provided. Typically, a terminal device provides a graphical user interface, the graphical user interface including a first display area of ​​a first storage container and a second display area of ​​a second storage container; the second storage container includes multiple sub-containers; the device includes: a virtual item movement module for controlling the movement of the first virtual item in the first storage container in response to a movement control operation on the first virtual item in the first storage container; a target sub-container determination module for determining a target sub-container for placing the first virtual item from the multiple sub-containers; a target sub-container display module for determining a first designated sub-container within the second display area based on a first current position of the first virtual item in the second display area in response to the first virtual item moving to the second display area, and controlling the display of the target sub-container in the first designated sub-container of the second display area; wherein the first current position is within the first designated sub-container, or the distance between the first current position and the first designated sub-container is less than a preset threshold; and a virtual item placement module for placing the first virtual item in the target sub-container in response to the completion of the movement control operation.

[0010] According to one aspect of the present disclosure, an electronic device is also provided, including a processor and a memory, wherein the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the virtual item operation control method of the first aspect above.

[0011] According to one aspect of the present disclosure, a computer-readable storage medium is further provided, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the virtual item operation control method of the first aspect mentioned above.

[0012] The disclosed embodiments of a virtual item operation control method, apparatus, and electronic device control the movement of a first virtual item in a first storage container in response to a move control operation directed at the first virtual item; determine a target sub-container for placing the first virtual item from a plurality of sub-containers; and, in response to the first virtual item moving to a second display area, determine a first designated sub-area within the second display area based on the first virtual item's first current position in the second display area, and control the display of the target sub-container in the first designated sub-area; wherein the first current position is within the first designated sub-area, or the distance between the first current position and the first designated sub-area is less than a preset threshold; and, in response to the termination of the move control operation, place the first virtual item in the target sub-container. In this method, when the first virtual item moves from the first storage container to the second storage container, the target sub-container for placing the first virtual item is intelligently identified and the target sub-container is quickly positioned at the first current position of the first virtual item, eliminating the need for the player to drag the item up and down the second storage container. This reduces the time required to find the target sub-container by dragging the item up and down, improves operational efficiency, reduces the player's understanding of the game and the cost of trial and error, and reduces the response frequency of the hardware device, thereby conserving computing resources of the hardware device. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] FIG1 is a flow chart of a method for controlling the operation of virtual items provided by an embodiment of the present disclosure;

[0014] FIG2 is a schematic diagram of an interactive operation control of a virtual item provided by an embodiment of the present disclosure;

[0015] FIG3 is a schematic diagram of another interactive operation control of a virtual item provided by an embodiment of the present disclosure;

[0016] FIG4 is a schematic diagram of another interactive operation control of a virtual item provided by an embodiment of the present disclosure;

[0017] FIG5 is a schematic diagram of another interactive operation control of a virtual item provided by an embodiment of the present disclosure;

[0018] FIG6 is a schematic diagram of another interactive operation control of a virtual item provided by an embodiment of the present disclosure;

[0019] FIG7 is a schematic diagram of the structure of a virtual item operation control device provided by an embodiment of the present disclosure;

[0020] FIG8 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0021] To make the purpose, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only part of the embodiments of the present disclosure, not all of them. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making any creative efforts shall fall within the scope of protection of the present disclosure.

[0022] In some game scenarios, players are often required to collect and cultivate various game supplies. For example, in survival escape games, players need to frequently transfer supplies between the warehouse area and the maintenance area to meet game requirements. However, the maintenance area is usually divided into different types of storage slots, and some different types of storage slots can store the same supplies. For example, the maintenance area has safety slots, weapon slots, equipment slots, and consumable slots. Consumable items can be stored in either the safety slot or the consumable slot.

[0023] In the related art, when a player moves an item from the warehouse area to the preparation area, and there are multiple storage columns in the preparation area that can hold the item, if the storage column that can hold the item is not fully displayed on the interface, the player needs to drag the item and slide it up and down in the preparation area to find the corresponding storage column, and then release the item after finding the corresponding storage column to complete the item transfer. However, this operation method requires the player to have a certain understanding of the item types and each storage column before being able to quickly find the storage column that can hold the item during the dragging process. It is difficult for novice players to quickly locate the storage column that can hold the item, and they need to manually slide up and down each time to find the storage column that can hold the item in the preparation area. When there is a lot of equipment and a large number of items need to be transferred, this operation will take a lot of time, the operation efficiency is low, and it requires the player to have a certain understanding of the game. The trial and error cost is high, resulting in reduced player operation efficiency and gaming experience.

[0024] Based on this, the embodiments of the present disclosure provide a method, device, and electronic device for controlling the operation of virtual items. This technology can be applied to electronic devices such as mobile phones, computers, notebooks, or tablets.

[0025] In one embodiment of the present disclosure, the method for controlling the operation of virtual items can be executed on a local terminal device or a server. When the method for controlling the operation of virtual items is executed on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0026] In an optional embodiment, various cloud applications, such as cloud games, can be run under the cloud interaction system. Taking cloud games as an example, cloud games refer to a gaming method based on cloud computing. In the cloud game operation mode, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the operation control method of the virtual items are completed on the cloud game server. The role of the client device is to receive and send data and present the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, TV, computer, PDA, etc.; but the cloud game server in the cloud is responsible for information processing. When playing the game, the player operates the client device to send operation instructions to the cloud game server. The cloud game server runs the game according to the operation instructions, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.

[0027] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present the game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, conventionally downloading and installing the game program through an electronic device and running it. The local terminal device can provide the graphical user interface to the player in a variety of ways, for example, it can be rendered and displayed on the terminal's display screen, or provided to the player through holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present the graphical user interface, the graphical user interface includes the game screen, and the processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.

[0028] In one possible implementation, an embodiment of the present disclosure provides an operation control method for virtual items, providing a graphical user interface through a terminal device, wherein the terminal device can be the local terminal device mentioned above, or it can be the client device in the cloud interaction system mentioned above. Usually, the terminal device provides a graphical user interface, which includes a first display area of ​​a first storage container and a second display area of ​​a second storage container; the second storage container includes multiple sub-containers. The sub-containers included in the second storage container are used to place virtual items, and each sub-container can place multiple virtual items. Specifically, each sub-container includes multiple placement positions, and each placement position can place a virtual item. In other words, the second storage container has multiple storage partitions (i.e., the above-mentioned sub-containers), each partition is used to place multiple virtual items, and each partition is used to place different types of virtual items.

[0029] As shown in FIG1 , the operation control method of the virtual item includes the following steps:

[0030] Step S102, responding to a movement control operation on a first virtual item in a first storage container, controlling the movement of the first virtual item;

[0031] Step S104, determining a target sub-container for placing the first virtual item from the multiple sub-containers;

[0032] The above-mentioned first storage container usually refers to the virtual warehouse area set up in the game, and the above-mentioned second storage container usually refers to the virtual preparation area set up in the game, wherein the virtual preparation area includes multiple different types of storage columns (i.e., the above-mentioned sub-containers), and usually different sub-containers are used to place different types of virtual items. Of course, some different types of sub-containers can store the same type of virtual items. The above-mentioned first virtual items can be virtual weapons, virtual medicines, virtual equipment, virtual clothing, etc. set up in the game. The second display area of ​​the above-mentioned second storage container can display multiple sub-containers at the same time, as shown in Figure 2, wherein the second display area displays three sub-containers (such as the three sub-containers A1, B and A2 in the figure), and each sub-container has multiple storage areas for placing virtual items. As shown in Figure 2, the A1 sub-container includes 10 rectangular blocks, which are storage areas for placing virtual items.

[0033] The aforementioned movement control operation for the first virtual item can be a touch-slide operation acting on the first virtual item. Typically, one can first click the first virtual item placed at the target location in the first storage container. While clicked, moving the mouse or finger can control the first virtual item's position to change as the finger or mouse moves. The first virtual item can then be dragged from the target location to control its movement in the first display area. At this point, the system intelligently identifies the first virtual item and then determines a target sub-container within the multiple sub-containers of the second storage container where the first virtual item can be placed. This target sub-container can be one or more.

[0034] For example, based on the size, type, and attributes of the first virtual item, as well as the storage space and type of the sub-container, a sub-container that matches the first virtual item can be first identified. For example, if the first virtual item is a pistol, a weapon box for storing pistols can be searched for among multiple sub-containers. If the first virtual item is a hat, a clothing box for storing clothing can be searched for among multiple sub-containers. Furthermore, safes can typically also store pistols and hats, so the sub-containers that match the first virtual item can be weapon boxes and safes, or clothing boxes and safes. Then, based on the storage space of the matching sub-container and the size of the first virtual item, it can be determined whether there is space for the first virtual item. If so, the matching sub-container can be determined as the target sub-container.

[0035] Step S106: In response to the first virtual item moving to the second display area, based on a first current position of the first virtual item in the second display area, determining a first designated sub-area within the second display area, and controlling the display of the target sub-container within the first designated sub-area of ​​the second display area; wherein the first current position is within the first designated sub-area, or the distance between the first current position and the first designated sub-area is less than a preset threshold;

[0036] As can be seen from the foregoing, the graphical user interface displays a second display area for a second storage container. The second display area may include multiple sub-containers of different types, such as safes, weapon boxes, equipment boxes, and consumable boxes. Consumable items can be stored in safes or consumable boxes. The first current position is the location of the first virtual item in the second display area. The first virtual item may have its entire item area located in the second display area, or it may have its partial item area located in the second display area (for example, more than 50% of the first virtual item's area is located in the second display area). The first designated sub-area is used to display the target sub-container, that is, the size of the first designated sub-area is the same as the size of the target sub-container. The preset threshold can be set according to the actual needs of the game. The first designated sub-area may be located above the first current position or below the first current position. However, the first designated sub-area is typically located near the first current position, so that the first virtual item can be moved from the first current position to the first designated sub-area by a relatively small movement.

[0037] In actual implementation, when controlling the removal of the first virtual item from the first display area and its movement into the second display area, the first virtual item's current position in the second display area, i.e., the aforementioned first current position, is first determined based on the designated sub-area corresponding to the current position, i.e., the aforementioned first designated sub-area. The target sub-container is then controlled to be displayed in the designated sub-area. Specifically, the control method may be to control the scrolling of multiple sub-containers in the second storage container so that the target sub-container is displayed in the designated sub-area. Typically, the multiple sub-containers are displayed in a certain order, such as, as shown in FIG. 2 , in the order of sub-container A1, sub-container B, sub-container A2, and so on.

[0038] Step S108 : In response to the end of the movement control operation, the first virtual item is placed in the target sub-container.

[0039] During the movement process, the first virtual item is in a state of being clicked or selected and dragged at the same time. The end of movement control can be specifically when the player's finger releases the selected and dragged first virtual item, or when the mouse is released, which is a drag release operation and a click release operation. When the terminal device detects the end of the movement control operation for the first virtual item, the movement of the first virtual item is stopped. In addition, if the movement control of the first virtual item in the first designated sub-area is ended, the movement of the first virtual item is first stopped, and then the first virtual item is placed in the corresponding position of the target sub-container. At the same time, the icon of the first virtual item is displayed at the item placement position of the target sub-container in the second display area.

[0040] Specifically, when the target sub-container is displayed in the first designated sub-area of ​​the second display area, if the currently displayed target sub-container is the container that the player wants to place, and the first current position is located in the first designated sub-area, the player can directly let go, or control the mouse to pop up, to place the first virtual item in the target sub-container. If the currently displayed target sub-container is the container that the player wants to place, and the distance between the first current position and the first designated sub-area is less than a preset threshold, that is, the first designated sub-container is located in the vicinity of the first current position, then the player needs to control the first virtual item to move to the first designated sub-area, and then let go, or control the mouse to pop up, to place the first virtual item in the target sub-container. If the currently displayed target sub-container is not the container that the player wants to place, the player can also control the first virtual item to move in the second display area to find a suitable target sub-container for placing the first virtual item.

[0041] The aforementioned virtual item operation control method controls the movement of the first virtual item in a first storage container in response to a move control operation directed at the first virtual item; determines a target sub-container for placing the first virtual item from a plurality of sub-containers; and, in response to the first virtual item moving to a second display area, determines a first designated sub-area within the second display area based on the first current position of the first virtual item in the second display area, and controls the display of the target sub-container in the first designated sub-area of ​​the second display area; wherein the first current position is within the first designated sub-area, or the distance between the first current position and the first designated sub-area is less than a preset threshold; and, in response to the termination of the move control operation, places the first virtual item in the target sub-container. In this method, when the first virtual item moves from the first storage container to the second storage container, the target sub-container for placing the first virtual item is intelligently identified and quickly positioned at the first current position of the first virtual item, eliminating the need for the player to drag the item up and down the second storage container. This reduces the time required to drag the item up and down to find the target sub-container, improves operational efficiency, and reduces the player's understanding of the game and the trial-and-error cost.

[0042] The first virtual item is pre-placed in a first position in the first storage container, such as square 1 in FIG. 2 . The following describes a possible implementation of step S102 , in which the first virtual item is controlled to move in response to a movement control operation directed to the first virtual item in the first storage container.

[0043] In response to a movement control operation on the first virtual item in the first storage container, the first virtual item is controlled to move out of the first position.

[0044] For example, in an initial state, a first virtual item is placed in the first position of a first storage container, which may be displayed as a grid. As shown in FIG2 , a first virtual item A is pre-placed in the first position of the first storage container, namely, grid 1 in the figure. When the first virtual item is clicked or selected with a finger or mouse, the first virtual item is controlled to move within the first display area of ​​the first storage container by dragging the item. As shown in FIG2 , the warehouse area in the figure is the first display area of ​​the first storage container. When the first virtual item is controlled to move out of the first position, that is, out of grid 1 in the warehouse area, the icon of the first virtual item displayed in grid 1 disappears.

[0045] In this manner, when the first virtual object is controlled to move out of the first position, feedback is immediately given to the player's movement control operation, which is beneficial for the player's understanding and operation.

[0046] The following describes a possible implementation of the step of determining a target sub-container in which to place the first virtual item from among multiple sub-containers in step S102 above:

[0047] According to the item type of the first virtual item and the container type of the sub-container, a target sub-container in which the first virtual item can be placed is determined from the plurality of sub-containers.

[0048] The first display area is typically located on the right side of the graphical user interface, and the second display area is typically located on the left side of the graphical user interface. FIG2 is a schematic diagram illustrating an interactive operation control for a virtual item, including a warehouse area (corresponding to the first display area) and a maintenance area (corresponding to the second display area). Specifically, upon monitoring the removal of a first virtual item from a first location, a target sub-container for placing the first virtual item is determined from among different sub-containers based on the item type and the container type of the sub-container.

[0049] Typically, different container types indicate that the sub-container stores virtual items of corresponding types. For example, a weapon box is used to store weapons (such as pistols and knives), a clothing box is used to store clothes, hats, shoes, etc., and a safe is used to store consumables. Therefore, based on the item type of the first virtual item and the container type of the sub-container, a target sub-container that can store the first virtual item can be determined from multiple sub-containers. The target sub-container can be one or multiple. If there are multiple target sub-containers, it means that the first virtual item can be placed in different sub-containers.

[0050] In this manner, when the first virtual object moves in the first display area, a target sub-container in which the first virtual object can be placed can be intelligently identified based on the object type and the container type.

[0051] The second storage container includes multiple sub-containers arranged in a specified order; a possible implementation method of controlling the display of the target sub-container in the first specified sub-area is as follows:

[0052] The second display area is controlled to scroll so that a target subcontainer among the multiple subcontainers is displayed in the first designated subarea; wherein the designated arrangement order of the multiple subcontainers remains unchanged.

[0053] Exemplarily, as shown in FIG3 , controlling the list scrolling, that is, controlling the second display area scrolling, causes the target subcontainer among the multiple subcontainers of the second storage container to scroll to the first designated subcontainer, and causes the target subcontainer among the multiple subcontainers to be displayed in the first designated subcontainer.

[0054] Another possible implementation involves controlling the target subcontainer among the multiple subcontainers to move from its current position to the first designated sub-area. Specifically, the second display area (i.e., the second storage container) is controlled to remain stationary, and the target subcontainer among the multiple subcontainers is moved from its current position in the second storage container to the first designated sub-area, where it is displayed. The target subcontainer may include one or more subcontainers, which are generally displayed sequentially in the second display area.

[0055] The following describes a possible implementation of step S106 , which is a step of controlling the target sub-container to be displayed in the first designated sub-area of ​​the second display area when there are multiple target sub-containers:

[0056] The second display area is controlled to scroll so that a first subcontainer closest to the first current position in the target subcontainer is displayed in the first designated sub-area.

[0057] In actual implementation, after clicking or selecting the first virtual item, as shown in FIG3 , and dragging item A (i.e., the aforementioned first virtual item) from the warehouse area on the right (i.e., the aforementioned first display area) to the preparation area on the left (i.e., the aforementioned second display area), the first designated sub-area is determined based on the position of the first virtual item in the preparation area, i.e., the first current position of the second display area. Then, based on the distance between all target sub-containers and the first current position, the distance can be determined by controlling the first sub-container closest to the first current position to be displayed in the first designated sub-area of ​​the preparation area, using the Y-axis of the preparation area as the judgment standard. As shown in FIG3 , the list of the preparation area in the second display area (i.e., multiple sub-containers) will scroll downward, and the first sub-container A1 of the target sub-containers closest to the first current position will be displayed in the first designated sub-area corresponding to the first current position where the first virtual item A is located.

[0058] In this manner, when the first virtual item is dragged to the second display area, the list of multiple sub-containers is controlled to scroll so that the target sub-container closest to the first virtual item is displayed in the first designated sub-area, providing sufficient feedback on where the virtual item can be stored, thereby further improving operational efficiency.

[0059] Furthermore, when there are multiple target sub-containers, another possible implementation method is to control the step of displaying the target sub-containers in the first designated sub-area: control the multiple target sub-containers to move out of the current position, so that the first sub-container closest to the first current position in the target sub-container moves to the first designated sub-area, and the second sub-container other than the first sub-container in the target sub-container moves to the adjacent area after the first sub-container; wherein the first sub-container and the second sub-container are arranged in a specified order.

[0060] Specifically, the second display area is controlled to remain stationary, that is, the list of multiple sub-containers is controlled not to scroll, the multiple target sub-containers are directly moved out of the current position, and the first sub-container closest to the first current position among the multiple target sub-containers is controlled to move to the first designated sub-area. Since the multiple target sub-containers have a specified arrangement order, the second sub-containers other than the first sub-container in the target sub-container also need to be sorted in the specified order and moved after the first sub-container, so that the second sub-container is adjacent to the first sub-container in the first order.

[0061] In order to further improve the player's gaming experience, after the step of controlling the display of the target sub-container in the first designated sub-area, the above method further includes:

[0062] If a second subcontainer other than the first subcontainer in the target subcontainer is not displayed in the second display area, the container identifier of the second subcontainer is controlled to be displayed at a first edge position of the second display area; wherein the first edge position is an edge position in the second display area that is closest to the second subcontainer.

[0063] The first edge position may be the upper edge, lower edge, left edge, or right edge of the second display area. If it is the upper edge or lower edge, the distance may be determined based on the Y-axis of the preparation area. If it is the left edge or right edge, the distance may be determined based on the X-axis of the preparation area. The container identifier of the second sub-container is displayed at the edge position closest to the second sub-container. The identifier may be the name of the second sub-container and an arrow. The second sub-container may be one or more, and both the first sub-container and the second sub-container are target sub-containers.

[0064] For example, after controlling the first sub-container closest to the first current position of the first virtual item to be displayed in the first designated sub-area of ​​the second display area, due to the limited size of the graphical user interface, in order to prompt the player in the second display area, other target sub-containers are hidden above or below the first sub-container. As shown in FIG3 , if the second sub-container is below the list of multiple sub-containers, the name of the second sub-container A2 will be displayed at the lower edge of the second display area with an arrow indicator, prompting the player that there is a target sub-container below the first sub-container A1 where the first virtual item can be placed.

[0065] It should be noted that if the second display area can display a maximum of three sub-containers, if there are two target sub-containers and the first designated sub-area is located at the upper edge or middle area of ​​the second display area, the second display area can directly display the two target sub-containers. If the target sub-containers include four, one, two or even three sub-containers may not be displayed in the second display area. In this case, it is necessary to display the container identifiers of one, two or even three sub-containers at the first edge position.

[0066] In this manner, by displaying the container identifier of the target sub-container, the player can be reminded that in addition to the target container currently displayed in the first designated sub-area, there are other target sub-containers where the first virtual item can be placed, further improving the player's operating efficiency and gaming experience.

[0067] To further enhance the player's communication experience, after the step of controlling the display of the target sub-container in the first designated sub-area when there are multiple target sub-containers, the method further includes:

[0068] In response to at least a portion of the first virtual object moving out of the first designated sub-area, a second designated sub-area is determined within the second display area based on a second current position of the first virtual object after the movement, and a second sub-container of the target sub-container is controlled to be displayed within the second designated sub-area; wherein the second current position is within the second designated sub-area, or a distance between the second current position and the second designated sub-area is less than a preset threshold.

[0069] In actual implementation, within the first sub-container of the target sub-container in the second display area, clicking or selecting the first virtual item moves it from the first designated sub-area to the second sub-container of the target sub-container. As shown in FIG4 , the first virtual item is moved out of the square of the first sub-container A1. At this point, the icon of the first virtual item in the square disappears, and the icon of the first virtual item in the second display area is controlled to move in the direction of the container identifier of the second sub-container of the target sub-container. In actual operation, the movement control operation of the first virtual item requires controlling at least a portion of the first virtual item to move out of the first designated sub-area. As shown in FIG5 , using the Y-axis of the maintenance area as the distance judgment standard, the icon of the first virtual item A can be controlled to move out of the first designated sub-area to a height greater than 50% of its own height. This triggers the control of the second sub-container to be displayed in the second designated sub-area of ​​the second display area.

[0070] As shown in Figures 4 and 5, the second current position is located below the first designated sub-area, controlling the distance to the second sub-container displayed in the second designated sub-area of ​​the second display area. Specifically, as shown in Figure 6, after clicking or selecting the first virtual item icon A and moving it outside the first designated sub-area, the second display area will automatically scroll upwards based on the movement direction of the first virtual item, automatically adapting the second sub-container A2 to move to or near the second current position of the first virtual item A, i.e., the second designated sub-area. This makes searching for the target sub-container in the second display area much simpler and faster.

[0071] In this way, when there are multiple target sub-containers, the list scrolling can be triggered again by controlling the movement of the virtual object, and the target sub-container in the moving direction is automatically adapted to be displayed at the current position of the virtual object, making the operation of finding the target sub-container in the second display area simpler and faster.

[0072] After the step of controlling the target sub-container to be displayed in the first designated sub-area, the method further includes: if the first sub-container is not displayed in the second display area, canceling the display of the container identifier located at the first edge position of the second display area; and controlling the container identifier of the first sub-container to be displayed at the second edge position of the second display area; wherein the first edge position and the second edge position are arranged relative to each other in the second display area.

[0073] After controlling the step of displaying the target sub-container in the first designated sub-area, if the player controls the scrolling of the current list of multiple sub-containers so that the first sub-container is not displayed in the second display area, the currently displayed container identifier will be controlled to be canceled, and then the container identifier of the first sub-container will be displayed at the second edge position according to the scrolling direction of the first sub-container after scrolling or the arrangement position of the list.

[0074] For example, after clicking or selecting the icon of the first virtual item A and moving it to the second current position, the second sub-container, such as second sub-container A2 shown in FIG6 , is controlled to be displayed in the second designated sub-area of ​​the second display area. Prior to the automatic adaptation of second sub-container A2 , the container identifier of second sub-container A2 , as shown in FIG4 , which was displayed at the first edge of the second display area, is removed. As shown in FIG4 , the first edge is the bottom edge of the second display area. The container identifier of the first sub-container, such as the name of first sub-container A1 and an indicator arrow, is then controlled to be displayed at the top edge of the second display area, i.e., the second edge, as shown in FIG6 .

[0075] In this method, when a target sub-container is displayed in the second display area, the container identifier of the target sub-container at the display edge is cancelled. When no target sub-container is displayed in the second display area, the container identifier of the target sub-container is displayed in the corresponding edge area, so that the player can understand the position of each target sub-container through the container identifier, thereby further improving the player's operating efficiency and gaming experience.

[0076] In order to further enhance the player's gaming experience, after the step of determining a target sub-container in which to place the first virtual item from among the multiple sub-containers, the method further includes:

[0077] Controls the target subcontainer to be displayed in the second display area in the specified display format.

[0078] The designated display format is used to prompt the player to place the first virtual item in the target sub-container. Specifically, after determining the target sub-container for placing the first virtual item among the multiple sub-containers in the second display area, the target sub-container is controlled to be displayed in the second display area in a designated display format. This designated display format can be a highlighted color display, a flashing display, a masked display, or the like. As shown in Figure 2, target sub-containers A1 and A2 are displayed in gray to indicate the designated display format, primarily to prompt the player that the grayed-out sub-container is the target sub-container.

[0079] In this manner, the target sub-container is displayed in a specified display format, so that the player can intuitively understand the sub-container in which the first virtual item can be currently placed, thereby reducing the player's cost of understanding the game and improving the player's gaming experience.

[0080] The target sub-container includes multiple sub-containers; a possible implementation method of controlling the target sub-container to be displayed in the second display area in a specified display format is as follows:

[0081] Controlling, according to the arrangement order of the plurality of target sub-containers, to display a first sub-container in a first order among the target sub-containers in a specified display format in an area corresponding to a third edge position of the second display area; wherein the third edge position is an edge position corresponding to a first scrolling direction of the second display area;

[0082] If a second subcontainer located after the first subcontainer in the target subcontainer is not displayed in the second display area, control the second subcontainer to be displayed at a fourth edge position of the second display area; wherein the fourth edge position is an edge position corresponding to a second scrolling direction of the second display area, and the first scrolling direction is opposite to the second scrolling direction.

[0083] Specifically, if the scrollable direction of the second display area is up and down scrolling, the above-mentioned first scrolling direction is the upward scrolling direction, that is, the above-mentioned third edge position is the upper edge position of the second display area, and the above-mentioned second scrolling direction is downward scrolling, that is, the above-mentioned fourth edge position is the lower edge position of the second display area; if the scrollable direction of the second display area is left and right scrolling, the above-mentioned first scrolling direction is left scrolling, that is, the above-mentioned third edge position is the left edge position of the second display area, and the above-mentioned second scrolling direction is right scrolling, that is, the above-mentioned fourth edge position is the right edge position of the second display area.

[0084] For example, if the first scrolling direction is upward, i.e., the third edge is the upper edge of the second display area, and the second scrolling direction is downward, i.e., the fourth edge is the lower edge of the second display area, the player clicks or selects the first virtual item in the first display area to perform a movement control operation. Based on the arrangement order of the target sub-containers, as shown in FIG2 , the first sub-container A1 is displayed in the area corresponding to the upper edge of the second display area. In actual game scenarios, typically, after the first sub-container, some or all of the second sub-container is displayed in the area corresponding to the fourth edge of the second display area. As shown in FIG2 , the fourth edge corresponds to the lower edge of the second display area. Alternatively, when the second sub-container is hidden, the container identifier of the second sub-container, i.e., the name of the second sub-container and an arrow with a direction indicator, is displayed at the fourth edge of the second display area. The fourth edge corresponds to downward scrolling of the second display area.

[0085] The above method is highly practical, increases the identification of item categories when transferring materials, reduces the time players spend searching for category locations when transferring materials from the warehouse to the maintenance area, and greatly increases operational efficiency. When transferring materials, players are given clear information about the number of slots that can be placed and the direction of operation, reducing the entry threshold for novice players. When a material can be stored in multiple category slots, the direction of the player's movement can be determined by the player's slight up and down movement, greatly reducing the player's operating costs, reducing the response frequency of the hardware device, and helping to save the computing resources of the hardware device.

[0086] In accordance with the above method embodiment, referring to a virtual item operation control device shown in FIG7 , a terminal device generally provides a graphical user interface, the graphical user interface including a first display area of ​​a first storage container and a second display area of ​​a second storage container; the second storage container includes a plurality of sub-containers; the device includes:

[0087] A virtual item moving module 71 is configured to control the movement of the first virtual item in the first storage container in response to a movement control operation.

[0088] a target sub-container determining module 72, configured to determine a target sub-container for placing the first virtual item from among the multiple sub-containers;

[0089] a target sub-container display module 73 for, in response to the first virtual item moving to the second display area, determining a first designated sub-area within the second display area based on a first current position of the first virtual item in the second display area, and controlling the display of the target sub-container within the first designated sub-area of ​​the second display area; wherein the first current position is within the first designated sub-area, or the distance between the first current position and the first designated sub-area is less than a preset threshold;

[0090] The virtual item placement module 73 is configured to place the first virtual item in the target sub-container in response to the completion of the movement control operation.

[0091] The aforementioned virtual item operation control device controls the movement of the first virtual item in a first storage container in response to a move control operation directed at the first virtual item; determines a target sub-container for placing the first virtual item from a plurality of sub-containers; and, in response to the first virtual item moving to a second display area, determines a first designated sub-area within the second display area based on a first current position of the first virtual item in the second display area, and controls the display of the target sub-container in the first designated sub-area of ​​the second display area; wherein the first current position is within the first designated sub-area, or the distance between the first current position and the first designated sub-area is less than a preset threshold; and, in response to the termination of the move control operation, places the first virtual item in the target sub-container. In this method, when the first virtual item moves from the first storage container to the second storage container, the target sub-container for placing the first virtual item is intelligently identified and the target sub-container is quickly positioned at the first current position of the first virtual item, eliminating the need for the player to drag the item up and down within the second storage container. This reduces the time required to drag the item up and down to find the target sub-container, improves operational efficiency, reduces the player's understanding of the game and the cost of trial and error, and reduces the response frequency of the hardware device, thereby conserving computing resources of the hardware device.

[0092] Optionally, the virtual item moving module includes: responding to a movement control operation on the first virtual item in the first storage container, controlling the first virtual item to move out of the first position.

[0093] Optionally, the virtual item moving module includes: determining a target sub-container capable of placing the first virtual item from among a plurality of sub-containers according to the item type of the first virtual item and the container type of the sub-container.

[0094] Optionally, the second storage container includes multiple sub-containers arranged in a specified order; the target sub-container display module includes: controlling the scrolling of the second display area so that the target sub-container among the multiple sub-containers is displayed in the first specified sub-area; wherein the specified arrangement order of the multiple sub-containers remains unchanged.

[0095] Optionally, the second storage container includes a plurality of sub-containers arranged in a specified order; the target sub-container display module includes: controlling the target sub-container among the plurality of sub-containers to move out of a current position and to the first specified sub-area.

[0096] Optionally, when there are multiple target sub-containers, the target sub-container display module includes: controlling the second display area to scroll so that a first sub-container closest to the first current position in the target sub-container is displayed in the first designated sub-area.

[0097] Optionally, when there are multiple target sub-containers, the target sub-container display module includes: controlling the multiple target sub-containers to move out of the current position, so that the first sub-container closest to the first current position in the target sub-container moves to the first designated sub-area, and the second sub-container other than the first sub-container in the target sub-container moves to the adjacent area behind the first sub-container; wherein the first sub-container and the second sub-container are arranged in a specified order.

[0098] Optionally, the above-mentioned device also includes: a container identifier first display module, which is used to: if the second sub-container other than the first sub-container in the target sub-container is not displayed in the second display area, control the container identifier of the second sub-container other than the first sub-container in the target sub-container to be displayed at a first edge position of the second display area; wherein the first edge position is the edge position in the second display area closest to the second sub-container.

[0099] Optionally, when there are multiple target sub-containers, the apparatus further includes: a container identification second display module, configured to: in response to at least a portion of the first virtual item moving out of the first designated sub-area, determine a second designated sub-area within the second display area based on a second current position of the first virtual item after the move, and control the display of a second sub-container of the target sub-container in the second designated sub-area; wherein the second current position is within the second designated sub-area, or the distance between the second current position and the second designated sub-area is less than a preset threshold.

[0100] Optionally, the above-mentioned device also includes: a container identification third display module, which is used to: if the first sub-container is not displayed in the second display area, cancel the display of the container identification located at the first edge position of the second display area; control the container identification of the first sub-container to be displayed at the second edge position of the second display area; wherein the first edge position and the second edge position are arranged relative to each other in the second display area.

[0101] Optionally, the apparatus further includes: a sixth display module, configured to control the target sub-container to be displayed in the second display area in a specified display format.

[0102] Optionally, when there are multiple target sub-containers, the virtual item movement module includes: according to the arrangement order of the multiple target sub-containers, controlling the first sub-container in the target sub-containers that is located in the first order to be displayed in the area corresponding to the third edge position of the second display area in a specified display format; wherein the third edge position is the edge position corresponding to the first scrolling direction of the second display area; if the second sub-container in the target sub-container that is located after the first sub-container is not displayed in the second display area, controlling the container identifier of the second sub-container to be displayed at the fourth edge position of the second display area; wherein the fourth edge position is the edge position corresponding to the second scrolling direction of the second display area; and the first scrolling direction is opposite to the second scrolling direction.

[0103] The virtual item operation control device provided in the embodiment of the present disclosure has the same technical features as the virtual item operation control method provided in the above embodiment, and therefore can solve the same technical problems and achieve the same technical effects.

[0104] This embodiment further provides an electronic device including a processor and a memory, wherein the memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the aforementioned virtual item operation control method. The electronic device can be a server or a touch-screen terminal device.

[0105] 8 , the electronic device includes a processor 100 and a memory 101. The memory 101 stores machine-executable instructions that can be executed by the processor 100. The processor 100 executes the machine-executable instructions to implement the above-mentioned method for controlling the operation of virtual items. The method generally includes providing a graphical user interface on a terminal device. The graphical user interface includes a first display area of ​​a first storage container and a second display area of ​​a second storage container. The second storage container includes multiple sub-containers. The method includes the following steps:

[0106] In response to a move control operation directed at a first virtual item in a first storage container, the first virtual item is controlled to move; a target sub-container for placing the first virtual item is determined from a plurality of sub-containers; in response to the first virtual item moving to a second display area, a first designated sub-area is determined within the second display area based on a first current position of the first virtual item in the second display area, and the target sub-container is controlled to be displayed in the first designated sub-area of ​​the second display area; wherein the first current position is within the first designated sub-area, or the distance between the first current position and the first designated sub-area is less than a preset threshold; and in response to the termination of the move control operation, the first virtual item is placed in the target sub-container. In this method, when the first virtual item moves from the first storage container to the second storage container, the target sub-container for placing the first virtual item is intelligently identified and the target sub-container is quickly positioned at the first current position of the first virtual item, eliminating the need for the player to drag the item up and down within the second storage container. This reduces the time required to drag the item up and down to find the target sub-container, improves operational efficiency, reduces the player's understanding of the game and the cost of trial and error, and reduces the response frequency of the hardware device, thereby conserving computing resources of the hardware device.

[0107] Optionally, the first virtual item is pre-placed at a first position in the first storage container; and in response to a movement control operation on the first virtual item in the first storage container, controlling the movement of the first virtual item includes: in response to the movement control operation on the first virtual item in the first storage container, controlling the first virtual item to move out of the first position. In this method, when the first virtual item is moved out of the first position, immediate feedback is provided to the player regarding the movement control operation, which facilitates the player's understanding and operation.

[0108] Optionally, the step of determining a target sub-container in which to place the first virtual item from among the multiple sub-containers includes: determining a target sub-container in which to place the first virtual item from among the multiple sub-containers based on the item type of the first virtual item and the container type of the sub-container.

[0109] Optionally, the second storage container includes multiple sub-containers arranged in a specified order; the step of controlling the display of the target sub-container in the first specified sub-area includes: controlling the scrolling of the second display area so that the target sub-container among the multiple sub-containers is displayed in the first specified sub-area; wherein the specified arrangement order of the multiple sub-containers remains unchanged.

[0110] Optionally, the second storage container includes multiple sub-containers arranged in a specified order; the step of controlling the target sub-container to be displayed in the first specified sub-area includes: controlling the target sub-container in the multiple sub-containers to move out of the current position and move to the first specified sub-area.

[0111] Optionally, when there are multiple target sub-containers, the step of controlling the display of the target sub-containers in the first designated sub-area of ​​the second display area includes controlling the second display area to scroll so that the first sub-container closest to the first current position is displayed in the first designated sub-area. In this manner, when the first virtual item is dragged to the second display area, the list of the multiple sub-containers is controlled to scroll so that the target sub-container closest to the first virtual item is displayed in the first designated sub-area. This provides sufficient feedback on the virtual item's storage location, further improving operational efficiency.

[0112] Optionally, when there are multiple target sub-containers, the step of controlling the target sub-containers to be displayed in the first designated sub-area includes: controlling the multiple target sub-containers to move out of the current positions, so that the first sub-container closest to the first current position in the target sub-containers moves to the first designated sub-area, and so that the second sub-containers other than the first sub-container in the target sub-containers move to the adjacent area behind the first sub-container; wherein the first sub-containers and the second sub-containers are arranged in a specified order.

[0113] Optionally, after the step of controlling the display of the target sub-container in the first designated sub-area, the method further includes: if a second sub-container other than the first sub-container in the target sub-container is not displayed in the second display area, controlling the display of a container identifier of the second sub-container other than the first sub-container in the target sub-container at a first edge position in the second display area; wherein the first edge position is the edge position in the second display area closest to the second sub-container. In this manner, displaying the container identifier of the target sub-container can remind the player that, in addition to the target container currently displayed in the first designated sub-area, there are other target sub-containers in which the first virtual item can be placed, further improving the player's operational efficiency and gaming experience.

[0114] Optionally, after controlling the display of the target sub-container in the first designated sub-area when there are multiple target sub-containers, the method further includes: in response to at least a portion of the first virtual item moving out of the first designated sub-area, determining a second designated sub-area within the second display area based on the second current position of the first virtual item after the movement, and controlling the display of the second sub-container of the target sub-container in the second designated sub-area of ​​the second display area; wherein the second current position is within the second designated sub-area, or the distance between the second current position and the second designated sub-area is less than a preset threshold. In this manner, when there are multiple target sub-containers, controlling the movement of the virtual item can trigger scrolling of the list again, automatically adapting the target sub-container in the direction of movement to be displayed at the current position of the virtual item, thereby simplifying and facilitating the search for the target sub-container in the second display area.

[0115] Optionally, after the step of controlling the display of the target sub-container in the first designated sub-area, the method further includes: if the first sub-container is not displayed in the second display area, canceling the display of the container identifier located at the first edge position of the second display area; and controlling the display of the container identifier of the first sub-container at the second edge position of the second display area; wherein the first edge position and the second edge position are arranged relative to each other in the second display area. In this method, when the second display area displays a target sub-container, the container identifier of the target sub-container at the edge is canceled; when the second display area does not display a target sub-container, the container identifier of the target sub-container is displayed in the corresponding edge area, so that the player can easily understand the location of each target sub-container through the container identifier, further improving the player's operating efficiency and gaming experience.

[0116] Optionally, after determining a target sub-container for placing the first virtual item from among the multiple sub-containers, the method further includes controlling the target sub-container to be displayed in a specified display format in the second display area. In this manner, displaying the target sub-container in the specified display format facilitates the player's intuitive understanding of the sub-container currently available for placing the first virtual item, thereby reducing the player's understanding of the game and improving the player's gaming experience.

[0117] Optionally, when there are multiple target sub-containers, the step of controlling the target sub-containers to be displayed in the second display area in a specified display format includes: according to the arrangement order of the multiple target sub-containers, controlling a first sub-container in a first order among the target sub-containers to be displayed in the specified display format in an area corresponding to a third edge position of the second display area; wherein the third edge position is an edge position corresponding to a first scrolling direction of the second display area; if a second sub-container in the target sub-container that is located after the first sub-container is not displayed in the second display area, controlling the container identifier of the second sub-container to be displayed at a fourth edge position of the second display area; wherein the fourth edge position is an edge position corresponding to a second scrolling direction of the second display area; and the first scrolling direction is opposite to the second scrolling direction.

[0118] Furthermore, the electronic device in FIG8 further includes a bus 102 and a communication interface 103 , and the processor 100 , the communication interface 103 and the memory 101 are connected via the bus 102 .

[0119] Memory 101 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage device. Communication between the system network element and at least one other network element is achieved through at least one communication interface 103 (which may be wired or wireless), and may utilize the Internet, a wide area network, a local area network, a metropolitan area network, etc. Bus 102 may be an ISA bus, a PCI bus, or an EISA bus. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, FIG8 uses a bidirectional arrow, but this does not indicate that there is only one bus or only one type of bus.

[0120] The processor 100 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by an integrated logic circuit of hardware in the processor 100 or by instructions in the form of software. The above-mentioned processor 100 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, or discrete hardware components. The various methods, steps, and logic block diagrams disclosed in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present disclosure can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium well-known in the art, such as a random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or register. The storage medium is located in the memory 101. The processor 100 reads the information in the memory 101 and, in conjunction with its hardware, completes the steps of the method of the aforementioned embodiment.

[0121] This embodiment further provides a machine-readable storage medium storing machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions cause the processor to implement the aforementioned method for controlling the operation of virtual items. The method generally includes providing a graphical user interface on a terminal device, the graphical user interface including a first display area of ​​a first storage container and a second display area of ​​a second storage container; the second storage container includes a plurality of sub-containers; and the method includes the following steps:

[0122] In response to a move control operation directed at a first virtual item in a first storage container, the first virtual item is controlled to move; a target sub-container for placing the first virtual item is determined from a plurality of sub-containers; in response to the first virtual item moving to a second display area, a first designated sub-area is determined within the second display area based on a first current position of the first virtual item in the second display area, and the target sub-container is controlled to be displayed in the first designated sub-area of ​​the second display area; wherein the first current position is within the first designated sub-area, or the distance between the first current position and the first designated sub-area is less than a preset threshold; and in response to the termination of the move control operation, the first virtual item is placed in the target sub-container. In this method, when the first virtual item moves from the first storage container to the second storage container, the target sub-container for placing the first virtual item is intelligently identified and the target sub-container is quickly positioned at the first current position of the first virtual item, eliminating the need for the player to drag the item up and down within the second storage container. This reduces the time required to drag the item up and down to find the target sub-container, improves operational efficiency, reduces the player's understanding of the game and the cost of trial and error, and reduces the response frequency of the hardware device, thereby conserving computing resources of the hardware device.

[0123] Optionally, the first virtual item is pre-placed at a first position in the first storage container; and in response to a movement control operation on the first virtual item in the first storage container, controlling the movement of the first virtual item includes: in response to the movement control operation on the first virtual item in the first storage container, controlling the first virtual item to move out of the first position. In this method, when the first virtual item is moved out of the first position, immediate feedback is provided to the player regarding the movement control operation, which facilitates the player's understanding and operation.

[0124] Optionally, the step of determining a target sub-container in which to place the first virtual item from among the multiple sub-containers includes: determining a target sub-container in which to place the first virtual item from among the multiple sub-containers based on the item type of the first virtual item and the container type of the sub-container.

[0125] Optionally, the second storage container includes multiple sub-containers arranged in a specified order; the step of controlling the display of the target sub-container in the first specified sub-area includes: controlling the scrolling of the second display area so that the target sub-container among the multiple sub-containers is displayed in the first specified sub-area; wherein the specified arrangement order of the multiple sub-containers remains unchanged.

[0126] Optionally, the second storage container includes multiple sub-containers arranged in a specified order; the step of controlling the target sub-container to be displayed in the first specified sub-area includes: controlling the target sub-container in the multiple sub-containers to move out of the current position and move to the first specified sub-area.

[0127] Optionally, when there are multiple target sub-containers, the step of controlling the display of the target sub-containers in the first designated sub-area of ​​the second display area includes controlling the second display area to scroll so that the first sub-container closest to the first current position is displayed in the first designated sub-area. In this manner, when the first virtual item is dragged to the second display area, the list of the multiple sub-containers is controlled to scroll so that the target sub-container closest to the first virtual item is displayed in the first designated sub-area. This provides sufficient feedback on the virtual item's storage location, further improving operational efficiency.

[0128] Optionally, when there are multiple target sub-containers, the step of controlling the target sub-containers to be displayed in the first designated sub-area includes: controlling the multiple target sub-containers to move out of the current positions, so that the first sub-container closest to the first current position in the target sub-containers moves to the first designated sub-area, and so that the second sub-containers other than the first sub-container in the target sub-containers move to the adjacent area behind the first sub-container; wherein the first sub-containers and the second sub-containers are arranged in a specified order.

[0129] Optionally, after the step of controlling the display of the target sub-container in the first designated sub-area, the method further includes: if a second sub-container other than the first sub-container in the target sub-container is not displayed in the second display area, controlling the display of a container identifier of the second sub-container other than the first sub-container in the target sub-container at a first edge position in the second display area; wherein the first edge position is the edge position in the second display area closest to the second sub-container. In this manner, displaying the container identifier of the target sub-container can remind the player that, in addition to the target container currently displayed in the first designated sub-area, there are other target sub-containers in which the first virtual item can be placed, further improving the player's operational efficiency and gaming experience.

[0130] Optionally, after controlling the display of the target sub-container in the first designated sub-area when there are multiple target sub-containers, the method further includes: in response to at least a portion of the first virtual item moving out of the first designated sub-area, determining a second designated sub-area within the second display area based on the second current position of the first virtual item after the movement, and controlling the display of the second sub-container of the target sub-container in the second designated sub-area of ​​the second display area; wherein the second current position is within the second designated sub-area, or the distance between the second current position and the second designated sub-area is less than a preset threshold. In this manner, when there are multiple target sub-containers, controlling the movement of the virtual item can trigger scrolling of the list again, automatically adapting the target sub-container in the direction of movement to be displayed at the current position of the virtual item, thereby simplifying and facilitating the search for the target sub-container in the second display area.

[0131] Optionally, after the step of controlling the display of the target sub-container in the first designated sub-area, the method further includes: if the first sub-container is not displayed in the second display area, canceling the display of the container identifier located at the first edge position of the second display area; and controlling the display of the container identifier of the first sub-container at the second edge position of the second display area; wherein the first edge position and the second edge position are arranged relative to each other in the second display area. In this method, when the second display area displays a target sub-container, the container identifier of the target sub-container at the edge is canceled; when the second display area does not display a target sub-container, the container identifier of the target sub-container is displayed in the corresponding edge area, so that the player can easily understand the location of each target sub-container through the container identifier, further improving the player's operating efficiency and gaming experience.

[0132] Optionally, after determining a target sub-container for placing the first virtual item from among the multiple sub-containers, the method further includes controlling the target sub-container to be displayed in a specified display format in the second display area. In this manner, displaying the target sub-container in the specified display format facilitates the player's intuitive understanding of the sub-container currently available for placing the first virtual item, thereby reducing the player's understanding of the game and improving the player's gaming experience.

[0133] Optionally, when there are multiple target sub-containers, the step of controlling the target sub-containers to be displayed in the second display area in a specified display format includes: according to the arrangement order of the multiple target sub-containers, controlling a first sub-container in a first order among the target sub-containers to be displayed in the specified display format in an area corresponding to a third edge position of the second display area; wherein the third edge position is an edge position corresponding to a first scrolling direction of the second display area; if a second sub-container in the target sub-container that is located after the first sub-container is not displayed in the second display area, controlling the container identifier of the second sub-container to be displayed at a fourth edge position of the second display area; wherein the fourth edge position is an edge position corresponding to a second scrolling direction of the second display area; and the first scrolling direction is opposite to the second scrolling direction.

[0134] The computer program product of the virtual item operation control method, device, electronic device, and storage medium provided in the embodiments of the present disclosure includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the previous method embodiments. The specific implementation can be found in the method embodiments and will not be repeated here.

[0135] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems and devices can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0136] In addition, in the description of the embodiments of the present disclosure, unless otherwise expressly specified or limited, the terms "installed," "connected," and "connected" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integral connections; they can refer to mechanical connections or electrical connections; they can refer to direct connections or indirect connections through an intermediate medium; and they can refer to internal connections between two components. Those skilled in the art will understand the specific meanings of the above terms in the present disclosure based on the specific circumstances.

[0137] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the relevant technology or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0138] In the description of this disclosure, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings and are intended solely to facilitate the description of this disclosure and simplify the description. They do not indicate or imply that the devices or components referred to must have a specific orientation, be constructed, or operate in a specific orientation. Therefore, they should not be construed as limitations on this disclosure. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0139] Finally, it should be noted that the above embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The scope of protection of the present disclosure is not limited thereto. Although the present disclosure has been described in detail with reference to the above embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above embodiments within the technical scope disclosed in the present disclosure, or replace some of the technical features therein with equivalents. Such modifications, changes, or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be based on the scope of protection of the claims.

Claims

1. A method for controlling the operation of a virtual item, generally a terminal device provides a graphical user interface, the graphical user interface comprising a first display area of ​​a first storage container and a second display area of ​​a second storage container; The second storage container includes a plurality of sub-containers; the method includes: In response to a movement control operation on a first virtual item in the first storage container, controlling the movement of the first virtual item; Determine a target sub-container for placing the first virtual item from among the multiple sub-containers; In response to the first virtual item moving to the second display area, based on a first current position of the first virtual item in the second display area, determining a first designated sub-area in the second display area, and controlling the target sub-container to be displayed in the first designated sub-area; wherein the first current position is located in the first designated sub-area, or the distance between the first current position and the first designated sub-area is less than a preset threshold; In response to the end of the movement control operation, the first virtual item is placed in the target sub-container.

2. The method according to claim 1, wherein: The first virtual item is pre-placed at a first position in the first storage container; In response to a movement control operation on a first virtual item in the first storage container, the step of controlling the movement of the first virtual item comprises: In response to a movement control operation on a first virtual item in the first storage container, the first virtual item is controlled to move out of the first position.

3. The method according to claim 1, wherein: The step of determining a target sub-container in which the first virtual item is placed from the plurality of sub-containers comprises: According to the item type of the first virtual item and the container type of the sub-container, a target sub-container in which the first virtual item can be placed is determined from the plurality of sub-containers.

4. The method according to claim 1, wherein: The second storage container includes a plurality of sub-containers arranged in a specified order; The step of controlling the target sub-container to be displayed in the first designated sub-area includes: The second display area is controlled to scroll so that the target sub-container among the multiple sub-containers is displayed in the first designated sub-area; wherein the designated arrangement order of the multiple sub-containers remains unchanged.

5. The method according to claim 1, wherein: The second storage container includes a plurality of sub-containers arranged in a specified order; The step of controlling the target sub-container to be displayed in the first designated sub-area includes: The target sub-container among the multiple sub-containers is controlled to move out of a current position and to move to the first designated sub-area.

6. The method according to claim 4, wherein: When there are multiple target sub-containers, the step of controlling the target sub-containers to be displayed in the first designated sub-area includes: The second display area is controlled to scroll so that a first sub-container in the target sub-container that is closest to the first current position is displayed in the first designated sub-area.

7. The method according to claim 5, wherein: When there are multiple target sub-containers, the step of controlling the target sub-containers to be displayed in the first designated sub-area includes: Control multiple target sub-containers to move out of the current position, so that the first sub-container closest to the first current position in the target sub-containers moves to the first designated sub-region, and the second sub-containers other than the first sub-container in the target sub-containers move to the adjacent region behind the first sub-container; wherein the first sub-containers and the second sub-containers are arranged in the designated order.

8. The method according to claim 6 or 7, wherein: After the step of controlling the target sub-container to be displayed in the first designated sub-area, the method further includes: If a second subcontainer other than the first subcontainer in the target subcontainer is not displayed in the second display area, controlling the container identifier of the second subcontainer to be displayed at a first edge position of the second display area; wherein the first edge position is an edge position in the second display area that is closest to the second subcontainer.

9. The method according to claim 1, wherein: When there are multiple target sub-containers, after the step of controlling the target sub-containers to be displayed in the first designated sub-area, the method further includes: In response to at least part of the first virtual item moving out of the first designated sub-area, a second designated sub-area is determined in the second display area according to a second current position of the first virtual item after the move in the second display area, and a second sub-container of the target sub-container is controlled to be displayed in the second designated sub-area; wherein the second current position is located in the second designated sub-area, or the distance between the second current position and the second designated sub-area is less than the preset threshold.

10. The method according to claim 8, wherein: After the step of controlling the target sub-container to be displayed in the first designated sub-area, the method further includes: If the first subcontainer is not displayed in the second display area, cancel displaying the container identifier located at the first edge position of the second display area; The container identifier of the first sub-container is controlled to be displayed at a second edge position of the second display area; wherein the first edge position and the second edge position are arranged in the second display area relative to each other.

11. The method according to claim 1, wherein: After the step of determining a target sub-container in which to place the first virtual item from among the multiple sub-containers, the method further includes: The target subcontainer is controlled to be displayed in the second display area in a specified display format.

12. The method according to claim 11, wherein: When there are multiple target sub-containers, the step of controlling the target sub-container to be displayed in the second display area in a specified display format includes: According to the arrangement order of the plurality of target sub-containers, control the first sub-container in the first order among the target sub-containers to be displayed in the area corresponding to the third edge position of the second display area in the specified display format; wherein the third edge position is the edge position corresponding to the first scrolling direction of the second display area; If a second subcontainer in the target subcontainer that is located after the first subcontainer is not displayed in the second display area, control the container identifier of the second subcontainer to be displayed at a fourth edge position of the second display area; wherein the fourth edge position is an edge position corresponding to a second scrolling direction of the second display area; and the first scrolling direction is opposite to the second scrolling direction.

13. An operation control device for a virtual item, generally a terminal device provides a graphical user interface, the graphical user interface comprising a first display area of ​​a first storage container and a second display area of ​​a second storage container; The second storage container includes a plurality of sub-containers; the device includes: a virtual item moving module, configured to control the movement of the first virtual item in the first storage container in response to a movement control operation on the first virtual item; a target sub-container determining module, configured to determine a target sub-container for placing the first virtual item from among the multiple sub-containers; a target sub-container display module, configured to, in response to the first virtual item moving to the second display area, determine a first designated sub-area in the second display area based on a first current position of the first virtual item in the second display area, and control the target sub-container to be displayed in the first designated sub-area of ​​the second display area; wherein the first current position is located in the first designated sub-area, or the distance between the first current position and the first designated sub-area is less than a preset threshold; The virtual item placement module is configured to place the first virtual item in the target sub-container in response to the end of the movement control operation.

14. An electronic device comprising a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the operation control method of the virtual item according to any one of claims 1 to 12.

15. A computer-readable storage medium storing computer-executable instructions, wherein when the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the operation control method of the virtual item according to any one of claims 1 to 12.