Virtual resource allocation method, device, equipment and computer-readable storage medium

By collecting and classifying the business type information and identification of resource allocation objects, and establishing an allocation relationship between a preset allocation object set and a receiving object, the problem of high difficulty in managing account splitting relationships in the existing technology is solved, and more efficient virtual resource allocation is achieved.

CN115481831BActive Publication Date: 2025-09-16TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110598642.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-31
Publication Date
2025-09-16
Estimated Expiration
2041-05-31

AI Technical Summary

Technical Problem

In the prior art, the account splitting relationship binding between online shopping mall merchants and account splitting recipients adopts a one-to-many approach, which makes it difficult to manage a large amount of account splitting relationship information and reduces management efficiency.

Method used

Collect the business type information of the resource allocation object and the identification of the receiving object, classify them into the corresponding preset allocation object set, establish an allocation relationship based on the identification, and match the target set after receiving the resource allocation request to perform virtual resource allocation.

Benefits of technology

The difficulty of managing allocation relationships is reduced, and the management efficiency of allocation relationship information and the efficiency of virtual resource allocation are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115481831B_ABST
    Figure CN115481831B_ABST
Patent Text Reader

Abstract

The embodiments of the present application disclose a virtual resource allocation method, apparatus, device, and computer-readable storage medium. The embodiments of the present application can collect business type information of resource allocation objects and the identifier of resource receiving objects; classify resource allocation objects into corresponding preset allocation object sets based on the business type information, wherein the preset allocation object sets carry business type information tags; establish an allocation relationship between the preset allocation object sets and the resource receiving objects based on the identifier of the resource receiving objects; receive a resource allocation request from a target resource allocation object, wherein the resource allocation request carries target business type information and the identifier of the target resource receiving object; match the corresponding target preset allocation object set based on the target business type information, and allocate virtual resources to the target resource receiving object based on the allocation relationship between the target preset allocation object set and the target resource receiving object. In this way, the efficiency of virtual resource allocation is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a virtual resource allocation method, apparatus, device, and computer-readable storage medium. Background Art

[0002] With the development of online payment technology, online shopping malls are becoming increasingly prosperous. However, after completing each transaction order, online shopping merchants are required to allocate funds to relevant parties, such as agents, distributors, logistics personnel, and individual users. In related technologies, funds are transferred to the account recipients by binding an allocation or account splitting relationship between the merchant and the account split recipient.

[0003] During the research and practice of the existing technology, the inventor of this application found that the existing technology uses a one-to-many method to bind the account sharing relationship between each store merchant and the account sharing recipient, that is, to establish an account sharing relationship between each store merchant and all account sharing recipients. This method will generate a large amount of account sharing relationship information, which increases the difficulty of managing the allocation relationship information or account sharing relationship information, reduces management efficiency, and affects the merchant experience. Summary of the Invention

[0004] The embodiments of the present application provide a virtual resource allocation method, apparatus, device, and computer-readable storage medium, which can effectively reduce the allocation relationships that need to be established, improve the management efficiency of allocation relationship information, and improve the efficiency of virtual resource allocation.

[0005] The present invention provides a method for allocating virtual resources, including:

[0006] Collecting business type information of resource allocation objects and identification of resource receiving objects;

[0007] Classifying the resource allocation objects into corresponding preset allocation object sets according to the service type information, wherein the preset allocation object sets carry service type information tags;

[0008] establishing an allocation relationship between the preset allocation object set and the resource receiving object according to the identifier of the resource receiving object;

[0009] receiving a resource allocation request from a target resource allocation object, wherein the resource allocation request carries target service type information and an identifier of the target resource receiving object;

[0010] A corresponding target preset allocation object set is matched according to the target service type information, and based on an allocation relationship between the target preset allocation object set and the target resource receiving object, the virtual resource is allocated to the target resource receiving object.

[0011] Accordingly, an embodiment of the present application provides a virtual resource allocation device, including:

[0012] A collection unit, configured to collect service type information of a resource allocation object and an identifier of a resource receiving object;

[0013] a classification unit, configured to classify the resource allocation object into a corresponding preset allocation object set according to the service type information, wherein the preset allocation object set carries a service type information tag;

[0014] an establishing unit, configured to establish an allocation relationship between the preset allocation object set and the resource receiving object according to an identifier of the resource receiving object;

[0015] A receiving unit, configured to receive a resource allocation request from a target resource allocation object, wherein the resource allocation request carries target service type information and an identifier of the target resource receiving object;

[0016] The allocation unit is configured to match a corresponding target preset allocation object set according to the target business type information, and allocate virtual resources to the target resource receiving object based on an allocation relationship between the target preset allocation object set and the target resource receiving object.

[0017] In some embodiments, the establishing unit is further configured to:

[0018] Searching an allocation relationship list according to the identifier of the resource receiving object, wherein the allocation relationship list includes an allocation relationship between a preset allocation object set and the resource receiving object;

[0019] When an allocation relationship between a preset allocation object set and a resource receiving object is found, determining the established allocation relationship as the allocation relationship between the preset allocation object set and the resource receiving object;

[0020] When the allocation relationship between the preset allocation object set and the resource receiving object cannot be found, an allocation relationship between the preset allocation object set and the resource receiving object is established, and the resource receiving object with the established allocation relationship is updated to the allocation relationship list.

[0021] In some embodiments, the establishing unit is further configured to:

[0022] Obtaining an identifier of the preset allocation object set;

[0023] Binding the identifier of the preset allocation object set with the identifier of the resource receiving object to obtain a target identifier pair having an allocation relationship;

[0024] An allocation relationship between the preset allocation object set and the resource receiving object is determined according to the target identifier pair.

[0025] In some embodiments, the establishing unit is further configured to:

[0026] Matching the object identifiers in the preset receiving object set according to the identifier of the resource receiving object to obtain a matching result, wherein the preset receiving object set has an allocation relationship with the allocation object set;

[0027] According to the matching result, an allocation relationship between the preset allocation object set and the resource receiving object is obtained.

[0028] In some embodiments, the establishing unit is further configured to:

[0029] When the matching result includes the object identifier corresponding to the identifier of the resource receiving object, obtaining an allocation relationship between the preset receiving object set and the preset allocation object set;

[0030] When the matching result does not include the object identifier corresponding to the identifier of the resource receiving object, adding the identifier of the resource receiving object to the preset receiving object set to obtain an updated preset receiving object set;

[0031] Based on the updated allocation relationship between the preset receiving object set and the preset allocation object set, an allocation relationship between the preset allocation object set and the resource receiving object is obtained.

[0032] In some embodiments, the classification unit is further configured to:

[0033] Searching a list of business type information tags based on the business type information to obtain a set of preset allocation objects corresponding to the business type information tags;

[0034] The resource allocation objects are classified into a preset allocation object set.

[0035] In some embodiments, the virtual resource allocation apparatus further comprises:

[0036] A receiving object verification unit, configured to obtain attribute information corresponding to the identifier of the resource receiving object; verify the attribute information of the resource receiving object according to a preset receiving object verification rule to obtain a verification result;

[0037] The establishing unit is further configured to establish an allocation relationship between the preset allocation object set and the resource receiving object according to the identifier of the resource receiving object if the verification result shows that the attribute information matches the preset receiving object verification rule.

[0038] In some embodiments, the virtual resource allocation apparatus further comprises:

[0039] An allocation object verification unit, configured to match a target object identifier in a preset allocation object set corresponding to each business information type according to the identifier of the resource allocation object;

[0040] The classification unit is further configured to classify the resource allocation object into a corresponding preset allocation object set according to the business type information when no target object identifier corresponding to the identifier of the resource allocation object is matched.

[0041] In some embodiments, the virtual resource allocation apparatus further includes: a set establishing unit configured to:

[0042] receiving a set establishment request sent by a target object, wherein the set establishment request carries service type information and registration information of a set of distribution objects to be established;

[0043] Verifying the registration information;

[0044] When the registration information complies with the preset registration information rule, a corresponding preset allocation object set is established according to the business type information of the allocation object set to be established.

[0045] In addition, an embodiment of the present application also provides a computer device, including a processor and a memory, wherein the memory stores an application program, and the processor is used to run the application program in the memory to implement the steps in the virtual resource allocation method provided in the embodiment of the present application.

[0046] In addition, an embodiment of the present application further provides a computer-readable storage medium, which stores a plurality of instructions suitable for loading by a processor to execute the steps in any one of the virtual resource allocation methods provided in the embodiment of the present application.

[0047] In addition, embodiments of the present application further provide a computer program, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the steps of any of the virtual resource allocation methods provided in embodiments of the present application.

[0048] The embodiment of the present application can collect the business type information of the resource allocation object and the identifier of the resource receiving object; classify the resource allocation object into a corresponding preset allocation object set according to the business type information, the preset allocation object set carries a business type information tag; establish an allocation relationship between the preset allocation object set and the resource receiving object according to the identifier of the resource receiving object; receive a resource allocation request of the target resource allocation object, the resource allocation request carries the target business type information and the identifier of the target resource receiving object; match the corresponding target preset allocation object set according to the target business type information, and allocate virtual resources to the target resource receiving object based on the allocation relationship between the target preset allocation object set and the target resource receiving object. In this way, by allocating the resource allocation object to the preset set, the allocation relationship between the resource allocation object and the resource receiving object is determined according to the allocation relationship between the preset allocation object set and the resource receiving object, thereby avoiding the phenomenon that each resource allocation object needs to establish an allocation relationship with the resource receiving object, effectively reducing the allocation relationships that need to be maintained, reducing the difficulty of managing relationship information, improving the management efficiency of allocation relationship information, and improving the efficiency of virtual resource allocation. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0050] Figure 1 This is a scenario diagram of the virtual resource allocation method provided in an embodiment of the present application;

