Resource allocation method and device, electronic equipment and storage medium

By obtaining the business data of users performing services and determining the allocation identifiers and strategies, the problem of inflexible allocation of business resources in the existing technology is solved, efficient and flexible resource allocation is achieved, and user experience is improved.

CN119558572APending Publication Date: 2025-03-04GUANGZHOU YIHU NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411571008.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-05
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

It is difficult for the prior art to allocate business resources flexibly and efficiently according to different needs and business scenarios of users.

Method used

By obtaining the service data of the user performing the business, determining the allocation identification corresponding to the service data, and determining the applicable allocation strategy under the allocation identification based on the specified information (such as time information and user information), thereby allocating business resources to the user.

Benefits of technology

It improves the flexibility and richness of business resource allocation, ensures that users obtain business resources through different paths, and improves the efficiency of users in executing business.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119558572A_ABST
    Figure CN119558572A_ABST
Patent Text Reader

Abstract

The invention discloses a resource allocation method and device, electronic equipment and a storage medium, when service resources are allocated to a user, an allocation identifier needs to be determined firstly based on service data of the user, one allocation identifier corresponds to a plurality of allocation strategies, and the allocation strategies can be determined based on specified information under the allocation identifier, so that the service resources are allocated to the user. And service resource allocation is carried out on the user. Therefore, even if the same service data appears, different allocation strategies can be adopted due to different specified information, so that the flexibility and richness of service resource allocation are improved. Even if the service data is different when different users execute the service, the distribution identifier corresponds to a plurality of distribution strategies, and the distribution strategies suitable for different users can be the same, so that the users can obtain the service resources through different paths, and the service execution efficiency of the users is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present specification relates to the field of computer technology, and in particular to a method, device, electronic device and storage medium for resource allocation. Background Art

[0002] With the development of science and technology, Internet technology has developed rapidly, and online business has received widespread attention. Various business platforms that can provide users with online business services have emerged. Business platforms can allocate business resources to users based on the business performed by users or the user's behavior. Generally, the business platform can formulate a business resource allocation strategy to determine the business resources allocated to each user based on the allocation strategy.

[0003] However, different users have different needs and the services they perform on the service platform are different. The same user has different needs and the services they perform on the service platform at different time periods. Therefore, the service resources allocated to the user should be different. Therefore, how the service platform allocates service resources to users is an important issue.

[0004] Based on this, this specification provides a method for resource allocation. Summary of the invention

[0005] This specification provides a method, device, electronic device and storage medium for resource allocation to partially solve the above-mentioned problems existing in the prior art.

[0006] This manual adopts the following technical solutions:

[0007] This specification provides a resource allocation method, which is applied to a service platform; the method includes:

[0008] Obtain business data of users performing business;

[0009] According to the business data, determining an allocation identifier corresponding to the business data; wherein the allocation identifier corresponds to a plurality of allocation strategies;

[0010] According to the specified information, under the allocation identifier, determining an allocation policy applicable to the user;

[0011] According to the allocation strategy, service resources are allocated to the user.

[0012] Optionally, the specified information includes: time information;

[0013] Under the allocation identifier, determine an allocation strategy applicable to the user, specifically including:

[0014] Obtaining time information when the user performs a service;

[0015] Under the allocation identifier, an allocation strategy applicable to the user is determined according to the time information when the user performs the service.

[0016] Optionally, the specified information includes: user information;

[0017] Under the allocation identifier, determine an allocation strategy applicable to the user, specifically including:

[0018] Obtaining user information of the user;

[0019] Under the allocation identification, an allocation strategy applicable to the user is determined according to the user information of the user.

[0020] Optionally, allocating service resources to the user according to the allocation strategy specifically includes:

[0021] Monitoring the number of times the user performs a service;

[0022] When it is determined that the number of times the user performs the service is not greater than a preset number threshold, the service resources are allocated to the user according to the allocation strategy.

[0023] Optionally, the method further comprises:

[0024] Monitoring the number of times the user performs a service;

[0025] When it is determined that the number of times the user performs the service is greater than a preset number threshold, generating a prompt message;

[0026] The prompt information is sent to the user to prompt the user that the acquisition of the service resource fails.

[0027] Optionally, allocating service resources to the user according to the allocation strategy specifically includes:

[0028] Based on the service data of the user, in an allocation policy applicable to the user, service resources allocated to the user are determined, and the service resources allocated to the user are sent to the user.

