Virtual item operation control method, device and electronic device

By dynamically displaying the placement of virtual items in the game and adjusting the speed according to the position, the problem of cumbersome virtual items is solved, improving operational fluency and gaming experience.

CN113262485BActive Publication Date: 2024-11-12NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110629097.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-04
Publication Date
2024-11-12
Estimated Expiration
2041-06-04

AI Technical Summary

Technical Problem

In game scenes, the placement operation of virtual items is restricted by the container display area, which causes users to frequently drag and turn pages, which is cumbersome and has poor smoothness, which affects the gaming experience.

Method used

By providing a graphical user interface on the terminal device, in response to the movement control operation of virtual items, dynamically display the placement position in the item storage container, determine the target speed based on the position, and realize scrolling or switching display, simplifying the placement process of virtual items.

Benefits of technology

It improves the smoothness and sense of control of user operations, simplifies the placement of virtual items, and improves the gaming experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113262485B_ABST
    Figure CN113262485B_ABST
Patent Text Reader

Abstract

The present invention provides a method, device and electronic device for controlling the operation of virtual items; wherein the method comprises: in response to the virtual item moving to the first area, determining the target speed according to the position of the virtual item in the first area; in the container display area, dynamically displaying the item placement position in the item storage container at the target speed; in response to the placement operation of the virtual item at the first placement position, placing the virtual item at the first placement position. In this way, by moving the virtual item to the first area, the moving speed of the item placement position in the container display area when it is dynamically displayed can be controlled, and since the user can adjust the dynamic display speed of the item placement position, the user's operation fluency and sense of control are improved; this operation of placing items is simple, fast and has high fluency, which improves the user's gaming experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of game technology, and in particular to a method, device and electronic equipment for operating and controlling virtual items. Background Art

[0002] In many game scenes, containers are usually set up to place the user's items, such as backpacks, safes, warehouses, etc. Taking the warehouse as an example, there are multiple item placement locations in the warehouse, and the item placement locations can specifically be item placement grids, item placement intervals, etc. If the warehouse capacity is relatively large, when the user opens the warehouse, only some of the item placement locations in the warehouse can be displayed in the warehouse display area, and other locations require the user to perform a drag operation or a page turn operation before they can be displayed. When a user places an item in the warehouse, the item is usually dragged immediately after the item is selected, and then the location of the item in the warehouse is considered. If the location the user wants is not displayed in the warehouse display area, the user needs to drag the item back to the original location, then drag or turn the page of the item placement location displayed in the warehouse display area until the user's desired location is displayed, and then drag and place the item again; this method is cumbersome and has poor operation fluency, which is easy to bring a negative gaming experience to the user. Summary of the invention

[0003] In view of this, an object of the present invention is to provide a method, device and electronic device for operating and controlling virtual items, so as to simply and quickly operate and control virtual items, while improving the fluency of user operations and enhancing the user's gaming experience.

[0004] In a first aspect, an embodiment of the present invention provides an operation control method for a virtual item, wherein a graphical user interface is provided through a terminal device, wherein the graphical user interface includes a container display area of ​​an item storage container; the item storage container includes multiple item placement positions; and the container display area displays some item placement positions in the item storage container; the method comprises: in response to a movement control operation on the virtual item, controlling the movement of the virtual item; in response to the virtual item moving to a first area, determining a target speed according to the position of the virtual item in the first area; in the container display area, dynamically displaying the item placement position in the item storage container at the target speed; wherein the dynamic display includes a scrolling display or a switching display; in response to a placement operation on the virtual item at the first placement position, placing the virtual item at the first placement position; wherein the first placement position is the item placement position displayed in the container display area.

[0005] The step of controlling the movement of the virtual item in response to the movement control operation of the virtual item includes: controlling the movement of the virtual item from the virtual backpack to the container display area in response to the first movement control operation of the virtual item; and controlling the movement of the virtual item from the container display area to the first area in response to the second movement control operation of the virtual item.

[0006] The first area includes a plurality of sub-areas, each of which is pre-set with a corresponding speed value; the step of determining the target speed according to the position of the virtual item in the first area in response to the virtual item moving to the first area includes: determining a target sub-area where the virtual item is located in response to the virtual item moving to the first area; and determining the speed value corresponding to the target sub-area as the target speed.

[0007] In the first area, the closer the sub-area is to the container display area, the smaller the corresponding speed value is.

[0008] After the step of determining the speed value corresponding to the target sub-region as the target speed, the method further includes: in response to the virtual item moving from the target sub-region to the first sub-region in the first region, updating the target speed to the speed value corresponding to the first sub-region.

[0009] The above-mentioned first area includes multiple areas; the relative positions of the multiple first areas and the container display area are different; the above-mentioned step of dynamically displaying the item placement position in the item storage container at a target speed in the container display area includes: in response to the virtual item moving to the target first area, determining the moving direction of the item placement position when dynamically displaying the item placement position according to the relative position of the target first area and the container display area; in the container display area, dynamically displaying the item placement position in the item storage container based on the target speed and the moving direction.

[0010] The first area mentioned above includes: an edge area in a specified direction of the container display area, or an external area adjacent to the edge area; wherein the external area is an area outside the container display area.

[0011] The step of placing the virtual object at the first placement position in response to the placement operation of the virtual object at the first placement position includes: placing the virtual object at the first placement position in response to a movement control release operation of the virtual object at the first placement position.