[0051] Figure 2 This is a flowchart of the steps of the virtual resource allocation method provided in an embodiment of the present application;

[0052] Figure 3 This is another step flow diagram of the virtual resource allocation method provided in an embodiment of the present application;

[0053] Figure 4 This is a schematic diagram of an application scenario of the account sharing relationship between a preset allocation object set and a resource receiving object provided in an embodiment of the present application;

[0054] Figure 5 This is a schematic diagram of an application scenario of the account splitting relationship between a preset allocation object set and a preset receiving object set provided in an embodiment of the present application;

[0055] Figure 6 is a structural diagram of a virtual resource allocation device provided in an embodiment of the present application;

[0056] Figure 7 It is a structural diagram of the computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0057] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts are within the scope of protection of this application.

[0058] The embodiments of the present application provide a virtual resource allocation method, apparatus, device, and computer-readable storage medium. The embodiments of the present application will be described from the perspective of a virtual resource allocation apparatus, which can be specifically integrated into a computer device, which can be a server or a terminal or other device. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal can be a smartphone, tablet computer, laptop computer, desktop computer, smart speaker, smart watch, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, and this application does not limit this.

[0059] For example, see Figure 1 , is a scenario diagram of the virtual resource allocation method provided in an embodiment of the present application. The scenario includes a server 10, a first terminal 20, and a second terminal 30. The server 10 is connected to the first terminal 20 and the second terminal 30 via wireless communication to achieve data exchange.

[0060] The client on the first terminal 20 sends a resource allocation relationship establishment request to the server 10. This allocation relationship establishment request carries the service type information of the resource allocation object and the identifier of the resource recipient, so that the server 10 establishes an allocation relationship between the resource allocation object and the resource recipient. In addition, the first terminal 20 can also send a resource allocation request through the client, so that the server 10 allocates virtual resources to the second terminal 30 based on the resource allocation request sent by the first terminal 20.

[0061] The server 10 can collect the business type information of the resource allocation object and the identifier of the resource receiving object; classify the resource allocation object into a corresponding preset allocation object set according to the business type information, and the preset allocation object set carries a business type information tag; establish an allocation relationship between the preset allocation object set and the resource receiving object according to the identifier of the resource receiving object; receive a resource allocation request from the target resource allocation object, and the resource allocation request carries the target business type information and the identifier of the target resource receiving object; match the corresponding target preset allocation object set according to the target business type information, and allocate virtual resources to the target resource receiving object based on the allocation relationship between the target preset allocation object set and the target resource receiving object.

[0062] The virtual resource allocation may include establishing an allocation relationship and performing virtual resource allocation based on the allocation relationship.

[0063] It should be noted that the order of description of the following embodiments is not intended to limit the preferred order of the embodiments.

[0064] In the embodiment of the present application, the description will be made from the perspective of a virtual resource allocation device, which can be integrated into a computer device such as a server. Figure 2 , Figure 2 This is a flowchart of the steps of a virtual resource allocation method provided in an embodiment of the present application. When the processor on the terminal or server executes the program corresponding to the virtual resource allocation method, the specific process of the virtual resource allocation method is as follows:

[0065] 101. Collect business type information of a resource allocation object and an identifier of a resource receiving object.

[0066] The resource allocation object may be a provider or issuer of virtual resources, and may be an individual, a private individual, an enterprise, a platform, etc. The resource receiving object is the recipient of virtual resources, and may be an individual, a private individual, an enterprise, a platform, etc. In the embodiment of the present application, the resource allocation object allocates virtual resources to the resource recipient.

[0067] The business type information may include business attributes, business categories, and other information, and is used to reflect the type of business the resource allocation target is engaged in. For example, if the business type information is brand A, the business operated and undertaken by the resource allocation target is brand A-related business, such as goods and services.

[0068] The identifier of the resource receiving object may be identity information, tag information, coding information, financial account information or resource storage address information, etc. The identifier of the resource receiving object is used to distinguish the current resource receiving object from other resource receiving objects.

[0069] To implement resource allocation between resource allocators and resource recipients, a resource allocation relationship or resource allocation channel must be established between the resource allocators and resource recipients, creating an association between the resource allocators and resource recipients. Furthermore, to enable the subsequent establishment of an allocation relationship, this implementation requires pre-collecting the service type information of the resource allocators and the identifier of the resource recipients. This information is then used to establish an allocation relationship between the resource allocators and the resource recipients.

[0070] In an embodiment of the present application, the business type information of the resource allocation object and the identifier of the resource receiving object may be stored in a server database. For example, the server database may pre-store relevant information about resource allocation objects and resource receiving objects that have established an allocation relationship, such as the business type information of the resource allocation objects and the identifier of the resource receiving object. In order to reduce the difficulty of subsequent maintenance and management of the allocation relationship data, the relationship information of the resource allocation objects and resource receiving objects that have established a one-to-one allocation relationship may be reorganized. In some embodiments, the business type information and the identifier of the resource receiving object of the resource allocation objects with an allocation relationship may be collected from the database for use in subsequent information reorganization.

[0071] In some embodiments, the service type information of the resource allocation object and the identifier of the resource receiving object may also be information received by the server and used to establish the allocation relationship. For example, a relationship establishment request for the resource allocation object is received, and the relationship establishment request carries the service type information of the resource allocation object and the identifier of the resource receiving object.

[0072] 102. Classify resource allocation objects into corresponding preset allocation object sets according to business type information.

[0073] The preset allocation object set may be an information set corresponding to specific business type information, to which identification information, identity information, financial account information, or resource address information of the resource allocation object may be added. For example, taking a commercial platform as an example, the resource allocation objects may be the merchants within the commercial platform. A platform information set corresponding to the commercial platform is generated, and the platform information set is used as the preset allocation object set. The identification information, identity information, or financial account information of each merchant is added to the platform information set. On the other hand, when the platform information set contains multiple preset allocation object sets corresponding to different business type information tags, the identification information, identity information, or financial account information of each merchant can be added to the corresponding preset allocation object set within the platform information set.

[0074] The preset allocation object set carries a business type information tag, which may be the business type, business scope, etc. of the preset allocation object set. For example, if the preset allocation object set is a commercial platform for brand A products, its corresponding business type information tag may be a brand A label or a brand A product logo.

[0075] To implement resource allocation between resource allocation objects and resource receiving objects, it is necessary to establish a resource allocation relationship or resource allocation channel between the resource allocation objects and the resource receiving objects, so that the resource allocation objects and the resource receiving objects are associated with each other. Furthermore, to reduce the difficulty of maintaining the allocation relationship, the embodiments of the present application pre-create a preset allocation object set, add the resource allocation objects to the preset allocation object set, and establish an allocation relationship between the preset allocation object set and the resource receiving objects. This reduces the number of allocation relationships that need to be established between each resource allocation object and different resource receiving objects, thereby reducing the maintenance difficulty.

[0076] In some implementations, a preset allocation object set may be created in advance. Before the step of "classifying resource allocation objects into corresponding preset allocation object sets according to business type information", the following steps may be included:

[0077] (1) Receive a set establishment request sent by the target object, which carries the service type information and registration information of the set of distribution objects to be established;

[0078] (2) Verify the registration information;

[0079] (3) When the registration information complies with the preset registration information rules, a corresponding preset allocation object set is established according to the business type information of the allocation object set to be established.

[0080] The target object request is for creating a set of objects. The service type information may include information such as service attributes and service categories, which are used to reflect the service type corresponding to the set of allocated objects. The registration information may include authentication information and credentials required to create the set of allocated objects.

[0081] In order to ensure the legitimacy of the established preset allocation object set, this embodiment obtains the business type information and registration information carried in the set establishment request after receiving the set establishment request sent by the target object, and verifies the registration information submitted by the target object. Only when the registration information meets the preset registration information rules, the corresponding preset allocation object set is established according to the business type information of the allocation object to be established.

[0082] For example, taking a commercial platform as an example of a platform information collection, the target object can be an entrepreneur, a merchant, a manager, etc. If the target object wants to create a collection of brand A products in the platform information collection, the target object, as the collection master, can set the business type information to brand A product information, brand A label, etc., and submit registration information such as the target object's license when operating brand A products, the credit rating information of the financial account, etc.; when receiving the collection establishment request sent by the target object, its registration information is verified. The preset registration information rules involved in the verification include whether it has a license (such as an ICP license or an EDI license), whether it is within the validity period of the license, whether the financial credit rating of the financial account is good, etc. When the verification result is that it meets the preset registration information rules, the preset allocation object collection corresponding to brand A is successfully established, and a feedback message of "establishment successful" is sent; when the verification result is that it does not meet the preset registration information rules, the preset allocation object collection corresponding to brand A is rejected and a feedback message of "establishment failed" is sent, as shown in the following table:

[0083]

[0084] In some implementations, the step of “classifying resource allocation objects into corresponding preset allocation object sets according to business type information” includes the following:

[0085] (3) searching the service type information tag list based on the service type information to obtain a set of preset allocation objects corresponding to the service type information tag;

