A resource investment method, system, device and medium in a game

By configuring resource deployment parameters and interval judgments, and reducing loop calculations, efficient operation of game resource deployment is achieved, solving the problem of high performance consumption in existing technologies and improving user experience.

CN117224967BActive Publication Date: 2026-11-20SUZHOU WANBEE SOFTWARE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311290503.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-08
Publication Date
2026-11-20
Estimated Expiration
2043-10-08

Smart Images

  • Figure CN117224967B_ABST
    Figure CN117224967B_ABST
Patent Text Reader

Abstract

The application discloses a game resource putting method, system, device and medium, the method comprises the following steps: configuring resource putting parameters; calculating resource consumption parameters and resource putting theoretical values based on the resource putting parameters; judging the interval situation as the first situation, the second situation and the third situation based on the resource putting parameters, the resource consumption parameters and the resource putting theoretical values; executing the same interval resource putting operation based on the first situation, or executing the adjacent interval resource putting operation based on the second situation, or executing the cross interval resource putting operation based on the third situation; the application can reasonably calculate the interval situation of the user based on the data and progress in the game, quickly locate the user interval to put resources in the corresponding interval, without repeated loop calculation operation, greatly improving the efficiency of resource putting, reducing the performance consumption of the user end, and easily improving the user end experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of game technology, and in particular to a method, system, device and medium for resource deployment in games. Background Technology

[0002] Currently, in order to enhance the playability and fun of digital games, corresponding game resources (game items) are allocated, distributed, or dropped to users based on their different operations and game progress. The distribution of game resources is usually strategic, not random or unpredictable. It also involves a lot of computational operations, which consumes the computing resources of the user's device.

[0003] In the existing solution, multiple flow intervals are set up in the game, and resources are distributed once every N flow intervals. During the game, a loop method is used to determine whether the current interval needs to be distributed. Typically, there are many flow intervals in the game, and this method will require looping to determine the user's current interval every time resources are distributed. This will consume a lot of computing resources, consume user performance, have low efficiency, and easily affect the user experience. Summary of the Invention

[0004] The purpose of this invention is to provide a method, system, device, and medium for resource deployment in games, so as to solve all or one of the above-mentioned defects in the prior art.

[0005] To solve the above-mentioned technical problems, the specific technical solution of the present invention is as follows: On one hand, the present invention provides a method for resource deployment in a game, comprising the following steps: Configure resource deployment parameters; Based on the resource allocation parameters, calculate the resource consumption parameters and the theoretical value of resource allocation; Based on the resource deployment parameters, the resource consumption parameters, and the theoretical value of resource deployment, the deployment interval is determined to be the first case, the second case, and the third case. Based on the first case, perform resource allocation within the same interval; based on the second case, perform resource allocation between adjacent intervals; or based on the third case, perform resource allocation across intervals.

[0006] As an improved solution, the resource deployment parameters include: data format, pipeline range, range primary key, and adaptive deployment strategy.

[0007] As an improved approach, the calculation of resource consumption parameters and theoretical resource deployment values ​​based on the resource deployment parameters includes: Get the user's current resource consumption value and the user's total resource consumption value before; Based on the adaptive delivery strategy, the user's current resource consumption value, and the user's previous total resource consumption value, the resource consumption parameters and the theoretical value of resource delivery are calculated.

[0008] As an improved solution, the step of determining the deployment interval based on the resource deployment parameters, the resource consumption parameters, and the theoretical value of resource deployment includes: Based on the flow interval, determine the first interval in which the user's previous total resource consumption value lies; Based on the flow interval, determine the second interval in which the resource consumption parameter is located; Determine whether the primary keys of the first interval and the second interval are the same; If the conditions are the same, the delivery interval is determined to be the first condition. In response to the fact that the primary key of the first interval is adjacent to the primary key of the second interval, the delivery interval situation is determined to be the second situation; In response to the fact that the primary key of the first interval is much greater than the primary key of the second interval, the delivery interval situation is determined to be the third situation.

[0009] As an improved solution, the inter-neighbor resource allocation operation includes: The item resources are distributed in a cyclical manner according to the theoretical values ​​of resource allocation.

[0010] As an improved solution, the same-interval resource allocation operation includes: Based on the pipeline interval and the adaptive deployment strategy, calculate the resource deployment quantity for the starting interval; According to the theoretical value of resource allocation, allocate the item resources within the starting interval; For the adjacent intervals after the starting interval, calculate the first difference between the total number of resources and the number of resources deployed in the starting interval; Resource allocation within the adjacent interval is performed based on the first difference.

