Resource splitting method and device, electronic equipment and computer readable storage medium

By displaying the graphical user interface on the electronic device and responding to player operations, the target number or operation parameters of the game resources are split, and the problem of inefficient splitting of game resources in the existing technology is solved, and efficient and convenient game resource management is achieved.

CN120189701APending Publication Date: 2025-06-24NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510522527.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-23
Publication Date
2025-06-24

AI Technical Summary

Technical Problem

In the prior art, game resource splitting is inefficient, and players need to split game resources multiple times to achieve the required number.

Method used

The graphical user interface is displayed through an electronic device, and at least two storage areas are provided. The game resources are split in response to player operations, the game resources are split into multiple copies according to the target number or operation parameters, and the split game resources are controlled to be displayed in the corresponding storage area.

Benefits of technology

The efficient split of game resources is achieved, and players can achieve the required number of game resources through one operation, without the need for multiple splits, which improves the convenience and efficiency of game resource management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120189701A_ABST
    Figure CN120189701A_ABST
Patent Text Reader

Abstract

The invention discloses a resource splitting method and device, electronic equipment and a computer readable storage medium, a graphical user interface is displayed through the electronic equipment, the content displayed by the graphical user interface comprises at least two storage areas, game resources are stored in a first storage area in the at least two storage areas, and the game resources are stored in a second storage area in the at least two storage areas. In response to a first trigger operation on the game resources, determining a first game resource from the game resources according to the first trigger operation; in response to a second trigger operation for the storage area, determining the storage area on which the second trigger operation acts; splitting the first game resource based on the target number of the acted storage areas and / or splitting the first game resource based on the operation parameters of the second trigger operation to obtain at least two first sub-game resources; and controlling the first sub-game resource to be displayed in the storage area. According to the embodiment of the invention, the splitting efficiency of the game resources can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of game technologies, and in particular, to a method and apparatus for resource splitting, an electronic device, and a computer-readable storage medium. Background Art

[0002] There are various game resources in a game, and players can use the game resources to complete game tasks. Some game resources are stored in a stacked manner in the backpack. When a player wants to transfer, discard, or use a part of the game resources, the game resources need to be split first.

[0003] Currently, the way to split game resources is to split the game resources into two parts. If the quantity of each part of the game resources is not what the player needs, the player needs to continue to split the two parts of the game resources, and the splitting efficiency is low. Summary of the Invention

[0004] Embodiments of this application provide a method and apparatus for resource splitting, an electronic device, and a computer-readable storage medium, which can improve the splitting efficiency of game resources.

[0005] In a first aspect, an embodiment of this application provides a method for resource splitting. A graphical user interface is displayed through an electronic device. The content displayed on the graphical user interface includes at least two storage areas. A first storage area among the at least two storage areas stores game resources. The method includes:

[0006] In response to a first trigger operation on the game resources, a first game resource is determined from the game resources according to the first trigger operation;

[0007] In response to a second trigger operation on the storage area, the storage area on which the second trigger operation acts is determined;

[0008] The first game resource is split based on the target quantity of the storage area on which the operation acts and / or the first game resource is split based on the operation parameter of the second trigger operation to obtain at least two first sub-game resources;

[0009] The first sub-game resources are controlled to be displayed in the storage area.

[0010] In a second aspect, an embodiment of this application further provides a resource splitting apparatus. A graphical user interface is displayed through an electronic device. The content displayed on the graphical user interface includes at least two storage areas. A first storage area among the at least two storage areas stores game resources. The apparatus includes:

[0011] A first determination module, configured to determine a first game resource from the game resources according to a first trigger operation in response to the first trigger operation on the game resources;

[0012] A second determination module, configured to respond to a second trigger operation for the above storage area and determine the storage area affected by the second trigger operation;

[0013] A resource splitting module, configured to split the above first game resource based on the target quantity of the affected storage area and / or split the above first game resource based on the operation parameters of the above second trigger operation, to obtain at least two first sub-game resources;

[0014] A resource display module, configured to control the above first sub-game resources to be displayed in the above storage area.

[0015] In a third aspect, an embodiment of the present application further provides an electronic device, including a memory storing multiple instructions; the above processor loads the instructions from the above memory to execute any one of the resource splitting methods provided by the embodiments of the present application.

[0016] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, the above computer-readable storage medium stores multiple instructions, and the above instructions are suitable for being loaded by a processor to execute any one of the resource splitting methods provided by the embodiments of the present application.

[0017] In the embodiments of the present application, in response to a first trigger operation on game resources, a first game resource is determined from the game resources according to the first trigger operation, in response to a second trigger operation for a storage area, the storage area affected by the second trigger operation is determined, the first game resource is split based on the target quantity of the affected storage area and / or the first game resource is split based on the operation parameters of the second trigger operation, to obtain at least two first sub-game resources, and the first sub-game resources are controlled to be displayed in the storage area, so that it is possible to split the first sub-game resources required by oneself through the affected storage area and / or the operation parameters of the second trigger operation, without splitting the first game resource multiple times, thereby improving the splitting efficiency of game resources. Description of the Drawings

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those skilled in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0019] Figure 1 is a schematic diagram of a resource splitting system provided by an embodiment of the present application;

[0020] Figure 2 is a schematic flowchart of an embodiment of a resource splitting method provided by an embodiment of the present application;

[0021] Figure 3 is a schematic diagram of a storage area provided in an embodiment of the present application;

[0022] Figure 4 is a schematic diagram of a sliding operation provided in an embodiment of the present application;

[0023] Figure 5 is a schematic diagram of the storage area passed through provided in an embodiment of the present application;

[0024] Figure 6 is a schematic diagram of a preset game element provided in an embodiment of the present application;

[0025] Figure 7 is a schematic diagram of a split window provided in an embodiment of the present application;

[0026] Figure 8 is a schematic diagram of a first sub-game resource provided in an embodiment of the present application;

[0027] Figure 9 is another schematic diagram of a storage area provided in an embodiment of the present application;

[0028] Figure 10 is a schematic diagram of a target area provided in an embodiment of the present application;

[0029] Figure 11 is a schematic structural diagram of a resource splitting device provided in an embodiment of the present application;

[0030] Figure 12 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. Detailed implementation manners

[0031] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present application.

[0032] Before explaining the embodiments of the present application in detail, some terms related to the embodiments of the present application will be explained.

[0033] Among them, in the description of the embodiments of the present application, terms such as "first" and "second" may be used herein to describe various concepts, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.

[0034] The embodiments of the present application provide a resource splitting method, device, electronic device, and computer-readable storage medium. Specifically, the resource splitting method of the embodiments of the present application can be executed by an electronic device, where the electronic device can be a terminal or a server and other devices.