[0086] (4) Classify resource allocation objects into a preset allocation object set.

[0087] It should be noted that the server database may include multiple preset allocation object sets, each preset allocation object set has a corresponding business type information tag, which may be the business type, business scope, etc. of the preset allocation object set; however, in order to facilitate the information management of the preset allocation object set, this implementation generates an information list for the business type information tags corresponding to each preset allocation object set, namely the above-mentioned business type information tag list, to facilitate subsequent search for the corresponding preset allocation object set.

[0088] Furthermore, in order to reduce the difficulty of maintaining the allocation relationship, after creating the preset allocation object set and the business type information tag list, the embodiment of the present application can search the business type information tag list according to the business type information carried in the relationship establishment request to determine the corresponding preset allocation object set; and obtain the identifier of the resource allocation object that issued the relationship establishment request, and add the identifier of the resource allocation object to the preset allocation object set to achieve classification of the resource allocation object into the corresponding preset allocation object set. Through the above method, after subsequently establishing the allocation relationship between the preset allocation object set and the resource receiving object, the allocation relationship between the preset allocation object set and the resource receiving object is determined as the allocation relationship between the resource allocation object and the resource receiving object, thereby reducing the allocation relationship that needs to be established between each resource allocation object and different resource receiving objects and reducing the maintenance difficulty.

[0089] In addition, before the step of “classifying the resource allocation objects into corresponding preset allocation object sets according to the business type information”, the following steps may be included:

[0090] A. Match the target object identifier in the preset allocation object set corresponding to each business information type according to the identifier of the resource allocation object;

[0091] The step of “classifying resource allocation objects into corresponding preset allocation object sets according to business type information” includes:

[0092] B. When no target object identifier is found corresponding to the identifier of the resource allocation object, classify the resource allocation object into a corresponding preset allocation object set according to the business type information;

[0093] In order to ensure the security of subsequent resource allocation, each resource allocation object that needs to be added to the preset allocation object set must meet the set standard. Among them, the set standard is that each resource receiving object is only allowed to join one preset allocation object set in the database. For example, taking the database of B e-commerce platform as an example, the database of B e-commerce platform contains preset allocation object sets corresponding to multiple business type information tags under the platform, such as preset allocation object sets corresponding to business type information tags such as b1 brand, b2 brand, and b3 brand, and each resource receiving object can only join one of the preset allocation object sets such as b1 brand, b2 brand, and b3 brand. Therefore, it is necessary to match the target object identifier in the preset allocation object set corresponding to each business information type tag according to the identifier of the resource allocation object to determine whether the identifier of the resource allocation object has been added to the preset allocation object set in the database. When the target object identifier corresponding to the identifier of the resource allocation object is not matched, the step of "classifying the resource allocation object into the corresponding preset allocation object set according to the business type information" is executed.

[0094] It should be noted that when the resource allocation object's identifier matches a target object identifier included in a preset allocation object set corresponding to a certain business type information, it indicates that the current resource allocation object has been added to the relevant preset allocation object set. At this point, it is necessary to determine whether the business type information of the current resource allocation object is consistent with the business information type tag of the already added preset allocation object set. If not, it indicates that the current resource allocation object has already been added to the preset allocation object set corresponding to another business type information tag, and the current resource allocation object is not classified. If consistent, it indicates that the current resource allocation object has already been added to the preset allocation object set corresponding to the business type information of the current resource allocation object. At this point, there is no need to add the representation of the current resource allocation object to the corresponding preset allocation object set. This avoids repeatedly adding the same resource allocation object identifier to the preset receiving object set, effectively eliminating confusion or errors in subsequent resource allocation, such as avoiding duplicate resource allocation. The above approach not only simplifies the operation process of establishing allocation relationships, further reduces the need to maintain allocation relationships, but also improves the accuracy and reliability of subsequent resource allocation.

[0095] Specifically, when the target object identifier corresponding to the identifier of the resource allocation object is matched, the business type information of the preset allocation object set where the target object identifier is located is obtained, and the business type information of the preset allocation object set where the target object identifier is located is compared with the business type information of the resource allocation object; when the business type information of the preset allocation object set where the target object identifier is located is different from the business type information of the resource allocation object, the step of "classifying the resource allocation object into the corresponding preset allocation object set according to the business type information" is not executed; when the business type information of the preset allocation object set where the target object identifier is located is the same as the business type information of the resource allocation object, the step of "103, establishing an allocation relationship between the preset allocation object set and the resource receiving object according to the identifier of the resource receiving object" is executed.

[0096] 103. Establish an allocation relationship between the preset allocation object set and the resource receiving object according to the identifier of the resource receiving object.

[0097] The identifier of the resource receiving object may include the identity information, tag information, coding information, financial account information, or resource storage address information of the resource receiving object. The identifier of the resource receiving object is used to distinguish the current resource receiving object from other resource receiving objects, so as to establish an allocation relationship with a preset allocation object set based on the identifier of the resource receiving object. In addition, the identifier of the resource receiving object can also be used to indicate the storage location of the resource after allocation. For example, taking funds as a virtual resource, the identifier of the resource receiving object can be financial account information, which can indicate that the received funds are to be stored in the financial account.

[0098] The allocation relationship can be a split-account relationship, an association relationship, a resource allocation channel, a resource transmission channel, etc., depending on the specific scenario. For example, taking funds as a virtual resource, the allocation relationship can be a split-account relationship, with the split-account investor as the resource allocation target and the split-account recipient as the resource recipient. When an order is generated, the split-account investor transfers the resources to the split-account recipient on a monthly basis, thereby implementing fund allocation based on this split-account relationship.

[0099] In order to establish an allocation relationship or allocation channel between a resource allocation object and a resource receiving object, this embodiment needs to establish an allocation relationship or allocation channel between the preset allocation object set and the resource receiving object after adding the resource allocation object to the preset allocation object set.

[0100] In some embodiments, the step of “establishing an allocation relationship between the preset allocation object set and the resource receiving object based on the identifier of the resource receiving object” may include:

[0101] (1) searching an allocation relationship list according to the identifier of the resource receiving object, wherein the allocation relationship list includes an allocation relationship between a preset allocation object set and the resource receiving object;

[0102] It should be noted that each resource allocation object may need to establish allocation relationships with multiple different resource receiving objects, which may result in different resource allocation objects needing to establish allocation relationships with the same resource receiving object, thereby causing the preset allocation object set to perform the operation of establishing allocation relationships multiple times relative to the same resource receiving object. In order to avoid the subsequent repeated execution of the operation process of establishing allocation relationships relative to the same resource receiving object, this embodiment, relative to the preset allocation object set, after establishing an allocation relationship with a new resource receiving object, can add the newly established allocation relationship to the allocation relationship list to obtain the allocation relationship list corresponding to the preset allocation object set. In this way, when it is necessary to subsequently establish an allocation relationship between the preset allocation object set and the same resource receiving object, the corresponding allocation relationship can be directly found according to the allocation relationship list.

[0103] Among them, when establishing the allocation relationship between the preset allocation object set and the resource receiving object, the allocation relationship list is searched according to the identifier of the resource receiving object corresponding to the allocation relationship to be established to find out whether the established allocation relationship in the allocation relationship list contains the allocation relationship with the resource receiving object to be established. In this way, the operation of repeatedly establishing the same allocation relationship is avoided, efficiency is improved, and the difficulty of subsequent maintenance of the allocation relationship is reduced.

[0104] (2) When the allocation relationship between the preset allocation object set and the resource receiving object is found, the established allocation relationship is determined as the allocation relationship between the preset allocation object set and the resource receiving object.

[0105] Among them, when the allocation relationship list contains the allocation relationship between the preset allocation object set and the current resource receiving object, it means that an allocation relationship has been established between the preset allocation object set and the current resource receiving object. Therefore, the established allocation relationship found can be determined as the allocation relationship between the preset allocation object set and the current resource receiving object, avoiding the repeated operation of establishing the same allocation relationship and improving efficiency.

[0106] (3) When the allocation relationship between the preset allocation object set and the resource receiving object cannot be found, the allocation relationship between the preset allocation object set and the resource receiving object is established, and the resource receiving object with the established allocation relationship is updated to the allocation relationship list.

[0107] Among them, when the allocation relationship corresponding to the identifier of the current resource receiving object cannot be found in the allocation relationship list, it means that no allocation relationship has been established between the preset allocation object set and the current resource receiving object. At this time, it is necessary to establish an allocation relationship between the preset allocation object set and the current resource receiving object, and add / update the newly established allocation relationship to the allocation relationship list, so that when it is necessary to establish an allocation relationship between the preset allocation object set and the same resource receiving object in the future, the corresponding allocation relationship can be directly found according to the allocation relationship list.

[0108] It should be noted that, since the resource allocation object can be regarded as an element in the preset allocation object set after being added to the preset allocation object set, when the preset allocation object set establishes an allocation relationship with the resource receiving object, the resource allocation object and the resource receiving object also have an allocation relationship, that is, the preset allocation object set and the resource receiving object establish an allocation relationship, and it is determined that the resource allocation object and the resource receiving object also have an allocation relationship.

[0109] The step of "establishing an allocation relationship between a preset allocation object set and a resource receiving object" in step (3) may include:

[0110] (3.1) Obtaining the identifier of the preset allocation object set;