[0012] In response to the placement operation of the virtual item at the first placement position, before the step of placing the virtual item at the first placement position, the method further includes: in response to the virtual item moving to the container display area, or in response to the first or last item placement position of the item storage container being displayed in the container display area, stopping the dynamic display of the item placement positions in the item storage container; wherein, when stopping the dynamic display of the item placement positions in the item storage container, some item placement positions are displayed in the container display area.

[0013] Before the step of determining the target speed according to the position of the virtual object in the first area in response to the virtual object moving to the first area, the method further includes: displaying a first control at a first designated position based on the container display area in response to the virtual object moving to the container display area; expanding the area of ​​the container display area and increasing the item placement position displayed in the container display area in response to the virtual object moving to the first control; and placing the virtual object at the second placement position in response to the placement operation of the virtual object at the second placement position; wherein the second placement position is the item placement position displayed in the container display area.

[0014] After the above steps of expanding the area of ​​the container display region and increasing the placement position of the item displayed in the container display region in response to the virtual item moving to the first control, the method further includes: displaying a second control at a second designated position based on the container display region; and shrinking the area of ​​the container display region and reducing the placement position of the item displayed in the container display region in response to a movement control release operation on the virtual item on the second control.

[0015] In a second aspect, an embodiment of the present invention provides an operation control device for a virtual item, which provides a graphical user interface through a terminal device, wherein the graphical user interface includes a container display area of ​​an item storage container; the item storage container includes multiple item placement positions; the container display area displays some item placement positions in the item storage container; the device includes: a movement control module, which is used to respond to a movement control operation on the virtual item and control the movement of the virtual item; a display module, which is used to respond to the movement of the virtual item to a first area and determine a target speed according to the position of the virtual item in the first area; in the container display area, dynamically displaying the item placement position in the item storage container at the target speed; wherein the dynamic display includes a scrolling display or a switching display; a placement module, which is used to respond to a placement operation on the virtual item at the first placement position and place the virtual item at the first placement position; wherein the first placement position is the item placement position displayed in the container display area.

[0016] In a third aspect, an embodiment of the present invention 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 above-mentioned virtual item operation control method.

[0017] In a fourth aspect, an embodiment of the present invention provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the above-mentioned virtual item operation control method.

[0018] The embodiments of the present invention bring the following beneficial effects:

[0019] The above-mentioned virtual item operation control method, device and electronic device determine a target speed in response to the virtual item moving to the first area according to the position of the virtual item in the first area; dynamically display the item placement position in the item storage container at the target speed in the container display area; and place the virtual item at the first placement position in response to the placement operation of the virtual item at the first placement position. In this way, by moving the virtual item to the first area, the movement speed of the item placement position in the container display area when it is dynamically displayed can be controlled. Since the user can adjust the dynamic display speed of the item placement position, the user's operation fluency and sense of control are improved. This operation of placing items is simple, fast, and has high fluency, which improves the user's gaming experience.

[0020] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

[0021] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0023] Figure 1 A flowchart of a method for controlling the operation of a virtual item provided by an embodiment of the present invention;

[0024] Figure 2An interactive schematic diagram of an operation control of a virtual item provided by an embodiment of the present invention;

[0025] Figure 3 Another interactive schematic diagram of the operation control of a virtual item provided by an embodiment of the present invention;

[0026] Figure 4 Another interactive schematic diagram of the operation control of a virtual item provided by an embodiment of the present invention;

[0027] Figure 5 Another interactive schematic diagram of the operation control of a virtual item provided by an embodiment of the present invention;

[0028] Figure 6 Another interactive schematic diagram of the operation control of a virtual item provided by an embodiment of the present invention;

[0029] Figure 7 A schematic diagram of the structure of a virtual item operation control device provided by an embodiment of the present invention;

[0030] Figure 8 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0032] In relevant game scenes, there are usually containers such as backpacks, safes, warehouses, etc. for holding virtual items owned by users. Users can control the movement of virtual items between backpacks, safes, and warehouses, or control the movement of virtual items between different locations in a container. Taking a warehouse as an example, if the warehouse has a large capacity, when the user opens the warehouse, only some of the item placement locations in the warehouse can be displayed in the warehouse display area, and other locations require the user to perform a drag operation or a page turn operation before they can be displayed. For example, the warehouse is presented in the form of a list, including 200 grids, 4 grids per row, and a total of 50 rows, while the warehouse display area can only display 6 rows at the same time. At this time, the user needs to scroll or switch the warehouse list to view all the grids.

[0033] When a user opens a warehouse, the warehouse display area usually displays the item placement position at the front by default. If the user wants to transfer a virtual item from a safe or backpack to an item placement position at the back of the warehouse, the user needs to manually scroll or switch the warehouse list. When the warehouse display area shows the item placement position the user wants, the user can place the virtual item at that item placement position.

[0034] However, when the user wants to move a virtual item, the usual operation method is to first select and immediately drag the virtual item, and then consider the destination of the virtual item, that is, where the virtual item will be dragged to, and finally drag the virtual item to that location. The above operation is more in line with the user's decision-making logic, but the premise is that the location where the user wants to place the item is displayed in the warehouse display area before dragging the virtual item. If the location where the user wants to place the item is not displayed in the warehouse display area before dragging the virtual item, at this time, the user needs to put the virtual item back to its original position, and then scroll or switch the warehouse list to display the desired item placement position, and then drag the virtual item to the item placement position. This operation interrupts the user's decision-making logic and gives the user a negative feeling of unsmooth operation.

