Game props stacking control method, device, terminal equipment and storage medium

The graphical user interface of the terminal device responds to continuous selection operations and automatically stacks game props, which solves the problems of low stacking operation efficiency and high power consumption in the existing technology, and realizes efficient stacking processing.

CN114159780BActive Publication Date: 2024-10-18NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111290275.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-02
Publication Date
2024-10-18
Estimated Expiration
2041-11-02

AI Technical Summary

Technical Problem

In existing games, the efficiency of stacking game props is low, and players need to manually repeatedly enter the target quantity, resulting in high terminal power consumption and high performance overhead.

Method used

Provide a graphical user interface through the terminal device, respond to continuous selection operations, automatically determine the number and quantity of operations, and realize the storage of game props in piles.

Benefits of technology

It simplifies the stacking operation process, improves operating efficiency, and saves the power and performance overhead of terminal equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114159780B_ABST
    Figure CN114159780B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method, apparatus, terminal device and storage medium for controlling the stacking of game props. A graphical user interface of a game is provided through a terminal device. The content displayed by the graphical user interface includes at least one or more storage areas. The storage area includes a plurality of storage containers for storing game props. The method includes: responding to continuous selection operations on target game props stored in a current storage container, determining the number of operations corresponding to the continuous selection operations and the number of the target game props; and stacking the target game props stored in the current storage container into storage containers of a number corresponding to the number of operations according to the number of operations and the number.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of game technology, and in particular to a method, device, terminal equipment and storage medium for controlling the distribution of game props. Background Art

[0002] In existing games, there is often a need to divide items in a backpack into a pile or several piles, for example, to divide game items such as medicines and food into different piles for sale at stalls, etc. In this regard, a common way of dividing piles in existing games is: the player manually selects a target game item, enters a target quantity, and generates a target game item pile, wherein the number of target game items in the pile matches the input target quantity.

[0003] With this design, firstly, the player can only make one pile each time when splitting the piles. When multiple piles are needed, the operation needs to be repeated, and the efficiency of pile splitting is low. Secondly, the target number needs to be entered each time, and the operation process is complicated. Finally, repeated and complicated operations lead to a huge consumption of terminal power and affect the performance overhead of the terminal. Summary of the invention

[0004] In view of this, the present disclosure proposes a method, device, terminal equipment and computer storage medium for controlling the stacking of game props, which simplifies the stacking operation process and improves the efficiency of the stacking operation.

[0005] To achieve the above objectives, the technical solutions adopted in the embodiments of the present disclosure are as follows:

[0006] In a first aspect, the present disclosure provides a method for controlling the stacking of game props, wherein a graphical user interface of a game is provided through a terminal device, and the content displayed by the graphical user interface at least includes one or more storage areas, and the storage area includes a plurality of storage containers for storing game props. The method comprises:

[0007] In response to a continuous selection operation on a target game item stored in a current storage container, determining the number of operations corresponding to the continuous selection operation and the number of the target game items;

[0008] According to the number of operations and the quantity, the target game props stored in the current storage container are stacked and stored in storage containers of a number corresponding to the number of operations.

[0009] In an optional implementation, the continuous selection operation includes at least 2 selection operations, and the interval duration between any adjacent selection operations does not exceed the target duration.

[0010] In an optional embodiment, the step of determining the number of operations corresponding to the continuous selection operation in response to the continuous selection operation on the target game prop stored in the current storage container includes:

[0011] In response to a selection operation on the target game item, recording the number of occurrences and the time of occurrence of the selection operation;

[0012] Detecting whether the selection operation occurs again within a preset time window from the occurrence time;

[0013] If yes, then the occurrence count is increased by 1, the occurrence time is updated to the time when the selection operation occurs again, and the selection operation is repeatedly detected based on the time until the selection operation is not detected again within the preset time window from the occurrence time;

[0014] If the selection operation is not detected again within the preset time window, the multiple selection operations that have been detected are determined as the continuous selection operations, and the accumulated number of occurrences is determined as the number of operations corresponding to the continuous selection operations.

[0015] In an optional implementation, after the step of detecting whether the selection operation occurs again within a preset time window from the occurrence time, the method further includes:

[0016] If not, it is determined that the selection operation is a discontinuous selection operation, and the game function corresponding to the discontinuous selection operation is controlled to be executed.

[0017] In an optional embodiment, the step of determining the number of operations corresponding to the continuous selection operation in response to the continuous selection operation on the target game prop stored in the current storage container includes:

[0018] In response to a selection operation on the target game prop, the number of occurrences and the time of occurrence of the selection operation are recorded, and a timer is started;

[0019] Before the timing reaches a preset time length, detecting whether the selection operation occurs again within a preset time window from the occurrence time;

[0020] If yes, then the occurrence count is increased by 1, the occurrence time is updated to the time when the selection operation occurs again, and the selection operation is repeatedly detected based on the time until the timing reaches the preset time length or the selection operation is not detected again within the preset time window from the occurrence time;

[0021] If the timing reaches the preset time length or the selection operation is not detected within the preset time window, the detected multiple selection operations are determined as the continuous selection operations, and the accumulated number of occurrences is determined as the number of operations corresponding to the continuous selection operations;

[0022] Wherein, the preset duration is greater than the preset time window.

[0023] In an optional embodiment, the step of determining the number of operations corresponding to the continuous selection operation in response to the continuous selection operation on the target game prop stored in the current storage container includes:

[0024] In response to a selection operation on the target game item, recording the number of occurrences and the time of occurrence of the selection operation;

[0025] Before the accumulated number of occurrences reaches a preset number of times, detecting whether the selection operation occurs again within a preset time window from the occurrence time;

[0026] If yes, then the occurrence count is increased by 1, the occurrence time is updated to the time when the selection operation occurs again, and the selection operation is repeatedly detected based on the time until the occurrence count reaches the preset number of times or the selection operation is not detected again within the preset time window from the occurrence time;

[0027] If the preset number of times is reached or the selection operation is not detected again within the preset time window, the multiple selection operations that have been detected are determined as the continuous selection operations, and the accumulated number of occurrences is determined as the operation number corresponding to the continuous selection operation.

[0028] In an optional embodiment, the step of determining the number of operations corresponding to the continuous selection operation in response to the continuous selection operation on the target game prop includes:

[0029] In response to a selection operation on the target game prop, the number of occurrences and the time of occurrence of the selection operation are recorded, and a timer is started;

[0030] Before the accumulated number of occurrences reaches a preset number of times or the timing reaches a preset duration, detecting whether the selection operation occurs again within a preset time window from the occurrence time;

[0031] If yes, then the number of occurrences is increased by 1, the occurrence time is updated to the time when the selection operation occurs again, and the selection operation is repeatedly detected based on the time until the number of occurrences reaches the preset number of times or the timing reaches the preset duration or the selection operation is not detected again within the preset time window from the occurrence time;

[0032] If the number of occurrences reaches the preset number of times or the timing reaches the preset duration or the selection operation is not detected again within the preset time window, the multiple selection operations that have been detected are determined as the continuous selection operations, and the accumulated number of occurrences is determined as the number of operations corresponding to the continuous selection operation.

[0033] In an optional embodiment, the step of storing the target game props stored in the current storage container in piles into storage containers of a number corresponding to the number of operations according to the number of operations and the number includes:

[0034] Obtaining the number of idle storage containers in the storage area;

[0035] If the number is not less than the number of operations, the target game props stored in the current storage container are stored in piles in storage containers corresponding to the number of operations;

[0036] If the number is less than the number of operations, the target game props stored in the current storage container are split into piles corresponding to the number of operations, and the number of piles in the pile are stored in the storage area, and the remaining piles in the pile are stored in other storage areas.

[0037] In an optional embodiment, the step of storing the target game props stored in the current storage container in piles into storage containers of a number corresponding to the number of operations according to the number of operations and the number includes:

[0038] Obtaining the number of idle storage containers in the storage area;

[0039] If the number is not greater than the number of operations, a prompt indicating that the stacking operation failed is issued.

[0040] In an optional embodiment, before the step of stacking the target game props stored in the current storage container into storage containers of a number corresponding to the number of operations according to the number of operations and the number, the method further includes:

[0041] Detecting whether other storage areas are displayed in the graphical user interface;

[0042] If yes, the target game props stored in the current storage container are divided into piles according to the number of operations and the quantity, and the piles are respectively stored in storage containers of a number corresponding to the number of operations in the other storage area;

[0043] If not, the step of storing the target game props stored in the current storage container in piles into storage containers corresponding to the number of operations is performed according to the number of operations and the number.

[0044] In an optional embodiment, among the storage containers storing the target game props in piles, at least some of the storage containers store the same number of target game props.

[0045] In an optional embodiment, the method further comprises:

