CN112767049A - Target object processing method and device - Google Patents

Target object processing method and device Download PDF

Info

Publication number
CN112767049A
CN112767049A CN202110114010.8A CN202110114010A CN112767049A CN 112767049 A CN112767049 A CN 112767049A CN 202110114010 A CN202110114010 A CN 202110114010A CN 112767049 A CN112767049 A CN 112767049A
Authority
CN
China
Prior art keywords
resource
target
value
target object
coupon
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110114010.8A
Other languages
Chinese (zh)
Inventor
高悦
周健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202110114010.8A priority Critical patent/CN112767049A/en
Publication of CN112767049A publication Critical patent/CN112767049A/en
Priority to PCT/CN2022/073825 priority patent/WO2022161359A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/387Payment using discounts or coupons

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Game Theory and Decision Science (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the specification provides the target object processing method and the target object processing device, wherein the target object processing method comprises the steps of obtaining at least one target resource corresponding to a user, and sequencing the at least one target resource based on a preset sequencing rule; determining a target object of the user corresponding to each target resource based on the object attribute information corresponding to each target resource after sorting; under the condition that the resource value of the target object corresponding to each target resource is greater than or equal to the set resource value of the target resource, determining the available resource value of the target object corresponding to each target resource based on the resource type of each target resource; and processing the target object corresponding to each target resource based on the available resource value of the target object corresponding to each target resource and the resource value of the target object corresponding to each target resource.

Description

Target object processing method and device
Technical Field
The embodiment of the specification relates to the technical field of computers, in particular to a target object processing method. One or more embodiments of the present specification also relate to a target data processing apparatus, a computing device, and a computer-readable storage medium.
Background
In the prior art, in order to improve commodity sales and user access rate, many merchants motivate users to consume on the e-commerce platform by issuing coupons to the users. Generally, coupons are inserted as single events, but because of the different types of coupons and the different amounts of money, the coupons differ from one product to another.
In the current single-item discount calculation, the combination relation of all single-item and single-item coupons is exhausted by trying to distribute discount amounts to each coupon matched with a commodity, so that a combination with the maximum optimal discount amount is found out. However, all combinations need to be exhausted, and under the condition that the combination relation between single coupons and commodities is large, the calculation amount is large, the time consumption is long, and the user experience is poor.
Disclosure of Invention
In view of this, the present specification provides a target object processing method. One or more embodiments of the present specification also relate to a target object processing apparatus, a computing device, and a computer-readable storage medium to address technical deficiencies in the prior art.
According to a first aspect of embodiments of the present specification, there is provided a target object processing method including:
acquiring at least one target resource corresponding to a user, and sequencing the at least one target resource based on a preset sequencing rule;
determining a target object of the user corresponding to each target resource based on the object attribute information corresponding to each target resource after sorting;
under the condition that the resource value of the target object corresponding to each target resource is greater than or equal to the set resource value of the target resource, determining the available resource value of the target object corresponding to each target resource based on the resource type of each target resource;
and processing the target object corresponding to each target resource based on the available resource value of the target object corresponding to each target resource and the resource value of the target object corresponding to each target resource.
According to a second aspect of embodiments herein, there is provided a target object processing apparatus including:
the resource acquisition module is configured to acquire at least one target resource corresponding to a user and sort the at least one target resource based on a preset sorting rule;
the object determining module is configured to determine a target object of the user corresponding to each target resource based on the sorted object attribute information corresponding to each target resource;
the resource value determining module is configured to determine an available resource value of the target object corresponding to each target resource based on the resource type of each target resource under the condition that the resource value of the target object corresponding to each target resource is greater than or equal to the set resource value of the target resource;
and the target object processing module is configured to process the target object corresponding to each target resource based on the available resource value of the target object corresponding to each target resource and the resource value of the target object corresponding to each target resource.
According to a third aspect of embodiments herein, there is provided a computing device comprising:
a memory and a processor;
the memory is for storing computer-executable instructions that, when executed by the processor, implement the steps of the target object processing method.
According to a fourth aspect of embodiments herein, there is provided a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the target object processing method.
One embodiment of the present specification implements the target object processing method and apparatus, where the target object processing method includes acquiring at least one target resource corresponding to a user, and sorting the at least one target resource based on a preset sorting rule; determining a target object of the user corresponding to each target resource based on the object attribute information corresponding to each target resource after sorting; under the condition that the resource value of the target object corresponding to each target resource is greater than or equal to the set resource value of the target resource, determining the available resource value of the target object corresponding to each target resource based on the resource type of each target resource; and processing the target object corresponding to each target resource based on the available resource value of the target object corresponding to each target resource and the resource value of the target object corresponding to each target resource. Specifically, the target object processing method ranks the target resources on the object processing platform, and then calculates the available resource value of the corresponding target object based on the ranked target resources, so that the target object of the user can preferentially enjoy the higher available resource value of the top ranked target resources; and after the target object is processed based on the available resource value, the target object corresponding to other target resources in the object processing platform can be deleted, so that when the available resource value of the target object corresponding to the next target resource is calculated, the target object which has enjoyed the available resource value does not participate in the calculation of other target resources, and the calculation rate and the storage space of the object processing platform are greatly improved.
Drawings
Fig. 1 is a schematic diagram illustrating a specific application of a target object processing method according to an embodiment of the present disclosure;
FIG. 2 is a flowchart of a target object processing method provided in one embodiment of the present specification;
FIG. 3 is a flowchart illustrating a processing procedure of a target object processing method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a target object processing apparatus according to an embodiment of the present specification;
fig. 5 is a block diagram of a computing device according to an embodiment of the present disclosure.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present description. This description may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, as those skilled in the art will be able to make and use the present disclosure without departing from the spirit and scope of the present disclosure.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present specification refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first can also be referred to as a second and, similarly, a second can also be referred to as a first without departing from the scope of one or more embodiments of the present description. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
First, the noun terms to which one or more embodiments of the present specification relate are explained.
Trading: the transaction in the embodiment of the present specification refers to an action of a user who purchases a product or service in an online shop through a terminal device.
Single product coupon: merchants may set up marketing campaigns based on sku (stock keeping Unit) goods, coupons for such goods dimensions are called singles coupons, which are in the form of singles discounts, singles vouchers, singles specials, and the like.
Currently, there is a single product offer calculation model that calculates single product offers in two steps: the first step is that each single product coupon matching commodity is tried to be distributed with a discount amount; secondly, under the principle that only one coupon can be used for one commodity, the combination relation of all single coupons with single commodities is exhausted, and a combination with the maximum coupon sum is found out. This solution has three disadvantages: 1. the method has the advantages that the method can still participate in threshold amount calculation of other single coupons after enjoying preferential commodities, more marketing fees can be spent by a merchant by the calculation method, and the merchant cannot accept the calculation method in the online payment scene; 2. the single product privilege calculation model can set the maximum privilege of each commodity, but cannot set the maximum privilege of all commodities; 3. the single product discount calculation model exhaustively enumerates all combinations, and under the condition that the combination relationship of single product discount coupons and commodities is large, the calculation amount is large, the time consumption is long, and the expected single product discount coupons cannot be used by users.
In the present specification, a target object processing method is provided, and the present specification relates to a target object processing apparatus, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating a specific application of a target object processing method according to an embodiment of the present specification.
In fig. 1, the target object processing method provided in the present specification may be applied to a scenario of product settlement using a single coupon.
The method comprises the following steps: the merchant creates the singleton offer.
Specifically, the target processing method can be applied to a scene of commodity settlement by using single coupons online or offline.
The merchant may be understood as a seller selling any goods, the single product may be understood as a goods sold by the merchant, such as a SKU-sized good like a jacket, trousers, a sweater or shampoo, and the single product benefit may be understood as a benefit for a certain kind of goods, such as a benefit for shampoo.
Taking a single product as shampoo as an example, the merchant creates a single product discount, which may be understood as that the merchant creates a discount for shampoo, and generates a single product coupon, that is, a shampoo coupon, for the discount, and the coupon may be used for making a full reduction or discount when a buyer purchases shampoo for settlement.
Step two: the user participates in the activity and applies for the coupon of the single item.
Still taking the above as an example, the single coupon may be understood as a shampoo coupon, and after the user participates in the single coupon created by the merchant, the single coupon generated by the merchant may be claimed.
Step three: the user uses the single coupon at the time of the transaction.
Along with the above example, when the user claims the shampoo coupon and the amount of the purchased shampoo reaches the condition that the coupon can be used, the settlement system can perform full reduction or discount on the amount of the shampoo based on the single coupon when the user settles the balance for the shampoo, so that the merchant can generate preferential behaviors when the user buys the shampoo, and the user experience is met.
The target object processing method provided by the embodiment of the specification can realize the discount of the amount of the purchased commodity based on the corresponding single coupon when the purchased commodity is settled based on the association relationship between the purchased commodity and the single coupon when the user carries out transaction, and improves the shopping experience of the user.
Referring to fig. 2, fig. 2 is a flowchart illustrating a target object processing method according to an embodiment of the present specification, where the target object processing method is applied to an object processing platform, and specifically includes the following steps.
Step 202: the method comprises the steps of obtaining at least one target resource corresponding to a user, and sequencing the at least one target resource based on a preset sequencing rule.
In specific implementation, the specific application scenarios of the target object processing method are different, and the target resources and the target objects are also different. For example, the target object processing method is applied to a scenario of commodity settlement using a single coupon, the target resource at this time may be understood as the single coupon, and the target object may be understood as a purchased commodity; the target object processing method is applied to the point trading scene, the target resource can be understood as the point, and the target object can be understood as the trading item. In practical application, the target object processing method may also be applied to other applicable scenarios, and this specification does not limit this.
For convenience of understanding, in the embodiments of the present specification, the target object processing method is applied to a scenario of performing commodity settlement using a single coupon, and detailed description is given.
In practical application, under the condition that the target resource target object processing method is applied to a scene of commodity settlement by using single coupons, an object processing platform can be understood as a settlement platform for commodity settlement by using the single coupons; in addition, the target resources may also be pre-stored in the resource database, and when in specific use, a plurality of target resources corresponding to the user are obtained from the resource database based on the user identifier and the resource identifier of the user.
For example, where the target resource is a single coupon, the resource database may be understood to be a database that holds a plurality of single coupons. When the system is used specifically, the resource generation server can obtain resource creation requirements of a plurality of merchants, create corresponding target resources based on the resource creation requirements of the merchants, and place the target resources into the resource database, so that different merchants can directly call the target resources from the resource database when creating single product preferential activities, and do not need to send resource generation requests to the resource server again to regenerate the target resources, thereby saving system processing flow and processing amount.
Taking target resources as single-product coupons as an example, when a user adds a commodity into a shopping cart and settles accounts, at least one single-product coupon corresponding to the user is obtained from a resource database based on a user identifier (such as a mobile phone number, a certificate number and the like) of the user, the at least one single-product coupon can be previously claimed based on activity of a merchant by the user, so as to avoid causing storage pressure on a terminal (such as a mobile phone) of the user, in practical application, the single-product coupon claimed by the user is not directly placed on the terminal of the user, but the identifier of the single-product coupon claimed by the user is placed on the terminal of the user, and when the user settles accounts for the commodity, the at least one single-product coupon corresponding to the user is obtained from the resource database based on the identifier of the single-product coupon of the user terminal and the user identifier.
In addition, in order to enable the user to use the most appropriate coupon and enjoy the maximum benefit during the commodity settlement, the settlement system also sorts the target resources acquired from the resource database according to a preset sorting rule, and the specific implementation manner is as follows:
the sorting the at least one target resource based on a preset sorting rule includes:
determining a resource value for each of the at least one target resource;
and under the condition that the target resources with the same resource value do not exist in the at least one target resource, sequencing the at least one target resource based on the resource value of each target resource.
Along the above example, if the target resource is the single coupon, the resource value of the target resource corresponds to a coupon amount for each single coupon; then in the case that there is no target resource with the same resource value in the at least one target resource, the at least one target resource is sorted based on the resource value of each target resource, which may be understood as sorting at least one single coupon based on the coupon sum of each single coupon in the case that there is no single coupon with the same coupon sum in the at least one single coupon.
For example, the target resources are single-product coupon 1, single-product coupon 2, and single-product coupon 3, wherein the coupon amount of single-product coupon 1 is 100 yuan, the coupon amount of single-product coupon 2 is 200 yuan, and the coupon amount of single-product coupon 3 is 300 yuan.
Then, it can be determined that the coupon amounts of the individual coupons are different, that is, there is no target resource with the same resource value in the three target resources; at this time, the three single coupons are sorted based on the coupon amount of each single coupon, that is, the sorted single coupons are [ single coupon 3, single coupon 2, single coupon 1 ].
In this embodiment of the present specification, all the obtained target resources are sorted in a descending order based on the resource value of each target resource, so that a user can settle a target object based on a target resource with a larger resource value, so that the user can enjoy the target resource with the largest resource value, and user experience is improved.
If there is a target resource with the same resource value in the target resources, in order to avoid conflict between the target resources, the sequence of the target resource with the same resource value needs to be updated and adjusted according to other attribute information of the target resource, and the specific embodiment is as follows:
after determining the resource value of each target resource of the at least one target resource, the method further includes:
under the condition that target resources with the same resource value exist in the at least one target resource, performing initial sequencing on the at least one target resource based on the resource value of each target resource, and determining a set resource value of each target resource with the same resource value;
judging whether the set resource value of each target resource with the same resource value is the same,
if yes, determining the use time of each target resource with the same resource value, updating the sequence of each target resource with the same resource value based on the use time,
if not, updating the sequence of each target resource with the same resource value based on the set resource value.
Following the above example, if the target resources are single-product coupon 1, single-product coupon 2, single-product coupon 3, and single-product coupon 4, the coupon amount of single-product coupon 1 is 100 yen, the coupon amount of single-product coupon 2 is 200 yen, the coupon amount of single-product coupon 3 is 300 yen, and the coupon amount of single-product coupon 4 is 300 yen.
It may be determined that the total amount of the single coupons 3 and 4 are the same, in which case all of the single coupons may be initially sorted based on the coupon amount of each single coupon, e.g., sorted single coupons are [ single coupon 4, single coupon 3, single coupon 2, single coupon 1] or [ single coupon 3, single coupon 4, single coupon 2, single coupon 1 ].
Then determining a set resource value of each target resource with the same resource value, such as the threshold amount of each single product coupon with the same coupon amount, wherein if the single product coupon 3 is full 1000 yuan minus 300 yuan, the threshold amount of the single product coupon 3 is 1000 yuan; if the single coupon 4 is 500 yuan minus 300 yuan, the threshold amount of the single coupon 4 is 500 yuan.
Then, it can be determined that the threshold amounts of the single-item coupons 3 and 4 having the same coupon amounts are not the same, and at this time, the order of the single-item coupons 3 and 4 can be updated based on the threshold amounts of the single-item coupons 3 and 4, that is, the updated sorted single-item coupons [ single-item coupon 3, single-item coupon 4, single-item coupon 2, single-item coupon 1] are obtained.
If the single product coupon 3 is full 1000 yuan minus 300 yuan, the threshold amount of the single product coupon 3 is 1000 yuan; if the single coupon 4 is the sum of 1000 minus 300, and the threshold amount of the single coupon 4 is also 1000, it can be determined that the threshold amounts of the single coupon 3 and the single coupon 4 with the same coupon amount are the same, and at this time, the usage time of the single coupon 3 and the single coupon 4 with the same coupon amount is acquired based on the usage time of the single coupon 3 with the same coupon amount: 3/2020-4/2020 and age of the single coupon 4: and 4, 2020 and 5, 2020, updating the order of the single-product coupons 3 and 4 with the same coupon amount, namely obtaining the updated ordered single-product coupons [ single-product coupon 3, single-product coupon 4, single-product coupon 2, single-product coupon 1 ].
In the embodiment of the present specification, under the condition that the obtained resource values of all target resources are different, all target resources can be rapidly ordered directly based on the resource values; under the condition that target resources with the same resource value exist, in order to avoid the use conflict of the target resources, all the target resources can be initially sequenced on the basis of the resource values, and then the target resources are sequentially updated on the basis of the set resource values of each target resource with the same resource value; and finally, under the condition that the set resource value of each target resource with the same resource value is also the same, the target resources with the earlier use time can be arranged in front of the use time of each target resource with the same resource value, so that each target resource is used reasonably based on the use time of the target resource, the target resource use rate is improved, and the user experience is improved.
Step 204: and determining the target object of the user corresponding to each target resource based on the object attribute information corresponding to each sequenced target resource.
The object attribute information corresponding to the target resource includes, but is not limited to, a name and a function of the target object that can be used by the target resource.
Still taking the target resource as a single coupon as an example, if the target resource is a shampoo coupon, the object attribute information corresponding to the target resource may be a shampoo or a shampoo product with a hair washing function.
Specifically, the determining the target object of the user corresponding to each target resource based on the object attribute information corresponding to each sorted target resource includes:
acquiring at least one target object corresponding to the user, and determining object attribute information of each target object in the at least one target object;
and determining the target object corresponding to each target resource based on the incidence relation between the object attribute information corresponding to each target resource and the object attribute information of each target object after sorting.
The target resources are different and the corresponding target objects are also different, for example, the target resources are shampoo coupons, and the corresponding target objects are various shampoos.
In practical application, the target object corresponding to the user needs to be acquired from the object database to determine the object attribute information of each target object.
According to the above example, a plurality of goods to be settled corresponding to the user are firstly obtained from the object database, and the object attribute information of each goods to be settled is determined, namely, the goods to be settled is shampoo, jacket or leather shoes and the like.
And then determining the goods to be settled corresponding to each single coupon based on the incidence relation between the object attribute information of each single coupon and the object attribute information of each goods to be settled.
Taking target resources as a single-product coupon 1, a single-product coupon 2 and a single-product coupon 3 as examples, wherein the object attribute information of the single-product coupon 1 is shampoo, the object attribute information of the single-product coupon 2 is washing products, and the object attribute information of the single-product coupon 3 is an upper garment; the method for acquiring the plurality of commodities to be settled corresponding to the user from the object database comprises the following steps: shampoo 1, shampoo 2, hair conditioner 1, laundry detergent 2, sweater 1 and sweater 2.
Then, based on the association relationship between the object attribute information corresponding to each sorted target resource and the object attribute information of each target object, determining that the target object corresponding to each target resource is:
the target objects corresponding to the single product coupon 1 are as follows: shampoo 1 and shampoo 2; the target objects corresponding to the single coupon 2 are shampoo 1, shampoo 2, hair conditioner 1, laundry detergent 1 and laundry detergent 2; the target objects corresponding to the single product coupon 3 are: knitwear 1 and knitwear 2.
In the embodiment of the present specification, a corresponding target object is matched for each target resource based on an association relationship between object attribute information corresponding to each target resource and object attribute information of each target object, and then, a resource value of the corresponding target object may be preferential based on each target resource, so as to improve user experience.
Step 206: and under the condition that the resource value of the target object corresponding to each target resource is greater than or equal to the set resource value of the target resource, determining the available resource value of the target object corresponding to each target resource based on the resource type of each target resource.
Specifically, each target object also corresponds to a resource value, for example, the target object is a commodity to be settled, and then the resource value of each target object is the commodity amount of the commodity to be settled.
In specific implementation, after matching the corresponding target object for each target resource, the resource values of all the target objects are added, and when the sum of the resource values of all the target objects is greater than or equal to the set resource value of the corresponding target resource, the available resource value of the target object corresponding to each target resource is determined based on the resource type of each target resource.
Taking the target resource as the single product coupon 1 as an example, the target objects corresponding to the single product coupon 1 are: shampoo 1 and shampoo 2, wherein the commodity amount of the shampoo 1 is 80 yuan, the commodity amount of the shampoo 2 is 150 yuan, the resource value of the single coupon 1 is 100 yuan, and the resource value is set to be 200 yuan, namely, the full 200 yuan is reduced by 100 yuan.
At this time, the resource value of the target object may be determined as: if 150 of 80+ shampoo 2 of shampoo 1 is 230, it may be determined that the resource value 230 of the target object is greater than or equal to the set resource value 200 of the single coupon 1, and the available resource value of the target object corresponding to the single coupon 1 may be determined based on the resource type of the single coupon 1.
In practical application, when determining whether each target resource is available, the sum of the resource values of the target objects corresponding to each target resource can be compared with the set resource value of the corresponding target resource value in the above manner.
In addition, there may be multiple types of target resources, and in the case that the types of the target resources are different, the available resource value of the target object corresponding to the target resource obtained by calculation based on the target resource is also different, and the specific embodiment is as follows:
the determining an available resource value of the target object corresponding to each target resource based on the resource type of each target resource includes:
determining the resource type of each target resource, and calculating the available resource value of the target object corresponding to each target resource based on the proportional relation between the resource value of each target resource and the resource value of the target object corresponding to each target resource under the condition that the resource type is the first resource type.
In the case that the target resource is a single coupon, the resource type of the target resource includes, but is not limited to, a voucher, a discount coupon, a special coupon, and the like.
Taking the first resource type as a voucher as an example, the type of each single coupon is determined first, and under the condition that the single coupons are vouchers, the available resource value of the target object corresponding to each single coupon is calculated based on the proportional relation between the denomination of each single coupon and the resource value of the target object corresponding to each single coupon.
Following the above example, the target resource is the single coupon 1, and the target objects corresponding to the single coupon 1 are: shampoo 1 and shampoo 2, wherein the face of a single coupon 1 is 100 yuan, the commodity amount of the shampoo 1 is 80 yuan, and the commodity amount of the shampoo 2 is 150 yuan; then the available resource value of shampoo 1 is: 100 × 80/(80+150) ═ 34.78 yuan, the available resource value of shampoo 2 is: 100 × 150/(150+80) ═ 65.21 yuan.
In this embodiment of the present description, when calculating, based on a target resource, a preferential resource of a target object corresponding to the target resource, different calculations on the preferential resource of the target object may be implemented based on different resource types of the target resource. Under the condition that the target resource is the voucher, the resource value of the target resource can be apportioned according to the ratio based on the resource value of each target object corresponding to the target resource, so that the target object corresponding to each target resource can reasonably obtain the corresponding available discount amount according to the resource value, and the user experience is improved.
In another embodiment of this specification, the determining an available resource value of a target object corresponding to each target resource based on a resource type of each target resource includes:
determining the resource type of each target resource, and performing descending arrangement on the target object corresponding to each target resource based on the resource value of the target object corresponding to each target resource under the condition that the resource type is the second resource type;
and calculating the available resource value of the target object corresponding to each target resource after descending order based on the resource value of each target resource, the use rule of each target resource and the resource value of the target object corresponding to each target resource after descending order.
In the case that the target resource is a single coupon, the resource type of the target resource includes, but is not limited to, a voucher, a discount coupon, a special coupon, and the like.
Taking the second resource type as a discount coupon or a special coupon as an example, firstly determining the type of each single coupon, and under the condition that the single coupons are discount coupons or special coupons, performing descending arrangement on the target object corresponding to each single coupon based on the resource value of the target object corresponding to each single coupon; and then calculating the available resource value of the target object corresponding to each single coupon after descending order based on the coupon sum of each single coupon, the use rule of each single coupon and the resource value of the target object corresponding to each single coupon after descending order.
Taking a target resource as a single coupon of a discount type as an example, the resource value of the target resource can be understood as the usable amount of the discount, for example, the 5-fold coupon can use 100 yuan, and then the resource value of the target resource is 100 yuan. The usage rule of the target resource can be understood as the full discount rule of the discount coupon, for example, the 5 discount coupon can be used when the shopping is full of 200 yuan.
And still taking the target resource as the single product coupon 1, wherein the target objects corresponding to the single product coupon 1 are as follows: for shampoo 1 and shampoo 2 as examples, if the single coupon 1 is a 5-fold discount coupon, the resource value is 100 yuan, the usage rule of the single coupon 1 is that the 5-fold coupon can be used when the product is full of 100, the commodity amount of shampoo 1 is 80 yuan, and the commodity amount of shampoo 2 is 50 yuan.
First, based on the target object corresponding to the single coupon 1: and (3) carrying out descending order arrangement on the target objects according to the commodity amount of the shampoo 1 and the shampoo 2: [ shampoo 1, shampoo 2 ].
Then, based on the single coupon 1, the available resource value of shampoo 1 is calculated: 80 x 0.5 ═ 40 yuan; and calculating the available resource value of the shampoo 2 based on the single coupon 1: 50 x 0.5 ═ 25 members; at this time, the available resource value of shampoo 2 corresponding to the single coupon 1 after the descending order can be calculated to be 40 yuan, and the available resource value of shampoo 1 is 25 yuan.
If the single coupon 1 is a 5-fold coupon, the resource value is 100 yuan, the use rule of the single coupon 1 is that the 5-fold coupon can be used when the single coupon 1 is fully purchased for 200 yuan, the commodity amount of the shampoo 1 is 80 yuan, and the commodity amount of the shampoo 2 is 150 yuan; based on the target object corresponding to the single coupon 1: and (3) carrying out descending order arrangement on the target objects according to the commodity amount of the shampoo 1 and the shampoo 2: [ shampoo 2, shampoo 1 ].
Then, the available resource value of shampoo 2 is calculated based on the single coupon 1: 150 x 0.5 ═ 75 members; and calculating the available resource value of the shampoo 1 based on the single coupon 1: 80 x 0.5 ═ 40 yuan; at this time, it may be determined that the available resource values of shampoo 1 and shampoo 2 exceed the resource value of the single coupon 1, and it may be determined that the available resource value of shampoo 1 is only 25 yuan.
In addition, the available target resource is the single product coupon 1, and the target objects corresponding to the single product coupon 1 are: taking shampoo 1 and shampoo 2 as an example, if the single coupon 1 is a special coupon reduced to 1 yuan, the resource value of the single coupon 1 is 100 yuan, the usage rule is that the special coupon can be used when the single coupon is fully purchased for 100 yuan, the commodity amount of shampoo 1 is 80 yuan, and the commodity amount of shampoo 2 is 50 yuan, then the sorted target objects are: [ shampoo 1, shampoo 2 ].
Calculating the available resource value of the shampoo 1 based on the single coupon 1 to obtain: 80-1 ═ 79 yuan; and at this time, 21 yuan of benefit remains in the single coupon, then the available resource value of shampoo 2 is calculated based on the coupon 2, and the following results are obtained: min (50-1, 21) ═ 21 yuan.
In the embodiment of the present specification, when the target resource is a discount coupon or a special coupon, because the target resource cannot be allocated in equal proportion according to the amount of money of the target object, because the target object needs to be sorted according to the resource value thereof, the available resource value of the target object with a higher resource value is calculated and discounted based on the target resource, so as to ensure that the user can enjoy the discount of the target object with a higher resource value, enjoy the maximum value of the discount, and improve the user experience.
In specific implementation, the calculating an available resource value of the target object corresponding to each target resource after descending order based on the resource value of each target resource, the usage rule of each target resource, and the resource value of the target object corresponding to each target resource after descending order includes:
calculating an available resource value of a first target object corresponding to each target resource after descending order based on the resource value of each target resource, the use rule of each target resource and the resource value of the first target object corresponding to each target resource after descending order;
determining the available resource value of the first target object corresponding to each target resource after descending order and the resource difference value of the resource value of the corresponding target resource;
and under the condition that the resource difference value is larger than a preset resource threshold value, calculating an available resource value of a next target object corresponding to each target resource after descending order based on the resource value of each target resource and the available resource value of a first target object corresponding to each target resource after descending order.
Taking a target resource as a single coupon of a discount type as an example, the resource value of the target resource can be understood as the usable amount of the discount, for example, the 5-fold coupon can use 100 yuan, and then the resource value of the target resource is 100 yuan.
The preset resource threshold may be set according to the actual application, for example, set to 0. In the case that the preset resource threshold is set to 0, it can be understood that, as long as the difference between the calculated available resource value of the current target object and the resource value of the corresponding target resource is not 0, the available resource value of the next target object can be calculated using the remaining resource values of the target resource.
And still taking the target resource as the single product coupon 1, wherein the target objects corresponding to the single product coupon 1 are as follows: taking shampoo 1 and shampoo 2 as examples, if the single coupon 1 is a 5-fold discount coupon, the resource value is 100 yuan, the usage rule of the single coupon 1 is that the 5-fold coupon can be used when the single coupon 1 is fully purchased for 100 yuan, the commodity amount of the shampoo 1 is 80 yuan, the commodity amount of the shampoo 2 is 200 yuan, the available resource value of the shampoo 2 obtained in the above manner is 100 yuan, at this time, the difference value between the available resource value 100 yuan of the shampoo 2 and the resource value 100 yuan of the single coupon 1 can be determined to be 0, at this time, it can be determined that the resource value of the single coupon 1 is exhausted, and the shampoo 1 cannot be discounted any more, and the calculation of the available resource value of the target object is finished.
If the commodity amount of the shampoo is 100 yuan, the available resource value of the shampoo 2 obtained in the above manner is 50 yuan, at this time, the difference between the available resource value of the shampoo 2 of 50 yuan and the resource value of the single coupon 1 of 100 yuan can be determined to be 50 yuan, at this time, the available resource value of the single coupon 1 can be determined to be 50 yuan, and therefore, the available resource value of the shampoo 1 can be calculated by using the remaining resource value of the single coupon 1.
For a specific calculation manner of the available resource value of the next target object corresponding to the target resource, reference may be made to the above-mentioned embodiment, and details are not described herein again.
In the embodiment of the present specification, since the discount amount of each target resource is limited, in the case that the target resource is a discount coupon or a special coupon, in order to avoid that the discount amount exceeds the discount amount of the discount coupon and the special coupon, and in the case that it is ensured that the discount amount enjoyable by the user is high, after calculating the available resource value of each pair of target objects, the discount amount of the target resource needs to be calculated once, and the situation that the next target object cannot be allocated to the discount amount of the target object is avoided.
In practical applications, the number of times that the target resource can be used may also be set, for example, the number of times that a single coupon can be used is 2, and then after the single coupon calculates the available resource values of the two target objects arranged in a descending order, the calculation process is ended to reduce the number of times that the target resource is calculated, and the specific implementation manner is as follows:
after determining the resource difference between the available resource value of the first target object corresponding to each target resource after the descending order and the resource value of the corresponding target resource, the method further includes:
and under the condition that the resource difference value is greater than a preset resource threshold value and the usable frequency corresponding to each target resource is greater than a preset frequency threshold value, calculating the usable resource value of the next target object corresponding to each target resource after descending order based on the resource value of each target resource and the usable resource value of the first target object corresponding to each target resource after descending order.
The preset number threshold may be set according to actual requirements, for example, 2 times or 3 times.
Specifically, when the resource difference is greater than the preset resource threshold, and the available number (i.e., the number of times of use) of the target resource is smaller than the preset number threshold (i.e., the number of times of use of the target resource does not satisfy the upper limit), the available resource value of the next target object corresponding to the target resource after descending order is calculated based on the resource value of the target resource and the resource value of the next target object corresponding to the target resource after descending order, where the calculation of the available resource value of the next target object may refer to the foregoing embodiment, and is not limited herein.
In practical applications, for example, a plurality of target objects corresponding to one target resource are used to introduce the available resource value of each target object, and the calculation of the available resource values of a plurality of target objects corresponding to other target resources may be calculated in the above manner, which is not described in detail herein.
Step 208: and processing the target object corresponding to each target resource based on the available resource value of the target object corresponding to each target resource and the resource value of the target object corresponding to each target resource.
Specifically, after the available resource value of each target object corresponding to the target resource is obtained, each target object corresponding to the target resource is processed based on the available resource value of each target object and its own resource value.
For example, the target resource is a single product coupon 1, and the target objects corresponding to the single product coupon 1 are: shampoo 1 and shampoo 2, wherein the resource value of the shampoo 1 is 80 yuan, and the available resource value is 25 yuan; the resource value of the shampoo 2 is 150 yuan, and the available resource value is 75 yuan; at this time, the actual payment amounts of the shampoo 1 and the shampoo 2 can be calculated based on the resource value and the available resource value of the shampoo, so that the settlement of the shampoo 1 and the shampoo 2 is realized.
In specific implementation, the processing the target object corresponding to each target resource based on the available resource value of the target object corresponding to each target resource and the resource value of the target object corresponding to each target resource includes:
and determining a target resource value of the target object corresponding to each target resource based on the difference value between the resource value of the target object corresponding to each target resource and the available resource value, and processing the target object corresponding to each target resource based on the target resource value.
Following the above example, the target resource is the single coupon 1, and the target objects corresponding to the single coupon 1 are: shampoo 1 and shampoo 2, wherein the resource value of the shampoo 1 is 80 yuan, and the available resource value is 25 yuan; the resource value of shampoo 2 is 150 yuan, the available resource value is 75 yuan, and then the target resource value of shampoo 1 is: 80-25-55 yuan, and the target resource value of the shampoo 2 is 150-75 yuan; therefore, settlement can be realized on shampoo 1 based on the target resource value of 55 yuan, and settlement can be realized on shampoo 2 based on the target resource value of 75 yuan.
In the embodiment of the specification, the target object is processed based on the target resource value of each target object, so that the target object realizes money settlement on the basis of enjoying higher preference, and the user experience is improved.
In practical application, because target objects corresponding to different target resources are duplicated, if each target resource calculates available resource values of all target objects, and multiple target resources calculate available resource values of the same target object with a high probability, the calculation amount of the settlement system is greatly increased, in the embodiment of the present specification, in order to avoid the duplicated calculation of the same target object under different target resources, after calculating available resource values of target objects corresponding to each target resource, the target object in other target resources is deleted, so as to avoid the next target resource corresponding to the target object from calculating the target object again, the specific implementation manner is as follows:
the method further comprises the following steps: deleting the target object corresponding to the other target resources in the object processing platform, specifically,
determining target objects corresponding to other target resources, and deleting the processed target objects corresponding to other target resources on the object processing platform under the condition that the processed target objects exist in the target objects corresponding to other target resources.
In specific implementation, after the available resource value of each target object of a certain target object is calculated and the target object is processed, the target object corresponding to other target resources is obtained, and then the target object is deleted from the target objects corresponding to other target resources on the object processing platform, so that the object processing platform does not perform repeated available resource value calculation on the target object in other target resources, and the storage space of the object processing platform can be saved by deleting the target object corresponding to other target resources.
In the embodiment of the present specification, the target object processing method is to rank the target resources on the object processing platform, and then calculate the available resource value of the corresponding target object based on the ranked target resources, so that the target object of the user can preferentially enjoy the higher available resource value of the top ranked target resources; and after the target object is processed based on the available resource value, the target object corresponding to other target resources in the object processing platform is deleted, so that when the available resource value of the target object corresponding to the next target resource is calculated, the target object which has enjoyed the available resource value does not participate in the calculation of other target resources, and the calculation rate and the storage space of the object processing platform are greatly improved.
The following describes the target object processing method provided in this specification with reference to fig. 3 by taking an application of the target object processing method in a scenario of performing commodity settlement using a single coupon as an example. Fig. 3 shows a processing flow chart of a target object processing method provided in an embodiment of the present specification, and specifically includes the following steps.
Step 302: and acquiring a plurality of coupons corresponding to the user from a resource database, and sequencing the plurality of coupons.
Wherein the coupon may be a one-piece coupon.
Specifically, after obtaining a plurality of coupons corresponding to the user, the plurality of coupons are sorted according to their denominations, threshold amounts, and expiration times.
Step 304: and traversing each coupon, and acquiring a plurality of goods to be settled corresponding to the user from the object database.
Step 306: and matching corresponding commodities for each coupon based on the use requirement of each coupon.
The use requirement of the coupon can be understood as the information of the goods which can be preferential by the coupon.
Step 308: the total amount of merchandise matched by each coupon is calculated.
Step 310: selecting the coupons arranged at the first position, judging whether the total sum of the commodities matched with the coupons is larger than or equal to the threshold sum of the corresponding coupons, if so, executing the step 312, and if not, stopping the calculation.
Specifically, the threshold amount of the coupon may be understood as a full decrement of the coupon, for example, if the coupon is used at full 1000, then 1000 is the threshold amount of the coupon.
Step 312: and judging whether the coupon is a fair discount, if so, executing the step 314, and if not, executing the step 320.
Specifically, in the case where the coupon is a voucher, it may be determined that the coupon is a flat coupon.
Step 314: based on the amount of each item that the coupon matches, the amount of the discount for all items is calculated.
Specifically, the coupon-matched goods are as follows: products 1 and 2 are examples, and product 1: 50 yuan, product 2: 80 Yuan, plus 130 Yuan, voucher coupon offers 100 Yuan, the amount that can be redeemed is 100 Yuan. If the product 1: 20 yuan, product 2: 40 yuan, 60 yuan for the sum, 100 yuan for voucher coupon, and 60 yuan for the amount of the discount. That is, if the coupon is not filled by the threshold amount, a smaller value is taken between the amount of the coupon and the amount of the matching item.
Step 316: the discount amount is allocated to each commodity based on the discount amount of all commodities and the amount of each commodity matched by the coupon.
Step 318: and removing the goods which have enjoyed the advantage from the goods matched with other coupons.
Specifically, the product which has enjoyed the discount is removed from the products matched with other coupons, the discount available amount of the product matched with the next coupon is calculated based on the processing steps, and the calculation is terminated after all the coupons are calculated.
Step 320: the items matched with the coupons are sorted from high to low by the amount of the items.
Step 322: and traversing each commodity matched with the coupon and sorted, and determining the commodity of which the available discount is to be calculated.
Specifically, each commodity is traversed from high to low after sorting, and each commodity is determined to be a commodity to be calculated and available for use.
Step 324: and judging whether the discount quantity and the discount amount of the coupon are larger than 0, if so, executing the step 326, and if not, terminating the calculation.
Step 326: calculating the available discount of the commodity of the available discount to be calculated based on the available discount amount of the coupon and the amount of the commodity of the available discount to be calculated, and deducting the available discount amount and the available discount quantity of the coupon.
Specifically, for the calculation process of the available offer of the product for which the available offer is to be calculated, reference may be made to the above-mentioned embodiment, which is not described herein again.
Step 328: and removing the goods which have enjoyed the advantage from the goods matched with other coupons.
Specifically, the product which has enjoyed the discount is removed from the products matched with other coupons, the discount available amount of the product matched with the next coupon is calculated based on the processing steps, and the calculation is terminated after all the coupons are calculated.
The target object processing method provided in the embodiment of the present specification adopts a locally optimal offer calculation method, and by sorting coupons and commodities, offers are distributed to corresponding commodities by using an offer amortization method and a commodity-by-commodity elimination method, and commodities enjoying the offers do not participate in the offer calculation of other single coupons any more, and the following four points can be achieved by the target object processing method: a. each commodity can only enjoy one single coupon at most; b. on the basis of controlling the discount amount, the maximum discount quantity of the commodity can be set for each single coupon; c. the commodity enjoyed with the discount does not participate in the discount calculation of other single coupons any more, thereby overcoming the problem that the prior method enjoys the discount commodity and still participates in the discount calculation of the next single coupon; d. because the method uses the local optimal calculation method, the problems of large calculation amount and large occupied storage space caused by exhausting all combinations in the existing method are avoided. In addition, the single-product coupons and the commodities are sorted, the coupons are distributed to the corresponding commodities by using a coupon spreading method and a commodity removing method one by one, and on the basis of guaranteeing the input-output ratio of a merchant, a user can enjoy the maximum single-product coupons as much as possible, and meanwhile, the calculation amount is reduced.
Corresponding to the above method embodiment, the present specification further provides an embodiment of a target object processing apparatus, and fig. 4 shows a schematic structural diagram of a target object processing apparatus provided in an embodiment of the present specification. As shown in fig. 4, the apparatus includes:
a resource obtaining module 402, configured to obtain at least one target resource corresponding to a user, and rank the at least one target resource based on a preset ranking rule;
an object determining module 404, configured to determine, based on the object attribute information corresponding to each sorted target resource, a target object of the user corresponding to each target resource;
a resource value determining module 406, configured to determine, based on the resource type of each target resource, an available resource value of the target object corresponding to each target resource, when the resource value of the target object corresponding to each target resource is greater than or equal to the set resource value of the target resource;
and a target object processing module 408 configured to process the target object corresponding to each target resource based on the available resource value of the target object corresponding to each target resource and the resource value of the target object corresponding to each target resource.
Optionally, the resource obtaining module 402 is further configured to:
determining a resource value for each of the at least one target resource;
and under the condition that the target resources with the same resource value do not exist in the at least one target resource, sequencing the at least one target resource based on the resource value of each target resource.
Optionally, the apparatus further comprises:
a sequence update module configured to:
under the condition that target resources with the same resource value exist in the at least one target resource, performing initial sequencing on the at least one target resource based on the resource value of each target resource, and determining a set resource value of each target resource with the same resource value;
judging whether the set resource value of each target resource with the same resource value is the same,
if yes, determining the use time of each target resource with the same resource value, updating the sequence of each target resource with the same resource value based on the use time,
if not, updating the sequence of each target resource with the same resource value based on the set resource value.
Optionally, the object determination module 404 is further configured to:
acquiring at least one target object corresponding to the user, and determining object attribute information of each target object in the at least one target object;
and determining the target object corresponding to each target resource based on the incidence relation between the object attribute information corresponding to each target resource and the object attribute information of each target object after sorting.
Optionally, the resource value determining module 406 is further configured to:
determining the resource type of each target resource, and calculating the available resource value of the target object corresponding to each target resource based on the proportional relation between the resource value of each target resource and the resource value of the target object corresponding to each target resource under the condition that the resource type is the first resource type.
Optionally, the resource value determining module 406 is further configured to:
determining the resource type of each target resource, and performing descending arrangement on the target object corresponding to each target resource based on the resource value of the target object corresponding to each target resource under the condition that the resource type is the second resource type;
and calculating the available resource value of the target object corresponding to each target resource after descending order based on the resource value of each target resource, the use rule of each target resource and the resource value of the target object corresponding to each target resource after descending order.
Optionally, the resource value determining module 406 is further configured to:
calculating an available resource value of a first target object corresponding to each target resource after descending order based on the resource value of each target resource, the use rule of each target resource and the resource value of the first target object corresponding to each target resource after descending order;
determining the available resource value of the first target object corresponding to each target resource after descending order and the resource difference value of the resource value of the corresponding target resource;
and under the condition that the resource difference value is larger than a preset resource threshold value, calculating an available resource value of a next target object corresponding to each target resource after descending order based on the resource value of each target resource and the available resource value of a first target object corresponding to each target resource after descending order.
Optionally, the apparatus further comprises:
a resource value calculation module configured to:
and under the condition that the resource difference value is greater than a preset resource threshold value and the usable frequency corresponding to each target resource is greater than a preset frequency threshold value, calculating the usable resource value of the next target object corresponding to each target resource after descending order based on the resource value of each target resource and the usable resource value of the first target object corresponding to each target resource after descending order.
Optionally, the target object processing module 408 is further configured to:
and determining a target resource value of the target object corresponding to each target resource based on the difference value between the resource value of the target object corresponding to each target resource and the available resource value, and processing the target object corresponding to each target resource based on the target resource value.
Optionally, the target object processing module 408 is further configured to delete the target object corresponding to the other target resource, including:
determining target objects corresponding to other target resources, and deleting the processed target objects corresponding to other target resources on the object processing platform under the condition that the processed target objects exist in the target objects corresponding to other target resources.
In the target object processing apparatus provided in the embodiment of the present specification, after the target resources are ranked on the object processing platform, the available resource value of the target object corresponding to the ranked target resources is calculated based on the ranked target resources, so that the target object of the user can preferentially enjoy the higher available resource value of the target resources ranked first; and after the target object is processed based on the available resource value, the target object corresponding to other target resources in the object processing platform is deleted, so that when the available resource value of the target object corresponding to the next target resource is calculated, the target object which has enjoyed the available resource value does not participate in the calculation of other target resources, and the calculation rate and the storage space of the object processing platform are greatly improved.
The above is a schematic configuration of a target object processing apparatus of the present embodiment. It should be noted that the technical solution of the target object processing apparatus and the technical solution of the target object processing method belong to the same concept, and details that are not described in detail in the technical solution of the target object processing apparatus can be referred to the description of the technical solution of the target object processing method.
FIG. 5 illustrates a block diagram of a computing device 500 provided in accordance with one embodiment of the present description. The components of the computing device 500 include, but are not limited to, a memory 510 and a processor 520. Processor 520 is coupled to memory 510 via bus 530, and database 550 is used to store data.
Computing device 500 also includes access device 540, access device 540 enabling computing device 500 to communicate via one or more networks 560. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. The access device 540 may include one or more of any type of network interface, e.g., a Network Interface Card (NIC), wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the present description, the above-described components of computing device 500, as well as other components not shown in FIG. 5, may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 5 is for purposes of example only and is not limiting as to the scope of the present description. Those skilled in the art may add or replace other components as desired.
Computing device 500 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), mobile phone (e.g., smartphone), wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 500 may also be a mobile or stationary server.
Wherein the processor 520 is configured to execute computer-executable instructions that, when executed by the processor, implement the steps of the target object processing method.
The above is an illustrative scheme of a computing device of the present embodiment. It should be noted that the technical solution of the computing device and the technical solution of the target object processing method belong to the same concept, and details that are not described in detail in the technical solution of the computing device can be referred to the description of the technical solution of the target object processing method.
An embodiment of the present specification also provides a computer-readable storage medium storing computer instructions which, when executed by a processor, implement the steps of the target object processing method.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium belongs to the same concept as the technical solution of the target object processing method, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the target object processing method.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of acts, but those skilled in the art should understand that the present embodiment is not limited by the described acts, because some steps may be performed in other sequences or simultaneously according to the present embodiment. Further, those skilled in the art should also appreciate that the embodiments described in this specification are preferred embodiments and that acts and modules referred to are not necessarily required for an embodiment of the specification.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present specification disclosed above are intended only to aid in the description of the specification. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the embodiments and the practical application, to thereby enable others skilled in the art to best understand and utilize the embodiments. The specification is limited only by the claims and their full scope and equivalents.

