Group resource allocation method and system
A resource allocation and group technology, applied in the computer field, can solve the problems of high server pressure, large amount of calculation, server crash, etc., to avoid errors, reduce the amount of calculation, and improve the efficiency of allocation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] like figure 2 As shown, this embodiment provides a method for allocating group resources through the unallocated account table and the allocated account table:
[0046] Step 201: Set the account to be allocated in the unallocated account table.
[0047] Step 202: After resources are allocated to the first account set, the accounts in the first account set are moved to the allocated account table.
[0048] Step 203: Allocate resources to the accounts in the unallocated account table.
[0049] During the allocation process, each account needs to query the resources to be allocated from the account unallocated account table. After allocating resources, delete the account from the unallocated account table and transfer it to the allocated account table; through batch processing, batch Query the resources to be allocated in the first account set, delete the first account set from the unallocated account table in batches, and transfer them to the allocated account table in...
Embodiment 2
[0054] In this embodiment, there is also a second account set, the number of resources to be allocated in the accounts of the second account set is the same, and the number of resources to be allocated in the accounts of the second account set is different from that of the first account set, and the number of resources to be allocated to the accounts of the second account set is different from that of the first account set. Allocate resources with the second set of accounts.
[0055] But not limited to this, multiple account sets can be set according to actual needs, and resources are allocated to different account sets in batches respectively.
[0056] Accounts in different account sets may set different tags, for example, accounts in the second account set set a second tag.
Embodiment 3
[0058] like image 3 As shown, this embodiment provides an allocation method in which group resources are smaller than the resources to be allocated in the first account set to be allocated:
[0059] Step 301: Calculate the number of accounts that group resources can be allocated in batches:
[0060] N=[(M / C)×k] (1)
[0061] Among them, N is the number of accounts that can be allocated in batches, M is the group resource, and k is the effectiveness coefficient of the resource to be allocated, which is usually 1. For example, when a group purchases resources, gifts or discounts can be adjusted through k.
[0062] Step 302: Allocate resources to N accounts in batches.
[0063] Step 303: Allocate unallocated group resources to an unallocated account, which is a partially allocated account.
[0064] The number of resources to be allocated in part of the allocated accounts may be modified, kept in the unallocated account table, and removed from the first account set. The account...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