[0029] Optionally, the allocation strategy includes at least one sub-allocation strategy;

[0030] Allocating service resources to the user according to the allocation strategy specifically includes:

[0031] Determining, according to the service data of the user, a sub-allocation strategy applicable to the user in the allocation strategy applicable to the user;

[0032] Determining the service resources to be allocated to the user according to the determined sub-allocation strategy applicable to the user;

[0033] The determined service resources allocated to the user are sent to the user.

[0034] This specification provides a resource allocation device, which is located on a service platform; the device includes:

[0035] A data acquisition module is used to obtain business data of users performing business;

[0036] An identification determination module, used to determine, based on the business data, an allocation identification corresponding to the business data; wherein the allocation identification corresponds to a plurality of allocation strategies;

[0037] A policy determination module, configured to determine, based on specified information and under the allocation identifier, an allocation policy applicable to the user;

[0038] The resource allocation module is used to allocate service resources to the user according to the allocation strategy.

[0039] Optionally, the specified information includes: time information;

[0040] The policy determination module is specifically used to obtain the time information when the user performs the service; under the allocation identifier, determine the allocation policy applicable to the user according to the time information when the user performs the service.

[0041] Optionally, the specified information includes: user information;

[0042] The policy determination module is specifically used to obtain the user information of the user; and under the allocation identifier, determine the allocation policy applicable to the user according to the user information of the user.

[0043] Optionally, the resource allocation module is specifically used to monitor the number of times the user executes the service; when it is determined that the number of times the user executes the service is not greater than a preset number threshold, allocate service resources to the user according to the allocation strategy.

[0044] Optionally, the resource allocation module is further used to monitor the number of times the user executes the service; when it is determined that the number of times the user executes the service is greater than a preset threshold, generate a prompt message; and send the prompt message to the user to prompt the user that the user has failed to obtain service resources.

[0045] Optionally, the resource allocation module is specifically configured to determine, based on the service data of the user and in an allocation strategy applicable to the user, the service resources allocated to the user, and send the service resources allocated to the user to the user.

[0046] Optionally, the allocation strategy includes at least one sub-allocation strategy;

[0047] The resource allocation module is specifically used to determine, according to the business data of the user, a sub-allocation strategy applicable to the user in the allocation strategy applicable to the user; determine the business resources allocated to the user according to the determined sub-allocation strategy applicable to the user; and send the determined business resources allocated to the user to the user.

[0048] This specification provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned resource allocation method is implemented.

[0049] This specification provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned resource allocation method when executing the program.

[0050] At least one of the above technical solutions adopted in this specification can achieve the following beneficial effects:

[0051] In the resource allocation method provided in this specification, the service platform can determine the allocation identifier corresponding to the user's service data according to the service data of the user's service execution, so that under the allocation identifier, the allocation strategy applicable to the user can be determined according to the specified information, so that the service resources can be allocated to the user based on the allocation strategy.

[0052] When allocating business resources to users, this method needs to first determine the allocation identifier based on the user's business data. One allocation identifier corresponds to several allocation strategies. Then, under the allocation identifier, the allocation strategy can be determined based on the specified information to allocate business resources to the user. It can be seen that even if the same business data appears, different allocation strategies can be adopted due to the difference in the specified information, which improves the flexibility and richness of business resource allocation. Even if different users have different business data when executing a business, since the allocation identifier corresponds to several allocation strategies, the allocation strategies applicable to different users can be the same, so that users can obtain business resources through different paths, which improves the efficiency of users in executing business. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] The drawings described herein are used to provide a further understanding of this specification and constitute a part of this specification. The illustrative embodiments and descriptions of this specification are used to explain this specification and do not constitute an improper limitation on this specification. In the drawings:

[0054] Figure 1 A schematic diagram of a resource allocation method in this specification;

[0055] Figure 2A schematic diagram showing a prompt message sent by a service platform provided in this specification and displayed on a client corresponding to the user;

[0056] Figure 3 A schematic diagram of a resource allocation device provided in this specification;

[0057] Figure 4 The corresponding Figure 1 Schematic diagram of electronic equipment. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solutions and advantages of this specification more clear, the technical solutions of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.

[0059] In addition, it should be noted that all actions of acquiring signals, information or data in this manual are performed in compliance with the relevant local data protection laws and policies and with the authorization given by the owner of the corresponding device.