[0035] The terminal can be a smart phone, a tablet computer, a laptop computer, a touch screen, a game console, a personal computer (PC), a personal digital assistant (PDA), and other terminal devices. The terminal can also include a client, and the client can be a game application client, a browser client with a game program, or an instant messaging client, etc.

[0036] The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery network (CDN), and big data and artificial intelligence platforms.

[0037] For example, as Figure 1As shown, the electronic device is described by taking the terminal 10 as an example. The terminal 10 can display a graphical user interface, and the content displayed on the graphical user interface includes at least two storage areas. Among the at least two storage areas, the first storage area stores game resources. The terminal responds to a first trigger operation on the game resources, determines a first game resource from the game resources according to the first trigger operation, responds to a second trigger operation on the storage area, determines the storage area affected by the second trigger operation, and sends the target quantity of the affected storage area and / or the operation parameter of the second trigger operation to the server 20. The server 20 splits the first game resource based on the target quantity and / or the operation parameter of the second trigger operation to obtain at least two copies of the first sub-game resources, and sends the first sub-game resources to the terminal 10. The terminal 10 displays the first sub-game resources on the storage area.

[0038] The following will be described in detail with reference to the accompanying drawings respectively. It should be noted that the description order of the following embodiments does not limit the preferred order of the embodiments. Although the logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown in the drawings.

[0039] In this embodiment, the terminal is taken as an example of an electronic device for description. This embodiment provides a resource splitting method. By an electronic device displaying a graphical user interface, the content displayed on the graphical user interface includes at least two storage areas. Among the at least two storage areas, the first storage area stores game resources. The specific process of this resource splitting method is as follows: Figure 2 As shown, the specific process of this resource splitting method can be as follows:

[0040] 201. Respond to a first trigger operation on the game resources, and determine a first game resource from the game resources according to the first trigger operation.

[0041] Among them, the graphical user interface is an interface obtained by running a client on the processor of a mobile terminal or other terminal and rendering it on a display.

[0042] The content displayed on the graphical user interface may include a game screen, and the game screen refers to the screen in the game client for players to interact. Optionally, the game screen may include the game screen during a game session and the game screen outside the game session. The game screen during a game session can be used to complete game tasks. For example, the game screen during a game session may include a virtual scene, and the virtual scene may include virtual game characters. The game screen outside the game session can be used to assist players in completing the game session. For example, the game screen outside the game session may include a backpack screen or a lobby interface, which is not limited in this embodiment.

[0043] Optionally, when the game screen is the game screen within a game session, in addition to displaying the virtual scene, the graphical user interface can also display game controls for players to interact with (such as skill controls, movement controls, function controls, etc.), indication signs (such as direction indication signs, character indication signs, etc.), information display areas (such as the number of kills, game time, etc.), or game setting controls (such as system settings, store, gold coins, etc.).

[0044] Optionally, the game screen can be displayed on the graphical user interface. The game screen includes at least two storage areas. The game screen can be, for example, the backpack screen, that is, the backpack screen includes at least two storage areas. For example, the backpack screen can be as Figure 3 shown, in Figure 3 , the backpack screen can include a pocket and a backpack, and both the pocket and the backpack can be used to store game resources.

[0045] Game resources refer to various virtual items that players can use in the game, which can be used to enhance the attributes and / or skills of virtual game characters. The types of game resources can be set according to the actual situation. For example, game resources can be at least one of virtual bullets, virtual health packs, and virtual batteries. This embodiment does not make any limitations here.

[0046] A storage area refers to a container for storing game resources. The capacity of each storage area can be the same or different. Optionally, the pocket and / or backpack of the virtual game character can include storage areas. The first storage area refers to the storage area among at least two storage areas that stores game resources. For example, when both the pocket and the backpack of the virtual game character include storage areas, the storage areas and the first storage area can be as Figure 3 shown.

[0047] One first storage area can be used to store at least one game resource, or when a game resource is large, the game resource can be stored in at least two first storage areas. For example, when the game resource is a battery, one battery needs to be stored in four first storage areas.

[0048] When at least two game resources are stored in one first storage area, the at least two game resources can be called stackable storage game resources. Stackable storage game resources are game resources that can be split. For example, stackable storage game resources can be virtual bullets, virtual health packs, and virtual food, etc. This embodiment does not make any limitations here. Game resources can include stackable storage game resources and / or non-stackable storage game resources.

[0049] When storing at least two game resources in a first storage area, the at least two game resources stored in the first storage area can be game resources of the same type. The attributes corresponding to the game resources of the same type can be the same or different, and this embodiment does not make a limitation here.

[0050] When the attributes corresponding to the game resources of the same type are the same, for example, two virtual health packs are stored in a first storage area, and the amount of blood that each virtual health pack can replenish is 50%. When the attributes corresponding to the game resources of the same type are different, for example, two virtual health packs are stored in a first storage area, one virtual health pack can replenish 50% of the blood, and the other virtual health pack can replenish 30% of the blood.

[0051] Optionally, when stackable game resources are stored on the first storage area, the quantity of the game resources stored in the first storage area can be displayed on the first storage area. For example, as Figure 4 shown, in Figure 4 the first game resource is bullets, and the quantity of bullets is 60.

[0052] The type of the first trigger operation can be set according to the actual situation. For example, the first trigger operation can be a click operation or a long - press operation, and this embodiment does not make a limitation here. The first game resource is the game resource on which the first trigger operation acts. For example, when the first trigger operation is a click operation, the first game resource is the game resource that is clicked; when the first trigger operation is a long - press operation, the first game resource is the game resource that is long - pressed.

[0053] The first game resource is a stackable game resource, that is, the quantity of the first game resource is equal to or greater than 2.

[0054] 202. In response to a second trigger operation on the storage area, determine the storage area on which the second trigger operation acts.

[0055] Among them, the type of the second trigger operation can be set according to the actual situation. For example, the second trigger operation can be a click operation or a swipe operation, and this embodiment does not make a limitation here.

[0056] It can be understood that the storage area on which the second trigger operation acts can include the storage area storing the first game resource, or can not include the storage area storing the first game resource.

[0057] In some embodiments, the second trigger operation includes at least one click operation, the storage area on which it acts is the storage area clicked by the click operation, and the storage area clicked by each click operation is different.

[0058] For example, at least two storage areas include storage area d1, storage area d2, storage area d3, storage area d4, and storage area d5. Storage area d1 stores the first game resource. When the player clicks on storage area d2, storage area d3, and storage area d4, the storage areas affected are storage area d2, storage area d3, and storage area d4.

[0059] In this embodiment, the second trigger operation includes at least one click operation. The storage area affected is the storage area clicked by the click operation. Each click operation clicks on a different storage area, enabling the selection of a storage area through the click operation. The first game resource can be split through the selected storage area, further improving the efficiency of resource splitting.