[0046] In response to a selection operation on a target game item, determining the quantity of the target game item, wherein the target game item is stored in a first storage area of ​​the graphical user interface;

[0047] In response to a dragging operation of dragging the target game props from the first storage area to the second storage area, the target game props are at least partially stacked and stored in the second storage area according to the number of the target game props and a stacking rule determined based on the second storage area.

[0048] In an optional embodiment, the pile division rule determined based on the second storage area at least includes: the number of piles determined based on the second storage area, and the number of target game props corresponding to each pile.

[0049] In a second aspect, the present disclosure provides a device for controlling the stacking of game props, wherein a graphical user interface of a game is provided through a terminal device, and the content displayed by the graphical user interface at least includes one or more storage areas, wherein the storage area includes a plurality of storage containers for storing game props, and the device includes:

[0050] A selection module, for responding to a continuous selection operation on a target game item stored in a current storage container, and determining the number of operations corresponding to the continuous selection operation and the number of the target game items;

[0051] The stacking module is used to stack the target game props stored in the current storage container into storage containers of a number corresponding to the number of operations according to the number of operations and the number.

[0052] In a third aspect, the present disclosure provides a terminal device, comprising: a processor, a memory and a bus, wherein the memory stores computer-readable instructions executable by the processor, and when the terminal device is running, the processor communicates with the memory through the bus, and the processor executes the computer-readable instructions to perform the steps of the method as described in any of the aforementioned implementations.

[0053] In a fourth aspect, the present disclosure provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method as described in any of the aforementioned embodiments are executed.

[0054] The beneficial effects of the present disclosure are:

[0055] The method, device, electronic device and storage medium provided by the present disclosure automatically pile up the target game props in a storage area according to the number of continuous selection operations and the number of the target game props when the user performs continuous selection operations on the target game props, thereby simplifying the pile operation process, improving the pile operation efficiency, and saving the power and performance overhead of the terminal device. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present disclosure and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying any creative work.

[0057] Figures 1A-1C A schematic diagram of a common method of stacking game items in existing games;

[0058] Figure 2 A cloud interaction system architecture diagram provided by the present disclosure;

[0059] Figure 3 A flowchart of an optional implementation of a method for controlling the stacking of game props provided by the present disclosure;

[0060] Figure 4 A schematic diagram of a flow chart for determining the number of operations of a continuous selection operation provided in an optional implementation of the present disclosure;

[0061] Figure 5 A schematic diagram of an optional implementation of a storage area provided by the present disclosure;

[0062] Figure 6A flowchart of another optional implementation of the method for controlling the pile distribution of game props provided by the present disclosure;

[0063] Figure 7 A flowchart of another optional implementation of the method for controlling the pile distribution of game props provided by the present disclosure;

[0064] Figure 8 A flowchart of another optional implementation of the method for controlling the pile distribution of game props provided by the present disclosure;

[0065] Fig. 9 A flowchart of another optional implementation of the method for controlling the pile distribution of game props provided by the present disclosure;

[0066] Fig.10 A schematic diagram of an optional implementation method for transferring game props in piles between multiple storage areas in the present disclosure;

[0067] Fig.11 It is a structural schematic diagram of the game props stacking control device provided by the present invention;

[0068] Fig.12 A schematic diagram of the hardware architecture of the terminal device provided in the present invention. DETAILED DESCRIPTION

[0069] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all the embodiments. The components of the embodiments of the present disclosure described and shown in the drawings here can be arranged and designed in various different configurations.

[0070] Therefore, the following detailed description of the embodiments of the present disclosure provided in the accompanying drawings is not intended to limit the scope of the present disclosure claimed for protection, but merely represents selected embodiments of the present disclosure. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present disclosure.

[0071] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0072] For ease of understanding, the prior art involved in the present disclosure is first described in detail.

[0073] Please refer to Figures 1A-1C, shows the common way of stacking game items in existing games. Figure 1A As shown, the storage area 11 includes a plurality of storage containers (only storage container 12 and storage container 13 are shown in the figure), wherein storage container 12 stores 100 game props A, and storage container 13 stores 50 game props B. When the user wants to separate 20 game props A from the 100 game props A, as shown in FIG. Figure 1B and 1C As shown, the following operations are usually required:

[0074] First, select 100 game props A in the storage container 12 shown in 1A;

[0075] Second, through a preset stacking trigger operation (such as right-clicking, etc.), the quantity input pop-up window 14 shown in 1B is triggered to be displayed, and the target quantity 20 is input through the quantity input pop-up window 14;

[0076] Third, after the input is completed, a pile of 20 game props A is generated in the storage container 15 shown in 1C, and the 100 game props A in the storage container 12 are updated to 80 game props A.

[0077] Furthermore, if the user wants to continue to split more piles of game props A from the remaining 80 game props A, the above steps need to be repeated.

[0078] It can be seen that when the number of piles to be divided is large, for example, when four piles are required, the pile division operation of the game items provided by the prior art is relatively complicated, the user has to perform many repetitive operations, and the efficiency is low.

[0079] In response to the above-mentioned problems in the prior art, the present disclosure proposes the following technical concept: combining the operation of piling game props in the game with the number of operations performed by the user on the game props. When the user selects the target game props to be piled, the target game props are automatically piled according to the number of operations performed by the user on the target game props, thereby simplifying the pile operation process and improving the efficiency of the pile operation.

[0080] Based on the above content, the specific contents of each technical solution provided by the present disclosure will be introduced in detail one by one below.

[0081] First, the present disclosure provides a method for controlling the distribution of game props.

[0082] In an optional implementation, the game props stacking control method can be run on a terminal device and / or a server.

[0083] When the game props stacking control method is run on a server, the method can be implemented and executed based on a cloud interactive system. Figure 2 , is a cloud interaction system architecture diagram provided by the present disclosure. As shown in the figure, the cloud interaction system may include: a client device 10 and a server 20, wherein the client device 10 may be connected to the server 20 via a network 30.

[0084] In an optional embodiment, various cloud applications can be run under the cloud interaction system, for example: 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 game character transmission method are completed on the cloud game server. The role of the client device 10 is used for receiving and sending data and presenting the game screen. For example, the client device 10 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 10 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 10 through the network. Finally, the client device 10 decodes and outputs the game screen.

[0085] Wherein, when the method for controlling the pile distribution of game props is run on a terminal device, in an optional embodiment, the terminal device may be a local terminal device. Taking the game as an example, the local terminal device stores the 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, the game program is downloaded and installed and run by the conventional electronic device. 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 the 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.

[0086] The above introduces the hardware environment required by the present disclosure. The following will be based on the above hardware environment and take the terminal device as the execution subject as an example to introduce in detail various embodiments of the method for controlling the stacking of game props provided by the present disclosure.

[0087] Please refer to Figure 3, is a flow chart of an optional implementation of the method for controlling the pile distribution of game props provided by the present disclosure. As shown in the figure, the method for controlling the pile distribution of game props includes:

[0088] Step S301, in response to a continuous selection operation on a target game item stored in a current storage container, determines the number of operations corresponding to the continuous selection operation and the number of the target game items.

[0089] In an optional implementation, a graphical user interface of the game is provided through a terminal device, and the content displayed by the graphical user interface includes at least one or more storage areas, and the storage area includes multiple storage containers for storing game props. Exemplarily, the storage area can be a virtual interface provided in the game for users to store game props, such as a backpack interface triggered by a backpack control in the game, a shortcut bar triggered by a shortcut bar control, and a warehouse interface triggered by a warehouse control. The storage container can be a storage space in the storage area, such as a storage grid in a backpack interface.

[0090] Generally, in order to facilitate the storage and organization of game props in the game, the storage containers in the storage area are often set to be able to stack and store the same type of game props, such as bullets of the same model, medicines and food made with the same formula, etc. Among them, when the game props are stacked and stored in a storage container, the storage container can usually display the icon of the game prop and the number of game props stacked and stored in the storage container. For example, in Figure 1A In the storage area 11 shown, 100 game props A are stacked and stored in the storage container 12, and 50 game props B are stacked and stored in the storage container 13.