[0111] (3.2) Binding the identifier of the preset allocation object set with the identifier of the resource receiving object to obtain a target identifier pair with an allocation relationship;

[0112] (3.3) Determine the allocation relationship between the preset allocation object set and the resource receiving object based on the target identification pair.

[0113] The identifier of the preset allocation object set may be the identity document (ID), label, business number, financial account information, etc. of the preset allocation object set, which is used to distinguish the current preset allocation object set from other preset allocation object sets.

[0114] To establish an allocation relationship between a set of preset allocation objects and a resource receiving object, this embodiment obtains the identifier of the set of preset allocation objects and binds it to the identifier of the resource receiving object to obtain a target identifier pair with an allocation relationship. This target identifier pair with an allocation relationship is then stored to establish the allocation relationship between the set of preset allocation objects and the resource receiving object. This approach establishes an allocation relationship between the set of preset allocation objects and the resource receiving object, facilitating the subsequent execution of resource allocation policies.

[0115] In some embodiments, the step of “establishing an allocation relationship between the preset allocation object set and the resource receiving object based on the identifier of the resource receiving object” may include:

[0116] A. Matching the object identifiers in the preset receiving object set according to the identifier of the resource receiving object to obtain a matching result. There is an allocation relationship between the preset receiving object set and the allocation object set.

[0117] The preset receiving object set may be a set of multiple resource receiving objects.

[0118] Because this embodiment, when establishing the allocation relationship between the preset allocation object set and the resource receiving object, requires establishing the allocation relationship between the preset allocation object set and the resource receiving object separately for different resource receiving objects, in order to simplify the process of establishing the operational relationship, this embodiment can establish a preset receiving object set and directly establish the allocation relationship between the preset allocation object set and the preset receiving object set; further, the identifier of the resource receiving object is added to the preset receiving object set to establish an allocation relationship between the preset allocation object set and the resource receiving object; and then, the allocation relationship between the preset allocation object set and the preset receiving object set is determined as the allocation relationship between the preset allocation object set and the resource receiving object. In this way, the operational process of establishing the allocation relationship is simplified, and the management efficiency of the allocation relationship information is improved.

[0119] It is understood that only one allocation relationship needs to be established between the preset allocation object set and the preset recipient object set to establish an allocation relationship between the resource allocation objects in the preset allocation object set and the resource recipient objects in the preset recipient object set. This not only simplifies the process of establishing operational relationships, but also further reduces the need to maintain allocation relationships, thereby improving the management efficiency of allocation relationship information.

[0120] In this embodiment, when establishing an allocation relationship between a preset allocation object set and a resource receiving object, the identifier of the resource receiving object corresponding to the to-be-established allocation relationship can be matched with the object identifier in the preset receiving object set to determine whether the preset receiving object set contains the identifier of the to-be-established resource receiving object, thereby determining whether an allocation relationship has already been established between the preset allocation object set and the resource receiving object. This avoids repeated operations to establish the same allocation relationship, thereby improving efficiency.

[0121] B. Based on the matching results, obtain the allocation relationship between the preset allocation object set and the resource receiving object.

[0122] The matching result is a matching result between the identifier of the resource receiving object and a preset receiving object set. The matching result may include an object identifier corresponding to the identifier of the resource receiving object, or may not include an object identifier corresponding to the identifier of the resource receiving object.

[0123] To reduce the number of operations required to establish an allocation relationship between a preset set of allocation objects and a resource recipient, this embodiment, when establishing an allocation relationship between a preset set of allocation objects and a resource recipient, determines based on a matching result whether the preset recipient set contains the identifier of the resource recipient to be established, and then proceeds to perform the associated "establishing an allocation relationship between the preset set of allocation objects and the resource recipient." This prevents repeated addition of the same resource recipient identifier to the preset recipient set, effectively preventing confusion or errors during subsequent resource allocation, such as duplicate resource allocation. This approach not only simplifies the process of establishing allocation relationships, further reducing the need to maintain these relationships, but also improves the accuracy and reliability of subsequent resource allocation.

[0124] The step “B. obtaining the allocation relationship between the preset allocation object set and the resource receiving object based on the matching result” may include:

[0125] B1. When the matching result includes an object identifier corresponding to the identifier of the resource receiving object, an allocation relationship between the preset receiving object set and the preset allocation object set is obtained.

[0126] If the matching result shows that the preset set of recipients contains an object identifier corresponding to the identifier of the current resource recipient, an allocation relationship has already been established between the preset allocation object set and the current resource recipient. In this case, the allocation relationship between the preset allocation object set and the current resource recipient can be established without adding or updating the identifier of the current resource recipient to the preset set of recipients, thus avoiding repeated operations to establish the same allocation relationship and improving reliability.

[0127] B2. When the matching result does not include the object identifier corresponding to the identifier of the resource receiving object, the resource receiving object is added to the preset receiving object set to obtain an updated preset receiving object set.

[0128] If the matching result indicates that the preset set of recipients does not contain an object identifier corresponding to the identifier of the current resource recipient, this indicates that no allocation relationship has been established between the preset allocation object set and the current resource recipient. In this case, the identifier of the current resource recipient needs to be added or updated to the preset set of recipients to establish an allocation relationship between the preset allocation object set and the current resource recipient. This simplifies the process of establishing allocation relationships, further reduces the need to maintain allocation relationships, and improves the accuracy and reliability of subsequent resource allocation.

[0129] B3. Based on the updated allocation relationship between the preset receiving object set and the preset allocation object set, obtain the allocation relationship between the preset allocation object set and the resource receiving object.

[0130] It should be noted that since the updated preset receiving object set includes the identifier of the current resource receiving object, the allocation relationship between the preset allocation object set and the resource receiving object can be determined based on the allocation relationship between the updated preset receiving object set and the preset allocation object set.

[0131] In some embodiments, before the step of “establishing an allocation relationship between the preset allocation object set and the resource receiving object according to the identifier of the resource receiving object”, the following steps may be performed:

[0132] (1) Obtaining attribute information corresponding to the identifier of the resource receiving object;

[0133] (2) Verifying the attribute information of the resource receiving object according to the preset receiving object verification rule to obtain a verification result;

[0134] (3) establishing an allocation relationship between the preset allocation object set and the resource receiving object based on the identifier of the resource receiving object, including: if the verification result is that the attribute information matches the preset receiving object verification rule, establishing an allocation relationship between the preset allocation object set and the resource receiving object based on the identifier of the resource receiving object.

[0135] The attribute information may be authentication information, credentials, etc. required by the resource receiving object.

[0136] To ensure that the resource receiving object is legitimate, this embodiment obtains attribute information corresponding to the resource receiving object's identifier after receiving a set establishment request from the target object, or when the resource receiving object requests to establish an allocation relationship with a preset allocation object set. This attribute information is then verified to obtain a verification result. Only if the verification result indicates that the attribute information matches the preset recipient object verification rule is the step of "establishing an allocation relationship between the preset allocation object set and the resource receiving object based on the resource receiving object's identifier" executed.

[0137] For example, taking the commercial platform as a preset allocation object set, the attribute information of the resource receiving object can be nationality information, financial account attributes, credit rating information of the financial account, license credentials, etc., then the preset receiving object verification rules of the attribute information may include: whether the resource receiving object and the preset allocation object set have the same nationality information, whether the resource receiving object and the preset allocation object set use a financial account with the same attributes, whether the credit rating of the financial account of the resource receiving object is good, whether the resource receiving object has obtained a license (such as the license of the collective to which it belongs or the license of the commercial platform, etc.). Further, when the attribute information of the resource receiving object matches the preset receiving object verification rules, the step of "establishing an allocation relationship between the preset allocation object set and the resource receiving object based on the identifier of the resource receiving object" is executed, and a feedback message of "establishment successful" is sent; when the attribute information of the resource receiving object does not match the preset receiving object verification rules, a feedback message of "establishment failed" is sent, as shown in the following table:

[0138]

[0139] 104. Receive a resource allocation request from a target resource allocation object.

[0140] The target resource allocation object is an object that has been classified into a corresponding preset allocation object set, and the target resource receiving object has established an allocation relationship with the preset allocation object set, that is, there is an allocation relationship between the target resource allocation object and the target resource receiving object.

[0141] When the target resource allocation object has a resource allocation demand, a resource allocation request can be generated and sent to the server so that the server responds to the resource allocation request, wherein the resource allocation request carries the target business type information and the identifier of the target resource receiving object. For example, taking the brand A store in the e-commerce platform as the resource allocation object, when an order is generated, the partners involved in the order are advertisers and logistics providers. Therefore, the store has a fund splitting demand and needs to allocate part of the profit of the order to the advertisers and logistics providers. Therefore, when generating a resource allocation request, the store can use brand A as the business type information and the identifier of the advertiser and the identifier of the logistics provider as the identifier of the resource receiving object to generate the corresponding resource allocation request.

[0142] In order to realize resource allocation, this embodiment receives a resource allocation request of a target resource allocation object, and obtains the target business type information and the identifier of the target resource receiving object in the resource allocation request, so as to subsequently allocate the virtual resources of the target resource allocation object to the corresponding target resource receiving object, thereby improving the accuracy of resource allocation.

[0143] 105. Match the corresponding target preset allocation object set according to the target business type information, and allocate the virtual resource to the target resource receiving object based on the allocation relationship between the target preset allocation object set and the target resource receiving object.