[0060] In some embodiments, the first trigger operation includes a long - press operation, the second trigger operation includes a drag operation, and the first and second trigger operations are consecutive. The storage areas affected are the storage areas swiped by the drag operation and the first storage area storing the first game resource.

[0061] Among them, since the first trigger operation and the second trigger operation are consecutive, the first trigger operation includes a long - press operation, and the second trigger operation includes a drag operation, the first trigger operation and the second trigger operation form a complete swipe operation. At this time, in this embodiment, a complete swipe operation can be used to select both the first game resource and the storage area. Specifically, the terminal can, in response to the swipe operation on the game resource, determine the first game resource located at the starting position of the swipe operation, and in response to the end of the swipe operation, determine the storage areas swiped by the swipe operation. Or, the terminal can, in response to the end of the swipe operation on the game resource, determine the starting position and the ending position of the swipe operation, determine the first game resource located at the starting position of the swipe operation, and based on the starting position and the ending position of the swipe operation, determine the swiped storage areas.

[0062] It can be understood that since the first trigger operation and the second trigger operation form a complete swipe operation, the storage areas affected by the second trigger operation include the storage areas affected by the first trigger operation, that is, the storage areas affected by the second trigger operation include the storage areas swiped by the drag operation and the first storage area storing the first game resource.

[0063] For example, the swipe operation is as Figure 4 shown. The storage areas affected include the first storage area storing the first game resource. The first storage area is storage area d1, and the affected storage areas are storage area d1, storage area d2, and storage area d3 respectively.

[0064] Optionally, the sliding operation can be an operation generated by the player's hand directly touching the terminal, or the sliding operation can also be an operation generated by the player touching the terminal through an input device, such as a stylus. This embodiment does not make any limitations here.

[0065] In this embodiment, the first trigger operation includes a long - press operation, and the second trigger operation includes a drag operation. The first trigger operation and the second trigger operation are consecutive, and the storage areas they act on are the storage area swiped by the drag operation and the first storage area storing the first game resource. This realizes that the first game resource and the storage area can be selected through a single sliding operation, further improving the efficiency of resource splitting.

[0066] In some embodiments, the display style of the storage area being acted on is updated to a first display style. Here, the display style is used to indicate the display effect of the storage area. When the storage area is not triggered by the second trigger operation, the display style of the storage area can be the initial display style. When the storage area is triggered by the second trigger operation, the display style of the storage area can be the first display style. The first display style is different from the initial display style, and the first display style can be set according to the actual situation. For example, the first display style can be to bold - display the edge of the storage area or deepen the color of the storage area. This embodiment does not make any limitations here.

[0067] For example, when the first display style is to bold - display the edge of the storage area, when the storage area being acted on is displayed according to the first display style, the storage area being acted on can be as Figure 5 shown.

[0068] In this embodiment, the display style of the storage area being acted on is updated to the first display style to highlight the storage area being acted on, enabling the player to more intuitively understand the storage area being acted on, improving the convenience of splitting game resources, and further improving the efficiency of splitting game resources.

[0069] In some embodiments, a preset game element is displayed on the first game resource, and the first trigger operation is a sliding operation on the preset game element.

[0070] Here, the preset game element refers to a pre - set identifier, which can be set according to the actual situation. For example, the preset game element can be a triangle or a rectangle. This embodiment does not make any limitations here. When the preset game element is a triangle, the preset game element can be as Figure 6 shown.

[0071] In the case where the first trigger operation and the second trigger operation form a complete sliding operation, since the game resources can also be dragged from one storage area to another storage area for storage through the sliding operation, in order to distinguish the role played by the sliding operation, in this embodiment, a preset game element is displayed on the first game resource. When the sliding operation is a sliding operation on the preset game element of the first game resource, it means that the first game resource is to be split. When the sliding operation is a sliding operation on the first game resource, it means that the first game storage is to be dragged to another storage area for storage, enriching the role of the sliding operation, so that the splitting of the game resources can be realized through the sliding operation, improving the convenience of splitting the game resources, and further improving the efficiency of splitting the game resources.

[0072] In some embodiments, when the game resources stored in the first storage area are stackable game resources, a preset game element can be displayed on the first storage area. When a preset game element is displayed on a first storage area, it means that the game resources stored in the first storage area are stackable game resources, that is, it means that the game resources stored in the first storage area are game resources that can be split, enabling players to intuitively understand which game resources are game resources that can be split, and further improving the splitting efficiency of the game resources.

[0073] 203. Split the first game resource based on the target number of the storage area where it acts and / or split the first game resource based on the operation parameter of the second trigger operation to obtain at least two first sub-game resources.

[0074] Among them, the target number is used to indicate the number of copies after the first game resource is split. For example, if the second trigger operation is clicked twice, the target number of the storage area where it acts is 2. Another example is that the first trigger operation and the second trigger operation form a complete sliding operation, and the storage areas where the first trigger operation and the second trigger operation act can be as Figure 4 shown. At this time, the storage areas where it acts include storage area d1, storage area d2, and storage area d3, and the target number is 3, indicating that the first game resource needs to be split into 3 copies. The number of each first sub-game resource includes at least one. The operation parameter of the second trigger operation can be used to indicate the first resource quantity of the first sub-game resource after splitting.

[0075] In this embodiment, the first game resource is selected through the first trigger operation, the storage area where it acts is selected through the second trigger operation, and the first game resource can be split into the first sub-game resources required by itself based on the storage area where it acts and the operation parameter of the second trigger operation, without splitting the first game resource multiple times, improving the convenience of splitting the first game resource, and thus improving the splitting efficiency of the first game resource.

[0076] In some embodiments, the operation parameters of the second trigger operation include the touch duration of the second trigger operation. Based on the operation parameters of the second trigger operation, the first game resource is split into at least two first sub-game resources, including:

[0077] Based on the touch duration of the second trigger operation in the storage area where it acts, determine the first resource quantity of the first sub-game resources after splitting;

[0078] Based on the first resource quantity, split the first game resource into at least two first sub-game resources.

[0079] For example, the second trigger operation is a drag operation. The touch duration of the second trigger operation in the storage area where it acts refers to the staying duration of the drag operation in the storage area where it acts. After obtaining the touch duration, perform a mapping process on the touch duration to obtain the first resource quantity of the first sub-game resources after splitting.