[0035] In addition, if the user drags the virtual item to any position in the warehouse display area, for example, the title area of ​​the warehouse display area, the gap area between the item placement positions, or the item placement position that already contains the virtual item, at this time, if the virtual item is released, the virtual item will be automatically sorted, that is, it will be placed in the next position of the last item placement position in the warehouse by default. If the position is not the position the user wants to place, the user also needs to find the virtual item from the warehouse list, drag the virtual item back to the original position where the virtual item was before it was placed, and then scroll or switch the warehouse list to display the desired item placement position, and then drag the virtual item to the item placement position. This method is more cumbersome to operate, has high operating costs, and the user's operation fluency is poor, which is easy to bring a negative gaming experience to the user.

[0036] Based on the above problems, this embodiment provides a method, device and electronic device for controlling the operation of virtual items. The technology can be applied to virtual scenes or game scenes where virtual items need to be placed, transferred, managed, etc.

[0037] In one embodiment of the present disclosure, the operation control method of the virtual item can be run on a terminal device or a server. The terminal device can be a local terminal device. When the operation control method of the virtual item is run 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.

[0038] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, 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 virtual items are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting 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, a TV, a computer, a handheld computer, etc.; but the terminal device for information processing is a cloud game server in the cloud. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, 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.

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

[0040] In a possible implementation, an embodiment of the present invention provides a method for controlling the operation of a virtual item, providing a graphical user interface through a terminal device, wherein the terminal device may be the local terminal device mentioned above, or may be a client device in the cloud interaction system mentioned above. A graphical user interface is provided through the terminal device, and the graphical user interface includes a container display area of ​​an item storage container; the item storage container includes multiple item placement positions; and the container display area displays some item placement positions in the item storage container.

[0041] The above-mentioned item storage container can be a virtual warehouse, virtual backpack, virtual safe or other container set in the game scene; when the user performs an opening operation on the item storage container, the container display area is displayed in the above-mentioned graphical user interface. If the capacity of the item storage container is large, the item storage container includes a large number of item placement positions, and the item placement positions can specifically be item grids or other forms; multiple item placement positions can be arranged in sequence or in the form of a list. Each item placement position can be used to place one or more virtual items, such as virtual weapons, virtual medicines, virtual equipment, etc. When there are many item placement positions, and the above-mentioned container display area is limited, only some of the item placement positions can be displayed in the container display area at the same time. The user can perform a scrolling operation or a page switching operation on the item placement position to make the container display area display other item placement positions.

[0042] See also Figure 1 As shown, the operation control method of the virtual item includes the following steps:

[0043] Step S102, responding to a movement control operation on a virtual item, controlling the movement of the virtual item;

[0044] A container display area may be displayed in the above-mentioned graphical user interface. For example, only the warehouse display area is displayed; multiple container display areas may also be displayed in the graphical user interface, for example, the backpack display area, the safe display area and the warehouse display area are displayed at the same time. The above-mentioned movement control operation for the virtual item may specifically be a drag operation or a touch sliding operation acting on the virtual item. Usually, it is necessary to click on the virtual item first, and then move the finger or mouse while clicking. At this time, the position of the virtual item changes with the movement of the finger or mouse. For example, in the initial state, the above-mentioned virtual item is located at the item placement position 1 in the backpack display area. The user can select the virtual item from the item placement position 1 and drag it out from the item placement position 1 in the selected state. At this time, the virtual item moves with the user's dragging operation, thereby controlling the movement of the virtual item in the graphical user interface.

[0045] Step S104, in response to the virtual item moving to the first area, determining a target speed according to the position of the virtual item in the first area; in the container display area, dynamically displaying the position of the item in the item storage container at the target speed; wherein the dynamic display includes scrolling display or switching display;

[0046] In the current scene, the user controls the movement of the virtual item by performing a movement control operation, mainly to move the virtual item to the item placement position desired by the user, which may be referred to as the first placement position. If the first placement position is not currently displayed in the container display area, in this embodiment, the virtual item may be controlled to move to the first area. The first area may be set near the container display area to which the first placement position belongs, for example, at the top, bottom, left, right, etc. of the container display area.

[0047] The first area may overlap, partially overlap, be adjacent to or be separated from the container display area. The first area may be displayed in a graphical user interface. For example, when a virtual item is close to the container display area, the first area is displayed in a more eye-catching manner, thereby prompting the user to move the virtual item to the first area. The first area may also be a default area. For example, the top area and the bottom area of ​​the container display area are set as the first area, and the first area is not displayed in an eye-catching manner.

[0048] The position of the virtual item in the first area can be used to control the dynamic display speed of the item placement position in the item storage container. In specific implementation, the first area can be divided into multiple sub-areas, each of which is pre-set with a speed value; or the speed value can change linearly along a certain dimension of the first area. After the virtual item arrives at the first area, the speed value corresponding to the position in the first area can be determined as the above-mentioned target speed. After the target speed is determined, the item placement position in the item storage container is dynamically displayed at the target speed in the container display area.