[0144] In order to obtain the allocation relationship between the target resource allocation object and the target resource receiving object, this embodiment matches the corresponding business type information tag according to the target business type information of the target resource allocation object to find the target preset allocation object set corresponding to the matched business type information tag; according to the identifier of the target resource receiving object, the allocation relationship between the target preset allocation object set and the target resource receiving object is obtained; based on the obtained allocation relationship, the virtual resources of the target resource allocation object are allocated to the target resource receiving object.

[0145] In some embodiments, "obtaining the allocation relationship between the target preset resource allocation object set and the target resource receiving object based on the identifier of the target resource receiving object" may include: searching for a target allocation relationship list corresponding to the target preset allocation object set based on the identifier of the target resource receiving object to obtain the allocation relationship between the target preset allocation object set and the target resource receiving object in the target allocation relationship list; and determining the allocation relationship between the target preset resource allocation object set and the target resource receiving object as the allocation relationship between the target preset resource allocation object and the target resource receiving object.

[0146] In some embodiments, "obtaining the allocation relationship between the preset resource allocation object set and the target resource receiving object based on the identifier of the target resource receiving object" may include: matching the target preset receiving object set based on the identifier of the target resource receiving object to obtain the allocation relationship between the target preset receiving object set and the target preset allocation object set; determining the allocation relationship between the target preset receiving object set and the target preset allocation object set as the allocation relationship between the target preset resource allocation object and the target resource receiving object.

[0147] It should be noted that, in the related art, when managing the allocation relationship between resource allocation objects and resource receiving objects, each resource allocation object needs to establish an allocation relationship with a different resource receiving object respectively, and a large amount of allocation relationship information will occupy a large amount of system resources, and the one-to-one approach is not conducive to the subsequent maintenance of the allocation relationship, resulting in low management efficiency. Compared with this related art, the embodiment of the present application can match the corresponding preset allocation object set according to the business type information of the resource allocation object to be established with the allocation relationship, so as to classify the resource allocation object, such as adding the identifier of the resource allocation object to the matched preset allocation object set; further, by establishing an allocation relationship between the preset allocation object set and the corresponding resource receiving object, the allocation relationship is used as the allocation relationship between the resource allocation object and the resource receiving object, and virtual resource allocation is performed based on the allocation relationship. In this way, by establishing an allocation relationship between a preset allocation object set and multiple resource receiving objects, and adding the resource allocation objects that need to establish an allocation relationship to the corresponding preset allocation object set, it is possible to avoid each resource allocation object from establishing an allocation relationship with different resource receiving objects separately, effectively reducing the allocation relationships that need to be established and the amount of allocation relationship information, and reducing the difficulty of maintaining subsequent allocation relationships, thereby improving the management efficiency of allocation relationship information.

[0148] As can be seen from the above, the embodiment of the present application can collect the business type information of the resource allocation object and the identifier of the resource receiving object; classify the resource allocation object into a corresponding preset allocation object set according to the business type information, the preset allocation object set carries a business type information tag; establish an allocation relationship between the preset allocation object set and the resource receiving object according to the identifier of the resource receiving object; receive a resource allocation request of the target resource allocation object, the resource allocation request carries the target business type information and the identifier of the target resource receiving object; match the corresponding target preset allocation object set according to the target business type information, and allocate virtual resources to the target resource receiving object based on the allocation relationship between the target preset allocation object set and the target resource receiving object. In this way, by allocating the resource allocation object to the preset set, the allocation relationship between the resource allocation object and the resource receiving object is determined according to the allocation relationship between the preset allocation object set and the resource receiving object, thereby avoiding the phenomenon that each resource allocation object needs to establish an allocation relationship with the resource receiving object, effectively reducing the allocation relationships that need to be maintained, reducing the difficulty of managing relationship information, improving the management efficiency of allocation relationship information, and improving the efficiency of virtual resource allocation.

[0149] The method described in the above embodiment will be further described in detail below with examples.

[0150] The embodiment of the present application takes fund allocation as an example to further describe the virtual resource allocation method provided in the embodiment of the present application.

[0151] See also Figure 3 , Figure 3 This is another step flow diagram of the virtual resource allocation method provided in an embodiment of the present application. Figure 4 This is a schematic diagram of an application scenario of the relationship between the preset allocation object set and the resource receiving object provided in an embodiment of the present application. Figure 5 This is a schematic diagram of an application scenario of the account splitting relationship between the preset allocation object set and the preset receiving object set provided in the embodiment of the present application; for ease of understanding, please refer to Figure 3 、 Figure 4 ,as well as Figure 5 , describe the embodiments of the present application.

[0152] In the embodiments of the present application, the virtual resource allocation method will be described from the perspective of a virtual resource allocation device, which can be integrated into a computer device such as a terminal, a server, or the like. When the processors on the terminal and the server jointly execute the program corresponding to the virtual resource allocation method, the specific timing flow corresponding to the virtual resource allocation method is as follows:

[0153] 201. The terminal sends a request to establish a relationship of a resource allocation object to a server.

[0154] The relationship establishment request carries the service type information of the resource allocation object and the identifier of the resource receiving object.

[0155] For example, taking an e-commerce platform as an example, the resource allocation object can be a private individual business owner, a store, etc. in the e-commerce platform. The business type information of the store (resource allocation object) is brand A products, and the resource receiving object can be an advertiser, logistics company, etc. cooperating with the store. The allocation relationship established between the store and the advertiser can be an account sharing relationship.

[0156] For example, to facilitate subsequent fund splitting between a store and an advertiser, the store or e-commerce platform can send a relationship establishment request through a terminal. This relationship establishment request carries the store's business type information, which is Brand A products, and the identifier of the resource recipient, which is the advertiser's identifier (identity information, tag information, coding information, financial account information). This allows the store to split the order funds based on the actual situation when generating an order through this account splitting relationship.

[0157] 202. The server receives a relationship establishment request from a resource allocation object, and collects service type information of the resource allocation object and an identifier of the resource receiving object.

[0158] For example, taking a store in an e-commerce platform as an example of a resource allocation object, and establishing an account-sharing relationship between a store and an advertiser as an example, when a relationship establishment request for a store is received, the business type information of the store and the identifier of the advertiser carried in the relationship request can be obtained to realize the collection of the business type information of the resource allocation object and the identifier of the resource receiving object.

[0159] Furthermore, the store's business type information and advertiser's identifier may be stored in a server database. For example, the server database may pre-store relevant information about stores and advertisers with established assignment relationships, such as the store's business type information and advertiser's identifier. To reduce the subsequent maintenance and management of assignment relationship data, the relationship information between stores and advertisers with established one-to-one assignment relationships can be reorganized. In some embodiments, the business type information and advertiser identifiers of stores with established assignment relationships can be collected from the database for use in subsequent information reorganization.

[0160] 203. The server classifies the resource allocation objects into corresponding preset allocation object sets according to the business type information.

[0161] For example, taking a commercial platform as an example, the resource allocation objects can be the various stores in the commercial platform. A platform information set corresponding to the commercial platform is generated, and the platform information set contains multiple preset allocation object sets corresponding to different business type information tags, such as a store set of brand A (preset allocation object set), a store set of brand B, a store set of brand C, etc. When the collected business type information of a store is brand A products, the identification information, identity information, or financial account information of the couple can be added to the store set of brand A (preset allocation object set) to classify the stores according to their business type information.

[0162] It should be noted that the preset allocation object set can be pre-created by relevant personnel, entrepreneurs, enterprises, and merchants. For example, taking the commercial platform as the platform information set as an example, the target object can be an entrepreneur, merchant, manager, etc. If the target object wants to create a set of brand A products in the platform information set, the target object, as the set master, can set the business type information to brand A product information, brand A label, etc., and submit the target object's license when operating brand A products, the credit rating information of the financial account, and other registration information; when receiving the set establishment request sent by the target object, its registration information is verified. The preset registration information rules involved in the verification include whether it has a license (such as an ICP license or an EDI license), whether it is within the validity period of the license, whether the financial credit rating of the financial account is good, etc. When the verification result is that it meets the preset registration information rules, the preset allocation object set corresponding to brand A is successfully established and a feedback message of "establishment successful" is sent; when the verification result is that it does not meet the preset registration information rules, the preset allocation object set corresponding to brand A is rejected and a feedback message of "establishment failed" is sent, as shown in the following table:

[0163]

[0164] 204. The server matches the identifier of the resource receiving object with the object identifier in the preset receiving object set to obtain a matching result. There is an allocation relationship between the preset receiving object set and the allocation object set.

[0165] To simplify the process of establishing operational relationships, this embodiment can create a preset receiving object set and directly establish an allocation relationship between the preset allocation object set and the preset receiving object set. Furthermore, the identifier of the resource receiving object is added to the preset receiving object set to establish an allocation relationship between the preset allocation object set and the resource receiving object. Furthermore, the allocation relationship between the preset allocation object set and the preset receiving object set is determined as the allocation relationship between the preset allocation object set and the resource receiving object. This simplifies the process of establishing allocation relationships and improves the efficiency of managing allocation relationship information.

[0166] It is understood that only one allocation relationship needs to be established between the preset allocation object set and the preset recipient object set to establish an allocation relationship between the resource allocation objects in the preset allocation object set and the resource recipient objects in the preset recipient object set. This not only simplifies the process of establishing operational relationships, but also further reduces the need to maintain allocation relationships, thereby improving the management efficiency of allocation relationship information.