[0080] For example, the first trigger operation is a click operation, the second trigger operation is a drag operation, and the first trigger operation and the second trigger operation form a slide operation. As shown in Figure 4 The number of the first game resources is 60. The storage areas where it acts include storage area d1, storage area d2, and storage area d3. The staying duration of the drag operation in storage area d2 is 2 seconds, indicating that the first quantity of the first sub-game resources is 20. The staying duration of the drag operation in storage area d3 is 3 seconds, indicating that the first quantity of the first sub-game resources is 30. Finally, the first resource quantities of the first sub-game resources after splitting are 30, 20, and 10 respectively.

[0081] In this embodiment, based on the touch duration of the second trigger operation in the storage area where it acts, determine the first resource quantity of the first sub-game resources after splitting. Based on the first resource quantity, split the first game resource into at least two first sub-game resources, enabling the player to set the first resource quantity of each first sub-game resource after splitting according to the actual situation, which not only improves the resource splitting efficiency but also makes the first sub-game resources after splitting more in line with the player's needs.

[0082] In some embodiments, based on the target quantity of the storage area where it acts, split the first game resource into at least two first sub-game resources, including:

[0083] Based on the quantity of the first game resource and the target quantity of the storage area where it acts, determine the second resource quantity of each first sub-game resource after splitting;

[0084] Based on the second resource quantity, split the first game resource into at least two first sub-game resources.

[0085] For example, if the target quantity is 3, and based on the first game resource and the target quantity, it is determined that the second resource quantity of each game resource after splitting is 20. Then, based on the second resource quantity, after splitting the first game resource, three first sub-game resources can be obtained, and the quantity of each first sub-game resource is 20.

[0086] In this embodiment, based on the quantity of the first game resource and the target quantity of the storage area where it acts, the second resource quantity of each first sub-game resource after splitting is determined. Based on the second resource quantity, the first game resource is split to obtain at least two first sub-game resources, so that the second resource quantity of each first sub-game resource after splitting can be determined according to the target quantity, further improving the game resource splitting efficiency.

[0087] In some embodiments, determining the second resource quantity of each first sub-game resource after splitting based on the quantity of the first game resource and the target quantity includes:

[0088] Dividing the quantity of the first game resource by the target quantity to obtain the second resource quantity of each first sub-game resource after splitting.

[0089] For example, if the quantity of the first game resource is 60 and the target quantity is 3, then the second resource quantity is 20. After splitting the first game resource, the quantity of each first sub-game resource is 20.

[0090] In this embodiment, dividing the quantity of the first game resource by the target quantity to obtain the second resource quantity of each first sub-game resource after splitting realizes an average split of the first game resource.

[0091] In some embodiments, the second resource quantity includes a first quantity and a second quantity. Determining the second resource quantity of each first sub-game resource after splitting based on the quantity of the first game resource and the target quantity of the storage area where it acts includes:

[0092] If the quantity of the first game resource is not an integer multiple of the target quantity of the storage area where it acts, then subtract the target value from the target quantity to obtain a third quantity;

[0093] Divide the quantity of the first game resource by the third quantity to obtain the first quantity and the second quantity.

[0094] Among them, the third quantity is less than the target quantity. For example, the target quantity can be subtracted by 1 to obtain the third quantity. The first quantity can be the quotient obtained by dividing the quantity of the first game resource by the third quantity, and the second quantity can be the remainder obtained by dividing the quantity of the first game resource by the third quantity.

[0095] For example, the quantity of the first game resource is 55, the target quantity is 3. Subtract 1 from the target quantity to obtain a third quantity of 2. Divide 55 by 2, getting a quotient of 25 and a remainder of 5. Then the first quantity is 25 and the second quantity is 5. After splitting the first game resource based on the first quantity and the second quantity, two first sub-game resources with a quantity of 25 and one first sub-game resource with a quantity of 5 can be obtained.

[0096] In this embodiment, if the quantity of the first game resource is not an integer multiple of the target quantity, subtract the target value from the target quantity to obtain a third quantity. Divide the quantity of the first game resource by the third quantity to obtain the first quantity and the second quantity, achieving an unequal split of the first game resource.

[0097] In some embodiments, determining the second resource quantity of each game resource after splitting based on the quantity of the first game resource and the target quantity of the storage area used includes:

[0098] Based on the target quantity of the storage area used and the quantity of the first game resource, display a split window, where the split window includes a target control;

[0099] In response to a third trigger operation on the target control, based on the third trigger operation, determine the second resource quantity of each first sub-game resource after splitting.

[0100] Among them, the split window can be displayed in the form of a pop-up window on the graphical user interface. The target control displayed based on the target quantity and the quantity of the first game resource can be understood as a target control set based on the target quantity and the quantity of the first game resource, so as to set the second resource quantity of each first sub-game resource after splitting based on the quantity of the first game resource through a third touch operation on the target control.

[0101] The third trigger operation on the target control can be set according to the actual situation. For example, the third trigger operation on the target control can be a sliding operation on the target control or an input operation on the target control. This embodiment does not make a limitation here.

[0102] In this embodiment, based on the target quantity of the storage area used and the quantity of the first game resource, display a split window, where the split window includes a target control. In response to a third trigger operation on the target control, based on the third trigger operation, determine the second resource quantity of each first sub-game resource after splitting, achieving setting the second resource quantity of each first sub-game resource after splitting through the target control, enabling the player to evenly or unevenly split the first game resource according to needs, and further improving the game resource splitting efficiency.

[0103] In some embodiments, a target control may include a plurality of input areas, the number of input areas being a target number, and the number obtained for each input area being a first number of each first sub-game resource after splitting.

[0104] In some embodiments, the target control includes a slider bar and sliders. The length of the slider bar is used to indicate the number of first game resources, and the number of sliders is set based on the target number. In response to a third trigger operation on the target control, based on the third trigger operation, determining the second resource number of each first sub-game resource after splitting includes:

[0105] In response to a sliding operation on the slider, determining the position of the slider in the slider bar;

[0106] Based on the position and the number of first game resources, determining the second resource number of each first sub-game resource after splitting.

[0107] Among them, the target number can be subtracted by 1 to obtain the number of sliders. For example, if the target number is 3, then the number of sliders is 2. Another example is that if the target number is 4, then the number of sliders is 3. By sliding the slider, the position of the slider in the slider bar is changed, so as to determine the second resource number based on the position of the slider in the slider bar and the number of first game resources.

[0108] Specifically, according to the position of the slider in the slider bar, the proportional relationship between the second resource number of each first sub-game resource after splitting and the number of first game resources can be determined, and based on the proportional relationship, the second resource number can be determined.

[0109] For example, the number of sliders is 2, the sliders include slider 1 and slider 2, and the number of first game resources is 60. The splitting window, slider bar, and sliders can be as Figure 7 shown, Figure 7 The length of the slider bar in the figure represents 60. When slider 1 is at one-third of the position of the slider bar and slider 2 is at three-fifths of the position of the slider bar, it means that there is one first sub-game resource with a quantity of one-third of the number of first game resources and one first sub-game resource with a quantity of three-fifths of the number of first game resources in the first sub-game resources. That is, the second resource numbers are 20, 36, and 4 respectively.