[0091] In this embodiment, when the user wants to split the target game props stacked in a storage container into multiple piles and store them in multiple storage containers (for example, the user wants to Figure 1A When the 100 game props A in the storage container 12 are divided into 5 piles of 20 game props A, the process of dividing the target game props into piles can be triggered by continuously selecting the target game props. The continuous selection operation can be a continuous point selection operation, a single click operation, a double click operation, a long press operation, a heavy press operation, etc.

[0092] It can be understood that the purpose of the continuous selection operation includes at least two aspects: on the one hand, it is used to select a target game prop from the game props stored in the storage area; on the other hand, it is also used for the user to indicate the number of piles into which the target game prop is to be split through the number of continuous operations. Therefore, after detecting the first selection operation, this embodiment can continue to detect whether the selection operation occurs continuously to determine whether the continuous selection operation has occurred, and then determine the number of operations of the continuous selection operation and the number of the target game props, so as to subsequently perform pile processing on the target game props. It should be noted that the continuous selection operation includes at least 2 selection operations, and the interval between any adjacent selection operations does not exceed a target duration.

[0093] The following will combine Figure 4 , describes in detail the process of identifying the continuous selection operation and determining the number of operations of the continuous selection operation in this embodiment.

[0094] Please refer to Figure 4 , is a flow chart of an optional implementation method of confirming the number of consecutive selection operations in the present disclosure. As shown in the figure, in this implementation method, the step of responding to the consecutive selection operation of the target game prop stored in the current storage container and determining the number of operations corresponding to the consecutive selection operation may specifically include:

[0095] Step S401, in response to a selection operation on a target game item, the number of occurrences and the time of occurrence of the selection operation are recorded.

[0096] It is understood that the storage area provided by the game generally includes a plurality of storage containers, and the storage containers can be used to store one or more game props. The user can select a target game prop from the one or more stored game props, and perform the continuous selection operation on the target game prop, and the number of operations of the continuous selection operation indicates the number of piles into which the user wants to split the target prop.

[0097] When the user's selection operation on the target game prop is detected, this embodiment cannot determine the user's operation purpose, for example, it cannot determine whether the user wants to continue a single selection or perform the continuous selection operation. Therefore, this embodiment needs to record the occurrence time and occurrence number of the selection operation when the selection operation occurs, so as to determine whether the continuous selection operation occurs by sending the time and occurrence number.

[0098] Step S402, detecting whether the selection operation occurs again within a preset time window from the occurrence time; if so, proceeding to step S403; if not, proceeding to step S404.

[0099] In this embodiment, the continuous selection operation includes at least 2 selection operations, and the interval between any adjacent selection operations does not exceed the target duration. Among them, the target duration can be understood as the operation frequency, the operation interval time, etc., and the target duration can be determined according to the actual needs of the user. It can be understood that when the occurrence of the selection operation is detected again at the target game prop within the preset time window (that is, the target duration) after a selection operation occurs on the target game prop, it can be determined that at least 2 consecutive selection operations have occurred, that is, the continuous selection operation has occurred, and the number of operations is 2.

[0100] On the contrary, if the selection operation is not detected at the target game prop again within a preset time window (i.e., the target duration) after a selection operation occurs on the target game prop, it can be determined that the selection operation has not occurred again, that is, the continuous selection operation has not occurred, and the operation performed by the user is a conventional single selection operation. Wherein, when the selection operation is detected as a non-continuous selection operation, the game function corresponding to the non-continuous selection operation can be controlled to be executed.

[0101] It should be noted that the above detection of the selection operation is performed based on a preset time window, that is, the detection is performed with the time of the last selection operation as the starting point and the time length corresponding to the preset time window as the period. In other words, regardless of whether the next selection operation is detected within the preset time window, the detection will continue until the end of the preset time window. If a selection operation is detected during this period, it can be determined that the selection operation has occurred again. If no selection operation is detected at the end of the preset time window, it can be determined that the selection operation has not occurred again.

[0102] Step S403, when the selection operation is detected again within the preset time window, the number of occurrences corresponding to the selection operation is increased by 1, the occurrence time corresponding to the selection operation is updated to the time when the selection operation occurs again, and the process returns to step S402.

[0103] It can be understood that when the occurrence of the selection operation is detected within the preset time window, it can be indicated that the operation performed by the user is a continuous selection operation, that is, the continuous selection operation; At this time, it is necessary to track the number of operations of the continuous selection operation performed by the user. Among them, the number of operations can be determined according to the occurrence time and the number of occurrences recorded each time the selection operation occurs. For example, the occurrence time recorded when the previous selection operation occurs is T1, and the number of occurrences is N; if the selection operation is detected again within the time of T+t (t is the time length corresponding to the preset time window), the occurrence time of the selection operation can be recorded as T+t, and the number of occurrences is N+1, and continue to detect whether the selection operation occurs again in the next preset time window, that is, before the time point of T+2t. Repeatedly, until the occurrence time of the selection operation is updated once, the selection operation is not detected again within the preset time window from the updated occurrence time.

[0104] Step S404, when the selection operation is no longer detected within the preset time window, the detected multiple selection operations are determined as the continuous selection operations, and the accumulated number of occurrences is determined as the number of operations corresponding to the continuous selection operations.

[0105] It can be understood that after repeatedly executing the process of detecting the selection operation, when the selection operation is not detected again within the preset time window from the updated occurrence time, it means that the user has stopped the continuous selection operation of the target game prop, that is, the continuous selection operation is over. At this time, it is necessary to count the number of operations of the detected selection operation to confirm the number of piles that the user wants to pile the target game prop according to the counted number of operations. Among them, since each time the selection operation occurs again within the preset time window, an operation of adding 1 is performed on the basis of the number of occurrences recorded in the previous selection operation, therefore, in this embodiment, the number of operations is equal to the number of occurrences recorded when the continuous selection operation ends.

[0106] Step S302: According to the operation times and the quantity, the target game props stored in the current storage container are stacked and stored in storage containers of a number corresponding to the operation times.

[0107] As can be seen from the above, the number of piles for the target game props can be determined according to the number of operations corresponding to the continuous selection operation. At the same time, after determining the target game props to be split and the corresponding number of piles, the target game props can be further subjected to corresponding pile processing.

[0108] It is understandable that users usually want to separate target game props into piles for different game purposes, for example, they want to separate and sell the accumulated game materials, prepared food and medicine, etc. In this case, the target game props stacked in the same storage container can be directly separated into one or more piles in the storage area where the target game props are stored.

[0109] For example, see Figure 5 , is a schematic diagram of an optional implementation method for performing pile processing on the target game props provided by the present disclosure. As shown in the figure, the implementation method exemplarily provides a storage area 51, and the storage area 51 includes a storage container 52, and 90 game props C are stored in the storage container 52. Among them, if the game prop C is determined to be the target game prop through the above process, and the number of operations corresponding to the continuous selection operation is 3, that is, when the corresponding pile number is determined to be 3, then the 90 game props C can be split into 3 piles each containing 30 game props C in the storage area 51 as shown in the figure, and the 3 piles after splitting are respectively stored in the 3 storage containers of the storage area 51.

[0110] It can be understood that the storage containers in the storage area in the game are generally limited in number. Therefore, when the target game props are piled, the number of idle storage containers in the storage area can be further considered. That is, after determining the target game props and the number of piles through the above process, the number of idle storage containers in the storage area is obtained; if the number is not less than the number of piles, the target game props stored in the current storage container are piled and stored in the storage containers of the number of piles in the storage area; if the number is less than the number of piles, the target game props stored in the current storage container are split into piles of the number of piles, and the piles of the number of piles in the piles are stored in the storage containers in the storage area, and the remaining piles in the piles are stored in other storage areas. Among them, the other storage area can be any storage area other than the storage area where the target game props are located. For example, when the target game props are stored in the backpack interface, the other storage area can be a warehouse interface, a quick window interface, etc.

[0111] It should be noted that, since the target game prop occupies a storage container before the pile division process, and the piles obtained by the pile division generally also include the storage container originally occupied by the target game prop, the number of idle storage containers mentioned above in the present disclosure generally refers to the number of storage containers in the storage area that do not store game props plus 1. For example, assuming Figure 5The storage area 51 shown includes two storage containers that do not store any game props, and the determined target game prop is the game prop C stored in the storage container 52, so the number of idle storage containers included in the storage area 51 is 3.

[0112] It should be added that the above examples provided in the present disclosure may perform the stacking process of the target game props in an even distribution manner or an uneven distribution manner, and the present disclosure does not limit this.

[0113] Among them, when the pile processing is an average distribution method, the number of target game props in each pile can be obtained based on the total amount of target game props / number of piles. It should be noted that the number of target game props in each pile calculated by this formula may not be an integer (the number of target game props is generally an integer). In this case, it is necessary to adjust the number of target game props in the pile. The adjustment method includes, but is not limited to, when storing the target game props in the piles into corresponding storage containers, ensuring that the number of target game props stored in at least some of the storage containers is the same. For example, assuming that Figure 5 In the example, 80 game props C need to be evenly split into 3 piles, and the 3 piles obtained by splitting can be: a pile containing 27 game props C, a pile containing 27 game props C, and a pile containing 26 game props C.

[0114] When the stacking process is a non-even distribution method, the target game props can be split in any form according to actual needs. Figure 5 In the same way, when the 90 game props C are split into three piles, the three piles obtained by splitting can also be: a pile containing 40 game props C, a pile containing 30 game props C, and a pile containing 20 game props C.

[0115] In other possible implementations, when the number of idle storage containers in the storage area is less than the number, the process may be directly terminated and a prompt indicating that the stacking operation has failed may be issued.

[0116] Through the above steps S301-S302 and steps S401-S404, the method for controlling the pile division of game props disclosed in the present invention recognizes and counts the number of operations continuously selected by the user after the user selects the target game prop, and automatically splits the target game prop according to the counted number of operations, thereby realizing the pile division processing of the target game prop, simplifying the pile division operation process, and improving the efficiency of the pile division operation.

[0117] In an alternative implementation, see Figure 6 In the method for controlling the distribution of game props in the present disclosure, the step S301 may further include:

[0118] Step S601, in response to a selection operation on the target game prop, the number of occurrences and the time of occurrence of the selection operation are recorded, and a timer is started.

[0119] Step S602, detect whether the timing has not reached a preset time length, if not, proceed to step S603; if reached, proceed to step S605.

[0120] In this embodiment, the preset duration is a time limit provided to the user for performing continuous selection operations, that is, the user can only perform the continuous selection operation within the time period of the preset duration. Once the preset duration is exceeded, the detection of the selection operation will no longer be performed. Even if the selection operation occurs, the corresponding number of operations will not be counted in the number of operations of the continuous selection operation. In this way, on the one hand, it can prevent the defect that in the implementation method provided in the first embodiment, as long as the user repeatedly performs the selection operation within the preset time window, the number of operations can be infinitely accumulated and the process can be infinitely looped; on the other hand, it also allows the user to get feedback as soon as possible after completing the continuous selection operation within the preset duration. Among them, the preset duration is generally greater than the preset time window.

[0121] Step S603, if the timing does not reach the preset time length, detect whether the selection operation occurs again within a preset time window from the occurrence time; if so, proceed to step S604; if not, proceed to step S605.

[0122] It can be understood that the preset duration is the total time during which the selection operation can be repeatedly performed, and the selection operation can be repeatedly performed before the total time expires. Therefore, during the time period of the preset duration, the selection operation occurring within the preset time window can be detected as in the implementation method provided in the first embodiment, so as to record the number of times the selection operation is repeatedly performed, that is, the number of times the continuous selection operation occurs is recorded.

[0123] Step S604, when the selection operation occurs again within the preset time window, the number of occurrences of the selection operation is increased by 1, the occurrence time is updated to the time when the selection operation occurs again, and the process returns to step S602.

[0124] As can be seen from the foregoing, the preset duration is the total duration during which the user can continuously perform the selection operation provided by this embodiment. If the total duration of the timing does not exceed the preset duration, the user can continue to perform the selection operation, and the continuous selection operation has not ended. Therefore, as long as the timing does not reach the preset duration, the selection operation detected within the preset time window can be counted as a valid selection operation. Each time a selection operation performed by the user is detected, the number of occurrences can be increased by 1 based on the previously recorded number of occurrences to accumulate the number of repeated occurrences of the selection operation.

[0125] In addition, as can be seen from the foregoing, the preset time window refers to the interval time between two adjacent selection operations. Only when the next selection operation occurs within the interval time, the next selection operation will be recorded as a valid selection operation and counted in the corresponding number of occurrences; if the next selection operation is not detected within the interval time, the selection operation will no longer be detected. Even if the selection operation occurs, the corresponding number of operations will not be counted in the number of operations of the continuous selection operation. Therefore, after recording the number of operations of the valid selection operation, it is also necessary to update the occurrence time of the selection operation to the corresponding occurrence time of the selection operation, so as to restart the timing with the occurrence time as the starting point, and detect whether the next selection operation occurs within the preset time window with the occurrence time as the starting point.

[0126] At the same time, after recording the number of valid selection operations, it is necessary to return to step S602 to confirm whether the completion time of the entire detection process reaches the preset time length mentioned above, that is, whether the total time length reaches the preset time length. If the total time length reaches the preset time length, the detection process of the continuous selection operation is terminated, and the selection operation is no longer detected; if the total time length does not reach the preset time length, the detection process of the continuous selection operation is continued, and the user's selection operation is continued to be detected until the timing reaches the preset time length or the selection operation is no longer detected within the preset time window from the occurrence time.

[0127] Step S605, if the timing reaches the preset time length or the selection operation is not detected within the preset time window, the detected multiple selection operations are determined as the continuous selection operations, and the accumulated number of occurrences is determined as the operation number corresponding to the continuous selection operation.

[0128] Through the above steps S601-S605, the game props stacking control method disclosed in the present invention can, by simultaneously detecting the time interval between adjacent selection operations and the total duration of continuous selection operations, on the one hand limit the duration of continuous selection operations to avoid infinite loops; on the other hand, it can also provide feedback on the detected continuous selection operations as soon as possible, simplify processing operations, and improve operating efficiency.

[0129] In an alternative implementation, see Figure 7 In the method for controlling the distribution of game props in the present disclosure, the step S301 may further include:

[0130] Step S701, in response to a selection operation on the target game prop, the number of occurrences and the time of occurrence of the selection operation are recorded.

[0131] Step S702, detecting whether the accumulated number of occurrences of the selection operation has not reached a preset number; if it has not reached the preset number, proceeding to step S703; if it has reached the preset number, proceeding to step S705.

[0132] It is understandable that the capacity of the storage area is limited, which is generally reflected in the number of storage containers. For example, a backpack in the game usually has only 50 storage cells. Therefore, in this embodiment, the number of consecutive occurrences of the selection operation can be limited to a certain extent to prevent excessive number of operations from causing the final number of piles to be too large, thereby causing too many piles of the split target game props to exceed the capacity of the storage area and be insufficient to store the target game props in the piles.

[0133] Specifically, after each detection of the occurrence of the selection operation, it is possible to detect whether the number of occurrences corresponding to the recorded selection operation has reached a preset number of times. If the preset number of times has been reached, the selection operation is stopped from being detected. Even if the selection operation occurs, the corresponding number of operations will not be counted in the number of operations of the continuous selection operation. If the preset number of times has not been reached, the selection operation is continued to be detected until the number of operations corresponding to the selection operation reaches the preset number of times. In this way, on the one hand, the defect that the number of operations can be infinitely accumulated and the process can be infinitely looped can be prevented in the implementation method provided in the first embodiment, as long as the user repeatedly performs the selection operation within the preset time window; on the other hand, it can also prevent the number of stacks from being too large and exceeding the capacity of the storage area. Among them, the preset number of times is generally less than the number of storage containers included in the storage area.

[0134] Step S703, if the accumulated number of occurrences does not reach the preset number of times, detect whether the selection operation occurs again within a preset time window from the occurrence time; if so, proceed to step S704; if not, proceed to step S705.

[0135] It can be understood that when the cumulative number of repeated occurrences of the selection operation does not reach the preset number of times, the selection operation occurring within the preset time window can be detected and the number of repeated occurrences of the selection operation can be recorded, as in the implementation method provided in the first embodiment, that is, the number of occurrences of the continuous selection operation can be recorded until the cumulative number of occurrences reaches the preset number of times or the selection operation is no longer detected within the preset time window from the occurrence time.

[0136] Step S704, when the selection operation occurs again within the preset time window, the number of occurrences of the selection operation is increased by 1, the occurrence time is updated to the time when the selection operation occurs again, and the process returns to step S702.

[0137] It can be understood that as long as the cumulative number of occurrences does not reach the preset number of times, the selection operations detected within the preset time window can be counted as valid selection operations; each time a selection operation performed by a user is detected, the number of occurrences can be added by 1 based on the previously recorded number of occurrences to accumulate the number of repeated occurrences of the selection operation. At the same time, after recording the number of operations for a valid selection operation, it is also necessary to update the occurrence time of the selection operation to the occurrence time corresponding to the selection operation, so that the timing can be restarted with the occurrence time as the starting point, and whether the next selection operation occurs within the preset time window starting with the occurrence time as the starting point.

[0138] Furthermore, after recording the number of valid selection operations, it is necessary to return to step S702 to confirm whether the number of occurrences after adding 1 reaches the preset number. If it reaches the preset number, the continuous selection operation process is terminated and the selection operation is no longer detected; if it does not reach the preset number, the continuous selection operation process is continued and the user's selection operation is continued until the preset number is reached or the selection operation is no longer detected within the preset time window from the occurrence time.

[0139] Step S705, if the accumulated number of occurrences reaches the preset number of times or the selection operation is not detected again within the preset time window, the detected multiple selection operations are determined as the continuous selection operations, and the accumulated number of occurrences is determined as the operation number corresponding to the continuous selection operation.

[0140] Through the above steps S701-S705, the game props pile control method disclosed in the present invention can limit the occurrence time of continuous selection operations to be too long and avoid infinite loops by simultaneously detecting the time interval between adjacent selection operations and the total number of consecutive selection operations. On the other hand, it can also avoid the situation where the number of piles is too large due to too many operations and exceeds the capacity of the storage area.

[0141] In an alternative implementation, see Figure 8 In the method for controlling the distribution of game props in the present disclosure, the step S301 may further include:

[0142] Step S801, in response to a selection operation on the target game prop, the number of occurrences and the time of occurrence of the selection operation are recorded, and a timer is started.

[0143] Step S802, detecting whether the accumulated number of occurrences of the selection operation has not reached a preset number; if it has not reached the preset number, proceeding to step S803; if it has reached the preset number, proceeding to step S806.

[0144] Step S803, if the accumulated number of occurrences does not reach the preset number of times, check whether the timing has not reached a preset duration; if it has not reached the preset duration, proceed to step S804; if it has reached the preset duration, proceed to step S806.

[0145] Step S804, if the timing does not reach the preset time length, detect whether the selection operation occurs again within a preset time window from the occurrence time; if so, proceed to step S805; if not, proceed to step S806.

[0146] Step S805, when the selection operation occurs again within the preset time window, the number of occurrences of the selection operation is increased by 1, the occurrence time is updated to the time when the selection operation occurs again, and the process returns to step S802.

[0147] It can be understood that in this embodiment, the preset number of times and the preset duration limit the number of times and duration of the continuous selection operation from the perspective of the number of occurrences and the time of occurrence respectively. On the one hand, it can avoid too many piles caused by too many occurrences, exceeding the capacity of the storage area; on the other hand, it can also prevent the user from repeatedly performing the selection operation within the preset time window, which can cause the number of operations to accumulate infinitely and the process to loop infinitely.

[0148] Step S806, if the number of occurrences reaches the preset number of times or the timing reaches the preset duration or the selection operation is not detected again within the preset time window, the multiple selection operations that have been detected are determined as the continuous selection operations, and the accumulated number of occurrences is determined as the number of operations corresponding to the continuous selection operation.

[0149] Through the above steps S801-S806, the game props pile control method disclosed in the present invention can simultaneously detect the time interval between adjacent selection operations, the total number of consecutive selection operations, and the total duration of consecutive selection operations. While limiting the duration of consecutive selection operations to avoid infinite loops, it can also avoid the situation where the number of piles is too large due to too many operations and exceeds the capacity of the storage area.

[0150] In an alternative implementation, see Fig. 9 In the method for controlling the stacking of game props described in the present disclosure, before step S302, the method may further include:

[0151] Step 901, detecting whether other storage areas are displayed in the graphical user interface, if other storage areas are displayed, proceeding to step S902; if other storage areas are not displayed, proceeding to step S302.

[0152] It is understandable that the user's pile processing of game props in the game is not limited to occurring in the same storage area, and may also occur between different storage areas. When multiple storage areas are displayed on the graphical user interface, it is very likely that the user wants to transfer the game props stored in one of the storage areas to another storage area for storage. For example, when the user wants to store the materials stored in the backpack in piles in the warehouse, it is necessary to open the backpack interface first and then open the warehouse interface, and then split the target game props in the backpack interface into one or more piles, and then store the one or more piles in the warehouse interface respectively. Therefore, before the pile processing is performed, that is, after confirming the number of the target game props and the number of operations through step S301, it is detected whether there are multiple storage areas displayed on the graphical user interface, and when other storage areas are displayed on the graphical user interface, it is determined that the user wants to store the target game props in piles in other storage areas displayed.

[0153] Step S902, when other storage areas are displayed in the graphical user interface, the target game props stored in the current storage container are divided into piles according to the number of operations and the number of target game props, and the piles are stored in storage containers in other storage areas with a number corresponding to the number of operations.

[0154] It can be understood that the graphical user interface includes multiple storage areas, that is, when the user wants to transfer target game props between different storage areas, the user can first pile up the target game props stored in the current storage container according to the determined number of operations and the total number of the target game props, and then store the target game props after piling into storage containers corresponding to the number of operations in other storage areas. In this way, it can be avoided that after completing the piling of the game props in the current storage area, the target game props after piling need to be manually stored one by one in other storage areas.

[0155] For example, see Fig.10 , showing a schematic diagram of an optional implementation method of transferring game props in piles between multiple storage areas in the present disclosure. As shown in the figure, in this implementation method, the target game prop is the game prop C selected by the user in the first storage area 1001; at the same time, the second storage area 1002 is also displayed in the graphical user interface; when the user performs three consecutive selection operations on the game prop C in the first storage area 1001, this embodiment can respond to the selection operation, determine that the number of operations corresponding to the selection operation is 3, and the total number of the game props C is 60; and then control the 60 game props C to be split into three piles according to the number of operations and the total number, and store the three piles in three storage containers in the second storage area 1002 respectively.

[0156] It should be added that, in some game scenarios, the idle storage containers in other storage areas displayed on the graphical user interface may not be sufficient to store all the piles; or the other storage areas do not need all the target game props; in this case, it is necessary to adjust the target game props stored in the piles in the other storage areas according to the storage conditions of the other storage areas, and at least partially store the target game props in the other storage areas.

[0157] In an optional implementation, the target game props may be at least partially stored in piles in the second storage area according to the number of the target game props and the pile division rule determined based on the second storage area. The pile division rule determined based on the second storage area at least includes: the number of piles determined based on the second storage area, the number of target game props corresponding to each pile, etc.

[0158] For example, when a user wants to put the medicinal materials stored in the backpack into the alchemy furnace to refine the elixir, the number of medicinal materials required for the formula provided by the alchemy furnace may be fixed, and the number of piles may also be fixed, and it is not necessary to put all the medicinal materials in the user's backpack into the alchemy furnace. In this case, the number of piles of medicinal materials required in the formula and the number of medicinal materials corresponding to each pile can be obtained in advance, and then the medicinal materials in the user's backpack can be piled according to the formula and put into the alchemy furnace respectively.

[0159] Through the above steps S901-S902, the game prop stacking control method disclosed in the present invention automatically moves the target game props on a storage interface to other storage areas for stacking when multiple storage area interfaces are opened for the user, thereby avoiding the user's need to manually store the stacked target game props in other storage areas after stacking, simplifying the stacking processing operations between different storage areas and improving operating efficiency.

[0160] Secondly, the present disclosure also provides a game prop stacking control device.

[0161] like Fig.11 , which is a schematic diagram of the structure of the game props stacking control device disclosed in the present invention.

[0162] In an optional implementation, the game prop stacking control device 100 can be run in a terminal device and provide a graphical user interface for the game through the terminal device. The content displayed by the graphical user interface includes at least one or more storage areas, and the storage area includes multiple storage containers for storing game props.

[0163] Specifically, the game props stacking control device 100 may include: a selection module 101 and a stacking module 102; wherein:

[0164] The selection module 101 is used to respond to the continuous selection operation on the target game props stored in the current storage container, determine the number of operations corresponding to the continuous selection operation, and the number of the target game props;

[0165] The stacking module 102 is used to stack the target game props stored in the current storage container into storage containers of a number corresponding to the number of operations according to the number of operations and the number.

[0166] Optionally, the continuous selection operation includes at least 2 selection operations, and the interval duration between any adjacent selection operations does not exceed the target duration.

[0167] Optionally, the selection module 101 is also used to respond to the selection operation acting on the target game prop, record the number of occurrences and the time of occurrence of the selection operation; detect whether the selection operation occurs again within a preset time window from the occurrence time; if so, add 1 to the number of occurrences, update the occurrence time to the time when the selection operation occurs again, and repeatedly detect the selection operation based on this time until the selection operation is no longer detected within the preset time window from the occurrence time; if the selection operation is no longer detected within the preset time window, determine the multiple selection operations that have been detected as the continuous selection operations, and determine the accumulated number of occurrences as the number of operations corresponding to the continuous selection operation.

[0168] Optionally, after detecting whether the selection operation occurs again within a preset time window from the occurrence time, the selection module 101 is also used to determine that the selection operation is a non-continuous selection operation if not, and control the execution of the game function corresponding to the non-continuous selection operation.

[0169] Optionally, the selection module 101 is also used to respond to the selection operation acting on the target game prop, record the number of occurrences and the time of occurrence of the selection operation, and start timing; before the timing reaches a preset duration, detect whether the selection operation occurs again within a preset time window from the occurrence time; if so, add 1 to the number of occurrences, update the occurrence time to the time when the selection operation occurs again, and repeatedly detect the selection operation based on this time until the timing reaches the preset duration or the selection operation is not detected again within the preset time window from the occurrence time; if the timing reaches the preset duration or the selection operation is not detected again within the preset time window, the multiple selection operations that have been detected are determined as the continuous selection operations, and the accumulated number of occurrences is determined as the number of operations corresponding to the continuous selection operations; wherein, the preset duration is greater than the preset time window.

[0170] Optionally, the selection module 101 is also used to respond to the selection operation acting on the target game prop, record the number of occurrences and the time of occurrence of the selection operation; before the cumulative number of occurrences reaches a preset number of times, detect whether the selection operation occurs again within a preset time window from the occurrence time; if so, add 1 to the number of occurrences, update the occurrence time to the time when the selection operation occurs again, and repeatedly detect the selection operation based on this time until the number of occurrences reaches the preset number of times or the selection operation is not detected again within the preset time window from the occurrence time; if the preset number of times is reached or the selection operation is not detected again within the preset time window, the multiple selection operations that have been detected are determined as the continuous selection operations, and the cumulative number of occurrences is determined as the number of operations corresponding to the continuous selection operations.

[0171] Optionally, the selection module 101 is also used to respond to the selection operation acting on the target game prop, record the number of occurrences and the time of occurrence of the selection operation, and start timing; before the cumulative number of occurrences reaches a preset number of times or the timing reaches a preset duration, detect whether the selection operation occurs again within a preset time window from the occurrence time; if so, add 1 to the number of occurrences, update the occurrence time to the time when the selection operation occurs again, and repeatedly detect the selection operation based on this time until the number of occurrences reaches the preset number of times or the timing reaches the preset duration or the selection operation is not detected again within the preset time window from the occurrence time; if the number of occurrences reaches the preset number of times or the timing reaches the preset duration or the selection operation is not detected again within the preset time window, the multiple selection operations that have been detected are determined as the continuous selection operations, and the cumulative number of occurrences is determined as the number of operations corresponding to the continuous selection operations.

[0172] Optionally, the stacking module 102 is also used to obtain the number of idle storage containers in the storage area; if the number is not less than the number of operations, the target game props stored in the current storage container are stacked and stored in storage containers of a number corresponding to the number of operations; if the number is less than the number of operations, the target game props stored in the current storage container are split into stacks of a number corresponding to the number of operations, and the number of stacks in the stacks are stored in the storage area, and the remaining stacks in the stacks are stored in other storage areas.

[0173] Optionally, the stacking module 102 is further configured to obtain the number of idle storage containers in the storage area; if the number is not greater than the number of operations, a prompt indicating that the stacking operation has failed is issued.

[0174] Optionally, the stacking module 102 is also used to detect whether there are other storage areas displayed in the graphical user interface; if so, the target game props stored in the current storage container are stacked according to the number of operations and the quantity, and the stacks are stored in the other storage areas in the number of storage containers corresponding to the number of operations; if not, the step of stacking the target game props stored in the current storage container and storing them in the number of storage containers corresponding to the number of operations is executed according to the number of operations and the quantity.

[0175] Optionally, among the storage containers storing the target game props in piles, at least some of the storage containers store the same number of target game props.

[0176] Optionally, the selection module 101 is further configured to determine the quantity of the target game props in response to a selection operation on the target game props, wherein the target game props are stored in the first storage area of ​​the graphical user interface;

[0177] The stacking module 102 is also used to respond to the dragging operation of dragging the target game props from the first storage area to the second storage area, and at least partially stack the target game props and store them in the second storage area according to the number of the target game props and the stacking rules determined based on the second storage area.

[0178] Optionally, the pile division rule determined based on the second storage area includes at least: the number of piles determined based on the second storage area, and the number of target game props corresponding to each pile.

[0179] It should be noted that the above is only a brief description of the game props stacking control device 100 provided by the present disclosure. The process steps executed and / or the functions implemented when the virtual item stacking control device 100 provided by the present disclosure is working are generally consistent with the step processes and / or the functions implemented in each embodiment of the virtual item stacking control method provided by the previous text disclosure, so they will not be described in detail here.

[0180] Through the above introduction, the virtual item stacking control device provided by the present disclosure, when the user selects the target virtual item from the storage area, displays a stacking window including one or more selection areas on the graphical user interface, so that the user can determine the number of stacks to be stacked for the target virtual item from the different selection areas displayed, and then automatically stacks the target virtual item, which simplifies the stacking operation process, improves the stacking operation efficiency, and avoids the power consumption and performance overhead of the terminal device caused by multiple repeated and complicated operations.

[0181] Then, the present disclosure also provides a terminal device.

[0182] like Fig.12 The figure shows a schematic diagram of the hardware architecture of the terminal device provided by the present invention.

[0183] In an optional implementation, the terminal device 200 includes: a processor 201 and a memory 202; optionally, the memory 201 can be independent or integrated with the processor 202. When the memory 201 is independently provided, the terminal device in the game also includes a bus 203 for connecting the memory 201 and the processor 202. Wherein:

[0184] The memory 201 is used to store computer-executable instructions.

[0185] The processor 202 is configured to execute the computer-executable instructions stored in the memory 202, and implement at least the following steps:

[0186] Providing a graphical user interface of the game through the terminal device 200, wherein the content displayed by the graphical user interface at least includes one or more storage areas, wherein the storage area includes a plurality of storage containers for storing virtual items;

[0187] In response to a continuous selection operation on a target game item stored in a current storage container, determining the number of operations corresponding to the continuous selection operation and the number of the target game items;

[0188] According to the number of operations and the quantity, the target game props stored in the current storage container are stacked and stored in storage containers of a number corresponding to the number of operations.

[0189] Optionally, the continuous selection operation includes at least 2 selection operations, and the interval duration between any adjacent selection operations does not exceed the target duration.

[0190] Optionally, the step of determining the number of operations corresponding to the continuous selection operations in response to the continuous selection operations on the target game props stored in the current storage container includes: in response to the selection operation on the target game props, recording the number of occurrences and the time of occurrence of the selection operation; detecting whether the selection operation occurs again within a preset time window from the occurrence time; if so, adding 1 to the number of occurrences, updating the occurrence time to the time when the selection operation occurs again, and repeatedly detecting the selection operation based on the time until the selection operation is no longer detected within the preset time window from the occurrence time; if the selection operation is no longer detected within the preset time window, determining the multiple selection operations that have been detected as the continuous selection operations, and determining the accumulated number of occurrences as the number of operations corresponding to the continuous selection operation.

[0191] Optionally, after the step of detecting whether the selection operation occurs again within a preset time window from the occurrence time, the method further includes: if not, determining that the selection operation is a non-continuous selection operation, and controlling the execution of a game function corresponding to the non-continuous selection operation.

[0192] Optionally, the step of determining the number of operations corresponding to the continuous selection operations in response to the continuous selection operations on the target game props stored in the current storage container includes: in response to the selection operations on the target game props, recording the number of occurrences and the time of occurrence of the selection operations, and starting a timer; before the timing reaches a preset duration, detecting whether the selection operation occurs again within a preset time window from the occurrence time; if so, adding 1 to the number of occurrences, updating the occurrence time to the time when the selection operation occurs again, and repeatedly detecting the selection operation based on the time until the timing reaches the preset duration or the selection operation is not detected again within the preset time window from the occurrence time; if the timing reaches the preset duration or the selection operation is not detected again within the preset time window, determining the multiple selection operations that have been detected as the continuous selection operations, and determining the accumulated number of occurrences as the number of operations corresponding to the continuous selection operations; wherein, the preset duration is greater than the preset time window.

[0193] Optionally, the step of determining the number of operations corresponding to the continuous selection operations in response to the continuous selection operations on the target game props stored in the current storage container includes: in response to the selection operations on the target game props, recording the number of occurrences and the time of occurrence of the selection operations; before the cumulative number of occurrences reaches a preset number, detecting whether the selection operation occurs again within a preset time window from the occurrence time; if so, adding 1 to the number of occurrences, updating the occurrence time to the time when the selection operation occurs again, and repeatedly detecting the selection operation based on the time until the number of occurrences reaches the preset number or the selection operation is not detected again within the preset time window from the occurrence time; if the preset number is reached or the selection operation is not detected again within the preset time window, determining the multiple selection operations that have been detected as the continuous selection operations, and determining the cumulative number of occurrences as the number of operations corresponding to the continuous selection operations.

[0194] Optionally, the step of determining the number of operations corresponding to the continuous selection operations in response to the continuous selection operations on the target game prop includes: in response to the selection operation on the target game prop, recording the number of occurrences and the time of occurrence of the selection operation, and starting a timer; before the cumulative number of occurrences reaches a preset number of times or the timer reaches a preset duration, detecting whether the selection operation occurs again within a preset time window from the occurrence time; if so, adding 1 to the number of occurrences, updating the occurrence time to the time when the selection operation occurs again, and repeatedly detecting the selection operation based on the time until the number of occurrences reaches the preset number of times or the timer reaches the preset duration or the selection operation is not detected again within the preset time window from the occurrence time; if the number of occurrences reaches the preset number of times or the timer reaches the preset duration or the selection operation is not detected again within the preset time window, determining the multiple selection operations that have been detected as the continuous selection operations, and determining the cumulative number of occurrences as the number of operations corresponding to the continuous selection operations.

[0195] Optionally, the step of storing the target game props stored in the current storage container in piles into storage containers of a number corresponding to the number of operations according to the number of operations and the number includes: obtaining the number of idle storage containers in the storage area; if the number is not less than the number of operations, storing the target game props stored in the current storage container in piles into storage containers of a number corresponding to the number of operations; if the number is less than the number of operations, splitting the target game props stored in the current storage container into piles of a number corresponding to the number of operations, storing the number of piles in the piles in the storage area, and storing the remaining piles in the piles in other storage areas.

[0196] Optionally, the step of stacking the target game props stored in the current storage container into storage containers of a number corresponding to the number of operations according to the number of operations includes: obtaining the number of idle storage containers in the storage area; if the number is not greater than the number of operations, issuing a prompt that the stacking operation failed.

[0197] Optionally, before the step of storing the target game props stored in the current storage container in piles corresponding to the number of operations according to the number of operations and the number, the step also includes: detecting whether there are other storage areas displayed in the graphical user interface; if so, storing the target game props stored in the current storage container in piles according to the number of operations and the number, and storing the piles in the other storage areas in the number of storage containers corresponding to the number of operations; if not, executing the step of storing the target game props stored in the current storage container in piles corresponding to the number of operations according to the number of operations and the number.

[0198] Optionally, among the storage containers storing the target game props in piles, at least some of the storage containers store the same number of target game props.

[0199] Optionally, it also includes: in response to a selection operation acting on a target game prop, determining the number of the target game props, wherein the target game props are stored in a first storage area of ​​the graphical user interface; in response to a dragging operation of dragging the target game props from the first storage area to a second storage area, according to the number of the target game props and a stacking rule determined based on the second storage area, at least partially stacking the target game props in the second storage area.

[0200] Optionally, the pile division rule determined based on the second storage area includes at least: the number of piles determined based on the second storage area, and the number of target game props corresponding to each pile.

[0201] It should be noted that the above is only a brief description of the terminal device 200 provided by the present disclosure. The process steps executed and / or the functions implemented when the terminal device 200 provided by the present disclosure is working are generally consistent with the step processes and / or the functions implemented in each embodiment of the virtual item stacking control method provided in the previous text disclosure, so they will not be described in detail here.

[0202] Through the above introduction, the terminal device provided by the present disclosure, by displaying a stacking window including one or more selection areas on a graphical user interface when the user selects a target virtual item from a storage area, facilitates the user to determine the number of stacks for stacking the target virtual item from the different selection areas displayed, and then automatically stacks the target virtual items, thereby simplifying the stacking operation process, improving the stacking operation efficiency, and avoiding the power consumption and performance overhead of the terminal device caused by multiple repeated and complex operations.

[0203] Finally, the present disclosure also provides a computer-readable storage medium.

[0204] In an optional implementation, the computer-readable storage medium stores computer-executable instructions, and when the processor executes the computer-executable instructions, at least the following steps are implemented:

[0205] Providing a graphical user interface of the game through a terminal device, wherein the content displayed by the graphical user interface at least includes one or more storage areas, wherein the storage area includes a plurality of storage containers for storing virtual items;

[0206] In response to a continuous selection operation on a target game item stored in a current storage container, determining the number of operations corresponding to the continuous selection operation and the number of the target game items;

[0207] According to the number of operations and the quantity, the target game props stored in the current storage container are stacked and stored in storage containers of a number corresponding to the number of operations.

[0208] Optionally, the continuous selection operation includes at least 2 selection operations, and the interval duration between any adjacent selection operations does not exceed the target duration.

[0209] Optionally, the step of determining the number of operations corresponding to the continuous selection operations in response to the continuous selection operations on the target game props stored in the current storage container includes: in response to the selection operation on the target game props, recording the number of occurrences and the time of occurrence of the selection operation; detecting whether the selection operation occurs again within a preset time window from the occurrence time; if so, adding 1 to the number of occurrences, updating the occurrence time to the time when the selection operation occurs again, and repeatedly detecting the selection operation based on the time until the selection operation is no longer detected within the preset time window from the occurrence time; if the selection operation is no longer detected within the preset time window, determining the multiple selection operations that have been detected as the continuous selection operations, and determining the accumulated number of occurrences as the number of operations corresponding to the continuous selection operation.

[0210] Optionally, after the step of detecting whether the selection operation occurs again within a preset time window from the occurrence time, the method further includes: if not, determining that the selection operation is a non-continuous selection operation, and controlling the execution of a game function corresponding to the non-continuous selection operation.

[0211] Optionally, the step of determining the number of operations corresponding to the continuous selection operations in response to the continuous selection operations on the target game props stored in the current storage container includes: in response to the selection operations on the target game props, recording the number of occurrences and the time of occurrence of the selection operations, and starting a timer; before the timing reaches a preset duration, detecting whether the selection operation occurs again within a preset time window from the occurrence time; if so, adding 1 to the number of occurrences, updating the occurrence time to the time when the selection operation occurs again, and repeatedly detecting the selection operation based on the time until the timing reaches the preset duration or the selection operation is not detected again within the preset time window from the occurrence time; if the timing reaches the preset duration or the selection operation is not detected again within the preset time window, determining the multiple selection operations that have been detected as the continuous selection operations, and determining the accumulated number of occurrences as the number of operations corresponding to the continuous selection operations; wherein, the preset duration is greater than the preset time window.

[0212] Optionally, the step of determining the number of operations corresponding to the continuous selection operations in response to the continuous selection operations on the target game props stored in the current storage container includes: in response to the selection operations on the target game props, recording the number of occurrences and the time of occurrence of the selection operations; before the cumulative number of occurrences reaches a preset number, detecting whether the selection operation occurs again within a preset time window from the occurrence time; if so, adding 1 to the number of occurrences, updating the occurrence time to the time when the selection operation occurs again, and repeatedly detecting the selection operation based on the time until the number of occurrences reaches the preset number or the selection operation is not detected again within the preset time window from the occurrence time; if the preset number is reached or the selection operation is not detected again within the preset time window, determining the multiple selection operations that have been detected as the continuous selection operations, and determining the cumulative number of occurrences as the number of operations corresponding to the continuous selection operations.

[0213] Optionally, the step of determining the number of operations corresponding to the continuous selection operations in response to the continuous selection operations on the target game prop includes: in response to the selection operation on the target game prop, recording the number of occurrences and the time of occurrence of the selection operation, and starting a timer; before the cumulative number of occurrences reaches a preset number of times or the timer reaches a preset duration, detecting whether the selection operation occurs again within a preset time window from the occurrence time; if so, adding 1 to the number of occurrences, updating the occurrence time to the time when the selection operation occurs again, and repeatedly detecting the selection operation based on the time until the number of occurrences reaches the preset number of times or the timer reaches the preset duration or the selection operation is not detected again within the preset time window from the occurrence time; if the number of occurrences reaches the preset number of times or the timer reaches the preset duration or the selection operation is not detected again within the preset time window, determining the multiple selection operations that have been detected as the continuous selection operations, and determining the cumulative number of occurrences as the number of operations corresponding to the continuous selection operations.

[0214] Optionally, the step of storing the target game props stored in the current storage container in piles into storage containers of a number corresponding to the number of operations according to the number of operations and the number includes: obtaining the number of idle storage containers in the storage area; if the number is not less than the number of operations, storing the target game props stored in the current storage container in piles into storage containers of a number corresponding to the number of operations; if the number is less than the number of operations, splitting the target game props stored in the current storage container into piles of a number corresponding to the number of operations, storing the number of piles in the piles in the storage area, and storing the remaining piles in the piles in other storage areas.

[0215] Optionally, the step of stacking the target game props stored in the current storage container into storage containers of a number corresponding to the number of operations according to the number of operations includes: obtaining the number of idle storage containers in the storage area; if the number is not greater than the number of operations, issuing a prompt that the stacking operation failed.

[0216] Optionally, before the step of storing the target game props stored in the current storage container in piles corresponding to the number of operations according to the number of operations and the number, the step also includes: detecting whether there are other storage areas displayed in the graphical user interface; if so, storing the target game props stored in the current storage container in piles according to the number of operations and the number, and storing the piles in the other storage areas in the number of storage containers corresponding to the number of operations; if not, executing the step of storing the target game props stored in the current storage container in piles corresponding to the number of operations according to the number of operations and the number.

[0217] Optionally, among the storage containers storing the target game props in piles, at least some of the storage containers store the same number of target game props.

[0218] Optionally, it also includes: in response to a selection operation acting on a target game prop, determining the number of the target game props, wherein the target game props are stored in a first storage area of ​​the graphical user interface; in response to a dragging operation of dragging the target game props from the first storage area to a second storage area, according to the number of the target game props and a stacking rule determined based on the second storage area, at least partially stacking the target game props in the second storage area.

[0219] Optionally, the pile division rule determined based on the second storage area includes at least: the number of piles determined based on the second storage area, and the number of target game props corresponding to each pile.

[0220] It should be noted that the above is only a brief description of the computer-readable storage medium provided by the present disclosure. The process steps executed and / or the functions implemented when the computer-readable storage medium provided by the present disclosure is working are generally consistent with the step processes and / or the functions implemented in each embodiment of the virtual item stacking control method provided by the previous text disclosure, so they will not be described in detail here.

[0221] Through the above introduction, the computer-readable storage medium provided by the present disclosure, by displaying a stacking window including one or more selection areas on a graphical user interface when the user selects a target virtual item from a storage area, facilitates the user to determine the number of stacks to be stacked for the target virtual item from the different selection areas displayed, and then automatically stacks the target virtual items, thereby simplifying the stacking operation process, improving the stacking operation efficiency, and avoiding the power consumption and performance overhead of the terminal device caused by multiple repeated and complex operations.

[0222] In the several embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.

[0223] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present disclosure.

[0224] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0225] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk.