Claims (13)

1. A target object processing method is applied to an object processing platform and comprises the following steps:
acquiring at least one target resource corresponding to a user, and sequencing the at least one target resource based on a preset sequencing rule;
determining a target object of the user corresponding to each target resource based on the object attribute information corresponding to each target resource after sorting;
under the condition that the resource value of the target object corresponding to each target resource is greater than or equal to the set resource value of the target resource, determining the available resource value of the target object corresponding to each target resource based on the resource type of each target resource;
and processing the target object corresponding to each target resource based on the available resource value of the target object corresponding to each target resource and the resource value of the target object corresponding to each target resource.
2. The target object processing method of claim 1, wherein the ranking the at least one target resource based on a preset ranking rule comprises:
determining a resource value for each of the at least one target resource;
and under the condition that the target resources with the same resource value do not exist in the at least one target resource, sequencing the at least one target resource based on the resource value of each target resource.
3. The target object processing method of claim 2, after determining the resource value for each of the at least one target resource, further comprising:
under the condition that target resources with the same resource value exist in the at least one target resource, performing initial sequencing on the at least one target resource based on the resource value of each target resource, and determining a set resource value of each target resource with the same resource value;
judging whether the set resource value of each target resource with the same resource value is the same,
if yes, determining the use time of each target resource with the same resource value, updating the sequence of each target resource with the same resource value based on the use time,
if not, updating the sequence of each target resource with the same resource value based on the set resource value.
4. The target object processing method according to claim 1, wherein the determining the target object of the user corresponding to each target resource based on the sorted object attribute information corresponding to each target resource includes:
acquiring at least one target object corresponding to the user, and determining object attribute information of each target object in the at least one target object;
and determining the target object corresponding to each target resource based on the incidence relation between the object attribute information corresponding to each target resource and the object attribute information of each target object after sorting.
5. The target object processing method according to claim 1, wherein the determining an available resource value of the target object corresponding to each target resource based on the resource type of each target resource comprises:
determining the resource type of each target resource, and calculating the available resource value of the target object corresponding to each target resource based on the proportional relation between the resource value of each target resource and the resource value of the target object corresponding to each target resource under the condition that the resource type is the first resource type.
6. The target object processing method according to claim 1, wherein the determining an available resource value of the target object corresponding to each target resource based on the resource type of each target resource comprises:
determining the resource type of each target resource, and performing descending arrangement on the target object corresponding to each target resource based on the resource value of the target object corresponding to each target resource under the condition that the resource type is the second resource type;
and calculating the available resource value of the target object corresponding to each target resource after descending order based on the resource value of each target resource, the use rule of each target resource and the resource value of the target object corresponding to each target resource after descending order.
7. The target object processing method according to claim 6, wherein the calculating an available resource value of the target object corresponding to each target resource after descending order based on the resource value of each target resource, the usage rule of each target resource, and the resource value of the target object corresponding to each target resource after descending order comprises:
calculating an available resource value of a first target object corresponding to each target resource after descending order based on the resource value of each target resource, the use rule of each target resource and the resource value of the first target object corresponding to each target resource after descending order;
determining the available resource value of the first target object corresponding to each target resource after descending order and the resource difference value of the resource value of the corresponding target resource;
and under the condition that the resource difference value is larger than a preset resource threshold value, calculating an available resource value of a next target object corresponding to each target resource after descending order based on the resource value of each target resource and the available resource value of a first target object corresponding to each target resource after descending order.
8. The target object processing method according to claim 7, after determining the resource difference between the available resource value of the first target object corresponding to each target resource after descending order and the resource value of the corresponding target resource, further comprising:
and under the condition that the resource difference value is greater than a preset resource threshold value and the usable frequency corresponding to each target resource is greater than a preset frequency threshold value, calculating the usable resource value of the next target object corresponding to each target resource after descending order based on the resource value of each target resource and the usable resource value of the first target object corresponding to each target resource after descending order.
9. The target object processing method according to claim 1, wherein the processing the target object corresponding to each target resource based on the available resource value of the target object corresponding to each target resource and the resource value of the target object corresponding to each target resource comprises:
and determining a target resource value of the target object corresponding to each target resource based on the difference value between the resource value of the target object corresponding to each target resource and the available resource value, and processing the target object corresponding to each target resource based on the target resource value.
10. The target object processing method according to claim 9, further comprising, after processing the target object corresponding to each target resource:
determining target objects corresponding to other target resources, and deleting the processed target objects corresponding to other target resources on the object processing platform under the condition that the processed target objects exist in the target objects corresponding to other target resources.
11. A target object processing apparatus comprising:
the resource acquisition module is configured to acquire at least one target resource corresponding to a user and sort the at least one target resource based on a preset sorting rule;
the object determining module is configured to determine a target object of the user corresponding to each target resource based on the sorted object attribute information corresponding to each target resource;
the resource value determining module is configured to determine an available resource value of the target object corresponding to each target resource based on the resource type of each target resource under the condition that the resource value of the target object corresponding to each target resource is greater than or equal to the set resource value of the target resource;
and the target object processing module is configured to process the target object corresponding to each target resource based on the available resource value of the target object corresponding to each target resource and the resource value of the target object corresponding to each target resource.
12. A computing device, comprising:
a memory and a processor;
the memory is for storing computer executable instructions which, when executed by the processor, implement the steps of the target object processing method of any one of claims 1 to 10.
13. A computer-readable storage medium storing computer-executable instructions which, when executed by a processor, implement the steps of the target object processing method of any one of claims 1 to 10.
CN202110114010.8A 2021-01-27 2021-01-27 Target object processing method and device Pending CN112767049A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110114010.8A CN112767049A (en) 2021-01-27 2021-01-27 Target object processing method and device
PCT/CN2022/073825 WO2022161359A1 (en) 2021-01-27 2022-01-25 Method and device for target object processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110114010.8A CN112767049A (en) 2021-01-27 2021-01-27 Target object processing method and device