[0110] In this embodiment, in response to a sliding operation on the slider, determining the position of the slider in the slider bar, and based on the position and the number of first game resources, determining the second resource number of each first sub-game resource after splitting, it is possible to not only set the number of copies of the first sub-game resources after splitting through two sliding operations, but also set the number of each first sub-game resource after splitting, and can perform average splitting or non-average splitting according to actual needs, further improving the splitting efficiency of game resources.

[0111] 204. Control the first sub-game resource to be displayed in the storage area.

[0112] Wherein, when the first sub-game resource is displayed on a certain storage area, it means that the first sub-game resource is stored on this storage area.

[0113] In some embodiments, controlling the first sub-game resource to be displayed in the storage area includes:

[0114] Determine a second storage area based on the acting storage area;

[0115] Control the first sub-game resource to be displayed in the second storage area.

[0116] Among them, the acting storage area can be directly determined as the second storage area, or the second storage area can also be determined based on the storage state of the acting storage area, and the storage state includes an idle state and a non-idle state.

[0117] In this embodiment, based on the acting storage area, determine the second storage area, and control the first sub-game resource to be displayed in the second storage area, so as to realize that based on the first trigger operation and the second trigger operation, not only the number of copies into which the first game resource is split can be determined, but also the storage area for storing the first sub-game resource can be determined, improving the efficiency of game resource splitting and storage.

[0118] In some embodiments, determining the second storage area based on the acting storage area includes:

[0119] Determine the acting storage area as the second storage area;

[0120] Controlling the first sub-game resource to be displayed in the second storage area includes:

[0121] If the second storage area is in an idle state, then display the first sub-game resource in the second storage area;

[0122] If there is a second storage area that is not in an idle state, then move the game resources already stored in the second storage area, and display the first sub-game resource in the second storage area.

[0123] Among them, the game resources already stored in the second storage area can be moved to any idle third storage area, or the game resources already stored in the second storage area can also be moved to a third storage area adjacent to the second storage area, and this embodiment does not make a limitation here.

[0124] In some embodiments, determining the second storage area based on the acting storage area includes:

[0125] When the storage area in effect is in an idle state, determine the storage area in effect as the second storage area.

[0126] Among them, the idle state indicates that the storage area in effect does not store other game resources, and other game resources refer to game resources other than the first game resource. For example, the storage area in effect can be as Figure 4 shown. Figure 4 shown, the storage area in effect includes storage area d1, storage area d2, and storage area d3, and storage area d1, storage area d2, and storage area d3 are all in an idle state. Therefore, determine storage area d1, storage area d2, and storage area d3 as the second storage area. The quantity of the first game resource is 60, and the target quantity is 3. After storing the first sub-game resource in storage area d1, storage area d2, and storage area d3, the graphical user interface can be as Figure 8 shown.

[0127] In this embodiment, when the storage area in effect is in an idle state, then determine the storage area in effect as the second storage area, so that when there are no other game resources stored in the storage area in effect, the first sub-game resource is stored in the second storage area, avoiding conflicts caused by the storage of the first sub-game resource and other game resources.

[0128] In some embodiments, this embodiment further includes:

[0129] When the storage area in effect is not in an idle state, store the first sub-game resource in a third storage area adjacent to the storage area in effect, or randomly store the first sub-game resource in a third storage area in an idle state.

[0130] For example, the storage area in effect includes storage area d1, storage area d2, and storage area d3. As Figure 9 shown, the first virtual bullet is stored in storage area d1, and the second virtual bullet is stored in storage area d3. Split the first virtual bullet into three parts, store one part of the first virtual bullet in storage area d1, store another part of the first virtual bullet in storage area d2, and store the remaining part of the first virtual bullet in storage area d4. Storage area d4 is the third storage area adjacent to storage area d3.

[0131] In some embodiments, this embodiment further includes:

[0132] When the storage area in effect is not in an idle state, then display the first sub-game resource in the target area in the graphical user interface;

[0133] In response to a movement operation on the first sub-game resource, control the first sub-game resource to be displayed on the idle storage area among at least two storage areas.

[0134] Among them, the target area can be an area in the graphical user interface other than the material area, and the material area refers to the area where the storage area is located. The target area can be set according to the actual situation. For example, the target area can be as Figure 10 shown, and this embodiment does not make a limitation here. The idle storage area can also be referred to as the third storage area.

[0135] The type of the movement operation on the first sub-game resource can be set according to the actual situation. For example, the movement operation on the first sub-game resource can be a click operation or a drag operation, and this embodiment does not make a limitation here.

[0136] When the movement operation is a drag operation, in response to the drag operation on the resource identifier corresponding to the first sub-game resource, drag the first sub-game resource to the idle storage area for display. When the movement operation is a click operation, in response to the click operation on the resource identifier corresponding to the first sub-game resource and the click operation on the idle storage area, display the first sub-game resource of the click operation on the clicked idle storage area. Among them, the idle storage area can be clicked first, or the resource identifier of the first sub-game resource can be clicked first. The click operation on the idle storage area and the click operation on the first sub-game resource are two click operations within a preset duration.

[0137] It can be understood that, based on the number of the storage areas in the non-idle state that are acted on, the number of the first sub-game resources displayed in the target area can be determined. For example, as Figure 10 shown, the storage areas acted on include storage area d1, storage area d2, and storage area d3. The first virtual bullet is stored in storage area d1, and batteries are stored in storage area d2 and storage area d3. The first game resource S1 is split into three parts. The number of the storage areas in the non-idle state is 2, which are storage area d2 and storage area d3 respectively. Then, two parts of the first sub-game resources are displayed in the target area.

[0138] In this embodiment, when the storage areas acted on are not in the idle state, the first sub-game resources are displayed in the target area in the graphical user interface. In response to the movement operation on the first sub-game resources, control the first sub-game resources to be displayed on the idle storage area among at least two storage areas, so that the player can select the storage area for storing the first sub-game resources according to actual needs.

[0139] In some embodiments, controlling the first sub-game resource to be displayed in the storage area includes:

[0140] Determine the free storage area in the storage area;

[0141] Control the first sub-game resource to be displayed on the free storage area.

[0142] In this embodiment, determining the free storage area in the storage area and controlling the first sub-game resource to be displayed on the free storage area can automatically determine the storage area for storing the first sub-game resource without manual setting by the user, improving the efficiency of storing the first sub-game resource.