[0049] It can be understood that the greater the target speed, the faster the dynamic display speed of the item placement position in the item storage container. When the position of the virtual item in the first area changes, if the speed values ​​corresponding to the positions before and after the change are different, the target speed changes immediately. The specific method of the above dynamic display can be set according to actual needs. For example, the item placement position gradually moves in a specified direction to achieve scrolling display. In this case, the target speed can be the scrolling speed; the item placement position can also be divided into multiple screens, and the display is switched one by one. In this case, the target speed can be the switching speed.

[0050] Step S106, in response to a placement operation on the virtual object at the first placement position, the virtual object is placed at the first placement position; wherein the first placement position is the object placement position displayed in the container display area.

[0051] When the virtual item is moved to the first area, the user is usually still performing a moving control operation. At this time, the virtual item is still in a selected and dragged state; the user usually does not release the virtual item in the first area. The dynamic display speed of the item placement position in the container display area can be adjusted by adjusting the position of the virtual item in the first area. The container display area dynamically displays the item placement position. If the item placement position that the user wants to place is displayed, that is, the first placement position, the user can control the virtual item to move to the first placement position and perform a placement operation at the first placement position. The placement operation can specifically be a drag-and-release operation. At this time, the virtual item is placed at the first placement position.

[0052] It should be noted that, after the user has performed a movement control operation on a virtual item, if the item placement position desired by the user is not displayed in the container display area, in this embodiment, there is no need to put the virtual item back in place and then adjust the item placement position displayed in the container display area. Instead, a first area is set in advance, and the user controls the virtual item to move to the first area. Based on the position of the virtual item in the first area, the speed of dynamically displaying the item placement position in the container display area is controlled, thereby dynamically displaying the item placement position until the first placement position desired by the user is displayed.

[0053] The above-mentioned operation control method of virtual items, in response to the virtual item moving to the first area, determines the target speed according to the position of the virtual item in the first area; in the container display area, dynamically displays the item placement position in the item storage container at the target speed; in response to the placement operation of the virtual item at the first placement position, the virtual item is placed at the first placement position; in this way, by moving the virtual item to the first area, the movement speed of the item placement position in the container display area when it is dynamically displayed can be controlled, and since the user can adjust the dynamic display speed of the item placement position, the user's operation fluency and sense of control are improved; this operation of placing items is simple, fast, and has high fluency, which improves the user's gaming experience.

[0054] A specific application scenario applicable to this embodiment is described below: In response to a first movement control operation on a virtual item, the virtual item is controlled to move from the virtual backpack to the container display area; in response to a second movement control operation on the virtual item, the virtual item is controlled to move from the container display area to the first area.

[0055] In this scenario, the container display area may be the display area of ​​a warehouse or a safe, and the user moves the virtual item from the virtual backpack to the warehouse or safe. Virtual backpacks are usually used to hold virtual items that can be brought into a game. Users can take them from the virtual backpack at any time during a game. The above-mentioned first movement control operation may include a click operation on the virtual item, and a drag operation on the virtual item in the click state. When the user wants to move the virtual item from the virtual backpack to the warehouse or safe, the operation that is more in line with the user's operating habits is the above-mentioned first movement control operation, that is, controlling the virtual item to move from the virtual backpack to the container display area. Before executing the above-mentioned first movement control operation, in most cases, it is not considered in advance which item placement position the virtual item is placed.

[0056] When the virtual object moves to the container display area, the user can determine the specific object placement position where the virtual object is placed. If the object placement position is not displayed in the container display area, the second movement control operation is performed, that is, the virtual object is controlled to move from the container display area to the first area, and then the object placement area in the container display area is controlled to be dynamically displayed according to the target speed.

[0057] Figure 2 As a specific example, in the initial state, the virtual item "helmet" is placed in the item placement position 1 in the lower right corner of the virtual backpack. The user drags the virtual item out of the item placement position 1 and moves it to the edge of the warehouse display area. When the user controls the virtual item to move to the edge of the warehouse display area, the edge frame of the warehouse display area can change color, highlight or flash to prompt the user that the warehouse display area can be placed in the virtual item. When the user controls the virtual item to move to the edge of the warehouse display area, it is found that the desired item placement position is not displayed in the warehouse display area at this time. At this time, the user drags the virtual item to the first area. In this example, the first area is set at the bottom of the warehouse display area. By controlling the position of the virtual item in the first area, the dynamic display speed of the item placement position in the warehouse display area is adjusted, so as to quickly display the item placement position desired by the user, and then the user controls the virtual item to move from the first area to the warehouse display area, and after reaching the item placement position desired by the user, the virtual item is placed.

[0058] In the above scenario, even if the container display area does not display the location where the user wants to place the item, there is no need to put the virtual item back into the virtual backpack. By controlling the moving position of the virtual item, the desired location where the item is placed is displayed, and then the placement operation is performed, thereby improving the operational smoothness when the user places the item.

[0059] The specific method for determining the target speed is described below. The above-mentioned first area includes multiple sub-areas, each sub-area is pre-set with a corresponding speed value; in response to the virtual item moving to the first area, the target sub-area where the virtual item is located is determined; the speed value corresponding to the target sub-area is determined as the target speed. Specifically, the first area can be divided into multiple sub-areas, each sub-area occupies a part of the first area. Multiple sub-areas can be displayed in a graphical user interface to prompt the user of the speeds corresponding to different sub-areas. In addition, multiple sub-areas can be set by default according to the user's operating habits and are not displayed in the graphical user interface. When the virtual item is moved to a sub-area, each sub-area is not displayed in a certain specific display method.