[0060] It should be noted that, in the absence of conflict, the features in the following embodiments and implementations may be combined with each other.

[0061] With the development of Internet technology, more and more users are starting to conduct online business. When users conduct online business, the business platform can allocate business resources according to the business performed by the users. In different application scenarios, when users perform different online businesses, the issue of allocating business resources may be involved.

[0062] In one or more embodiments of this specification, the business platform may be a platform that provides computing power services. If the user is a computing power resource demander, the business platform may allocate appropriate computing power resources to the user based on the business data of the user when performing the business, and not waste computing power resources while ensuring that the business is carried out normally. The business platform may also be a platform that provides storage services. If the user is a storage resource demander, the business platform may allocate appropriate storage space to the user based on the user's business data. The business platform may also be a platform that provides game services. The business resources may be virtual resources preset in the game, such as virtual game coins, virtual game props, virtual game characters, etc. If the user is a virtual resource demander in the game, the business platform may allocate corresponding virtual resources to the user based on the business data of the user when performing the business.

[0063] It can be seen that the problem of allocating business resources is widely present in various types of business scenarios. In addition, due to the large number of user groups on the business platform and the various differences between users, how to allocate business resources is an important issue. Based on this, this specification provides a method for resource allocation, which takes into account the differences between users. When the same business data appears, the same business data may be generated by different users when performing business, or it may be generated by the same user when performing business under different circumstances (such as different times). The specified information may be different, so different allocation strategies can be adopted. For the "users" corresponding to the aforementioned same business data, different business resources can be allocated, which improves the flexibility and richness of business resource allocation. In addition, even if different users have different business data when performing business, since the allocation identifier corresponds to several allocation strategies, the allocation strategies applicable to different users can be the same, so that users can obtain business resources through different paths, which improves the efficiency of users in performing business.

[0064] In this specification, the business platform can initiate business activities as a service provider. When users perform business through the client, they can participate in the business activities initiated by the business platform, and the business platform can allocate business resources to users participating in the business activities, such as the computing resources, storage resources, and game virtual resources mentioned above.

[0065] It should be noted that this specification does not limit the type of business resources, and business resources can be any existing business resources that can be allocated, such as storage resources, computing resources, power resources, digital currency, game virtual resources, etc. For the convenience of description, in one or more embodiments of this specification, the business platform is used as the execution subject of the technical solution provided in this specification, and the business platform is used as a game platform and the business resources are game virtual resources as examples to explain the technical solution provided in this specification in detail.

[0066] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings.

[0067] Figure 1 A flowchart of a resource allocation method provided in this specification.

[0068] S100: Acquire business data of business executed by the user.

[0069] In this specification, the business platform can obtain the business data of the user's business execution. The user is the demander of the game virtual resources, and the business executed by the user is the game virtual resource acquisition business. The business executed by the user is pre-set by the business platform, and the business data corresponds to the business executed by the user. The specific form of the business can be pre-determined by the business platform based on the research and development direction of the game business of the business platform.

[0070] For example, the service pre-set by the service platform may be a cumulative login service, that is, virtual game resources are allocated to users according to the number of days the user has logged into the game. If there is no specific limit on the virtual game resources, the service data includes the data on the cumulative number of days the user has logged in. The service pre-set by the service platform may also be a virtual game coin recharge service, that is, virtual game resources are allocated to users according to the total amount of virtual game coins recharged by users or the number of times the virtual game resources have been recharged. If there is no specific limit on the virtual game resources, the service data includes the data on the total amount of virtual game coins recharged by users or the number of times the virtual game resources have been recharged. The service pre-set by the service platform may also be a virtual game character purchase service, that is, virtual game resources are allocated to users according to the number of game characters purchased or owned by users. If there is no specific limit on the virtual game resources, the service data includes the data on the number of virtual game characters purchased or owned by users.

[0071] Of course, the business platform can also pre-set other services, such as game account level services, that is, to allocate corresponding game virtual resources to users according to the level of their game accounts in the game, etc. This specification does not limit what the specific services are and what the specific business data is. The business platform can pre-set based on its own game research and development, development direction, etc. Then, users can participate in and execute the business to obtain business resources corresponding to the executed business from the business platform. The business platform can allocate corresponding business resources to users based on the business data when users participate in and execute the business.

[0072] S102: Determine, according to the business data, an allocation identifier corresponding to the business data; wherein the allocation identifier corresponds to a plurality of allocation strategies.