[0143] In some embodiments, the first sub-game resource can be randomly displayed on the free storage area, or the storage area includes at least two types of storage areas. Determining the free storage area in the storage area includes:

[0144] Determine the candidate free storage area in the storage area;

[0145] If the candidate free storage area includes a candidate free storage area of the same type as the first storage area, determine the candidate free storage area of the same type as the first storage area as the free storage area;

[0146] Otherwise, determine the candidate free storage area as the free storage area.

[0147] Wherein, the type of the storage area is used to indicate the storage space where the storage area is located. For example, the storage space can include a backpack and a pocket. The storage area includes the storage area in the pocket and the storage area in the backpack. The types of the storage area include the backpack type and the pocket type.

[0148] The first storage area refers to the first storage area for storing the first game resource. If the type of the first storage area is the first type, determine the candidate free storage area of the first type as the free storage area, and determine the candidate free storage area that is not of the first type as the non-free storage area. If there is no candidate free storage area of the first type, determine the candidate free storage area that is not of the first type as the free storage area.

[0149] For example, the first type is the backpack type, there are two copies of the first sub-game resource, the candidate free storage areas include storage areas d1, d2, and d3. The types of storage areas d1 and d2 are the backpack type, and the type of storage area d3 is the pocket type. Determine storage areas d1 and d2 as the free storage areas so as to store the first sub-game resource in storage areas d1 and d2.

[0150] In this embodiment, the storage area includes at least two types. A candidate free storage area in the storage area is determined. If the candidate free storage area includes a candidate free storage area of the same type as the first storage area, the candidate free storage area of the same type as the first storage area is determined as the free storage area. Otherwise, the candidate free storage area is determined as the free storage area, so that it is not necessary to manually select the storage area, and the free storage area for storing the first sub-game resources can better meet the needs of players.

[0151] As can be seen from the above, in response to a first trigger operation on game resources, a first game resource is determined from the game resources according to the first trigger operation. In response to a second trigger operation on the storage area, the storage area affected by the second trigger operation is determined. The first game resource is split based on the target quantity of the affected storage area and / or the operation parameter of the second trigger operation to obtain at least two first sub-game resources, and the first sub-game resources are controlled to be displayed in the storage area, realizing that through the affected storage area and / or the operation parameter of the second trigger operation, the first sub-game resources required can be split, without the need to split the first game resource multiple times, improving the splitting efficiency of game resources.

[0152] To better implement the above method, an embodiment of the present application further provides a resource splitting device. The resource splitting device can be specifically integrated in an electronic device, such as a computer device, which can be a device such as a terminal or a server.

[0153] Among them, the terminal can be a device such as a mobile phone, a tablet computer, a smart Bluetooth device, a laptop computer, or a personal computer; the server can be a single server or a server cluster composed of multiple servers.

[0154] For example, in this embodiment, taking the resource splitting device being specifically integrated in the terminal as an example, the method of the embodiment of the present application will be described in detail. This embodiment provides a resource splitting device, as Figure 11 shown. The resource splitting device displays a graphical user interface through the electronic device. The content displayed on the graphical user interface includes at least two storage areas. A game resource is stored in the first storage area among the at least two storage areas. The resource splitting device may include:

[0155] A first determination module 1101, configured to, in response to a first trigger operation on game resources, determine a first game resource from the game resources according to the first trigger operation.

[0156] A second determination module 1102, configured to, in response to a second trigger operation on the storage area, determine the storage area affected by the second trigger operation.

[0157] A resource splitting module 1103, configured to split the first game resource based on the target quantity of the storage area where it acts and / or split the first game resource based on the operation parameters of the second trigger operation, to obtain at least two first sub-game resources.

[0158] A resource display module 1104, configured to control the first sub-game resource to be displayed in the storage area.

[0159] In some embodiments, the second trigger operation includes at least one click operation, the storage area where it acts is the storage area clicked by the click operation, and the storage areas clicked by each click operation are different.

[0160] In some embodiments, the first trigger operation includes a long press operation, the second trigger operation includes a drag operation, the first trigger operation and the second trigger operation are consecutive, and the storage area where it acts includes the storage area swiped by the drag operation and the first storage area storing the first game resource.

[0161] In some embodiments, the resource splitting module 1103 is specifically configured to execute:

[0162] Based on the touch duration of the second trigger operation in the storage area where it acts, determine the first resource quantity of the first sub-game resource after splitting;

[0163] Based on the first resource quantity, split the first game resource to obtain at least two first sub-game resources.

[0164] In some embodiments, the resource splitting module 1103 is specifically configured to execute:

[0165] Based on the quantity of the first game resource and the target quantity of the storage area where it acts, determine the second resource quantity of each first sub-game resource after splitting;

[0166] Based on the second resource quantity, split the first game resource to obtain at least two first sub-game resources.

[0167] In some embodiments, the resource splitting module 1103 is specifically configured to execute:

[0168] Divide the quantity of the first game resource by the target quantity of the storage area where it acts to obtain the second resource quantity of each first sub-game resource after splitting.

[0169] In some embodiments, the second resource quantity includes a first quantity and a second quantity, and the resource splitting module 1103 is specifically configured to execute:

[0170] If the quantity of the first game resource is not an integer multiple of the target quantity of the storage area where it acts, then subtract the target value from the target quantity to obtain a third quantity;

[0171] Divide the quantity of the first game resource by the third quantity to obtain the first quantity and the second quantity.

[0172] In some embodiments, the resource splitting module 1103 is specifically configured to perform:

[0173] Based on the target quantity of the storage area being acted on and the quantity of the first game resource, display a splitting window, where the splitting window includes a target control;

[0174] In response to a third trigger operation on the target control, based on the third trigger operation, determine the second resource quantity of each first sub-game resource after splitting.

[0175] In some embodiments, the target control includes a slider bar and a slider. The length of the slider bar is used to indicate the quantity of the first game resource, and the quantity of the sliders is set based on the target quantity. The resource splitting module 1103 is specifically configured to perform:

[0176] In response to a sliding operation on the slider, determine the position of the slider in the slider bar;

[0177] Based on the position and the quantity of the first game resource, determine the second resource quantity of each first sub-game resource after splitting.

[0178] In some embodiments, the resource display module 1104 is used to perform:

[0179] Based on the storage area being acted on, determine a second storage area;

[0180] Control the first sub-game resource to be displayed in the second storage area.

[0181] In some embodiments, the resource display module 1104 is used to perform:

[0182] In the case where the storage area being acted on is in an idle state, determine the storage area being acted on as the second storage area.

[0183] In some embodiments, the resource display module 1104 is used to perform:

[0184] In the case where the storage area being acted on is not in an idle state, then display the first sub-game resource in a target area in the graphical user interface;