Publications (1)

Publication Number Publication Date
CN112767049A true CN112767049A (en) 2021-05-07

Family

ID=75707532

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110114010.8A Pending CN112767049A (en) 2021-01-27 2021-01-27 Target object processing method and device

Country Status (2)

Country Link
CN (1) CN112767049A (en)
WO (1) WO2022161359A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022161359A1 (en) * 2021-01-27 2022-08-04 支付宝(杭州)信息技术有限公司 Method and device for target object processing

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009179A (en) * 2016-10-31 2018-05-08 北京搜狗科技发展有限公司 A kind of information processing method and device, a kind of device for information processing
CN108563680A (en) * 2018-03-07 2018-09-21 阿里巴巴集团控股有限公司 Resource recommendation method and device
CN108921617A (en) * 2018-07-09 2018-11-30 上海瀚银信息技术有限公司 A kind of preferential ticket management system and discount coupon application method
CN110276637A (en) * 2019-05-28 2019-09-24 阿里巴巴集团控股有限公司 Resource allocation methods and device, discount coupon distribution method and device
CN111475712A (en) * 2020-03-13 2020-07-31 拉扎斯网络科技(上海)有限公司 Resource processing method and system
CN111507772A (en) * 2020-04-22 2020-08-07 深圳市元征科技股份有限公司 Coupon management method, device and storage medium
CN111756796A (en) * 2020-05-11 2020-10-09 拉扎斯网络科技(上海)有限公司 Method and device for pushing rights and interests resource information, storage medium and terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10225158B1 (en) * 2014-12-22 2019-03-05 EMC IP Holding Company LLC Policy based system management
CN110443529A (en) * 2019-09-06 2019-11-12 深圳前海微众银行股份有限公司 Resource regulating method, device, equipment and computer readable storage medium
CN112767049A (en) * 2021-01-27 2021-05-07 支付宝(杭州)信息技术有限公司 Target object processing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009179A (en) * 2016-10-31 2018-05-08 北京搜狗科技发展有限公司 A kind of information processing method and device, a kind of device for information processing
CN108563680A (en) * 2018-03-07 2018-09-21 阿里巴巴集团控股有限公司 Resource recommendation method and device
CN108921617A (en) * 2018-07-09 2018-11-30 上海瀚银信息技术有限公司 A kind of preferential ticket management system and discount coupon application method
CN110276637A (en) * 2019-05-28 2019-09-24 阿里巴巴集团控股有限公司 Resource allocation methods and device, discount coupon distribution method and device
CN111475712A (en) * 2020-03-13 2020-07-31 拉扎斯网络科技(上海)有限公司 Resource processing method and system
CN111507772A (en) * 2020-04-22 2020-08-07 深圳市元征科技股份有限公司 Coupon management method, device and storage medium
CN111756796A (en) * 2020-05-11 2020-10-09 拉扎斯网络科技(上海)有限公司 Method and device for pushing rights and interests resource information, storage medium and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022161359A1 (en) * 2021-01-27 2022-08-04 支付宝(杭州)信息技术有限公司 Method and device for target object processing