[0073] Based on step S100, in actual applications, users can participate in the business activities of the business platform, thereby executing the business corresponding to the business activities, and then generating corresponding business data in the client corresponding to the user. The business platform can respond to the user's participation in the business activities to execute the business operations and obtain the user's business data. Then, the business platform can determine the allocation identifier corresponding to the business data based on the user's business data, and the allocation identifier corresponds to several allocation strategies.

[0074] In this specification, the business platform may also pre-set and store the corresponding relationship between the business and the allocation identifier, so that after the business platform obtains the business data of the user executing the business, the business platform may determine the allocation identifier corresponding to the business data generated when the user executes the business based on the business data corresponding to the business data, in the pre-stored corresponding relationship between the business and the allocation identifier. For example, as mentioned above, the business executed by the user may be a cumulative login business, and the business data may be the cumulative login days, and the business executed by the user may also be a virtual game coin recharge business, and the business data may be the total amount of virtual game coins recharged. The corresponding relationship between the business data and the allocation identifier pre-set by the business platform is: (cumulative login business, allocation identifier A), (virtual game coin recharge business, allocation identifier B), then the business platform can determine the allocation identifier corresponding to the business data of the user executing the business according to the business data of the user executing the business, that is, the cumulative login days of the user. Further assuming that the business data of the user is: cumulative login for 5 days, it can be determined that the business executed by the user is a cumulative login business, and it can be determined that the allocation identifier corresponding to the business data of the user executing the business is A.

[0075] It should be noted that business data is data generated by users performing business, so the correspondence between business and allocation identifiers preset by the platform can also be the correspondence between business data and allocation identifiers, and business data can reflect what kind of business the user is performing. In other words, the business platform can determine the allocation identifier corresponding to the business performed by the user based on the business performed by the user, or in other words, the business platform can determine the business performed by the user based on the user's business data, and thus determine the allocation identifier corresponding to the business performed by the user based on the business performed by the user, so as to obtain the allocation identifier corresponding to the user's business data. Of course, the business platform can also directly determine the allocation identifier corresponding to the user's business data based on the business data of the user performing the business.

[0076] In addition, this specification does not limit the way in which the business platform obtains the business data of the user's business execution, such as through WebSockets technology, cache mechanism technology, message queue technology, etc.

[0077] In actual scenarios, there are differences between different users, and the demands for game virtual resources are different. In this specification, in order to meet the diverse game virtual resource demands among different users and take into account the virtual game resource demands of each user, the business platform can pre-set the allocation strategy under each allocation identifier, and each allocation identifier corresponds to several allocation strategies. In addition, in one or more embodiments of this specification, the allocation strategies under different allocation identifiers may be partially the same. Using the above example, for allocation identifier A, the pre-set allocation strategy may be: when the user has logged in for 5 days cumulatively, the user is allocated virtual game character 1, and when the user has logged in for 10 days cumulatively, the user is allocated virtual game character 2. For allocation identifier B, the pre-set allocation strategy may be: when the total amount of virtual game coins recharged by the user reaches the first threshold, the user is allocated virtual game character 1, and when the total amount of virtual game coins recharged by the user reaches the second threshold, the user is allocated virtual game character 2. This specification does not specifically limit the allocation strategy, and does not limit the corresponding relationship between the allocation identifier and the allocation strategy. The business platform can pre-set it according to specific scenarios and needs.

[0078] S104: According to the specified information, under the allocation identifier, determine an allocation strategy applicable to the user.

[0079] S106: Allocate service resources to the user according to the allocation strategy.

[0080] In actual scenarios, there are differences between different users, and their demands for virtual game resources are different. In this specification, in order to meet the diverse virtual game resource demands of different users and take into account the virtual game resource demands of each user, the business platform can determine the allocation strategy applicable to the user based on the allocation identifier corresponding to the business data of the user's business execution according to the specified information.

[0081] It should be noted that in this specification, the designated information is information pre-set by the business platform. This specification does not limit what the designated information is. It can be user information, time information, etc. The business platform can pre-set it based on specific scenarios and needs.