[0185] In response to a moving operation on the first sub-game resource, control the first sub-game resource to be displayed on an idle storage area among at least two storage areas.

[0186] In some embodiments, the resource display module 1104 is used to perform:

[0187] Determine the idle storage areas in the storage area;

[0188] Control the display of the first sub-game resource on the idle storage area.

[0189] In some embodiments, the storage area includes at least two types of storage areas, and the resource display module 1104 is configured to perform:

[0190] Determine the candidate idle storage areas in the storage area;

[0191] If the candidate idle storage areas include candidate idle storage areas of the same type as the first storage area, determine the candidate idle storage areas of the same type as the first storage area as the idle storage area;

[0192] Otherwise, determine the candidate idle storage areas as the idle storage area.

[0193] In some embodiments, a preset game element is displayed on the first game resource, and the first trigger operation is an operation on the preset game element.

[0194] In some embodiments, update the display style of the storage area where the action is performed to the first display style.

[0195] In specific implementation, each of the above modules can be implemented as an independent entity, or can be combined arbitrarily to be implemented as the same or several entities. For the specific implementation manners of the above modules and the corresponding beneficial effects, reference can be made to the foregoing method embodiments, which will not be elaborated herein.

[0196] Correspondingly, an embodiment of the present application further provides an electronic device, which can be a terminal, and the terminal can be a smart phone, a tablet computer, a notebook computer, a touch screen, a game console, a personal computer (PC, Personal Computer), a personal digital assistant (Personal Digital Assistant, PDA), and other terminal devices. As Figure 12 shown, Figure 12 is a schematic structural diagram of the electronic device provided by the embodiment of the present application. The electronic device 1200 includes a processor 1201 having one or more processing cores, a memory 1202 having one or more computer-readable storage media, and a computer program stored on the memory 1202 and executable on the processor. Among them, the processor 1201 is electrically connected to the memory 1202. Those skilled in the art can understand that the structural diagram of the electronic device shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine some components, or arrange different components.

[0197] The processor 1201 is the control center of the electronic device 1200, connecting various parts of the entire electronic device 1200 through various interfaces and circuits. By running or loading software programs and / or modules stored in the memory 1202, and by invoking the data stored in the memory 1202, it executes various functions of the electronic device 1200 and processes data, thereby monitoring the electronic device 1200 as a whole.

[0198] In the embodiments of the present application, the processor 1201 in the electronic device 1200 will, according to the following steps, load the instructions corresponding to the processes of one or more application programs into the memory 1202, and the processor 1201 will run the application programs stored in the memory 1202 to implement various functions, such as:

[0199] In response to a first trigger operation on game resources, determine first game resources from the game resources according to the first trigger operation;

[0200] In response to a second trigger operation on the storage area, determine the storage area affected by the second trigger operation;

[0201] Based on the target quantity of the affected storage area, split the first game resources and / or based on the operation parameters of the second trigger operation, split the first game resources to obtain at least two first sub-game resources;

[0202] Control the first sub-game resources to be displayed in the storage area.

[0203] For the specific implementation manners of the above various operations and the corresponding beneficial effects, reference can be made to the detailed description of the resource splitting method above, and details will not be elaborated here.

[0204] Optionally, as Figure 12 shown, the electronic device 1200 further includes: a touch display screen 1203, a radio frequency circuit 1204, an audio circuit 1205, an input unit 1206, and a power supply 1207. Among them, the processor 1201 is electrically connected to the touch display screen 1203, the radio frequency circuit 1204, the audio circuit 1205, the input unit 1206, and the power supply 1207 respectively. Those skilled in the art can understand that Figure 12 the structure of the electronic device shown in

[0205] The touch display screen 1203 can be used to display a graphical user interface and receive operation instructions generated by a user's interaction with the graphical user interface. The touch display screen 1203 may include a display panel and a touch panel. Among them, the display panel can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of the electronic device. These graphical user interfaces can be composed of graphics, text, icons, videos, and any combination thereof. Optionally, the display panel can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. The touch panel can be used to collect touch operations of the user on or near it (such as operations of the user using a finger, a stylus, or any suitable object or accessory on or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute the corresponding program. Optionally, the touch panel can include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the touch position of the user and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 1201, and can receive and execute the commands sent by the processor 1201. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 1201 to determine the type of touch event. Subsequently, the processor 1201 provides a corresponding visual output on the display panel according to the type of touch event. In the embodiments of the present application, the touch panel and the display panel can be integrated into the touch display screen 1203 to achieve input and output functions. However, in some embodiments, the touch panel and the touch panel can be implemented as two independent components to achieve input and output functions. That is, the touch display screen 1203 can also be used as part of the input unit 1206 to achieve the input function.

[0206] The radio frequency circuit 1204 can be used to transmit and receive radio frequency signals to establish wireless communication with a network device or other electronic devices through wireless communication, and transmit and receive signals with the network device or other electronic devices.

[0207] The audio circuit 1205 can be used to provide an audio interface between the user and the electronic device through a speaker and a microphone. The audio circuit 1205 can transmit the electrical signal converted from the received audio data to the speaker, and the speaker converts it into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 1205 and then converted into audio data. After the audio data is output to the processor 1201 for processing, it is sent to another electronic device, for example, through the radio frequency circuit 1204, or the audio data is output to the memory 1202 for further processing. The audio circuit 1205 may also include an earphone jack to provide communication between the peripheral earphone and the electronic device.

[0208] The input unit 1206 can be used to receive input digital, character information or user characteristic information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.

[0209] The power supply 1207 is used to supply power to each component of the electronic device 1200. Optionally, the power supply 1207 can be logically connected to the processor 1201 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 1207 may also include any components such as one or more DC or AC power supplies, a recharge system, a power failure detection circuit, a power converter or inverter, and a power status indicator.

[0210] Although Figure 12 not shown in the figure, the electronic device 1200 may also include a camera, a sensor, a Wi-Fi module, a Bluetooth module, etc., which will not be elaborated here.

[0211] In the above embodiments, the descriptions of each embodiment have their own emphases. For the parts not detailed in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0212] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by controlling relevant hardware through instructions. The instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0213] Therefore, an embodiment of the present application provides a computer-readable storage medium, in which multiple computer programs are stored. The computer programs can be loaded by a processor to execute any resource splitting method provided by the embodiments of the present application. For example, the computer program can execute the following steps:

[0214] In response to a first trigger operation on the game resource, determine a first game resource from the game resource according to the first trigger operation;

[0215] In response to a second trigger operation for a storage area, determine the storage area on which the second trigger operation acts;

[0216] Split the first game resource based on the target quantity of the storage area on which it acts and / or split the first game resource based on the operation parameters of the second trigger operation to obtain at least two first sub-game resources;