[0011] As an improved solution, the cross-regional resource delivery operation includes: Based on the pipeline interval and the adaptive deployment strategy, calculate the resource deployment quantity for the starting interval; Resources are allocated within the starting interval according to the resource allocation quantity for the starting interval; For the intermediate interval between the start interval and the end interval, resource allocation is performed based on the adaptive allocation strategy. Calculate the second difference between the total number of resources and the number of resources deployed in the starting interval and the number of resources deployed in the middle interval; Resource allocation for the ending interval is performed according to the second difference.

[0012] On the other hand, the present invention also provides a resource delivery system for games, comprising: The module includes a parameter configuration module, a calculation module, a range judgment module, and a resource classification and delivery module. The parameter configuration module is used to configure resource deployment parameters; The calculation module is used to calculate resource consumption parameters and theoretical values ​​of resource deployment based on the resource deployment parameters; The interval determination module is used to determine the deployment interval as a first case, a second case, and a third case based on the resource deployment parameters, the resource consumption parameters, and the theoretical value of resource deployment. The resource classification and allocation module is used to perform resource allocation operations within the same interval based on the first situation, or to perform resource allocation operations between adjacent intervals based on the second situation, or to perform resource allocation operations across intervals based on the third situation.

[0013] On the other hand, the present invention also provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the resource deployment method in the game.

[0014] On the other hand, the present invention also provides a computer device, the computer device including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; wherein: The memory is used to store computer programs; The processor is used to execute the steps of the resource delivery method in the game by running the program stored in the memory.

[0015] The beneficial effects of the technical solution of this invention are: The resource deployment method in the game described in this invention can reasonably calculate the user's location based on in-game data and progress, and quickly locate the user's location to deploy resources accordingly. This eliminates the need for repetitive loop calculations, greatly improving the efficiency of resource deployment, reducing performance consumption on the user's end, and enhancing the user experience.

[0016] The game resource delivery system described in this invention can achieve the following through the cooperation of a parameter configuration module, a calculation module, a range judgment module, and a resource classification and delivery module: based on in-game data and progress, it can reasonably calculate the range where the user is located, quickly locate the user's range, and deliver resources to the corresponding range without repeating loop calculation operations, which greatly improves the efficiency of resource delivery, reduces the performance consumption of the user end, and easily enhances the user experience.

[0017] The computer-readable storage medium of the present invention enables the cooperation of a guidance parameter configuration module, a calculation module, an interval judgment module, and a resource classification and placement module to realize the resource placement method in the game described in the present invention. Furthermore, the computer-readable storage medium of the present invention effectively improves the operability of the resource placement method in the game.

[0018] The computer device described in this invention can store and execute the computer-readable storage medium, thereby implementing the resource deployment method in the game described in this invention. Attached Figure Description

[0019] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0020] Figure 1 This is a flowchart illustrating the resource deployment method in the game as described in Embodiment 1 of the present invention; Figure 2 This is a detailed flowchart illustrating the resource deployment method in the game as described in Embodiment 1 of the present invention; Figure 3 This is a schematic diagram of the architecture of the resource delivery system in the game as described in Embodiment 2 of the present invention; Figure 4 This is a schematic diagram of the structure of the computer device described in Embodiment 4 of the present invention; The markings in the attached diagram are explained as follows: 1501. Processor; 1502. Communication interface; 1503. Memory; 1504. Communication bus. Detailed Implementation

[0021] The preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby providing a clearer and more explicit definition of the scope of protection of the present invention.

[0022] In the description of this invention, it should be noted that the embodiments described in this invention are only some embodiments of this invention, not all embodiments; based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.

[0023] The terms "first," "second," etc., used in this specification, claims, and accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that the embodiments described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, apparatus, product, or device that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices. Example 1