[0060] By setting multiple sub-areas and setting a corresponding speed value for each sub-area, users can freely control the dynamic display speed of the item placement position in the container display area, thereby quickly displaying the item placement position the user wants, improving item management efficiency, and thereby improving the user's sense of control over the game interface.

[0061] In a specific implementation, the user can adjust the dynamic display speed of the item placement position according to the distance between the desired item placement position and the currently displayed item placement position. For example, if the distance is far, the dynamic display speed of the item placement position can be increased to display the desired item placement position as soon as possible; if the distance is close, in order to avoid the desired item placement position disappearing after being displayed, the dynamic display speed of the item placement position can be reduced. Taking into account the user's operating habits, in the first area of ​​this embodiment, the closer the sub-area is to the container display area, the smaller the corresponding speed value. If the item placement position desired by the user is far from the item placement position currently displayed in the container display area, the user usually drags the virtual object away from the container display area, hoping that the item placement position can be quickly and dynamically displayed in the container display area, so that the item placement position desired by the user can be displayed in a shorter time. If the item placement position desired by the user is close to the item placement position currently displayed in the container display area, in order to avoid the item placement position desired by the user disappearing after being displayed, the user usually drags the virtual object close to the container display area, hoping that the item placement position can be dynamically displayed at a slower speed in the container display area, so that the item placement position desired by the user can be displayed and the virtual object can be placed at the item placement position.

[0062] Figure 3As an example, a first area is provided at the bottom of the container display area, and the first area includes two sub-areas, namely, sub-area A and sub-area B, wherein sub-area A is closer to the container display area, and the speed value corresponding to sub-area A is smaller than the speed value corresponding to sub-area B. When the virtual object is located in sub-area B, the container display area dynamically displays the object placement position at a faster target speed, and when the virtual object is located in sub-area A, the container display area dynamically displays the object placement position at a slower target speed.

[0063] The above setting method is more in line with the user's operating habits, which is conducive to the user's smooth control of the dynamic display speed of the object placement position and improves the user's operating experience.

[0064] Furthermore, the user can also control the virtual object to move between multiple sub-areas of the first area, thereby controlling the dynamic display speed of the object placement position to change continuously, thereby achieving continuous free control of the dynamic display speed of the object placement position, and further improving the controllability of the display method. Specifically, in response to the virtual object moving from the target sub-area to the first sub-area in the first area, the target speed is updated to the speed value corresponding to the first sub-area. The target sub-area and the first sub-area here are different sub-areas in the first area. The virtual object can move between multiple sub-areas of the first area, and the dynamic display speed of the object placement position also changes accordingly. During the speed change process, the object placement position will not stop the dynamic display unless it has reached the top or bottom of the object placement position.

[0065] by Figure 3 For example, suppose that sub-area A corresponds to speed value v1, and sub-area B corresponds to speed v2; if the sub-area where the virtual item is currently located is sub-area B, then sub-area B is the target sub-area, and the item placement position is dynamically displayed in the container display area at the target speed v2. Sub-area A can be used as the first sub-area. When the virtual item moves from sub-area B to sub-area A, the dynamic display speed of the item placement position in the container display area is switched from v2 to v1, and the item placement position is dynamically displayed at the target speed v1. The speed switching process can be switched instantly, or it can be switched smoothly from v2 to v1. During the smooth switching process, the speed gradually changes from v2 until it reaches v1. The virtual item can repeatedly change its position in sub-area A and sub-area B, and the target speed also switches repeatedly between v1 and v2.

[0066] In this embodiment, in addition to controlling the dynamic display speed of the item placement position, it is also necessary to control the dynamic display direction of the item placement position. To achieve this purpose, the first area includes multiple areas; the relative positions of the multiple first areas and the container display area are different; the dynamic display direction of the item placement position in the container display area is controlled by the relative position of the first area and the container display area. In response to the virtual item moving to the target first area, the moving direction of the item placement position when dynamically displaying the item placement position is determined according to the relative position of the target first area and the container display area; in the container display area, the item placement position in the item storage container is dynamically displayed based on the target speed and moving direction.

[0067] Also Figure 3 For example, Figure 3 The first area includes two, one first area is set at the bottom of the container display area, and the other first area is set at the top of the container display area. When the virtual item is located in the first area at the bottom, the item placement position in the container display area scrolls up or switches to display the item placement position at the back; when the virtual item is located in the first area at the top, the item placement position in the container display area scrolls down or switches to display the item placement position at the front. Figure 3 In the figure, the first area at the top is also divided into two sub-areas, namely sub-area D and sub-area E, wherein the speed value corresponding to sub-area D may be smaller than the speed value corresponding to sub-area E.

[0068] In addition, the first area may be set on the left and right sides of the container display area respectively, so as to control the object placement position to scroll or switch the display to the left or right.

[0069] It can be understood that each first area can be divided into multiple sub-areas. The moving direction of the object placement position in the container display area is determined by the relative position of the first area where the virtual object is located and the container display area. The dynamic display speed of the object placement position in the container display area is determined by the sub-area in the first area where the virtual object is located. This allows the user to accurately control the dynamic display of the object placement position. The operation is simple and convenient, and the display controllability of the container display area is improved.