[0226] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present disclosure is not limited to only one bus or one type of bus.

[0227] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special purpose computer.

[0228] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0229] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present disclosure, rather than to limit them. Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present disclosure.

Claims

1. A method for controlling the stacking of game props, characterized in that: A graphical user interface for a game is provided through a terminal device, wherein the content displayed by the graphical user interface includes at least one or more storage areas, wherein the storage area includes a plurality of storage containers for storing game props, and the method includes: In response to a continuous selection operation on a target game prop stored in a current storage container, determining the number of operations corresponding to the continuous selection operation and the number of the target game props, wherein the continuous selection operation is used to trigger a process of stacking the target game props; Obtaining the number of idle storage containers in the storage area; If the number of the idle storage containers is not less than the number of operations, the target game props stored in the current storage container are stacked and stored in storage containers of a number corresponding to the number of operations according to the number of operations and the number of the target game props; If the number of idle storage containers is less than the number of operations, the target game props stored in the current storage container are split into piles corresponding to the number of operations, and the number of piles in the piles are stored in the storage area, and the remaining piles in the piles are stored in other storage areas.

2. The method according to claim 1, characterized in that: The continuous selection operation includes at least 2 selection operations, and the interval between any adjacent selection operations does not exceed the target duration.

3. The method according to claim 1, characterized in that The step of determining the number of operations corresponding to the continuous selection operation in response to the continuous selection operation of the target game prop stored in the current storage container includes: In response to a selection operation on the target game item, recording the number of occurrences and the time of occurrence of the selection operation; Detecting whether the selection operation occurs again within a preset time window from the occurrence time; If yes, then the occurrence count is increased by 1, the occurrence time is updated to the time when the selection operation occurs again, and the selection operation is repeatedly detected based on the time until the selection operation is not detected again within the preset time window from the occurrence time; If the selection operation is not detected again within the preset time window, the multiple selection operations that have been detected are determined as the continuous selection operations, and the accumulated number of occurrences is determined as the number of operations corresponding to the continuous selection operations.