[0167] For example, taking an e-commerce platform as an example, the resource allocation object can be a store of various business type information in the e-commerce platform, and the identifier of the resource receiving object is the identifier of the advertiser. After the store of brand A product is added to the preset store set of brand A product label, and the preset store set of brand A product label and the preset receiving object set have an account sharing relationship (i.e., an allocation relationship), at this time, it is necessary to determine whether the preset receiving object set contains the identifier of the advertiser. Specifically, the object identifier in the preset receiving object set can be matched according to the identifier of the advertiser to obtain a matching result. The matching result may include the object identifier corresponding to the identifier of the advertiser, or may not include the object identifier corresponding to the identifier of the advertiser.

[0168] For example, Figure 5 As described above, the preset receiving object set includes advertiser B, logistics provider C, agent D, employee E, service provider F, e-commerce platform H, etc. If it is necessary to establish an account-sharing relationship between the store of brand A and advertiser B, the identifier of the store of brand A is added to the preset store set of brand A product label, and the object identifier in the preset receiving object set is matched according to the identifier of advertiser B. Furthermore, since the preset receiving object set already includes the identifier of advertiser B, the corresponding matching result is an object identifier corresponding to the identifier of advertiser B. Since the preset store set of brand A product label and the preset receiving object set have established an allocation relationship, it means that there is an allocation relationship between the store of brand A product and advertiser B.

[0169] Therefore, when establishing a distribution relationship between a store and an advertiser, the advertiser's ID can be matched against the object IDs in the preset receiving object set to determine whether the preset receiving object set contains the advertiser's ID. This allows the store to determine whether a revenue-sharing relationship has already been established between the preset distribution object set and the advertiser. This avoids repeated attempts to establish the same revenue-sharing relationship, improving efficiency.

[0170] 205. The server obtains an allocation relationship between the preset allocation object set and the resource receiving object according to the matching result.

[0171] For example, taking an e-commerce platform as an example, the resource allocation object can be a store of various business type information in the e-commerce platform, such as a store of brand A products, and the identifier of the resource receiving object is the identifier of the advertiser. After matching the preset receiving object set according to the identifier of the advertiser, a matching result is obtained; when the matching result contains an object identifier corresponding to the identifier of the advertiser, the account-sharing relationship between the preset store set of brand A product labels and the preset receiving object set is obtained as the account-sharing relationship between the store of brand A products and the advertiser. When the matching result does not contain an object identifier corresponding to the identifier of the advertiser, the identifier of the advertiser is added to the preset receiving object set to obtain an updated preset receiving object set; and based on the account-sharing relationship between the updated preset receiving object set and the preset store set of brand A product labels, the account-sharing relationship between the store of brand A products and the advertiser is determined.

[0172] For example, taking an e-commerce platform as an example, there are currently 1,000 stores selling brand A products, and the stores selling brand A products serve as the account share investors for each order; and there are 300,000 account share recipients (i.e., resource receiving objects). When 100 account share investors and 1,000 account share recipients are added every day, if an account share relationship is established between each account share investor and all account share recipients, a large number of account share relationships will be established based on the daily new data (account share investors and account share recipients) and the original old data (account share investors and account share recipients), such as the need to create 31 million new account share relationships. However, in the embodiment of the present application, by adding the newly added account share investors to the preset store set of the corresponding brand A product label, the preset store set of the brand A product label can be used to establish account share relationships with the newly added 1,000 account share recipients.

[0173] Furthermore, the account sharing recipients can be classified into corresponding receiving object sets according to the service business type. For example, if there are preset receiving object sets corresponding to 1,000 service business types, 300,000 account sharing recipients can be classified into preset receiving object sets corresponding to 1,000 service business types. At this time, it is only necessary to establish an account sharing relationship between the preset store set of brand A product labels and the preset receiving object sets corresponding to these 1,000 service business types, that is, to establish 1,000 account sharing relationships. When 1,000 new account recipients are added every day, the 1,000 new account recipients are classified into the preset receiving object sets of the corresponding service business types; if the 1,000 new account recipients can all be classified into the preset receiving object sets of the corresponding service business types, since there is already an account relationship between the preset store set of brand A product labels and the preset receiving object sets corresponding to these 1,000 service business types, there is no need to establish an account relationship at this time; if there is no preset receiving object set of the service business type corresponding to the newly added account recipient, a new preset receiving object set of the corresponding service business type is established for the newly added account recipient that cannot be classified, and an account relationship is established between the newly established preset receiving object set and the preset store set of brand A product labels.

[0174] Among them, managing the split-account relationships through the above example method can effectively reduce the split-account relationships. For example, if only the split-account investor set (preset allocation object set) is used as the supply chain split-account relationship, the relationships that need to be maintained will be reduced by 1,000 times; if the combination of the split-account investor set (preset allocation object set) and the split-account receiver set (preset receiving object set) is used as the supply chain split-account relationship, the number of relationships will be reduced by 30,000 times. Specifically, the number of split-account relationships of this e-commerce platform is specifically shown in the following table:

[0175]

[0176]

[0177] To reduce the number of operations required to establish an allocation relationship between a preset set of allocation objects and a resource recipient, this embodiment, when establishing an allocation relationship between a preset set of allocation objects and a resource recipient, determines based on a matching result whether the preset recipient set contains the identifier of the resource recipient to be established, and then proceeds to perform the associated "establishing an allocation relationship between the preset set of allocation objects and the resource recipient." This prevents repeated addition of the same resource recipient identifier to the preset recipient set, effectively preventing confusion or errors during subsequent resource allocation, such as duplicate resource allocation. This approach not only simplifies the process of establishing allocation relationships, further reducing the need to maintain these relationships, but also improves the accuracy and reliability of subsequent resource allocation.

[0178] 206. The terminal sends a resource allocation request of the target resource allocation object to the server.

[0179] The target resource allocation object is an object that has been classified into a corresponding preset allocation object set, and the target resource receiving object has established an allocation relationship with the preset allocation object set, that is, there is an allocation relationship between the target resource allocation object and the target resource receiving object.

[0180] For example, taking an e-commerce platform as an example, the target resource allocation object is a store of brand A products, which has been added to the preset store set of brand A product labels; the target resource receiving object is advertiser B, and the identifier of advertiser B has been added to the preset receiving object set; there is an account-sharing relationship between the preset store set of brand A product labels and the preset receiving object set. When the store of brand A products generates an order for brand A products, it is necessary to share the account with advertiser B who participated in the order of brand A products. At this time, the merchant of the store of brand A products can generate a resource allocation request through the terminal and send it to the server, wherein the resource allocation request carries brand A product information (business type information) and advertiser B identifier (identifier of the target resource receiving object). This is to facilitate the subsequent allocation of the virtual resources of the target resource allocation object to the corresponding target resource receiving object, thereby improving the accuracy of resource allocation.

[0181] 207. The server receives the resource allocation request of the target resource allocation object, and obtains the service type information of the target resource allocation object and the identifier of the target resource receiving object in the resource allocation request.

[0182] After a merchant of a store selling brand A merchandise may send a resource allocation request through a terminal, the server receives the resource allocation request sent by the terminal to obtain business type information of a target resource allocation object and an identifier of a target resource receiving object in the resource allocation request.

[0183] 208. The server matches the target service type information of the target resource allocation object with the corresponding service type information tag to find a target preset allocation object set corresponding to the matched service type information tag.

[0184] For example, in order to obtain the revenue sharing relationship between a store of brand A product and an advertiser, this embodiment matches the brand A product information of the store with the corresponding business type information tag as the target preset store set of brand A product tags.

[0185] 209. The server obtains an allocation relationship between the target preset allocation object set and the target resource receiving object according to the identifier of the target resource receiving object.

[0186] For example, on an e-commerce platform, the target resource allocation target is a store for brand A, and the target resource recipient is identified by advertiser B. Based on "advertiser B's identifier," the target allocation relationship list corresponding to the target preset store set for brand A's product label is searched to obtain the account-sharing relationship between the target preset store set for brand A's product label and advertiser B in the target allocation relationship list. The obtained account-sharing relationship is then determined as the account-sharing relationship between the store for brand A's product and advertiser B.

[0187] For example, on an e-commerce platform, the target resource allocation object is a store for brand A, and the target resource recipient is identified by advertiser B. The target preset recipient set is matched against advertiser B's identifier to obtain a revenue sharing relationship between the target preset recipient set and the preset store set for brand A. This revenue sharing relationship is then determined as a revenue sharing relationship between the store for brand A and advertiser B.

[0188] 210. The server allocates the virtual resources of the target resource allocation object to the target resource receiving object based on the acquired allocation relationship.

[0189] For example, taking an e-commerce platform as an example, the target resource allocation object is a store selling brand A products, and the target resource receiving object is advertiser B. The funds from brand A product orders are used as virtual resources. The server can then allocate the funds from brand A product orders from the store selling brand A products to advertiser B based on the determined account-sharing relationship between the store selling brand A products and advertiser B.