[0217] Control the first sub-game resources to be displayed in the storage area.

[0218] For the specific implementation manners of the above various operations and the corresponding beneficial effects, reference may be made to the detailed description of the resource splitting method above, which will not be elaborated here.

[0219] Among them, the computer-readable storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc.

[0220] Since the computer program stored in the computer-readable storage medium can execute any one of the resource splitting methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any one of the resource splitting methods provided in the embodiments of the present application can be realized. For details, see the previous embodiments and will not be elaborated here.

[0221] The above has introduced in detail a resource splitting method, device, electronic device, and computer-readable storage medium provided in the embodiments of the present application. Specific examples are used in this article to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present application.

Claims

1. A resource splitting method, characterized in that: The method includes: displaying a graphical user interface by an electronic device, wherein the content displayed by the graphical user interface includes at least two storage areas, and a first storage area in the at least two storage areas stores game resources. In response to a first trigger operation on the game resource, determining a first game resource from the game resources according to the first trigger operation; In response to a second trigger operation on the storage area, determining the storage area on which the second trigger operation acts; The first game resource is split based on the target number of storage areas acted upon and / or the first game resource is split based on the operation parameter of the second trigger operation to obtain at least two first sub-game resources; The first sub-game resource is controlled to be displayed in the storage area.

2. The resource splitting method according to claim 1, characterized in that: The second trigger operation includes at least one click operation, and the affected storage area is the storage area clicked by the click operation, and the storage area clicked by each click operation is different.

3. The resource splitting method according to claim 1, characterized in that: The first trigger operation includes a long press operation, the second trigger operation includes a drag operation, the first trigger operation and the second trigger operation are continuous, and the affected storage area includes the storage area passed by the drag operation and the first storage area storing the first game resource.

4. The resource splitting method according to claim 1, characterized in that: The operation parameter of the second trigger operation includes the touch duration of the second trigger operation, and the first game resource is split based on the operation parameter of the second trigger operation to obtain at least two first sub-game resources, including: Determining the quantity of the first resource of the split first sub-game resource based on the touch duration of the second trigger operation on the affected storage area; Based on the first resource quantity, the first game resource is split to obtain at least two first sub-game resources.

5. The resource splitting method according to claim 1, characterized in that: The first game resource is split based on the target number of storage areas to obtain at least two first sub-game resources, including: Determining the quantity of the second resource of each first sub-game resource after splitting based on the quantity of the first game resource and the target quantity of the storage area to be acted upon; Based on the second resource quantity, the first game resource is split to obtain at least two first sub-game resources.

6. The resource splitting method according to claim 5, characterized in that: The determining, based on the quantity of the first game resources and the target quantity of the storage areas acted upon, the quantity of the second resources of each first sub-game resource after splitting includes: The quantity of the first game resources is divided by the target quantity of the storage areas to be acted upon, to obtain the quantity of the second resources of each of the split first sub-game resources.

7. The resource splitting method according to claim 5, characterized in that: The second resource quantity includes a first quantity and a second quantity, and determining the second resource quantity of each first sub-game resource after splitting based on the quantity of the first game resource and the target quantity of the storage area affected includes: If the quantity of the first game resource is not an integer multiple of the target quantity of the storage area to be acted upon, subtracting the target value from the target quantity to obtain a third quantity; The quantity of the first game resources is divided by the third quantity to obtain the first quantity and the second quantity.

8. The resource splitting method according to claim 5, characterized in that: The determining, based on the quantity of the first game resources and the target quantity of the storage areas acted upon, the quantity of the second resources of each game resource after splitting includes: Based on the target number of storage areas affected and the number of the first game resources, displaying a split window, the split window including a target control; In response to a third trigger operation on the target control, based on the third trigger operation, the quantity of the second resource of each split first sub-game resource is determined.

9. The resource splitting method according to claim 8, characterized in that: The target control includes a slider and a slider, the length of the slider is used to indicate the quantity of the first game resource, the quantity of the slider is set based on the target quantity, and the response to the third trigger operation on the target control is based on the third trigger operation to determine the quantity of the second resource of each first sub-game resource after splitting, including: In response to a sliding operation on the slider, determining a position of the slider in the slider bar; Based on the position and the quantity of the first game resource, the quantity of the second resource of each split first sub-game resource is determined.

10. The resource splitting method according to claim 1, characterized in that: The controlling the first sub-game resource to be displayed in the storage area includes: Based on the affected storage area, determining a second storage area; Controlling the first sub-game resource to be displayed in the second storage area.

11. The resource splitting method according to claim 10, characterized in that: The step of determining the second storage area based on the storage area affected includes: When the affected storage area is in an idle state, the affected storage area is determined as the second storage area.

12. The resource splitting method according to claim 11, characterized in that: The method further comprises: If the storage area being acted upon is not in an idle state, displaying the first sub-game resource on the target area in the graphical user interface; In response to a move operation on the first sub-game resource, the first sub-game resource is controlled to be displayed in a free storage area of ​​the at least two storage areas.

13. The resource splitting method according to claim 11, characterized in that: The controlling the first sub-game resource to be displayed in the storage area includes: Determining a free storage area in the storage area; The first sub-game resource is controlled to be displayed in the free storage area.

14. The resource splitting method according to claim 13, characterized in that: The storage area includes at least two types of storage areas, and the determining of a free storage area in the storage area includes: determining a candidate free storage area in the storage area; If the candidate free storage areas include candidate free storage areas of the same type as the first storage area, determining the candidate free storage areas of the same type as the first storage area as free storage areas; Otherwise, the candidate free storage area is determined as the free storage area.

15. The resource splitting method according to claim 1, characterized in that: A preset game element is displayed on the first game resource, and the first trigger operation is an operation on the preset game element.

16. The resource splitting method according to any one of claims 1 to 15, characterized in that: The display style of the affected storage area is updated to the first display style.

17. A resource splitting device, characterized in that: The electronic device displays a graphical user interface, wherein the content displayed by the graphical user interface includes at least two storage areas, and a first storage area in the at least two storage areas stores game resources, and the device includes: A first determining module, configured to respond to a first triggering operation on the game resource and determine a first game resource from the game resources according to the first triggering operation; A second determining module, configured to respond to a second triggering operation on the storage area and determine the storage area on which the second triggering operation acts; A resource splitting module, configured to split the first game resource based on a target number of storage areas acted upon and / or split the first game resource based on an operation parameter of the second triggering operation to obtain at least two first sub-game resources; The resource display module is used to control the first sub-game resource to be displayed in the storage area.

18. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to execute the resource splitting method as claimed in any one of claims 1 to 16.

19. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the resource splitting method according to any one of claims 1 to 16.