4. The method according to claim 3, characterized in that After the step of detecting whether the selection operation occurs again within a preset time window from the occurrence time, the method further includes: If not, it is determined that the selection operation is a discontinuous selection operation, and the game function corresponding to the discontinuous selection operation is controlled to be executed.

5. The method according to claim 1, characterized in that The step of responding to the continuous selection operation of the target game prop stored in the current storage container and determining the number of operations corresponding to the continuous selection operation includes: In response to a selection operation on the target game prop, the number of occurrences and the time of occurrence of the selection operation are recorded, and a timer is started; Before the timing reaches a preset time length, detecting whether the selection operation occurs again within a preset time window from the occurrence time; If yes, then the occurrence count is increased by 1, the occurrence time is updated to the time when the selection operation occurs again, and the selection operation is repeatedly detected based on the time until the timing reaches the preset time length or the selection operation is not detected again within the preset time window from the occurrence time; If the timing reaches the preset time length or the selection operation is not detected within the preset time window, the detected multiple selection operations are determined as the continuous selection operations, and the accumulated number of occurrences is determined as the number of operations corresponding to the continuous selection operations; Wherein, the preset duration is greater than the preset time window.

6. The method according to claim 1, characterized in that The step of determining the number of operations corresponding to the continuous selection operation in response to the continuous selection operation of the target game prop stored in the current storage container includes: In response to a selection operation on the target game item, recording the number of occurrences and the time of occurrence of the selection operation; Before the accumulated number of occurrences reaches a preset number of times, detecting whether the selection operation occurs again within a preset time window from the occurrence time; If yes, then the occurrence count is increased by 1, the occurrence time is updated to the time when the selection operation occurs again, and the selection operation is repeatedly detected based on the time until the occurrence count reaches the preset number of times or the selection operation is not detected again within the preset time window from the occurrence time; If the preset number of times is reached or the selection operation is not detected again within the preset time window, the multiple selection operations that have been detected are determined as the continuous selection operations, and the accumulated number of occurrences is determined as the operation number corresponding to the continuous selection operation.