[0024] This embodiment provides a method for resource deployment in games, such as... Figure 1 and Figure 2 As shown, it includes the following steps: As one embodiment of the present invention, this method is used to solve the performance problem of traditional game resources (consumable items drop functional items), quickly locate the resource deployment quantity, reduce the performance requirements of resource deployment in the game, and improve applicability; S100, Pre-configuration of delivery parameters: In this step, the data format, pipeline range, and range primary key (1 to N) are defined. In this step, define the configuration list of resources (dropped items) to be distributed in the game; In this step, we define the adaptive distribution strategy for the game's resources (that is, how many consumable items will drop one functional item is denoted as X). S200, Pre-calculation of resource allocation: In this step, obtain the user's current resource consumption value Y (the value of the consumed items) and the user's total previous resource consumption value Z (that is, the sum of all previously consumed item values). In this step, based on X, the user's current resource consumption value Y, and the user's total previous resource consumption value Z, the current required quantity of functional resources P (i.e., the theoretical value of resource distribution, the number of functional items that need to be dropped) and the current total resource consumption value Q (i.e., the resource consumption parameter, the sum of the current consumed item values) are calculated. In this step, based on the previously defined flow intervals, the first interval containing the total value Z of all previous resource consumption by the user is determined, and the second interval containing the current total value Q of resource consumption is determined. Subsequently, resource allocation is determined based on the previously defined primary key, the calculated first interval, and the second interval. S300. Based on the calculation results, make specific judgments on resource allocation: In this step, we determine whether the primary keys of the first interval and the second interval are the same; If they are the same (i.e., the interval containing the total amount of items consumed last time is the same as the interval containing the total amount of items consumed now), then the current resource allocation situation is determined to be the first case: allocation within the same interval; If the primary key of the first interval + 1 equals the primary key of the second interval (that is, the primary key of the interval of the total consumed items last time plus 1 is the same as the primary key of the interval of the total consumed items now), then the current resource deployment situation is determined to be the second case: deployment across one interval. If the primary key of the first interval + 1 ≠ the primary key of the second interval (that is, the primary key value of the interval where the total amount of items consumed last time was located plus 1 is different from the primary key of the interval where the total amount of items consumed is currently located), then the current resource distribution situation is determined to be the third case: distribution across multiple intervals; In this step, different resource delivery strategies will be implemented for the three delivery scenarios mentioned above: For the first case: within the same interval, resources are distributed in a cyclical manner according to the aforementioned adaptive distribution strategy, that is, the item resources are distributed according to the number of times the resources should be distributed (that is, the item drops according to the number P that should drop). For the second scenario: spanning one interval, firstly, based on the defined flow interval and adaptive delivery strategy, calculate the quantity of resources E that should be delivered in the initial interval where resource delivery begins (i.e., the quantity of items that should drop in the initial interval where item drops begin); according to the calculated quantity, first deliver the resources (i.e., items) in the initial interval; in each subsequent interval (such as the second interval), subtract the quantity of resources dropped in the initial interval E from the total quantity of items to obtain the corresponding result (i.e., the first difference); according to the corresponding result, deliver the resources (i.e., drop the resources) in the second interval, and so on; For the third scenario: spanning multiple intervals, similarly using the defined flow intervals and adaptive delivery strategy, calculate the resource quantity E1 that should be delivered in the starting interval where resource delivery begins (i.e., the number of items that should drop in the starting interval where item drops begin); deliver resources in the starting interval according to E; then for the intermediate interval (i.e., the interval between the starting interval and the ending interval), calculate the resource delivery quantity E2 for the intermediate interval based on the aforementioned adaptive delivery strategy, and deliver resources according to E2; when the last ending interval is reached, deliver resources in the ending interval according to the result E3 (i.e., the second difference) of the total number of items - E1 - E2 (i.e., the item drop quantity in the last interval is the total drop quantity minus the initial drop quantity).

[0025] In this step, different resource deployment scenarios are handled in different ways, eliminating the need for iterative calculations every time resources are deployed. This greatly reduces resource consumption during resource deployment and improves resource deployment performance. Example 2

[0026] This embodiment is based on the same inventive concept as the resource placement method in a game described in Embodiment 1, and provides a resource placement system in a game, such as... Figure 3 As shown, it includes: a parameter configuration module, a calculation module, a range judgment module, and a resource classification and delivery module; The parameter configuration module is used to configure resource deployment parameters; In this system, the resource deployment parameters include: data format, pipeline range, range primary key, and adaptive deployment strategy.

[0027] The calculation module is used to calculate resource consumption parameters and theoretical values ​​of resource deployment based on the resource deployment parameters; In this system, the calculation of resource consumption parameters and theoretical resource consumption values ​​based on the resource delivery parameters includes: the calculation module obtaining the user's current resource consumption value and the user's previous total resource consumption value; the calculation module calculating the resource consumption parameters and theoretical resource delivery values ​​based on the adaptive delivery strategy, the user's current resource consumption value, and the user's previous total resource consumption value.

[0028] The interval determination module is used to determine the deployment interval as a first case, a second case, and a third case based on the resource deployment parameters, the resource consumption parameters, and the theoretical value of resource deployment. In this system, determining the deployment interval based on the resource deployment parameters, the resource consumption parameters, and the theoretical value of resource deployment includes: the interval determination module determining, based on the flow interval, the first interval where the user's previous total resource consumption value is located; the interval determination module determining, based on the flow interval, the second interval where the resource consumption parameter is located; the interval determination module determining whether the primary keys of the first interval and the second interval are the same; in response to being the same, the interval determination module determines the deployment interval as the first case; in response to the primary key of the first interval being adjacent to the primary key of the second interval, the interval determination module determines the deployment interval as the second case; in response to the primary key of the first interval being far from the primary key of the second interval, the interval determination module determines the deployment interval as the third case.