[0082] In one or more embodiments of this specification, the specified information may be user information, which is the user's game account information. The user's game account information includes the user's total historical game time, the number of the user's friends, the user's account activity, the user's virtual game currency monthly recharge frequency, etc., that is, the specified information may be the user's total historical game time, the number of the user's friends, the user's account activity, the user's virtual game currency monthly recharge frequency, etc. Then the business platform may determine the allocation strategy applicable to the user under the allocation identifier corresponding to the business data of the user's business execution according to the specified information. In this specification, the business platform may pre-store the corresponding relationship between the specified information and the allocation strategy, such as when the total historical game time in the specified information is X hours, the allocation strategy 1 is adopted. This specification does not limit the specific corresponding relationship between the user information and the allocation strategy, and the business platform may pre-set it according to specific needs.

[0083] In one or more embodiments of the present specification, the designated information may be time information, and the business platform pre-stores a corresponding relationship between time and allocation strategy, such as the corresponding relationship may be: September 2024 corresponds to allocation strategy 1, and January 2025 to February 2025 corresponds to allocation strategy 2. Then the business platform can obtain the time information when the user performs the business, and under the allocation identifier corresponding to the business data of the user performing the business, determine the allocation strategy applicable to the user according to the time information when the user performs the business. In actual applications, users have different needs for game virtual resources at different times. When the designated information is time information, the business platform can pre-formulate and store allocation strategies corresponding to different future times, so that the allocation strategy corresponding to the time when the user performs the business can be selected based on the time when the user performs the business, so as to allocate business resources to the user. This method can not only meet the different needs of users for game virtual resources at different times and improve the user experience, but also improve the efficiency of the business platform in determining the user's allocation strategy, thereby improving the efficiency of allocating business resources to the user.

[0084] Therefore, the service platform can allocate service resources to the user based on the determined allocation policy applicable to the user. Specifically, the service platform can determine the service resources allocated to the user in the allocation policy applicable to the user based on the user's service data, and send the allocated service resources to the user.

[0085] based on Figure 1According to the method described, when the business platform allocates business resources to users, it needs to first determine the allocation identifier based on the user's business data. One allocation identifier corresponds to several allocation strategies. Then, under the allocation identifier, the allocation strategy can be determined based on the specified information to allocate business resources to the user. It can be seen that even if the same business data appears, different allocation strategies can be adopted due to the difference in the specified information, which improves the flexibility and richness of business resource allocation. Even if different users have different business data when executing business, since the allocation identifier corresponds to several allocation strategies, the allocation strategies applicable to different users can be the same, so that users can obtain business resources through different paths, which improves the efficiency of users in executing business.

[0086] In order to further improve the flexibility and richness of business resource allocation, in one or more embodiments of the present specification, each allocation strategy may include at least one sub-allocation strategy. As mentioned above, each allocation identifier corresponds to several allocation strategies and each allocation strategy includes at least one sub-allocation strategy. Using the above example, for allocation identifier A, it may correspond to allocation strategy 1 and allocation strategy 2. The pre-set allocation strategy 1 may include: Sub-allocation strategy 1: When the user has logged in for 5 days in total, virtual game character 1 is allocated to the user. Sub-allocation strategy 2: When the user has logged in for 10 days in total, virtual game character 2 is allocated to the user. The pre-set allocation strategy 2 may include: Sub-allocation strategy 1: When the user has logged in for 3 days in total, virtual game character 1 is allocated to the user. Sub-allocation strategy 2: When the user has logged in for 6 days in total, virtual game character 2 is allocated to the user. Sub-allocation strategy 3: When the user has logged in for 9 days in total, virtual game character 3 is allocated to the user. For the allocation identifier B, it may correspond to allocation strategy 3, allocation strategy 4 and allocation strategy 5. The pre-set allocation strategy 3 may include: sub-allocation strategy 1: when the total amount of virtual game coins recharged by the user reaches the first threshold, the virtual game character 1 is allocated to the user, and sub-allocation strategy 2: when the total amount of virtual game coins recharged by the user reaches the second threshold, the virtual game character 2 is allocated to the user. The pre-set allocation strategy 4 may include: sub-allocation strategy 1: when the total amount of virtual game coins recharged by the user reaches the first threshold, the virtual game character 3 is allocated to the user. The pre-set allocation strategy 5 may include: sub-allocation strategy 1: when the total amount of virtual game coins recharged by the user reaches the first threshold, the virtual game character 1 is allocated to the user, sub-allocation strategy 2: when the total amount of virtual game coins recharged by the user reaches the second threshold, the virtual game character 2 is allocated to the user, and sub-allocation strategy 3: when the total amount of virtual game coins recharged by the user reaches the third threshold, the virtual game character 3 is allocated to the user. This manual does not make any specific restrictions on the specific allocation strategy. The business platform can pre-set the number of sub-allocation strategies and the type of sub-allocation strategies based on specific needs. This manual does not make any specific restrictions, as long as each allocation identifier corresponds to several allocation strategies and each allocation strategy includes at least one sub-allocation strategy.