7. The method according to claim 1, characterized in that The step of determining the number of operations corresponding to the continuous selection operation in response to the continuous selection operation on the target game prop comprises: In response to a selection operation on the target game prop, the number of occurrences and the time of occurrence of the selection operation are recorded, and a timer is started; Before the accumulated number of occurrences reaches a preset number of times or the timing reaches a preset duration, detecting whether the selection operation occurs again within a preset time window from the occurrence time; If yes, then the number of occurrences is increased by 1, the occurrence time is updated to the time when the selection operation occurs again, and the selection operation is repeatedly detected based on the time until the number of occurrences reaches the preset number of times or the timing reaches the preset duration or the selection operation is not detected again within the preset time window from the occurrence time; If the number of occurrences reaches the preset number of times or the timing reaches the preset duration or the selection operation is not detected again within the preset time window, the multiple selection operations that have been detected are determined as the continuous selection operations, and the accumulated number of occurrences is determined as the number of operations corresponding to the continuous selection operation.

8. The method according to any one of claims 1 to 7, characterized in that: Before the step of stacking the target game props stored in the current storage container into storage containers corresponding to the number of operations according to the number of operations and the number of target game props, the method further includes: Detecting whether other storage areas are displayed in the graphical user interface; If yes, then the target game props stored in the current storage container are divided into piles according to the number of operations and the number of the target game props, and the piles are respectively stored in the storage containers of the number corresponding to the number of operations in the other storage area; If not, the step of stacking the target game props stored in the current storage container and storing them in storage containers of a number corresponding to the number of operations is performed according to the number of operations and the number of target game props.