[0029] The resource classification and allocation module is used to perform resource allocation operations within the same interval based on the first situation, or to perform resource allocation operations between adjacent intervals based on the second situation, or to perform resource allocation operations across intervals based on the third situation. In this system, the resource distribution operation between neighboring areas includes: the resource classification and distribution module cyclically distributing prop resources according to the theoretical value of resource distribution.

[0030] In this system, the resource deployment operation within the same interval includes: the resource classification and deployment module calculates the resource deployment quantity for the starting interval based on the flow interval and the adaptive deployment strategy; the resource classification and deployment module deploys the item resources within the starting interval according to the theoretical value of resource deployment; the resource classification and deployment module calculates a first difference between the total resource quantity and the resource deployment quantity of the starting interval for the adjacent intervals after the starting interval; and the resource classification and deployment module deploys resources within the adjacent intervals according to the first difference.

[0031] In this system, the cross-interval resource deployment operation includes: the resource classification and deployment module calculating the resource deployment quantity for the starting interval based on the pipeline interval and the adaptive deployment strategy; the resource classification and deployment module deploying resources within the starting interval according to the resource deployment quantity for the starting interval; the resource classification and deployment module deploying resources for the intermediate interval between the starting interval and the ending interval based on the adaptive deployment strategy; the resource classification and deployment module calculating a second difference between the total resource quantity and the resource deployment quantity for the starting interval and the resource deployment quantity for the intermediate interval; and the resource classification and deployment module deploying resources for the ending interval according to the second difference. Example 3

[0032] This embodiment provides a computer-readable storage medium, including: The storage medium is used to store computer software instructions used to implement the game resource delivery method described in Embodiment 1 above. It includes a program for executing the above-described game resource delivery method. Specifically, the executable program can be built into the game resource delivery system described in Embodiment 2. In this way, the game resource delivery system can implement the game resource delivery method described in Embodiment 1 by executing the built-in executable program.

[0033] Furthermore, the computer-readable storage medium in this embodiment can be any combination of one or more readable storage media, wherein the readable storage medium includes an electrical, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. Example 4

[0034] This embodiment provides an electronic device, such as... Figure 4 As shown, the electronic device may include: a processor 1501, a communication interface 1502, a memory 1503, and a communication bus 1504, wherein the processor 1501, the communication interface 1502, and the memory 1503 communicate with each other through the communication bus 1504.

[0035] Memory 1503 is used to store computer programs; When the processor 1501 executes the computer program stored in the memory 1503, it implements the steps of the resource deployment method in the game described in Embodiment 1 above.

[0036] As one embodiment of the present invention, the communication bus mentioned in the terminal above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0037] As one embodiment of the present invention, the communication interface is used for communication between the aforementioned terminal and other devices.

[0038] In one embodiment of the present invention, the memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.

[0039] As one embodiment of the present invention, the processor described above may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0040] Unlike existing technologies, the resource deployment method, system, device and medium in this application can reasonably calculate the user's location based on in-game data and progress, and quickly locate the user's location to deploy resources accordingly. This eliminates the need for repetitive loop calculations, greatly improving the efficiency of resource deployment, reducing performance consumption on the user's end, and enhancing the user experience.

[0041] It should be understood that in the various embodiments of this document, the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this document.

[0042] It should also be understood that, in the embodiments herein, the term "and / or" is merely a description of the relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following associated objects have an "or" relationship.

[0043] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this document.

[0044] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0045] In the embodiments provided herein, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the couplings or direct couplings or communication connections shown or discussed may be indirect couplings or communication connections through some interfaces, devices, or units, or they may be electrical, mechanical, or other forms of connection.

[0046] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the embodiments described herein, depending on actual needs.

[0047] Furthermore, the functional units in the various embodiments of this document can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0048] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this paper, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this paper. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0049] The above description is merely an embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.

Claims