[0190] Among them, in the process of allocating virtual resources, it can be done according to the allocation ratio set by the target resource allocation object. For example, when the funds of the brand A product order of the brand A product store are allocated to the advertiser B, it can be done according to the set order fund allocation rules. For example, the order fund allocation rules can be "the order allocation ratio is 30%", "when the order amount is less than the low price threshold, the maximum allocation amount does not exceed the order amount", etc.; if the order transaction amount of the brand A product is 100 yuan, and the low price threshold of the brand A product is 20 yuan, then 30% of the order transaction amount will be allocated to the advertiser B; for example, if the order transaction amount of the brand A product is 19 yuan, and the low price threshold of the brand A product is 20 yuan, then the maximum allocation amount of the order will not exceed 19 yuan. The above is only an example, and this embodiment does not specifically limit the allocation ratio in the supply chain.

[0191] As can be seen from the above, the embodiment of the present application can collect the business type information of the resource allocation object and the identifier of the resource receiving object; classify the resource allocation object into a corresponding preset allocation object set according to the business type information, the preset allocation object set carries a business type information tag; establish an allocation relationship between the preset allocation object set and the resource receiving object according to the identifier of the resource receiving object; receive a resource allocation request of the target resource allocation object, the resource allocation request carries the target business type information and the identifier of the target resource receiving object; match the corresponding target preset allocation object set according to the target business type information, and allocate virtual resources to the target resource receiving object based on the allocation relationship between the target preset allocation object set and the target resource receiving object. In this way, by allocating the resource allocation object to the preset set, the allocation relationship between the resource allocation object and the resource receiving object is determined according to the allocation relationship between the preset allocation object set and the resource receiving object, thereby avoiding the phenomenon that each resource allocation object needs to establish an allocation relationship with the resource receiving object, effectively reducing the allocation relationships that need to be maintained, reducing the difficulty of managing relationship information, improving the management efficiency of allocation relationship information, and improving the efficiency of virtual resource allocation.

[0192] The specific implementation of the above operations can be found in the previous embodiments and will not be described in detail here.

[0193] In order to better implement the above method, an embodiment of the present application further provides a virtual resource allocation device, which can be integrated into a computer device, such as a server or a terminal.

[0194] For example, Figure 6 As shown, the virtual resource allocation device may include a collecting unit 301 , a classifying unit 302 , a establishing unit 303 , a receiving unit 304 and an allocating unit 305 .

[0195] A collection unit 301 is used to collect service type information of a resource allocation object and an identifier of a resource receiving object;

[0196] A classification unit 302 is configured to classify resource allocation objects into corresponding preset allocation object sets according to the service type information, wherein the preset allocation object set carries a service type information tag;

[0197] An establishing unit 303 is configured to establish an allocation relationship between a preset allocation object set and the resource receiving object according to an identifier of the resource receiving object;

[0198] A receiving unit 304 is configured to receive a resource allocation request from a target resource allocation object, where the resource allocation request carries target service type information and an identifier of the target resource receiving object;

[0199] The allocating unit 305 is configured to match the target preset allocation object set with the target service type information, and allocate the virtual resource to the target resource receiving object based on the allocation relationship between the target preset allocation object set and the target resource receiving object.

[0200] In some embodiments, the establishing unit 303 is further configured to:

[0201] Searching an allocation relationship list according to the identifier of the resource receiving object, the allocation relationship list including the allocation relationship between the preset allocation object set and the resource receiving object;

[0202] When an allocation relationship between the preset allocation object set and the resource receiving object is found, the established allocation relationship is determined as the allocation relationship between the preset allocation object set and the resource receiving object;

[0203] When the allocation relationship between the preset allocation object set and the resource receiving object cannot be found, an allocation relationship between the preset allocation object set and the resource receiving object is established, and the resource receiving object with the established allocation relationship is updated to the allocation relationship list.

[0204] In some embodiments, the establishing unit 303 is further configured to:

[0205] Get the identifier of the preset allocation object set;

[0206] Binding the identifier of the preset allocation object set with the identifier of the resource receiving object to obtain a target identifier pair with an allocation relationship;

[0207] The allocation relationship between the preset allocation object set and the resource receiving object is determined according to the target identification pair.

[0208] In some embodiments, the establishing unit 303 is further configured to:

[0209] Matching the object identifiers in the preset receiving object set according to the identifiers of the resource receiving object to obtain a matching result, wherein an allocation relationship exists between the preset receiving object set and the allocation object set;

[0210] According to the matching result, the allocation relationship between the preset allocation object set and the resource receiving object is obtained.

[0211] In some embodiments, the establishing unit 303 is further configured to:

[0212] When the matching result includes an object identifier corresponding to the identifier of the resource receiving object, obtaining an allocation relationship between the preset receiving object set and the preset allocation object set;

[0213] When the matching result does not include the object identifier corresponding to the identifier of the resource receiving object, the identifier of the resource receiving object is added to the preset receiving object set to obtain an updated preset receiving object set;

[0214] Based on the updated allocation relationship between the preset receiving object set and the preset allocation object set, an allocation relationship between the preset allocation object set and the resource receiving object is obtained.

[0215] In some embodiments, the classification unit 302 is further configured to:

[0216] Search the business type information list for the business type information to obtain a set of preset allocation objects corresponding to the business type information label;

[0217] Categorize resource allocation objects into preset allocation object sets.

[0218] In some embodiments, the virtual resource allocation apparatus further comprises:

[0219] The receiving object verification unit is used to obtain the attribute information corresponding to the identifier of the resource receiving object; verify the attribute information of the resource receiving object according to the preset receiving object verification rule to obtain the verification result;

[0220] The establishing unit 303 is further configured to establish an allocation relationship between the preset allocation object set and the resource receiving object according to the identifier of the resource receiving object if the verification result shows that the attribute information matches the preset receiving object verification rule.

[0221] In some embodiments, the virtual resource allocation apparatus further comprises:

[0222] An allocation object verification unit, configured to match a target object identifier in a preset allocation object set corresponding to each business information type according to the identifier of the resource allocation object;

[0223] The classification unit 302 is further configured to classify the resource allocation object into a corresponding preset allocation object set according to the service type information when no target object identifier is found corresponding to the identifier of the resource allocation object.

[0224] In some embodiments, the virtual resource allocation apparatus further includes: a set establishing unit, specifically configured to:

[0225] Receive a set establishment request sent by the target object, where the set establishment request carries service type information and registration information of the allocation object set to be established;

[0226] Verify registration information;

[0227] When the registration information complies with the preset registration information rule, a corresponding preset allocation object set is established according to the business type information of the allocation object set to be established.

[0228] As can be seen from the above, in the embodiment of the present application, the business type information of the resource allocation object and the identifier of the resource receiving object can be collected by the collection unit 301; the resource allocation object can be classified into a corresponding preset allocation object set according to the business type information by the classification unit 302, and the preset allocation object set carries a business type information tag; the allocation relationship between the preset allocation object set and the resource receiving object can be established by the establishment unit 303 according to the identifier of the resource receiving object; the resource allocation request of the target resource allocation object can be received by the receiving unit 304, and the resource allocation request carries the target business type information and the identifier of the target resource receiving object; the virtual resource can be allocated to the target resource receiving object based on the allocation relationship between the target preset allocation object set and the target resource receiving object by the allocation unit 305. In this way, by allocating the resource allocation object to the preset set, the allocation relationship between the resource allocation object and the resource receiving object is determined based on the allocation relationship between the preset allocation object set and the resource receiving object, thereby avoiding the phenomenon that each resource allocation object needs to establish an allocation relationship with the resource receiving object, effectively reducing the allocation relationships that need to be maintained, reducing the difficulty of managing relationship information, improving the management efficiency of allocation relationship information, and improving the efficiency of virtual resource allocation.

[0229] The present application also provides a computer device, such as Figure 7 , which shows a schematic diagram of the structure of the computer device involved in the embodiment of the present application, specifically:

[0230] The computer device may include one or more processing core processors 401, one or more computer readable storage media memories 402, a power supply 403, an input unit 404 and other components. Those skilled in the art will understand that Figure 7The computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently.

[0231] Processor 401 is the control center of the computer device. It connects the various components of the entire computer device using various interfaces and lines. By running or executing software programs and / or modules stored in memory 402 and accessing data stored in memory 402, it performs various functions of the computer device and processes data, thereby providing overall monitoring of the computer device. Optionally, processor 401 may include one or more processing cores; preferably, processor 401 may integrate an application processor and a modem processor, wherein the application processor primarily processes the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into processor 401.

[0232] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and virtual resource allocation by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application required for a function (such as a sound playback function, an image playback function, etc.); the data storage area may store data created based on the use of the computer device, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.

[0233] The computer device also includes a power supply 403 for supplying power to various components. Preferably, the power supply 403 can be logically connected to the processor 401 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The power supply 403 can also include one or more DC or AC power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and other arbitrary components.

[0234] The computer device may further include an input unit 404, which may be configured to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0235] Although not shown, the computer device may further include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 401 in the computer device will load the executable files corresponding to one or more application processes into the memory 402 according to the following instructions, and the processor 401 will run the application stored in the memory 402 to implement various functions as follows:

[0236] Collect the business type information of the resource allocation object and the identifier of the resource receiving object; classify the resource allocation object into a corresponding preset allocation object set according to the business type information, and the preset allocation object set carries a business type information tag; establish an allocation relationship between the preset allocation object set and the resource receiving object according to the identifier of the resource receiving object; receive a resource allocation request from the target resource allocation object, and the resource allocation request carries the target business type information and the identifier of the target resource receiving object; match the corresponding target preset allocation object set according to the target business type information, and allocate virtual resources to the target resource receiving object based on the allocation relationship between the target preset allocation object set and the target resource receiving object.