Also Published As

Publication number Publication date
WO2022161359A1 (en) 2022-08-04

Similar Documents

Publication Publication Date Title
CN110610401A (en) Internet group-piecing shopping method, system, medium and terminal
WO2012054772A2 (en) Dynamically generated targeted subscription package
CN110866771A (en) Information processing method, system, medium, and computer system
KR20030074491A (en) System and method for electronic auction
CN110910179A (en) Grouping marketing method and device
CN108229997A (en) A kind of method and system of internet shopping promotion
CN111028049A (en) Commodity purchasing method, commodity purchasing platform and commodity purchasing system
WO2013067013A1 (en) System and method for enabling use of points from a loyalty program as payment
CN107146158A (en) A kind of electronic data processing method and device
CN110458544A (en) A kind of method of payment and payment services system across more cash register system
CN114047971A (en) Edge computing resource allocation method and device
WO2022161359A1 (en) Method and device for target object processing
CN112950285A (en) Method and device for processing point, server and storage medium
US20170372345A1 (en) System for determining communication for future opportunity
CN108229995A (en) A kind of method and system of adjust automatically internet commodity price
CN109389430A (en) A kind of good friend participates in the method for commerce and system of preferential clearing
CN112862529A (en) Data processing method and device
CN111242791A (en) Item recommendation method and device
CN107886346A (en) Data object resource information processing method and device
CN112907699B (en) Object processing method and device
CN112381617B (en) Online shopping method and device
CN112435066A (en) Electronic certificate issuing method, device, terminal and storage medium
CN110503467B (en) Cross-platform consumer group acquisition method and device
CN110751492A (en) High-value crowd identification method and device
CN112950247A (en) Product selection method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210507