[0070] In a specific implementation, the first area includes: an edge area in a specified direction of the container display area, or an external area adjacent to the edge area; wherein the external area is an area outside the container display area. The specific position of the first area is not specifically limited, and the first area includes an edge area in a specified direction of the container display area, for example, a top area, a bottom area, a left area or a right area of ​​the container display area. The first area may also include an external area adjacent to the edge area. For example, the first area may be completely set inside the container display area, and the first area may also include a portion of the edge area of ​​the container display area and a portion of the external area, such as Figure 3 The first area may not overlap with the container display area. The first area only includes the area outside the container display area. The specific position of the first area can be flexibly set according to the actual situation of the graphical user interface and the user's operating habits.

[0071] When the container display area displays the desired item placement area, in response to the movement control release operation on the virtual item at the first placement position, the virtual item is placed at the first placement position. During the movement process, the virtual item is in a state of being clicked or selected and dragged at the same time; the movement control release operation can be a click release operation or a drag release operation, that is, the user's finger leaves the display screen or the mouse is popped up.

[0072] In a specific implementation, in order to enable the virtual item to be accurately and quickly placed at the first placement position and improve the convenience of the item placement operation, when the virtual item leaves the first area, in response to the virtual item moving to the container display area, or in response to the first or last item placement position of the item storage container being displayed in the container display area, the dynamic display of the item placement position in the item storage container is stopped; wherein, when the dynamic display of the item placement position in the item storage container is stopped, some item placement positions are displayed in the container display area.

[0073] Specifically, when the item placement position that the user wants is displayed in the container display area, or is about to be displayed in the container display area, the user usually controls the virtual item to leave the first area and enter the container display area. At this time, the item placement position in the item storage container can be controlled to no longer be dynamically displayed, and the item placement position currently displayed in the container display area is in a static state and no longer switches or moves. At this time, the first placement position is also statically displayed in the container display area, and the user can accurately place the virtual item at the first placement position. For example, when the item placement position is scrolling, when the virtual item enters the container display area or contacts the container display area, the item placement position can stop scrolling immediately.

[0074] In addition, if the item placement position in the container display area is scrolled upward or switched, the displayed item placement position will be moved further and further back until the last item placement position in the item holding container is displayed; similarly, if the item placement position in the container display area is scrolled downward or switched, the displayed item placement position will be moved further and further forward until the first item placement position in the item holding container is displayed; at this time, the dynamic display of the item placement position in the item storage container will also stop.

[0075] In addition to the above-mentioned method of dynamically displaying the item placement position, the number of item placement positions displayed in the container display area can also be increased by expanding the container display area. Specifically, in response to the virtual item moving to the container display area, a first control is displayed at a first designated position based on the container display area; in response to the virtual item moving to the first control, the area of ​​the container display area is expanded to increase the item placement positions displayed in the container display area; in response to the placement operation of the virtual item at the second placement position, the virtual item is placed at the second placement position; wherein the second placement position is the item placement position displayed in the container display area.

[0076] The above method is more suitable for the situation where there are not many item placement positions in the item container. When the area of ​​the container display area is expanded, the container display area can display all item placement positions, making it easier for users to place virtual items at the desired item placement positions.

[0077] The first designated position may be located inside the container display area, or may be located at a position partially overlapping with the container display area, or at an external area near the container display area. Figure 4 As shown, after the virtual object is controlled to move to contact the container display area, a first control is displayed at a first specified position. The first control can give the user a prompt through text or symbols, such as the word "expand", to guide the user to move the virtual object to the first control, thereby achieving the expansion of the container display area.

[0078] like Figure 5As shown, after the virtual item moves to the first control and contacts it, the area of ​​the container display area becomes larger, and the placement positions of all items in the container can be displayed. The expanded container display area may block the display area of ​​the virtual backpack or safe that was originally displayed. When the virtual item is placed in the first placement position displayed in the container display area, the container display area can automatically restore to its original size, thereby re-displaying the display area of ​​the virtual backpack or safe, etc., so that the user can perform related operations on other virtual items. At the same time, the first control can also cancel the display to avoid blocking other controls or other display areas. In addition, when the virtual item moves to the first control and contacts it, the first control can prompt the user that the first control has been triggered by changing the color, highlighting, etc. When the container display area has expanded the area, the virtual item leaves the first control. At this time, the above-mentioned first control can be displayed as a "disabled availability" state, for example, the first control is set to gray.

[0079] In order to further flexibly control the display mode of the container display area, when the container display area is expanded, a second control can be displayed at a second designated position based on the container display area; in response to the mobile control release operation on the virtual item on the second control, the area of ​​the container display area is reduced, and the placement position of the item displayed in the container display area is reduced. This situation can be applicable when the container display area is expanded and the user does not want to place the virtual item in the item storage container. At this time, the virtual item can be moved to a position in contact with the second control, and the mobile control release operation is performed at this position, so as to control the area of ​​the container display area to be reduced, for example, to the original area of ​​the container display area. Figure 6 As shown, when the virtual item moves to a position in contact with the second control and is released, the container display area is restored to its original size, so that other display areas such as the virtual backpack are re-displayed on the graphical user interface. At the same time, the second control can also be canceled to avoid blocking other controls or other display areas.