[0237] The specific implementation of the above operations can be found in the previous embodiments and will not be described in detail here.

[0238] As can be seen from the above, the embodiment of the present application can collect the business type information of the resource allocation object and the identifier of the resource receiving object; classify the resource allocation object into a corresponding preset allocation object set according to the business type information, the preset allocation object set carries a business type information tag; establish an allocation relationship between the preset allocation object set and the resource receiving object according to the identifier of the resource receiving object; receive a resource allocation request of the target resource allocation object, the resource allocation request carries the target business type information and the identifier of the target resource receiving object; match the corresponding target preset allocation object set according to the target business type information, and allocate virtual resources to the target resource receiving object based on the allocation relationship between the target preset allocation object set and the target resource receiving object. In this way, by allocating the resource allocation object to the preset set, the allocation relationship between the resource allocation object and the resource receiving object is determined according to the allocation relationship between the preset allocation object set and the resource receiving object, thereby avoiding the phenomenon that each resource allocation object needs to establish an allocation relationship with the resource receiving object, effectively reducing the allocation relationships that need to be maintained, reducing the difficulty of managing relationship information, improving the management efficiency of allocation relationship information, and improving the efficiency of virtual resource allocation.

[0239] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be accomplished by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0240] To this end, an embodiment of the present application provides a computer-readable storage medium storing a plurality of instructions that can be loaded by a processor to execute the steps of any of the virtual resource allocation methods provided in the embodiments of the present application. For example, the instructions can execute the following steps:

[0241] Collect the business type information of the resource allocation object and the identifier of the resource receiving object; classify the resource allocation object into a corresponding preset allocation object set according to the business type information, and the preset allocation object set carries a business type information tag; establish an allocation relationship between the preset allocation object set and the resource receiving object according to the identifier of the resource receiving object; receive a resource allocation request from the target resource allocation object, and the resource allocation request carries the target business type information and the identifier of the target resource receiving object; match the corresponding target preset allocation object set according to the target business type information, and allocate virtual resources to the target resource receiving object based on the allocation relationship between the target preset allocation object set and the target resource receiving object.

[0242] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.

[0243] The computer-readable storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0244] The present application also provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the virtual resource allocation method provided in various optional implementations of the above embodiments.

[0245] Since the instructions stored in the computer-readable storage medium can execute the steps in any virtual resource allocation method provided in the embodiments of the present application, the beneficial effects that can be achieved by any virtual resource allocation method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0246] The above is a detailed introduction to a virtual resource allocation method, device, equipment and computer-readable storage medium provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, based on the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A virtual resource allocation method, characterized in that: include: Collecting business type information of resource allocation objects and identification of resource receiving objects; Classifying the resource allocation objects into corresponding preset allocation object sets according to the service type information, wherein the preset allocation object sets carry service type information tags; establishing an allocation relationship between the preset allocation object set and the resource receiving object according to the identifier of the resource receiving object; receiving a resource allocation request from a target resource allocation object, wherein the resource allocation request carries target service type information and an identifier of the target resource receiving object; A corresponding target preset allocation object set is matched according to the target service type information, and based on an allocation relationship between the target preset allocation object set and the target resource receiving object, the virtual resource is allocated to the target resource receiving object.

2. The method according to claim 1, characterized in that The establishing, according to the identifier of the resource receiving object, an allocation relationship between the preset allocation object set and the resource receiving object includes: Searching an allocation relationship list according to the identifier of the resource receiving object, wherein the allocation relationship list includes an allocation relationship between a preset allocation object set and the resource receiving object; When an allocation relationship between a preset allocation object set and a resource receiving object is found, determining the established allocation relationship as the allocation relationship between the preset allocation object set and the resource receiving object; When the allocation relationship between the preset allocation object set and the resource receiving object cannot be found, an allocation relationship between the preset allocation object set and the resource receiving object is established, and the resource receiving object with the established allocation relationship is updated to the allocation relationship list.

3. The method according to claim 2, characterized in that The establishing of the allocation relationship between the preset allocation object set and the resource receiving object includes: Obtaining an identifier of the preset allocation object set; Binding the identifier of the preset allocation object set with the identifier of the resource receiving object to obtain a target identifier pair having an allocation relationship; An allocation relationship between the preset allocation object set and the resource receiving object is determined according to the target identifier pair.

4. The method according to claim 1, wherein The establishing, according to the identifier of the resource receiving object, an allocation relationship between the preset allocation object set and the resource receiving object includes: Matching the object identifiers in the preset receiving object set according to the identifier of the resource receiving object to obtain a matching result, wherein the preset receiving object set has an allocation relationship with the allocation object set; According to the matching result, an allocation relationship between the preset allocation object set and the resource receiving object is obtained.

5. The method according to claim 4, characterized in that The acquiring, according to the matching result, an allocation relationship between the preset allocation object set and the resource receiving object, includes: When the matching result includes the object identifier corresponding to the identifier of the resource receiving object, obtaining an allocation relationship between the preset receiving object set and the preset allocation object set; When the matching result does not include the object identifier corresponding to the identifier of the resource receiving object, adding the identifier of the resource receiving object to the preset receiving object set to obtain an updated preset receiving object set; Based on the updated allocation relationship between the preset receiving object set and the preset allocation object set, an allocation relationship between the preset allocation object set and the resource receiving object is obtained.

6. The method according to claim 1, wherein The classifying the resource allocation objects into corresponding preset allocation object sets according to the service type information includes: Searching a list of business type information tags based on the business type information to obtain a set of preset allocation objects corresponding to the business type information tags; The resource allocation objects are classified into a preset allocation object set.

7. The method according to any one of claims 1 to 6, characterized in that The step of establishing an allocation relationship between the preset allocation object set and the resource receiving object according to the identifier of the resource receiving object comprises: Obtaining attribute information corresponding to the identifier of the resource receiving object; Verify the attribute information of the resource receiving object according to a preset receiving object verification rule to obtain a verification result; The establishing, according to the identifier of the resource receiving object, an allocation relationship between the preset allocation object set and the resource receiving object includes: If the verification result is that the attribute information matches the preset receiving object verification rule, an allocation relationship between the preset allocation object set and the resource receiving object is established according to the identifier of the resource receiving object.

8. The method according to claim 1, characterized in that The classifying the resource allocation objects into corresponding preset allocation object sets according to the service type information further includes: Matching the target object identifier in the preset allocation object set corresponding to each business information type according to the identifier of the resource allocation object; The steps of classifying resource allocation objects into corresponding preset allocation object sets according to business type information include: When the target object identifier corresponding to the identifier of the resource allocation object is not matched, the resource allocation object is classified into a corresponding preset allocation object set according to the business type information.

9. The method according to claim 1, characterized in that The classifying the resource allocation objects into corresponding preset allocation object sets according to the service type information further includes: receiving a set establishment request sent by a target object, wherein the set establishment request carries service type information and registration information of a set of distribution objects to be established; Verifying the registration information; When the registration information complies with the preset registration information rule, a corresponding preset allocation object set is established according to the business type information of the allocation object set to be established.

10. A virtual resource allocation device, characterized in that: include: A collection unit, configured to collect service type information of a resource allocation object and an identifier of a resource receiving object; a classification unit, configured to classify the resource allocation object into a corresponding preset allocation object set according to the service type information, wherein the preset allocation object set carries a service type information tag; an establishing unit, configured to establish an allocation relationship between the preset allocation object set and the resource receiving object according to an identifier of the resource receiving object; A receiving unit, configured to receive a resource allocation request from a target resource allocation object, wherein the resource allocation request carries target service type information and an identifier of the target resource receiving object; The allocation unit is configured to match a corresponding target preset allocation object set according to the target business type information, and allocate virtual resources to the target resource receiving object based on an allocation relationship between the target preset allocation object set and the target resource receiving object.

11. The device according to claim 10, characterized in that The establishing unit is further configured to: Searching an allocation relationship list according to the identifier of the resource receiving object, wherein the allocation relationship list includes an allocation relationship between a preset allocation object set and the resource receiving object; When an allocation relationship between a preset allocation object set and a resource receiving object is found, determining the established allocation relationship as the allocation relationship between the preset allocation object set and the resource receiving object; When the allocation relationship between the preset allocation object set and the resource receiving object cannot be found, an allocation relationship between the preset allocation object set and the resource receiving object is established, and the resource receiving object with the established allocation relationship is updated to the allocation relationship list.

12. The device according to claim 10, characterized in that The establishing unit is further configured to: Matching the object identifiers in the preset receiving object set according to the identifier of the resource receiving object to obtain a matching result, wherein the preset receiving object set has an allocation relationship with the allocation object set; According to the matching result, an allocation relationship between the preset allocation object set and the resource receiving object is obtained.

13. The device according to claim 10, characterized in that Also includes: A set establishment unit, configured to receive a set establishment request sent by a target object, wherein the set establishment request carries service type information and registration information of a set of distribution objects to be established; The registration information is verified; when the registration information complies with the preset registration information rules, a corresponding preset allocation object set is established according to the business type information of the allocation object set to be established.

14. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps in the method according to any one of claims 1 to 9 are implemented.

15. A computer-readable storage medium, characterized in that The computer-readable storage medium is computer-readable and stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor to execute the steps in the virtual resource allocation method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Method and apparatus for settling earning distribution

    CN106447426A

  • Service data processing method and device and server

    CN109614409A