9. The method according to any one of claims 1 to 7, characterized in that: Among the storage containers storing the target game props in piles, at least some of the storage containers store the same number of target game props.

10. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: In response to a selection operation on a target game item, determining a quantity of the target game item, wherein the target game item is stored in a first storage area of ​​the graphical user interface; In response to a dragging operation of dragging the target game props from the first storage area to the second storage area, the target game props are at least partially stacked and stored in the second storage area according to the number of the target game props and a stacking rule determined based on the second storage area.

11. The method according to claim 10, characterized in that The pile division rule determined based on the second storage area at least includes: the number of piles determined based on the second storage area, and the number of target game props corresponding to each pile.

12. A device for controlling the stacking of game props, characterized in that: A graphical user interface for a game is provided through a terminal device, wherein the content displayed by the graphical user interface at least includes one or more storage areas, wherein the storage area includes a plurality of storage containers for storing game props, and the device includes: A selection module, for responding to a continuous selection operation on a target game item stored in a current storage container, and determining the number of operations corresponding to the continuous selection operation and the number of the target game items; The stacking module is used to obtain the number of idle storage containers in the storage area; if the number of idle storage containers is not less than the number of operations, the target game props stored in the current storage container are stacked and stored in storage containers of the same number as the number of operations according to the number of operations and the number of target game props; if the number of idle storage containers is less than the number of operations, the target game props stored in the current storage container are split into stacks of the same number as the number of operations, and the stacks of the same number are stored in the storage area, and the remaining stacks in the stacks are stored in other storage areas.

13. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the method according to any one of claims 1 to 11 can be implemented.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which can be executed by at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 11.