[0080] In the above-mentioned operation control method of the virtual item in this embodiment, when the item holding container is full of items, when the container display area of ​​the item holding container is opened, usually the item placement positions displayed in the container display area are all occupied, and at this time, the virtual item needs to be placed in the item placement position outside the container display area; or even if the item placement position displayed in the container display area is not completely occupied, the user also wants to place the virtual item in the item placement position outside the container display area; in the above case, through the above-mentioned operation control method of the virtual item, by controlling the movement of the virtual item, the dynamic display or extended display of the container display area can be efficiently controlled, and the container display area can be conveniently and quickly controlled to display the item placement position required by the user, and then the virtual item is placed at the position. At the same time, the above method does not need to set buttons and other controls on the graphical user interface, and does not occupy the space of the graphical user interface.

[0081] Corresponding to the above method embodiment, see Figure 7 The schematic diagram of the structure of a virtual item operation control device shown in the figure provides a graphical user interface through a terminal device, wherein the graphical user interface includes a container display area of ​​an item storage container; the item storage container includes a plurality of item placement positions; the container display area displays the placement positions of some items in the item storage container; the device includes:

[0082] The movement control module 70 is used to respond to the movement control operation on the virtual item and control the movement of the virtual item;

[0083] The display module 72 is used to determine a target speed according to the position of the virtual object in the first area in response to the virtual object moving to the first area; and dynamically display the position of the object in the object storage container at the target speed in the container display area; wherein the dynamic display includes scrolling display or switching display;

[0084] The placement module 74 is configured to place the virtual object at the first placement position in response to a placement operation on the virtual object at the first placement position; wherein the first placement position is the object placement position displayed in the container display area.

[0085] The above-mentioned operation control device for virtual items determines a target speed in response to the virtual item moving to the first area according to the position of the virtual item in the first area; dynamically displays the item placement position in the item storage container at the target speed in the container display area; and places the virtual item at the first placement position in response to the placement operation of the virtual item at the first placement position. In this manner, by moving the virtual item to the first area, the movement speed of the item placement position during dynamic display in the container display area can be controlled, and since the user can adjust the dynamic display speed of the item placement position, the user's operation fluency and sense of control are improved. This operation of placing items is simple, fast, and has high fluency, thereby improving the user's gaming experience.

[0086] The movement control module is further used to: respond to a first movement control operation on the virtual item to control the virtual item to move from the virtual backpack to the container display area; respond to a second movement control operation on the virtual item to control the virtual item to move from the container display area to the first area.

[0087] The first area includes a plurality of sub-areas, each of which is pre-set with a corresponding speed value; the display module is further used to: in response to the virtual item moving to the first area, determine the target sub-area where the virtual item is located; and determine the speed value corresponding to the target sub-area as the target speed.

[0088] In the first area, the closer the sub-area is to the container display area, the smaller the corresponding speed value is.

[0089] The above device also includes: a speed updating module, which is used to: in response to the virtual item moving from the target sub-area to the first sub-area in the first area, update the target speed to a speed value corresponding to the first sub-area.

[0090] The above-mentioned first area includes multiple areas; the relative positions of the multiple first areas and the container display area are different; the above-mentioned display module is also used to: in response to the virtual item moving to the target first area, determine the moving direction of the item placement position when dynamically displaying the item placement position according to the relative position of the target first area and the container display area; in the container display area, dynamically display the item placement position in the item storage container based on the target speed and moving direction.

[0091] The first area mentioned above includes: an edge area in a specified direction of the container display area, or an external area adjacent to the edge area; wherein the external area is an area outside the container display area.

[0092] The placement module is further configured to place the virtual object at the first placement position in response to a release operation of the movement control of the virtual object at the first placement position.

[0093] The above-mentioned device also includes: a first display control module, which is used to: in response to the virtual item moving to the container display area, or in response to the first or last item placement position of the item storage container being displayed in the container display area, stop dynamically displaying the item placement position in the item storage container; wherein, when the dynamic display of the item placement position in the item storage container is stopped, some item placement positions are displayed in the container display area.

[0094] The above-mentioned device also includes: a second display control module, which is used to: in response to the virtual item moving to the container display area, display a first control at a first designated position based on the container display area; in response to the virtual item moving to the first control, expand the area of ​​the container display area and increase the item placement position displayed in the container display area; in response to the placement operation of the virtual item at the second placement position, place the virtual item at the second placement position; wherein the second placement position is the item placement position displayed in the container display area.

[0095] The above-mentioned device also includes: a third display control module, which is used to: display a second control at a second specified position based on the container display area; in response to a movement control release operation of the virtual object on the second control, reduce the area of ​​the container display area and reduce the placement position of the object displayed in the container display area.

[0096] This embodiment also 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 above-mentioned virtual item operation control method. The electronic device can be a server or a terminal device.

[0097] See also Figure 8 As shown, 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 virtual item operation control method.

[0098] Further, Figure 8 The electronic device shown 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 .

[0099] The memory 101 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 102 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0100] The processor 100 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 100. The above 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, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention 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 invention can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 101, and the processor 100 reads the information in the memory 101 and completes the steps of the method of the above embodiment in combination with its hardware.

[0101] This embodiment also provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the above-mentioned virtual item operation control method.

[0102] The computer program product of the virtual item operation control method, device, electronic device and storage medium provided in the embodiments of the present invention 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, which will not be repeated here.