1. A method for resource deployment in a game, characterized in that, Includes the following steps: Configure resource delivery parameters, including: data format, pipeline range, range primary key, and adaptive delivery strategy; The calculation of resource consumption parameters and theoretical resource consumption values ​​based on the resource delivery parameters includes: obtaining the user's current resource consumption value and the user's total previous resource consumption value; and calculating the resource consumption parameters and theoretical resource delivery values ​​based on the adaptive delivery strategy, the user's current resource consumption value, and the user's total previous resource consumption value. The determination of the deployment interval based on the resource deployment parameters, the resource consumption parameters, and the theoretical value of resource deployment includes three scenarios: a first scenario, a second scenario, and a third scenario, based on the flow interval; determining the first interval where the user's previous total resource consumption value lies; determining the second interval where the resource consumption parameter lies based on the flow interval; determining whether the primary keys of the first interval and the second interval are the same; if they are the same, determining the deployment interval as the first scenario; if the primary key of the first interval is adjacent to the primary key of the second interval, determining the deployment interval as the second scenario; and if the primary key of the first interval is far from the primary key of the second interval, determining the deployment interval as the third scenario. Based on the first case, perform resource allocation operation within the same interval; or based on the second case, perform resource allocation operation between adjacent intervals; or based on the third case, perform resource allocation operation across intervals. The cross-interval resource deployment operation includes: calculating the resource deployment quantity for the starting interval based on the pipeline interval and the adaptive deployment strategy; deploying resources within the starting interval according to the resource deployment quantity for the starting interval; deploying resources for the intermediate interval between the starting interval and the ending interval based on the adaptive deployment strategy; calculating a second difference between the total resource quantity and the resource deployment quantity for the starting interval and the resource deployment quantity for the intermediate interval; and deploying resources for the ending interval according to the second difference.

2. The resource deployment method in a game according to claim 1, characterized in that: The resource allocation operation within the same interval includes: The item resources are distributed in a cyclical manner according to the theoretical values ​​of resource allocation.

3. The resource deployment method in a game according to claim 2, characterized in that: The resource allocation operation between neighboring areas includes: Based on the pipeline interval and the adaptive deployment strategy, calculate the resource deployment quantity for the starting interval; According to the resource deployment quantity of the starting interval, deploy the prop resources within the starting interval; For the adjacent intervals after the starting interval, calculate the first difference between the total number of resources and the number of resources deployed in the starting interval; Resource allocation within the adjacent interval is performed based on the first difference.

4. A resource delivery system in a game, characterized in that, include: The module includes a parameter configuration module, a calculation module, a range judgment module, and a resource classification and delivery module. The parameter configuration module is used to configure resource deployment parameters; The resource deployment parameters include: data format, pipeline range, range primary key, and adaptive deployment strategy; The calculation module is used to calculate resource consumption parameters and theoretical resource consumption values ​​based on the resource delivery parameters; the calculation module obtains the user's current resource consumption value and the user's previous total resource consumption value; the calculation module calculates the resource consumption parameters and theoretical resource delivery values ​​based on the adaptive delivery strategy, the user's current resource consumption value, and the user's previous total resource consumption value. The interval determination module is used to determine the deployment interval situation as a first case, a second case, and a third case based on the resource deployment parameters, the resource consumption parameters, and the theoretical value of resource deployment; the interval determination module determines the first interval where the user's previous total resource consumption value is located based on the flow interval; the interval determination module determines the second interval where the resource consumption parameters are located based on the flow interval; the interval determination module determines whether the interval primary keys of the first interval and the second interval are the same; in response to being the same, the interval determination module determines the deployment interval situation as the first case; in response to the interval primary key of the first interval being adjacent to the interval primary key of the second interval, the interval determination module determines the deployment interval situation as the second case; in response to the interval primary key of the first interval being far from the interval primary key of the second interval, the interval determination module determines the deployment interval situation as the third case; The resource classification and allocation module is used to perform resource allocation operations within the same interval based on the first situation, or to perform resource allocation operations between adjacent intervals based on the second situation, or to perform resource allocation operations across intervals based on the third situation. The cross-interval resource deployment operation includes: the resource classification and deployment module calculating the resource deployment quantity for the starting interval based on the pipeline interval and the adaptive deployment strategy; the resource classification and deployment module deploying resources within the starting interval according to the resource deployment quantity for the starting interval; the resource classification and deployment module deploying resources for the intermediate interval between the starting interval and the ending interval based on the adaptive deployment strategy; the resource classification and deployment module calculating a second difference between the total resource quantity and the resource deployment quantity for the starting interval and the resource deployment quantity for the intermediate interval; and the resource classification and deployment module deploying resources for the ending interval according to the second difference.

5. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the resource delivery method in the game according to any one of claims 1 to 3.

6. A computer device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; wherein: The memory is used to store computer programs; The processor is configured to execute the steps of the resource delivery method in any one of claims 1 to 3 by running a program stored in the memory.

Citation Information

Patent Citations

  • Display object pushing method and device, electronic equipment and storage medium

    CN112055235A

  • System resource adjustment method and device, server and storage medium

    CN113521753A