[0087] Therefore, in the above step S106, when allocating service resources to the user according to the allocation strategy, the service platform can determine the sub-allocation strategy applicable to the user in the allocation strategy applicable to the user based on the service data when the user performs the service. And the service resources allocated to the user can be determined based on the sub-allocation applicable to the user, so that the service platform can send the determined service resources allocated to the user to the user, or in other words, the service platform can send the determined service resources allocated to the user to the game account of the user.

[0088] Further, in this specification, when the allocation strategy includes several sub-allocation strategies, when the service platform allocates service resources to the user according to the allocation strategy, the service platform can determine several sub-allocation strategies applicable to the user in the allocation strategy applicable to the user based on the service data of the user when the user performs the service, so that the service platform can determine the service resources allocated to the user corresponding to the sub-allocation strategy for each sub-allocation strategy determined to be applicable to the user, and send the service resources allocated to the user corresponding to the sub-allocation strategy to the user. That is to say, in one or more embodiments of this specification, the service data of the user performing the service can correspond to multiple sub-allocation strategies, and the service platform can pre-set and store the corresponding relationship between the service data and the several sub-allocation strategies, and this specification does not limit the specific content of the corresponding relationship between the service data and the sub-allocation strategy.

[0089] The above method further divides the allocation strategy, improves the flexibility and richness of business resource allocation for users, and the business data of the user's business execution can correspond to multiple sub-allocation strategies, which improves the richness of business resources obtained by the user, thereby improving the flexibility and richness of business resource allocation for users.

[0090] In addition, in the process of users performing business to obtain business resources, the business platform can perform risk control on users, thereby ensuring the healthy development of the business platform. In the above step S106, when the business platform allocates business resources to users according to the allocation strategy, it can monitor the number of times the user performs business. When it is determined that the number of times the user performs business is not greater than the preset number threshold, the business resources are allocated to the user according to the allocation strategy. When it is determined that the number of times the user performs business is greater than the preset number threshold, the allocation of business resources to the user is suspended. The number of times users perform business is controlled to prevent "black users" from stealing or occupying too many business resources, thereby avoiding waste of business resources.

[0091] In one or more embodiments of the present specification, when the service platform monitors the number of times a user performs a service, when it is determined that the number of times the user performs a service is greater than a preset number threshold, it may also generate a prompt message and send the prompt message to the user to prompt the user that the user failed to obtain the service resource, so that the service platform notifies the user that the user failed to obtain the service resource. Of course, when the service platform sends the service resource determined to be allocated to the user to the user, it may also generate a prompt message to prompt the user that the user successfully obtained the service resource. Figure 2 As shown, Figure 2 This is a schematic diagram of a prompt message sent by a business platform provided in this specification and displayed on the user's corresponding client.

[0092] The above is a method for resource allocation provided in one or more embodiments of this specification. Based on the same idea, this specification also provides a corresponding resource allocation device, such as Figure 3 shown.

[0093] Figure 3 A schematic diagram of a resource allocation device provided in this specification, wherein the device is located on a service platform; the device specifically includes:

[0094] The data acquisition module 300 is used to acquire the business data of the user performing the business;

[0095] The identification determination module 302 is used to determine the allocation identification corresponding to the business data according to the business data; wherein the allocation identification corresponds to a plurality of allocation strategies;

[0096] A policy determination module 304, configured to determine, based on the specified information and under the allocation identifier, an allocation policy applicable to the user;

[0097] The resource allocation module 306 is used to allocate service resources to the user according to the allocation strategy.

[0098] Optionally, the specified information includes: time information;

[0099] The policy determination module 304 is specifically used to obtain the time information when the user performs the service; under the allocation identifier, determine the allocation policy applicable to the user according to the time information when the user performs the service.

[0100] Optionally, the specified information includes: user information;

[0101] The policy determination module 304 is specifically used to obtain the user information of the user; and under the allocation identifier, determine the allocation policy applicable to the user according to the user information of the user.