[0103] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0104] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0105] 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 invention, or the part that contributes to the prior art 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, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0106] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0107] Finally, it should be noted that the above embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above embodiments, those skilled in the art should understand that any person skilled in the art can still modify the technical solutions recorded in the above embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for controlling the operation of a virtual item, characterized in that: A graphical user interface is provided through a terminal device, wherein the graphical user interface includes a container display area of ​​an item storage container; the item storage container includes a plurality of item placement positions; the container display area displays some item placement positions in the item storage container; the method includes: In response to a movement control operation for a virtual item, controlling the movement of the virtual item; the position of the virtual item after the movement includes a first area and a container display area, and the first area or the container display area is determined according to the number of the item placement positions; In response to the virtual item moving to the first area, determining a target speed according to the position of the virtual item in the first area; in the container display area, dynamically displaying the item placement position in the item storage container at the target speed; wherein the dynamic display includes scrolling display or switching display; In response to a placement operation on the virtual item at a first placement position, placing the virtual item at the first placement position; wherein the first placement position is an item placement position displayed in the container display area; In response to the virtual item moving to the container display area, displaying a first control at a first designated position based on the container display area; In response to the virtual item moving to the first control, expanding the area of ​​the container display region and increasing the placement position of the item displayed in the container display region; In response to a placement operation of the virtual item at a second placement position, the virtual item is placed at the second placement position; wherein the second placement position is an item placement position displayed in the container display area.

2. The method according to claim 1, characterized in that In response to a movement control operation on a virtual item, the step of controlling the movement of the virtual item comprises: In response to a first movement control operation on the virtual item, controlling the virtual item to move from the virtual backpack to the container display area; In response to a second movement control operation on the virtual item, the virtual item is controlled to move from the container display area to the first area.

3. The method according to claim 1, characterized in that The step of determining a target speed according to a position of the virtual item in the first area in response to the virtual item moving to the first area comprises: In response to the virtual item moving to the first area, a target sub-area where the virtual item is located is determined; and a speed value corresponding to the target sub-area is determined as the target speed.

4. The method according to claim 3, characterized in that After the step of determining the speed value corresponding to the target sub-area as the target speed, the method further includes: In response to the virtual item moving from the target sub-area to a first sub-area in the first area, the target speed is updated to a speed value corresponding to the first sub-area.

5. The method according to claim 1, characterized in that The step of dynamically displaying the placement position of the items in the item storage container at the target speed in the container display area comprises: In response to the virtual item moving to the target first area, determining, according to the relative position of the target first area and the container display area, a moving direction of the item placement position when dynamically displaying the item placement position; In the container display area, the placement position of the object in the object storage container is dynamically displayed based on the target speed and the moving direction.

6. The method according to claim 1, characterized in that The first area includes: an edge area in a specified direction of the container display area, or an external area adjacent to the edge area; wherein the external area is an area outside the container display area.

7. The method according to claim 1, characterized in that In response to a placement operation on the virtual item at the first placement position, the step of placing the virtual item at the first placement position includes: In response to a release operation of a movement control for the virtual item at the first placement position, the virtual item is placed at the first placement position.

8. The method according to claim 1, characterized in that In response to a placement operation on the virtual item at the first placement position, before placing the virtual item at the first placement position, the method further includes: In response to the virtual item being moved to the container display area, or in response to the first or last item placement position of the item storage container being displayed in the container display area, stopping the dynamic display of the item placement position in the item storage container; Wherein, when the dynamic display of the item placement positions in the item storage container is stopped, some item placement positions are displayed in the container display area.

9. The method according to claim 8, characterized in that After the step of expanding the area of ​​the container display area and increasing the placement position of the item displayed in the container display area in response to the virtual item moving to the first control, the method further includes: Displaying a second control at a second designated position based on the container display area; In response to a movement control release operation on the virtual item on the second control, the area of ​​the container display region is reduced, and the placement positions of the items displayed in the container display region are reduced.

10. A virtual item operation control device, characterized in that: A graphical user interface is provided through a terminal device, wherein the graphical user interface includes a container display area of ​​an item storage container; the item storage container includes a plurality of item placement positions; the container display area displays some item placement positions in the item storage container; the device includes: A movement control module, configured to respond to a movement control operation on a virtual item and control the movement of the virtual item; the position of the virtual item after movement includes a first area and a container display area, and the first area or the container display area is determined according to the number of positions where the item is placed; A display module, configured to determine a target speed according to the position of the virtual item in the first area in response to the virtual item moving to the first area; and dynamically display the position of the item in the item storage container at the target speed in the container display area; wherein the dynamic display includes scrolling display or switching display; a placement module, configured to place the virtual item at the first placement position in response to a placement operation on the virtual item at the first placement position; wherein the first placement position is the item placement position displayed in the container display area; A second display control module, for displaying a first control at a first designated position based on the container display area in response to the virtual object moving to the container display area, if the number of the object placement positions is less than or equal to a preset number threshold; In response to the virtual object moving to the first control, the area of ​​the container display region is expanded, and the placement position of the object displayed in the container display region is increased; In response to a placement operation of the virtual object at the second placement position, the virtual object is placed at the second placement position; wherein the second placement position is the object placement position displayed in the container display area.

11. An electronic device, characterized in that: The method comprises 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 operation control method of the virtual item according to any one of claims 1 to 9.

12. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the operation control method of the virtual item according to any one of claims 1 to 9.