Detailed Description
The present invention is described in further detail below with reference to the attached drawing figures.
Fig. 1 is a flowchart illustrating a method for allocating resources to users according to an embodiment of the present invention.
The method of the embodiment is mainly realized by network equipment; the network device includes, but is not limited to, a single network server, a server group consisting of a plurality of network servers, or a Cloud Computing (Cloud Computing) -based Cloud consisting of a large number of computers or network servers, wherein Cloud Computing is one of distributed Computing, a super virtual computer consisting of a collection of loosely coupled computers; the network in which the network device is located includes, but is not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a VPN network, etc.
It should be noted that the network device and network are only examples, and other existing or future network devices may be suitable for the present invention, and are included in the scope of the present invention and are also included by reference.
The method according to the present embodiment includes step S1, step S2, and step S3.
In step S1, when a resource needs to be allocated to a user, the network device obtains current context information corresponding to the user.
The resources include any objects that can be allocated to the user, such as real-life real money (e.g., RMB, USD, etc.), virtual money in the network (e.g., hundred-degree Baidu, Tencent Q, big-dot, etc.), network coupons, network disk space, real or virtual items that can be traded in the network (e.g., equipment in a game, etc.), and so on.
Wherein the current context information corresponding to the user includes any information related to the context in which the user currently needs to be allocated resources. Preferably, the current scene information includes, but is not limited to:
1) attribute information of the user.
Wherein the attribute information of the user comprises any information related to the attribute of the user; preferably, the attribute information of the user includes, but is not limited to: gender, age, life stage, personal assets, historical purchasing behavior, cumulative amount of consumption, current geographic location, credit rating, etc. of the user.
2) Attribute information of an owner of the resource.
The owner of the resource includes, but is not limited to, a service provider or an individual to which the resource belongs.
Wherein the attribute information of the owner of the resource comprises any information related to the attribute of the owner of the resource; preferably, the attribute information of the owner of the resource includes, but is not limited to: industry categories of owners of resources (e.g., gaming industry, catering industry, communications industry, individuals, etc.), geographic locations, products owned, historical records of transactions with users, and the like.
3) Attribute information of an application scene of the resource.
The application scenario is used to indicate a scenario in which the resource is currently or can be applied, such as a payment scenario, a reading scenario, a game scenario, or a general login scenario.
The attribute information of the application scene comprises any information related to the attribute of the application scene; preferably, the attribute information of the application scenario includes, but is not limited to: time information of the application scene (such as transaction time and the like), resource limit information related to the application scene (such as money amount required to be paid currently and the like), product information related to the application scene (such as product category and the like), types of user equipment used by a user for accessing the application scene (such as a smart phone, a tablet computer, a PC and the like) and the like. For example, the application scenario of the resource is a payment scenario currently accessed by the user, and the attribute information of the application scenario includes: type of product purchased by the user, payment method, payment amount.
It should be noted that the above current context information is only an example and not a limitation of the present invention, and those skilled in the art should understand that any information related to the current context that needs to allocate resources to the user is included in the scope of the current context information described in the present invention.
Wherein the network device may determine that resources need to be allocated for the user in a number of ways. Specifically, the implementation manner in which the network device determines that resources need to be allocated to the user includes, but is not limited to:
1) the network equipment determines that resources need to be allocated to the user according to the resource request information from the user.
For example, the network device receives resource request information from the user device, where the resource request information is used to indicate that the user a requests to allocate resources to the user a, and then the network device determines that the resources need to be allocated to the user a according to the resource request information.
2) The network device determines that the resource needs to be allocated to the user according to the indication information from the owner of the resource.
For example, if the owner of the resource is the service provider P1, the network device obtains the indication information from the service provider P1, and the indication information is used to indicate that the resource is allocated to the user with the first credit level, then the network device determines that the resource needs to be allocated to the user with the first credit level of the service provider P1 according to the indication information.
3) When the current application scene is a preset application scene, the network equipment determines that resources need to be allocated to the user.
For example, the predetermined application scenario includes a payment scenario, and when the current application scenario is the payment scenario, the network device determines that resources need to be allocated to the user corresponding to the payment scenario.
Specifically, when it is determined that resources need to be allocated to a user, the network device obtains current context information corresponding to the user.
As an example, the user a submits an order for purchasing the product D1 and enters a payment scenario, and the network device determines that the resource needs to be allocated to the user a according to the payment scenario, and then the network device obtains attribute information of the user a and attribute information of the payment scenario.
It should be noted that, the above examples are only for better illustrating the technical solutions of the present invention, and not for limiting the present invention, and those skilled in the art should understand that any implementation manner for obtaining the current context information corresponding to the user when the resource needs to be allocated to the user should be included in the scope of the present invention.
In step S2, the network device determines resource allocation information for the user according to the current context information and the resource allocation rule corresponding to the user.
Wherein the resource allocation rule includes any rule to be followed in allocating resources. Preferably, the resource allocation rules include, but are not limited to, mapping rules between users, resource owners, and/or current application scenarios to resources. For example, the resource allocation rules include: the user who accumulates the shopping amount to 1000 yuan subtracts 10 yuan in the current transaction, and the user purchases the product A with APP1 without paying a postage fee, etc.
The resource allocation rule corresponding to the user includes any resource allocation rule applicable to the user, such as a resource allocation rule applicable to all users, a resource allocation rule corresponding to attribute information of the user, a resource allocation rule corresponding to an operation currently performed by the user (e.g., a payment operation, a first order placing operation, etc.), a resource allocation rule corresponding to an object currently transacted by the user, and the like.
The implementation manner of the network device obtaining the resource allocation rule corresponding to the user includes but is not limited to:
1) the network device obtains a resource allocation rule specified by the resource owner.
2) Before step S1, the network device obtains resource data information corresponding to the resource, and determines a resource allocation rule corresponding to the resource according to the resource data information. The implementation will be described in detail in the following embodiments, and will not be described herein.
The resource allocation information includes any information related to resource allocation for the user, such as name or identification information of the resource allocated to the user, allocation manner for the user (e.g., actual currency allocation, virtual currency allocation, actual product allocation, immediate allocation, allocation when the transaction is successful, etc.), resource amount allocated to the user, and the like.
Specifically, the network device determines resource allocation information for the user according to the obtained current scene information and the resource allocation rule corresponding to the user.
As an example, the resource allocation rule is: the resource limit allocated to the user whose cumulative shopping amount is 1000 yuan is 10% of the cumulative consumption amount of the user, and the resource limit allocated to the user whose cumulative shopping amount is 500 yuan is 5% of the cumulative consumption amount of the user; in step S1, when it is necessary to allocate a resource for the user a, the network device obtains attribute information of the user a, the attribute information indicating 1200 m of the accumulated consumption amount of the user a; in step S2, the network device determines resource allocation information for the user a according to the attribute information of the user a and the resource allocation rule, where the resource allocation information indicates that the resource amount allocated for the user a is 120 yuan (1200 yuan by 10%, 120 yuan).
It should be noted that, preferably, one user may apply multiple resource allocation rules, in this case, the implementation manner of determining, by the network device, the resource allocation information for the user according to the current context information and the resource allocation rule corresponding to the user includes but is not limited to:
1) the network device randomly selects one resource allocation rule from a plurality of resource allocation rules corresponding to the user, and determines resource allocation information for the user according to the current scene information and the selected resource allocation rule.
2) The network equipment determines a resource allocation rule corresponding to the current scene information according to the current scene information and the resource allocation rule corresponding to the user; then, the network device determines resource allocation information for the user according to a resource allocation rule corresponding to the current scene information.
The network device may determine the resource allocation rule corresponding to the current scene information in multiple ways according to the current scene information and the resource allocation rule corresponding to the user. For example, the network device selects a resource allocation rule which is applicable to the current application scenario and has the highest priority from a plurality of resource allocation rules corresponding to the user according to the current scenario information; for another example, the network device selects, according to the current context information, a resource allocation rule that can allocate the most resources to the user in the current context from a plurality of resource allocation rules corresponding to the user, as a resource allocation rule corresponding to the context information; for another example, the network device selects a resource allocation rule specific to the current application scenario from a plurality of resource allocation rules corresponding to the user (if the current application scenario is a payment scenario, the network device selects a resource allocation rule specific to the payment scenario from the plurality of resource allocation rules).
The network device may determine resource allocation information for the user in multiple ways according to a resource allocation rule corresponding to the current context information. For example, when the resource allocation rule corresponding to the current scenario information directly indicates the resource and the allocation quota that need to be allocated to the user, the network device directly determines the resource allocation information for the user according to the resource allocation rule; for another example, when the resource allocation rule corresponding to the current context information is used to indicate a mapping rule between the payment amount and the allocation amount of the resource, the network device determines the resource allocation information for the user according to the payment amount included in the current context information and the mapping rule.
It should be noted that, the foregoing examples are only for better illustrating the technical solutions of the present invention, and are not limiting to the present invention, and those skilled in the art should understand that any implementation manner for determining the resource allocation information for the user according to the current context information and the resource allocation rule corresponding to the user should be included in the scope of the present invention.
As a preferable solution, the method of the present embodiment further includes the following steps performed after step S2: and when the determined resource allocation information does not meet the preset allocation condition, the network equipment updates the resource allocation information according to the preset allocation condition.
Wherein the predetermined allocation condition comprises any predetermined condition for resource allocation. Preferably, the predetermined dispensing conditions include, but are not limited to:
1) the resource quota indicated by the resource allocation information is less than the allocation threshold.
Wherein, the allocation threshold is used for indicating the maximum resource limit which can be allocated at a single time; it should be noted that any object related to a resource (e.g., the resource itself, the product for which the resource is used, the owner of the resource, the application scenario of the resource, etc.) may have an allocation threshold corresponding to the object. For example, the distribution threshold value corresponding to the actual currency "Renminbi" is 50 yuan, and the distribution threshold value corresponding to the product D1 is 10 yuan;
2) the sum of the resource quota indicated by the resource allocation information and the currently allocated resource quota is less than the resource quota.
Wherein, the currently allocated resource quota, that is, the currently accumulated allocated resource quota. Wherein the total amount of resources is used to indicate a total of resources that can be allocated.
3) The allocation mode indicated by the resource allocation information is a predetermined allocation mode corresponding to the user.
The predetermined distribution mode includes any predetermined distribution mode, such as actual currency distribution, virtual currency distribution, actual product distribution and the like.
The network equipment can determine a preset distribution mode corresponding to the user in various modes; for example, the network device determines a predetermined allocation manner corresponding to a user according to a selection operation from the user; for another example, the network device determines a predetermined allocation method or the like corresponding to the user from the historical allocation record of the user.
It should be noted that the above-mentioned predetermined allocation condition is only an example and not a limitation of the present invention, and those skilled in the art should understand that any predetermined condition for resource allocation is included in the scope of the predetermined allocation condition of the present invention.
As an example of the preferred embodiment, the predetermined allocation condition includes that the resource quota indicated by the resource allocation information is less than the allocation threshold value by 30 yuan; and if the resource quota indicated by the currently determined resource allocation information is 50 yuan, and the network equipment determines that the resource allocation information does not meet the preset allocation condition, the network equipment updates the resource allocation information according to the preset allocation condition, wherein the resource quota indicated by the updated resource allocation information is 30 yuan.
As another example of the preferred embodiment, the predetermined allocation condition includes that the sum of the resource quota indicated by the resource allocation information and the currently allocated resource quota is less than 1000 yuan; the resource quota indicated by the currently determined resource allocation information is 50 yuan, the network device determines that the resource allocation information does not satisfy the predetermined allocation condition (50+980>1000 yuan) according to the currently allocated resource quota being 980 yuan, the network device updates the resource allocation information according to the predetermined allocation condition, and the resource quota indicated by the updated resource allocation information is 20 yuan (1000 +980 ═ 20 yuan).
As still another example of the preferred embodiment, the predetermined allocation condition includes that the allocation manner indicated by the resource allocation information is product allocation; the allocation mode indicated by the currently determined resource allocation information is money allocation, the allocation quota is 50 yuan, the network equipment determines that the resource allocation information does not meet the preset allocation condition, the network equipment updates the resource allocation information according to the preset allocation condition, and the updated resource allocation information indicates that a product with a value of 50 yuan is allocated to the user according to the allocation mode of product allocation.
It should be noted that, the above examples are only for better illustrating the technical solutions of the present invention, and not for limiting the present invention, and those skilled in the art should understand that any implementation manner of updating the resource allocation information according to the predetermined allocation condition when the determined resource allocation information does not satisfy the predetermined allocation condition should be included in the scope of the present invention.
In step S3, the network device performs a resource allocation operation for the user according to the resource allocation information.
For example, in step S2, the network device determines resource allocation information for user a indicating that the resource allocated for the user is gaming equipment E1; the network device allocates the game apparatus E1 to the user a according to the resource allocation information in step S3.
As a preferable solution of this embodiment, the method of this embodiment further includes step S6 and step S7.
In step S6, the network device obtains feedback information corresponding to the resource allocation operation.
Wherein the feedback information comprises information fed back for the resource allocation operation; preferably, the feedback information includes, but is not limited to: identification information of the user, evaluation information of the user on the resource allocation operation, and use condition information (such as use time, used resource amount, etc.) of the resource allocated by the user on the resource allocation operation
As one example, the network device obtains feedback information from the user device corresponding to a resource allocation operation for user a, the feedback information indicating that user a immediately uses the resource allocated to the user by the resource allocation operation.
In step S7, the network device updates the resource allocation rule according to the feedback information.
For example, in step S6, the network device obtains feedback information corresponding to the resource allocation operation for the user a from the user device, the feedback information indicating that the user a immediately uses the resource allocated to the user by the resource allocation operation; in step S7, the network device updates the resource allocation rule for the user according to the feedback information, and the resource quota allocated in the updated resource allocation rule is increased.
As a preferable scheme of step S7, the network device updates the resource allocation rule according to the feedback information for the plurality of users.
The network device may update the resource allocation rule in various ways according to the feedback information for the plurality of users. For example, every predetermined time length, the network device updates the resource allocation rule according to the feedback information obtained within the predetermined time length; for another example, if the resource allocation rule is only for users with a first credit level, the network device updates the resource allocation rule according to a predetermined number of feedback information when the network device has obtained the predetermined number of feedback information of users with a first credit level.
As a specific example of the preferred scheme, the current resource allocation rule includes: the resource quota allocated to the user over 50 years old is 20 yuan; the network device determines, according to the feedback information for a plurality of users over 50 years old, that 95% of the users in the plurality of users do not use the resource allocated by the network device, and then the network device updates the resource allocation rule according to the feedback information, where the updated resource allocation rule includes: the resource quota allocated to the user over 50 years old is 10 yuan.
It should be noted that, the above examples are only for better illustrating the technical solutions of the present invention, and not for limiting the present invention, and those skilled in the art should understand that any implementation manner of updating the resource allocation rule according to the feedback information should be included in the scope of the present invention.
According to the scheme of the embodiment, the resource allocation information for the user can be determined in real time according to the current scene information corresponding to the user, that is, a targeted allocation scheme can be specially provided for each user, and for the same user, the allocation scheme for the current scene can be provided for the user in different scenes, so that the method has strong pertinence, instantaneity and flexibility; in the process of determining the resource allocation information for the user, various factors such as the user, the resource owner, the application scene of the resource and the like are considered, so that the determined resource allocation information is more accurate, and the maximum benefit can be provided for the user; when the determined resource allocation information does not meet the preset allocation condition, the resource allocation information can be updated according to the preset allocation condition, so that the resource allocation information is further optimized, the optimized resource allocation information is more in line with the requirements of users, and meanwhile, the loss of resource owners can be avoided; the resource allocation rule can be updated according to the feedback information corresponding to the resource allocation operation, so that the updated resource allocation rule can be determined to meet the requirements of both the owner and the user of the resource better, the updating is real-time, the resource allocation rule can be adjusted in real time according to the actual condition, and the flexibility is high.
Fig. 2 is a flowchart illustrating another exemplary method for allocating resources to users according to the present invention. The method of the embodiment is mainly implemented by the network device, and any description of the network device in the embodiment shown in fig. 1 is incorporated by reference herein.
The method according to the present embodiment includes step S1, step S2, step S3, step S4, and step S5. The steps S1, S2 and S3 are already described in detail with reference to the embodiment shown in fig. 1, and are not described herein again.
It should be noted that the steps S4 and S5 are executed before the step S1.
In step S4, the network device obtains resource data information corresponding to the resource.
Wherein the resource data information comprises any data information obtained for a resource; preferably, the resource data information includes but is not limited to:
1) and testing data information.
Wherein the test data information includes any data information obtained by testing the resource. Preferably, the test data information includes, but is not limited to: the total number of tested users, the test result of each user, the data information (such as transaction success rate) obtained by statistics based on the test result of each user, and the like.
The network device may obtain the test data information in a plurality of ways. For example, the network device obtains test data information for the resource from other devices. As another example, the network device performs a test for the resource and obtains test data information for the resource.
2) Empirical data information.
The experience data information comprises any data information which is obtained based on historical experience and aims at the resource, such as influence factors and influence degrees of the resource; preferably, the empirical data information includes, but is not limited to: empirical data information corresponding to an owner of the resource, empirical data information corresponding to an industry type of the owner of the resource, empirical data information corresponding to a product to which the resource applies, empirical data information corresponding to a product type to which the product to which the resource applies, and the like.
The network equipment can obtain the experience data information in a plurality of ways; for example, the network device obtains the experience data information specified by the owner of the resource; as another example, the network device obtains empirical data information for the resource from other devices.
It should be noted that the above-mentioned resource data information is only an example and not a limitation of the present invention, and those skilled in the art should understand that any data information obtained for the resource should be included in the scope of the resource data information described in the present invention.
Preferably, the resource data information includes test data information, and the step S4 further includes a step S41 and a step S42.
In step S41, for each of the plurality of allocation credit lines of the resource, the network device obtains test data information corresponding to the allocation credit line.
Wherein the allocated quota user indicates a resource quota allocated for the user. For example, if the current transaction amount of the user is 20 dollars and the allocation credit is 1 dollar, the actual delivery amount of the user is 19 dollars (20 dollars-1 dollars is 19 dollars) when the test is performed based on the allocation credit.
As an example, the resource is rmb, and the following three allocated credits are set for the resource: 1-membered, 2-membered, 3-membered; the network equipment obtains test data information Info1 when the allocation quota is 1 element, test data information 2 when the allocation quota is 2 elements, and test data information Info3 when the allocation quota is 3 elements.
In step S42, the network device determines all the test data information obtained for the plurality of allocation amounts as the resource data information corresponding to the resource.
For example, the resource is RMB, and the following three allocation limits are set for the resource: 1-membered, 2-membered, 3-membered; in step S41, the network device obtains the test data information Info1 when the allocation amount is 1 element, the test data information Info2 when the allocation amount is 2 elements, and the test data information Info3 when the allocation amount is 3 elements; in step S42, the network device determines Info1, Info2, and Info3 as resource data information corresponding to the resource.
It should be noted that the above examples are only for better illustrating the technical solutions of the present invention, and not for limiting the present invention, and those skilled in the art should understand that any implementation manner for obtaining resource data information corresponding to a resource should be included in the scope of the present invention.
In step S5, the network device determines a resource allocation rule corresponding to the resource according to the resource data information.
As an example, the resource data information includes test data information for the resource, the test data information indicating: the transaction success rate is highest when the allocated amount is 2 yuan between 16:00 and 20: 00; the network device determines a resource allocation rule corresponding to the resource according to the test data information, wherein the resource allocation rule indicates that the allocation quota between 16:00 and 20:00 is 2 yuan.
As another example, the resource is a group purchase ticket, and the resource data information includes experience data information of the resource, which includes a degree of influence of the order placing time on the group purchase ticket; the network device determines a resource allocation rule corresponding to the resource according to the experience data information, wherein the resource allocation rule indicates the allocated group purchase ticket amount for different ordering time.
It should be noted that, the above examples are only for better illustrating the technical solutions of the present invention, and not for limiting the present invention, and those skilled in the art should understand that any implementation manner of determining the resource allocation rule corresponding to the resource according to the resource data information should be included in the scope of the present invention.
According to the scheme of the embodiment, the resource allocation rule corresponding to the resource can be determined according to the resource data information corresponding to the resource, so that the resource allocation rule has data support and can achieve a better allocation effect, and the resource allocation rule can be used as an initial resource allocation rule, so that further optimization can be performed on the basis of the resource allocation rule; the resource allocation rule can be determined by testing a plurality of allocation limit of the resource and based on the test result, and the determination mode is based on the actual test data, so that the requirements and benefits of both the owner and the user of the resource are better met.
Fig. 3 is a schematic structural diagram of an apparatus for allocating resources to users according to an embodiment of the present invention. The apparatus for allocating resources for users (hereinafter referred to as "resource allocation apparatus") comprises first obtaining means 1, first determining means 2 and allocating means 3.
When a resource needs to be allocated to a user, the first obtaining device 1 obtains current scene information corresponding to the user.
The resources include any objects that can be allocated to the user, such as real-life real money (e.g., RMB, USD, etc.), virtual money in the network (e.g., hundred-degree Baidu, Tencent Q, big-dot, etc.), network coupons, network disk space, real or virtual items that can be traded in the network (e.g., equipment in a game, etc.), and so on.
Wherein the current context information corresponding to the user includes any information related to the context in which the user currently needs to be allocated resources. Preferably, the current scene information includes, but is not limited to:
1) attribute information of the user.
Wherein the attribute information of the user comprises any information related to the attribute of the user; preferably, the attribute information of the user includes, but is not limited to: gender, age, life stage, personal assets, historical purchasing behavior, cumulative amount of consumption, current geographic location, credit rating, etc. of the user.
2) Attribute information of an owner of the resource.
The owner of the resource includes, but is not limited to, the service provider or the individual of the resource.
Wherein the attribute information of the owner of the resource comprises any information related to the attribute of the owner of the resource; preferably, the attribute information of the owner of the resource includes, but is not limited to: industry categories of owners of resources (e.g., gaming industry, catering industry, communications industry, individuals, etc.), geographic locations, products owned, historical records of transactions with users, and the like.
3) Attribute information of an application scene of the resource.
The application scenario is used to indicate a scenario in which the resource is currently or can be applied, such as a payment scenario, a reading scenario, a game scenario, or a general login scenario.
The attribute information of the application scene comprises any information related to the attribute of the application scene; preferably, the attribute information of the application scenario includes, but is not limited to: time information of the application scene (such as transaction time and the like), resource limit information related to the application scene (such as money amount required to be paid currently and the like), product information related to the application scene (such as product category and the like), types of user equipment used by a user for accessing the application scene (such as a smart phone, a tablet computer, a PC and the like) and the like. For example, the application scenario of the resource is a payment scenario currently accessed by the user, and the attribute information of the application scenario includes: type of product purchased by the user, payment method, payment amount.
It should be noted that the above current context information is only an example and not a limitation of the present invention, and those skilled in the art should understand that any information related to the current context that needs to allocate resources to the user is included in the scope of the current context information described in the present invention.
Wherein the first obtaining means 1 may determine the need to allocate resources for the user in a number of ways. Specifically, the implementation manner in which the first obtaining apparatus 1 determines that resources need to be allocated to the user includes, but is not limited to:
1) the first obtaining apparatus 1 determines that resources need to be allocated to a user according to resource request information from the user.
For example, the first obtaining apparatus 1 of the network device receives resource request information from the user equipment, where the resource request information is used to indicate that the user a requests to allocate resources to the user a, and then the first obtaining apparatus 1 determines that the resources need to be allocated to the user a according to the resource request information.
2) The first acquisition means 1 determines that the resource needs to be allocated to the user based on the instruction information from the owner of the resource.
For example, if the owner of the resource is the service provider P1, the first acquiring apparatus 1 acquires the instruction information from the service provider P1, the instruction information being used to instruct the allocation of the resource to the user whose credit level is one level, and the first acquiring apparatus 1 determines that the resource needs to be allocated to the user whose credit level is one level of the service provider P1, based on the instruction information.
3) When the current application scenario is a predetermined application scenario, the first obtaining apparatus 1 determines that resources need to be allocated to the user.
For example, if the predetermined application scenario includes a payment scenario, when the current application scenario is the payment scenario, the first obtaining apparatus 1 determines that resources need to be allocated to the user corresponding to the payment scenario.
Specifically, when it is determined that resources need to be allocated to a user, the first obtaining means 1 obtains current scene information corresponding to the user.
As an example, the first user submits an order for purchasing the product D1 and enters a payment scenario, the first obtaining apparatus 1 determines that the first user needs to be allocated with resources according to the payment scenario, and the first obtaining apparatus 1 obtains attribute information of the first user and attribute information of the payment scenario.
It should be noted that, the above examples are only for better illustrating the technical solutions of the present invention, and not for limiting the present invention, and those skilled in the art should understand that any implementation manner for obtaining the current context information corresponding to the user when the resource needs to be allocated to the user should be included in the scope of the present invention.
The first determining device 2 determines the resource allocation information for the user according to the current scene information and the resource allocation rule corresponding to the user.
Wherein the resource allocation rule includes any rule to be followed in allocating resources. Preferably, the resource allocation rule includes, but is not limited to, a mapping rule between a user, a resource owner, or a current application scenario to a resource. For example, the resource allocation rules include: the user who accumulates the shopping amount to 1000 yuan subtracts 10 yuan in the current transaction, and the user purchases the product A with APP1 without paying a postage fee, etc.
The resource allocation rule corresponding to the user includes any resource allocation rule applicable to the user, such as a resource allocation rule applicable to all users, a resource allocation rule corresponding to attribute information of the user, a resource allocation rule corresponding to an operation currently performed by the user (e.g., a payment operation, a first order placing operation, etc.), a resource allocation rule corresponding to an object currently transacted by the user, and the like.
The implementation manner of the first determining device 2 obtaining the resource allocation rule corresponding to the user includes, but is not limited to:
1) the network device obtains a resource allocation rule specified by the resource owner.
2) Before the first obtaining device executes the operation, the network equipment obtains resource data information corresponding to the resource, and determines a resource allocation rule corresponding to the resource according to the resource data information. The implementation will be described in detail in the following embodiments, and will not be described herein.
The resource allocation information includes any information related to resource allocation for the user, such as name or identification information of the resource allocated to the user, allocation manner for the user (e.g., actual currency allocation, virtual currency allocation, actual product allocation, immediate allocation, allocation when the transaction is successful, etc.), resource amount allocated to the user, and the like.
Specifically, the first determination device 2 determines the resource allocation information for the user according to the obtained current scene information and the resource allocation rule corresponding to the user.
As an example, the resource allocation rule is: the resource limit allocated to the user whose cumulative shopping amount is 1000 yuan is 10% of the cumulative consumption amount of the user, and the resource limit allocated to the user whose cumulative shopping amount is 500 yuan is 5% of the cumulative consumption amount of the user; when resources need to be allocated to the user A, the first obtaining device 1 obtains attribute information of the user A, wherein the attribute information indicates 1200 yuan of the accumulated consumption amount of the user A; the first determining device 2 determines resource allocation information for the first user, which indicates that the resource limit allocated to the first user is 120 yuan (1200 yuan by 10% ═ 120 yuan), according to the attribute information of the first user and the resource allocation rule.
It should be noted that, preferably, one user may apply multiple resource allocation rules, in this case, the implementation manner of determining, by the first determining device 2, the resource allocation information for the user according to the current context information and the resource allocation rule corresponding to the user includes but is not limited to:
1) the first determination device 2 randomly selects one resource allocation rule from a plurality of resource allocation rules corresponding to the user, and determines resource allocation information for the user based on the current scenario information and the selected resource allocation rule.
2) The first determining means 2 further comprises second determining means (not shown) and third determining means (not shown). A second determining device determines a resource allocation rule corresponding to the current scene information according to the current scene information and the resource allocation rule corresponding to the user; then, a third determining device determines resource allocation information for the user according to a resource allocation rule corresponding to the current context information.
The second determining device may determine the resource allocation rule corresponding to the current context information in a plurality of ways according to the current context information and the resource allocation rule corresponding to the user. For example, the second determining means selects a resource allocation rule that is applicable to the current application scenario and has the highest priority from among a plurality of resource allocation rules corresponding to the user, according to the current scenario information; for another example, the second determining device selects, as the resource allocation rule corresponding to the scene information, a resource allocation rule that can allocate the most resources to the user in the current scene from among a plurality of resource allocation rules corresponding to the user, according to the current scene information; for another example, the second determination means selects the resource allocation rule specific to the current application scenario from among the plurality of resource allocation rules corresponding to the user (if the current application scenario is the payment scenario, the second determination means selects the resource allocation rule specific to the payment scenario from among the plurality of resource allocation rules).
The third determining device may determine the resource allocation information for the user according to the resource allocation rule corresponding to the current context information in a plurality of ways. For example, when the resource allocation rule corresponding to the current scenario information directly indicates the resource and the allocation limit that need to be allocated to the user, the third determining device determines the resource allocation information for the user directly according to the resource allocation rule; for another example, when the resource allocation rule corresponding to the current scenario information is used to indicate a mapping rule between the payment amount and the allocation amount of the resource, the third determining means determines the resource allocation information for the user according to the payment amount included in the current scenario information and the mapping rule.
It should be noted that, the foregoing examples are only for better illustrating the technical solutions of the present invention, and are not limiting to the present invention, and those skilled in the art should understand that any implementation manner for determining the resource allocation information for the user according to the current context information and the resource allocation rule corresponding to the user should be included in the scope of the present invention.
Preferably, the resource allocation apparatus of the present embodiment further includes a first updating means (not shown) that performs an operation after the first determining means 2. When the determined resource allocation information does not satisfy a predetermined allocation condition, the first updating means updates the resource allocation information according to the predetermined allocation condition.
Wherein the predetermined allocation condition comprises any predetermined condition for resource allocation. Preferably, the predetermined dispensing conditions include, but are not limited to:
1) the resource quota indicated by the resource allocation information is less than the allocation threshold.
Wherein, the allocation threshold is used for indicating the maximum resource limit which can be allocated at a single time; it should be noted that any object related to a resource (e.g., the resource itself, the product for which the resource is used, the owner of the resource, the application scenario of the resource, etc.) may have an allocation threshold corresponding to the object. For example, the distribution threshold value corresponding to the actual currency "Renminbi" is 50 yuan, and the distribution threshold value corresponding to the product D1 is 10 yuan;
2) the sum of the resource quota indicated by the resource allocation information and the currently allocated resource quota is less than the resource quota.
Wherein, the currently allocated resource quota, that is, the currently accumulated allocated resource quota. Wherein the total amount of resources is used to indicate a total of resources that can be allocated.
3) The allocation mode indicated by the resource allocation information is a predetermined allocation mode corresponding to the user.
The predetermined distribution mode includes any predetermined distribution mode, such as actual currency distribution, virtual currency distribution, actual product distribution and the like.
The first updating device can determine a preset distribution mode corresponding to the user in multiple modes; for example, the first updating means determines a predetermined allocation manner corresponding to the user according to a selection operation from the user; for another example, the first updating device determines a predetermined allocation method or the like corresponding to the user from the historical allocation record of the user.
It should be noted that the above-mentioned predetermined allocation condition is only an example and not a limitation of the present invention, and those skilled in the art should understand that any predetermined condition for resource allocation is included in the scope of the predetermined allocation condition of the present invention.
As an example of the preferred embodiment, the predetermined allocation condition includes that the resource quota indicated by the resource allocation information is less than the allocation threshold value by 30 yuan; the resource quota indicated by the currently determined resource allocation information is 50 yuan, and if the first updating device determines that the resource allocation information does not meet the preset allocation condition, the first updating device updates the resource allocation information according to the preset allocation condition, and the resource quota indicated by the updated resource allocation information is 30 yuan.
As another example of the preferred embodiment, the predetermined allocation condition includes that the sum of the resource quota indicated by the resource allocation information and the currently allocated resource quota is less than 1000 yuan; the resource quota indicated by the currently determined resource allocation information is 50 yuan, the first updating device determines that the resource allocation information does not satisfy the predetermined allocation condition (50+980>1000 yuan) according to the currently allocated resource quota being 980 yuan, the first updating device updates the resource allocation information according to the predetermined allocation condition, and the resource quota indicated by the updated resource allocation information is 20 yuan (1000 +980 ═ 20 yuan).
As still another example of the preferred embodiment, the predetermined allocation condition includes that the allocation manner indicated by the resource allocation information is product allocation; the allocation mode indicated by the currently determined resource allocation information is money allocation, the allocation quota is 50 yuan, the first updating device determines that the resource allocation information does not meet the preset allocation condition, the first updating device updates the resource allocation information according to the preset allocation condition, and the updated resource allocation information indicates that a product with a value of 50 yuan is allocated to the user according to the allocation mode of product allocation.
It should be noted that, the foregoing examples are only for better illustrating the technical solutions of the present invention, and are not limiting to the present invention, and those skilled in the art should understand that any implementation manner for determining the resource allocation information for the user according to the current context information and the resource allocation rule corresponding to the user should be included in the scope of the present invention.
The allocation device 3 performs a resource allocation operation for the user according to the resource allocation information.
For example, the first determination means 2 determines resource allocation information for the user a indicating that the resource allocated for the user is the game equipment E1; the allocating means 3 allocates the game equipment E1 to the user a according to the resource allocation information.
As a preferable solution of this embodiment, the resource allocation apparatus of this embodiment further includes a fourth obtaining apparatus (not shown) and a second updating apparatus (not shown).
The fourth obtaining means obtains feedback information corresponding to the resource allocation operation.
Wherein the feedback information comprises information fed back for the resource allocation operation; preferably, the feedback information includes, but is not limited to: identification information of the user, evaluation information of the user on the resource allocation operation, and use condition information (such as use time, used resource amount, etc.) of the resource allocated by the user on the resource allocation operation
As an example, the fourth obtaining means obtains feedback information corresponding to the resource allocation operation for the first user from the user equipment, the feedback information indicating that the first user immediately uses the resource allocated to the first user by the resource allocation operation.
And the second updating device updates the resource allocation rule according to the feedback information.
For example, the fourth obtaining means obtains feedback information corresponding to a resource allocation operation for the user a from the user equipment, the feedback information indicating that the user a immediately uses the resource allocated to the user by the resource allocation operation; and the second updating device updates the resource allocation rule aiming at the user according to the feedback information, and the allocated resource limit is improved in the updated resource allocation rule.
Preferably, the second updating means updates the resource allocation rule according to the feedback information for the plurality of users. The second updating device can update the resource allocation rule according to the feedback information aiming at the plurality of users in a plurality of ways. For example, every predetermined time interval, the second updating means updates the resource allocation rule according to the feedback information obtained within the predetermined time interval; for another example, if the resource allocation rule is only for users with a first credit level, the second updating means updates the resource allocation rule based on a predetermined number of feedback information when the predetermined number of feedback information of users with a first credit level is obtained.
As a specific example of the preferred scheme, the current resource allocation rule includes: the resource quota allocated to the user over 50 years old is 20 yuan; the second updating device determines that 95% of the users over 50 do not use the resource allocated by the network device according to the feedback information for the users, and then the second updating device updates the resource allocation rule according to the feedback information, where the updated resource allocation rule includes: the resource quota allocated to the user over 50 years old is 10 yuan.
It should be noted that, the above examples are only for better illustrating the technical solutions of the present invention, and not for limiting the present invention, and those skilled in the art should understand that any implementation manner of updating the resource allocation rule according to the feedback information should be included in the scope of the present invention.
According to the scheme of the embodiment, the resource allocation information for the user can be determined in real time according to the current scene information corresponding to the user, that is, a targeted allocation scheme can be specially provided for each user, and for the same user, the allocation scheme for the current scene can be provided for the user in different scenes, so that the method has strong pertinence, instantaneity and flexibility; in the process of determining the resource allocation information for the user, various factors such as the user, the resource owner, the application scene of the resource and the like are considered, so that the determined resource allocation information is more accurate, and the maximum benefit can be provided for the user; when the determined resource allocation information does not meet the preset allocation condition, the resource allocation information can be updated according to the preset allocation condition, so that the resource allocation information is further optimized, the optimized resource allocation information is more in line with the requirements of users, and meanwhile, the loss of resource owners can be avoided; the resource allocation rule can be updated according to the feedback information corresponding to the resource allocation operation, so that the updated resource allocation rule can be determined to meet the requirements of both the owner and the user of the resource better, the updating is real-time, the resource allocation rule can be adjusted in real time according to the actual condition, and the flexibility is high.
Fig. 4 is a schematic structural diagram of an apparatus for allocating resources to users according to another example of the present invention.
The resource allocation means according to the present embodiment comprises first obtaining means 1, first determining means 2, allocating means 3, second obtaining means 4 and fourth determining means 5. The first obtaining device 1, the first determining device 2 and the allocating device 3 have been described in detail in the embodiment shown in fig. 3, and are not described herein again.
It should be noted that the second obtaining means 4 and the fourth determining means 5 perform operations before the first obtaining means 1.
The second obtaining means 4 obtains resource data information corresponding to the resource.
Wherein the resource data information comprises any data information obtained for a resource; preferably, the resource data information includes but is not limited to:
1) and testing data information.
Wherein the test data information includes any data information obtained by testing the resource. Preferably, the test data information includes, but is not limited to: the total number of tested users, the test result of each user, the data information (such as transaction success rate) obtained by statistics based on the test result of each user, and the like.
Wherein the second obtaining means 4 may obtain the test data information in a plurality of ways. For example, the second obtaining means 4 obtains test data information for the resource from other devices. For another example, the second obtaining means 4 performs a test for the resource and obtains test data information for the resource.
2) Empirical data information.
The experience data information comprises any data information which is obtained based on historical experience and aims at the resource, such as influence factors and influence degrees of the resource; preferably, the empirical data information includes, but is not limited to: empirical data information corresponding to an owner of the resource, empirical data information corresponding to an industry type of the owner of the resource, empirical data information corresponding to a product to which the resource applies, empirical data information corresponding to a product type to which the product to which the resource applies, and the like.
The second obtaining device 4 may obtain the empirical data information in a plurality of ways; for example, the second obtaining means 4 obtains the experience data information specified by the owner of the resource; for another example, the second obtaining device 4 obtains experience data information for the resource from other apparatuses.
It should be noted that the above-mentioned resource data information is only an example and not a limitation of the present invention, and those skilled in the art should understand that any data information obtained for the resource should be included in the scope of the resource data information described in the present invention.
Preferably, the resource data information includes test data information, and the second obtaining device 4 further includes a third obtaining device (not shown) and a fifth determining device (not shown).
For each of the plurality of allocation credit lines of the resource, the third obtaining device obtains test data information corresponding to the allocation credit line.
Wherein the allocated quota user indicates a resource quota allocated for the user. For example, if the current transaction amount of the user is 20 dollars and the allocation credit is 1 dollar, the actual delivery amount of the user is 19 dollars (20 dollars-1 dollars is 19 dollars) when the test is performed based on the allocation credit.
As an example, the resource is rmb, and the following three allocated credits are set for the resource: 1-membered, 2-membered, 3-membered; the third obtaining means obtains the test data information Info1 when the allocation quota is 1-tuple, the test data information Info2 when the allocation quota is 2-tuple, and the test data information Info3 when the allocation quota is 3-tuple.
The fifth determining means determines all the test data information obtained for the plurality of allocation limit as the resource data information corresponding to the resource.
For example, the resource is RMB, and the following three allocation limits are set for the resource: 1-membered, 2-membered, 3-membered; the third obtaining device obtains test data information Info1 when the allocation quota is 1 element, test data information Info2 when the allocation quota is 2 elements, and test data information Info3 when the allocation quota is 3 elements; the fifth determining means determines the Info1, Info2, and Info3 as the resource data information corresponding to the resource.
It should be noted that the above examples are only for better illustrating the technical solutions of the present invention, and not for limiting the present invention, and those skilled in the art should understand that any implementation manner for obtaining resource data information corresponding to a resource should be included in the scope of the present invention.
The fourth determining means 5 determines the resource allocation rule corresponding to the resource according to the resource data information.
As an example, the resource data information includes test data information for the resource, the test data information indicating: the transaction success rate is highest when the allocated amount is 2 yuan between 16:00 and 20: 00; the fourth determination means 5 determines a resource allocation rule corresponding to the resource indicating an allocation quota between 16:00 and 20:00 of 2-ary based on the test data information.
As another example, the resource is a group purchase ticket, and the resource data information includes experience data information of the resource, which includes a degree of influence of the order placing time on the group purchase ticket; the fourth determination means 5 determines a resource allocation rule corresponding to the resource indicating the allocated group purchase ticket amount for different time of placing the order, based on the empirical data information.
It should be noted that, the above examples are only for better illustrating the technical solutions of the present invention, and not for limiting the present invention, and those skilled in the art should understand that any implementation manner of determining the resource allocation rule corresponding to the resource according to the resource data information should be included in the scope of the present invention.
According to the scheme of the embodiment, the resource allocation rule corresponding to the resource can be determined according to the resource data information corresponding to the resource, so that the resource allocation rule has data support and can achieve a better allocation effect, and the resource allocation rule can be used as an initial resource allocation rule, so that further optimization can be performed on the basis of the resource allocation rule; the resource allocation rule can be determined by testing a plurality of allocation limit of the resource and based on the test result, and the determination mode is based on the actual test data, so that the requirements and benefits of both the owner and the user of the resource are better met.
It is noted that the present invention may be implemented in software and/or in a combination of software and hardware, for example, the various means of the invention may be implemented using Application Specific Integrated Circuits (ASICs) or any other similar hardware devices. In one embodiment, the software program of the present invention may be executed by a processor to implement the steps or functions described above. Also, the software programs (including associated data structures) of the present invention can be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Further, some of the steps or functions of the present invention may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.