[0102] Optionally, the resource allocation module 306 is specifically used to monitor the number of times the user executes the service; when it is determined that the number of times the user executes the service is not greater than a preset number threshold, allocate service resources to the user according to the allocation strategy.

[0103] Optionally, the resource allocation module 306 is further used to monitor the number of times the user executes the service; when it is determined that the number of times the user executes the service is greater than a preset threshold, generate a prompt message; and send the prompt message to the user to prompt the user that the acquisition of service resources has failed.

[0104] Optionally, the resource allocation module 306 is specifically configured to determine, based on the service data of the user and in an allocation strategy applicable to the user, the service resources allocated to the user, and send the service resources allocated to the user to the user.

[0105] Optionally, the allocation strategy includes at least one sub-allocation strategy;

[0106] The resource allocation module 306 is specifically used to determine, according to the business data of the user, a sub-allocation strategy applicable to the user in the allocation strategy applicable to the user; determine the business resources allocated to the user according to the determined sub-allocation strategy applicable to the user; and send the determined business resources allocated to the user to the user.

[0107] This specification also provides a computer-readable storage medium, which stores a computer program, which can be used to execute the above Figure 1 The resource allocation method shown.

[0108] This manual also provides Figure 4 The schematic structure diagram of the electronic device shown in FIG. Figure 4 As mentioned above, at the hardware level, the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may also include other hardware required for the business. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to achieve the above Figure 1 Of course, in addition to the software implementation, this specification does not exclude other implementations, such as logic devices or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0109] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0110] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0111] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0112] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0113] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0114] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0115] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0116] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0117] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0118] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0119] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0120] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0121] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0122] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0123] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0124] The above description is only an embodiment of the present specification and is not intended to limit the present specification. For those skilled in the art, the present specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification shall be included in the scope of the claims of the present specification.

Claims

1. A method for resource allocation, characterized in that: The method is applied to a business platform; the method comprises: Obtain business data of users performing business; Determine, according to the business data, an allocation identifier corresponding to the business data; wherein the allocation identifier corresponds to a plurality of allocation strategies; According to the specified information, under the allocation identifier, determining an allocation policy applicable to the user; According to the allocation strategy, service resources are allocated to the user.

2. The method according to claim 1, characterized in that The specified information includes: time information; Under the allocation identifier, determine an allocation strategy applicable to the user, specifically including: Obtaining time information when the user performs a service; Under the allocation identifier, an allocation strategy applicable to the user is determined according to the time information when the user performs the service.

3. The method according to claim 1, characterized in that The specified information includes: user information; Under the allocation identifier, determine an allocation strategy applicable to the user, specifically including: Obtaining user information of the user; Under the allocation identification, an allocation strategy applicable to the user is determined according to the user information of the user.

4. The method according to claim 1, characterized in that Allocating service resources to the user according to the allocation strategy specifically includes: Monitoring the number of times the user performs a service; When it is determined that the number of times the user performs the service is not greater than a preset number threshold, the service resources are allocated to the user according to the allocation strategy.

5. The method according to claim 1, characterized in that The method further comprises: Monitoring the number of times the user performs a service; When it is determined that the number of times the user performs the service is greater than a preset number threshold, generating a prompt message; The prompt information is sent to the user to prompt the user that the acquisition of the service resource fails.

6. The method according to claim 1, characterized in that Allocating service resources to the user according to the allocation strategy specifically includes: Based on the service data of the user, in an allocation policy applicable to the user, service resources allocated to the user are determined, and the service resources allocated to the user are sent to the user.

7. The method according to claim 1, characterized in that The allocation strategy includes at least one sub-allocation strategy; Allocating service resources to the user according to the allocation strategy specifically includes: Determining, according to the service data of the user, a sub-allocation strategy applicable to the user in the allocation strategy applicable to the user; Determining the service resources to be allocated to the user according to the determined sub-allocation strategy applicable to the user; The determined service resources allocated to the user are sent to the user.

8. A resource allocation device, characterized in that: The device is located on the service platform; the device includes: A data acquisition module is used to obtain business data of users performing business; An identification determination module, used to determine, based on the business data, an allocation identification corresponding to the business data; wherein the allocation identification corresponds to a plurality of allocation strategies; A policy determination module, configured to determine, based on specified information and under the allocation identifier, an allocation policy applicable to the user; The resource allocation module is used to allocate service resources to the user according to the allocation strategy.

9. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 7 is implemented.