WO2022161359A1 - Method and device for target object processing - Google Patents

Method and device for target object processing Download PDF

Info

Publication number
WO2022161359A1
WO2022161359A1 PCT/CN2022/073825 CN2022073825W WO2022161359A1 WO 2022161359 A1 WO2022161359 A1 WO 2022161359A1 CN 2022073825 W CN2022073825 W CN 2022073825W WO 2022161359 A1 WO2022161359 A1 WO 2022161359A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
target
value
target object
resource value
Prior art date
Application number
PCT/CN2022/073825
Other languages
French (fr)
Chinese (zh)
Inventor
高悦
周健
Original Assignee
支付宝(杭州)信息技术有限公司
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 支付宝(杭州)信息技术有限公司 filed Critical 支付宝(杭州)信息技术有限公司
Publication of WO2022161359A1 publication Critical patent/WO2022161359A1/en

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

Definitions

  • the embodiments of this specification relate to the field of computer technologies, and in particular, to a method for processing a target object.
  • One or more embodiments of this specification simultaneously relate to a target data processing apparatus, a computing device, and a computer-readable storage medium.
  • the current single product discount calculation by trying to allocate the discount amount for each coupon matching product, and exhausting the combination relationship between all single product and single product coupons, to find the one with the largest discount amount.
  • this method needs to exhaustively enumerate all combinations. In the case where there are many relationships between single product coupons and product combinations, the amount of calculation is relatively large, the time consuming will be long, and the user experience will be poor.
  • the embodiments of the present specification provide a target object processing method.
  • One or more embodiments of this specification simultaneously relate to a target object processing apparatus, a computing device, and a computer-readable storage medium, so as to solve the technical defects existing in the prior art.
  • a target object processing method including: acquiring at least one target resource corresponding to a user, and sorting the at least one target resource based on a preset sorting rule;
  • the object attribute information corresponding to each target resource determines the target object of the user 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, based on
  • the resource type of each target resource determines the available resource value of 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, process each target resource.
  • the target object corresponding to each target resource including: acquiring at least one target resource corresponding to a user, and sorting the at least one target resource based on a preset sorting rule;
  • the object attribute information corresponding to each target resource determines the target object of the user corresponding to each target resource; when the resource value of the target object corresponding to each target resource is greater
  • an apparatus for processing a target object including: a resource acquisition module configured to acquire at least one target resource corresponding to a user, and perform an analysis on the at least one target resource based on a preset sorting rule resources are sorted; the object determination module is configured to determine the target object of the user corresponding to each target resource based on the object attribute information corresponding to each target resource after sorting; the resource value determination module is configured to When the resource value of the target object corresponding to the resource is greater than or equal to the set resource value of the 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; It 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.
  • a computing device including: a memory and a processor; the memory is used for storing computer-executable instructions, which implement the target object when the computer-executable instructions are executed by the processor The steps of the processing method.
  • a computer-readable storage medium which stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, implements the steps of the target object processing method.
  • An embodiment of this specification implements the target object processing method and apparatus, wherein 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 ; Based on the object attribute information corresponding to each target resource after sorting, determine the target object of the user corresponding to each target resource; 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. In this case, based on the resource type of each target resource, determine the available resource value of 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 of the target object corresponding to each target resource Value, process the target object corresponding to each target resource.
  • the target object processing method calculates the available resource value of the corresponding target object based on the sorted target resources after sorting the target resources on the object processing platform, so that the user's target objects can enjoy the priority of the ranking.
  • the higher available resource value of the target resource 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 the next target resource can calculate the availability of its corresponding target object.
  • the resource value is used, the target object that has already enjoyed the available resource value no longer participates in the calculation of other target resources, which greatly improves the calculation rate and storage space of the object processing platform.
  • FIG. 1 is a schematic diagram of a specific application of a target object processing method provided by an embodiment of this specification
  • FIG. 2 is a flowchart of a method for processing a target object provided by an embodiment of the present specification
  • Fig. 3 is a processing process flow chart of a target object processing method provided by an embodiment of the present specification
  • FIG. 4 is a schematic structural diagram of a target object processing apparatus provided by an embodiment of the present specification.
  • FIG. 5 is a structural block diagram of a computing device provided by an embodiment of the present specification.
  • the transaction in the embodiments of this specification refers to the behavior of a user purchasing commodities or services in an offline store through a terminal device.
  • Single-product coupons Merchants can set up marketing activities based on sku (Stock Keeping Unit, minimum stock keeping unit) products.
  • the coupons of this product dimension are called single-product coupons.
  • the forms of single-product coupons include single-product discount coupons, single-product coupons Product vouchers and single-item discount coupons, etc.
  • a target object processing method is provided, and the present specification also relates to a target object processing apparatus, a computing device, and a computer-readable storage medium, which will be described in detail one by one in the following embodiments.
  • FIG. 1 shows a schematic diagram of a specific application of a target object processing method provided according to an embodiment of the present specification.
  • the target object processing method provided in this specification can be applied to a scenario where a single-product coupon is used for commodity settlement.
  • Step 1 The merchant creates a single product promotion.
  • the target processing method may be applied to a scenario in which a single-product coupon is used for commodity settlement online or offline.
  • a merchant can be understood as a seller who sells any product
  • a single product can be understood as a product sold by a merchant, such as tops, pants, sweaters, or shampoo and other SKU-sized products
  • a single product discount can be understood as a certain kind of product. Offers, such as those on shampoos.
  • a single product as shampoo as an example, it can be understood that when a merchant creates a single product discount activity, the merchant creates a discount activity for shampoo, and generates a single product coupon for the discount activity, that is, a shampoo coupon, which can be purchased at When the household purchases shampoo and settles the settlement, the amount will be fully deducted or discounted.
  • Step 2 The user participates in the activity and applies for a single product coupon.
  • a single product coupon can be understood as a shampoo coupon. After a user participates in the single product promotion created by the merchant, he can apply for the single product coupon generated by the merchant.
  • Step 3 When the user trades, use the single product coupon.
  • Coupons can fully reduce or discount the amount of shampoo, so that when users buy shampoo, merchants give preferential behavior to them and satisfy the user experience.
  • the target object processing method provided in the embodiment of this specification can realize that when the purchased commodity is settled, the amount based on the corresponding single-product coupon is processed based on the association relationship between the purchased commodity and the single-product coupon when the user conducts a transaction. Offers on the website to enhance the shopping experience of users.
  • FIG. 2 shows a flowchart of a target object processing method provided according to an embodiment of the present specification.
  • the target object processing method is applied to an object processing platform, and specifically includes the following steps.
  • Step 202 Acquire at least one target resource corresponding to the user, and sort the at least one target resource based on a preset sorting rule.
  • the specific application scenarios of the target object processing method are different, and the target resources and target objects are also different.
  • the target object processing method is applied in the scenario of using single-product coupons for commodity settlement.
  • the target resource can be understood as a single-product coupon, and the target object can be understood as a purchased commodity; and the target object processing method The method is applied in the point redemption scenario.
  • the target resource at this time can be understood as points, and the target object can be understood as exchange items.
  • the target object processing method can also be applied to other applicable scenarios, which are not limited in this specification.
  • the target object processing method is applied in the scenario of using a single-product coupon for commodity settlement, and is described in detail.
  • the object processing platform can be understood as a settlement platform that uses single-product coupons for commodity settlement; in addition, the target The resources may also be pre-stored in the resource database, and during specific use, multiple target resources corresponding to the user are obtained from the resource database based on the user ID and the resource ID of the user.
  • the resource database can be understood as a database that stores multiple single-product coupons.
  • the resource generation server will obtain the resource creation requirements of multiple merchants, create corresponding target resources based on the resource creation requirements of the merchants, and put the target resources into the resource database for different merchants to create single product promotions.
  • the target resource is called directly from the resource database, there is no need to send a resource generation request to the resource server to regenerate the target resource, saving the system processing flow and processing volume.
  • the target resource as a single product coupon
  • the user adds the product to the shopping cart and performs settlement
  • at least one single product corresponding to the user is obtained from the resource database based on the user's user ID (such as mobile phone number, certificate number, etc.).
  • Coupon the at least one single-item coupon may be previously applied by the user based on the merchant's activity.
  • the single-item coupon applied by the user will not be directly It is placed on the user's terminal, but the identification of the single-product coupons claimed by the user is placed on the user's terminal.
  • the identification of the single-product coupons and the user identification of the user terminal will be based on the resource.
  • At least one single product coupon corresponding to the user is obtained from the database.
  • the settlement system will also sort the target resources obtained from the resource database according to the preset sorting rules.
  • the specific implementation is as follows. : the sorting of the at least one target resource based on a preset sorting rule includes: determining a resource value of each target resource in the at least one target resource; no resource value with the same resource value exists in the at least one target resource In the case of target resources, the at least one target resource is ordered based on the resource value of each target resource.
  • the resource value of the target resource is a coupon amount corresponding to each single product coupon; then there is no resource value 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, it can be understood that if there is no single-product coupon with the same coupon amount in at least one single-product coupon, The at least one single-item coupon is ordered based on the coupon amount of each single-item coupon.
  • the target resources are single-product coupon 1, single-product coupon 2, and single-product coupon 3.
  • single-product coupon 1 has a coupon amount of 100 yuan
  • single-product coupon 2 has a coupon amount of 200 yuan
  • single-product coupon 2 has a coupon amount of 200 yuan.
  • the coupon amount for Coupon 3 is 300 yuan.
  • the coupon amount of each single product coupon is different, that is, there is no target resource with the same resource value among the above three target resources; at this time, based on the coupon amount of each single product coupon, the above three
  • the single product coupons are sorted, that is, the sorted single product coupons are [single product coupon 3, single product coupon 2, single product coupon 1].
  • all the acquired target resources are sorted in descending order based on the resource value of each target resource, so that the user can first perform settlement processing on the target object based on the target resource with a larger resource value, so that the user can enjoy the resource value The largest target resource to improve user experience.
  • the method is as follows: after the determining the resource value of each target resource in the at least one target resource, the method further includes: in the case that a target resource with the same resource value exists in the at least one target resource, based on each target resource The resource value of the resource performs initial sorting on the at least one target resource, and determines the set resource value of each target resource with the same resource value; judges whether the set resource value of each target resource with the same resource value is the same, and if so, Then determine the usage time of each target resource with the same resource value, and update the sequence of each target resource with the same resource value based on the usage time. If not, then set the resource value for each target resource with the same resource value. order to update.
  • the coupon amount of single-product coupon 1 is 100 yuan
  • the single-product coupon The coupon value of 2 is 200 yuan
  • the coupon value of single product coupon 3 is 300 yuan
  • the coupon value of single product coupon 4 is 300 yuan.
  • all single-product coupons can be initially sorted based on the coupon amount of each single-product coupon, such as sorting.
  • the following single product coupons are [single product coupon 4, single product coupon 3, single product coupon 2, single product coupon 1] or [single product coupon 3, single product coupon 4, single product coupon 2. Single product coupon 1].
  • the threshold amount of each single product coupon with the same coupon amount if the single product coupon 3 is over 1000 yuan minus 300 yuan, the single product coupon
  • the threshold amount for 3 is 1,000 yuan; for single-product coupon 4, if the purchase amount is 500 yuan minus 300 yuan, the threshold amount for single-product coupon 4 is 500 yuan.
  • the threshold amounts of single-product coupon 3 and single-product coupon 4 with the same coupon amount are different.
  • the threshold amount of single-product coupon 3 and single-product coupon 4 Update the order of the single-product coupons 4, that is, to obtain the updated sorted single-product coupons [single-product coupon 3, single-product coupon 4, single-product coupon 2, single-product coupon 1].
  • the threshold amount of single-product coupon 3 is 1,000 yuan; single-product coupon 4 is 1,000 yuan minus 300 yuan, then the threshold amount of single-product coupon 4 is also If it is 1000 yuan, it can be determined that the threshold amount of single-product coupon 3 and single-product coupon 4 with the same coupon amount is the same.
  • the coupon amount is the same Update the order of single product coupon 3 and single product coupon 4, that is, obtain the updated sorted single product coupon [single product coupon 3, single product coupon 4, single product coupon 2, single product coupon 1].
  • all target resources in the case that the resource values of all acquired target resources are different, all target resources can be quickly sorted based on the resource values; and in the case that there are target resources with the same resource value, in order to To avoid conflict in the use of target resources, you can initially sort all target resources based on resource values, and then sequentially update them based on the set resource values of each target resource with the same resource value; When the set resource value of the target resource is also the same, you can arrange the target resource with the highest usage time in the front based on the usage time of each target resource with the same resource value, and reasonably based on the usage time of the target resource, use For each target resource, improve the utilization rate of the target resource and improve the user experience.
  • Step 204 Determine the target object of the user corresponding to each target resource based on the object attribute information corresponding to each target resource after sorting.
  • the object attribute information corresponding to the target resource includes but is not limited to the name and function of the target object that can be used by the target resource.
  • the target resource as a single product coupon as an example, if the target resource is a shampoo coupon, the object attribute information corresponding to the target resource may be shampoo or a care product with a shampoo function.
  • determining the target object of the user corresponding to each target resource based on the object attribute information corresponding to each target resource after sorting includes: acquiring at least one target object corresponding to the user, and determining the at least one target object.
  • the object attribute information of each target object in a target object; the target object corresponding to each target resource is determined based on the association relationship 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 shampoo coupons, and the corresponding target objects are various shampoos.
  • the target object is pre-existed in the object database corresponding to the settlement system, and there are multiple target objects of multiple users in the object database.
  • the target objects corresponding to the users need to be obtained from the object database to Determine object attribute information for each target object.
  • the target resources as single-product coupon 1, single-product coupon 2, and single-product coupon 3 as examples, where the object attribute information of single-product coupon 1 is shampoo, and the object attribute information of single-product coupon 2 is For toiletries, the object attribute information of the single product coupon 3 is tops; the multiple items to be settled corresponding to the user obtained from the object database are: shampoo 1, shampoo 2, conditioner 1, laundry detergent 1, Laundry liquid 2, sweater 1, sweater 2.
  • the target object corresponding to each target resource is determined as: the target object corresponding to single product coupon 1 is : shampoo 1, shampoo 2; the target objects corresponding to single product coupon 2 are shampoo 1, shampoo 2, conditioner 1, laundry liquid 1, laundry liquid 2; the target object corresponding to single product coupon 3 is : Sweater 1, Sweater 2.
  • the corresponding target object is matched for each target resource, and then the corresponding target object can be matched based on each target resource.
  • the resource value of the corresponding target object is discounted to improve the user experience.
  • Step 206 In the case where 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, determine the available resource value of the target object corresponding to each target resource based on the resource type of each target resource .
  • each target object also corresponds to a resource value.
  • the resource value of each target object is the commodity amount of the commodity to be settled.
  • the resource values of all the target objects are added together, and 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.
  • the target objects corresponding to the single product coupon 1 are: shampoo 1 and shampoo 2, wherein the commodity amount of shampoo 1 is 80 yuan, and the commodity amount of shampoo 2 It is 150 yuan, the resource value of single-product coupon 1 is 100 yuan, and the set resource value is 200 yuan, that is, 100 yuan is reduced when it is over 200 yuan.
  • the above method can be used to compare the sum of the resource values of the target objects corresponding to each target resource with the set resource value of the corresponding target resource value.
  • target resources there can be multiple types.
  • target resources there can be multiple types.
  • the available resource values of the corresponding target objects calculated and obtained based on the target resources are also different.
  • the specific implementation is as follows:
  • the determining, based on the resource type of each target resource, the available resource value of the target object corresponding to each target resource includes: determining the resource type of each target resource, and in the case that the resource type is the first resource type, Based on the proportional relationship between the resource value of each target resource and the resource value of the target object corresponding to each target resource, the available resource value of the target object corresponding to each target resource is calculated.
  • the resource type of the target resource includes but is not limited to cash coupons, discount coupons or special coupons, etc.
  • the first resource type as a voucher as an example, first determine the type of each single-product coupon.
  • the single-product coupon is a voucher
  • the discount of each single-product Calculate the available resource value of the target object corresponding to the coupon corresponding to each coupon according to the proportional relationship of the resource value of the target object corresponding to the coupon.
  • the target resource is single-product coupon 1
  • the target objects corresponding to single-product coupon 1 are: shampoo 1, shampoo 2, single-product coupon 1 has a coupon denomination of 100 yuan, and the product of shampoo 1
  • the amount is 80 yuan
  • the resource value of the target resource can be allocated proportionally 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 be reasonably based on its resource value. to obtain the corresponding available discount amount to improve the user experience.
  • the determining the 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, where the resource type is In the case of the second resource type, based on the resource value of the target object corresponding to each target resource, the target objects corresponding to each target resource are sorted in descending order; based on the resource value of each target resource and the usage rules of each target resource and the resource value of the target object corresponding to each target resource after the descending order, and calculate the available resource value of the target object corresponding to each target resource after the descending order.
  • the resource type of the target resource includes but is not limited to cash coupons, discount coupons, or special coupons.
  • the second resource type as a discount coupon or special coupon as an example, first determine the type of each single product coupon, and in the case where the single product coupon is a discount coupon or a special coupon, based on the target corresponding to each single product coupon
  • the resource value of the object sort the target objects corresponding to each single product coupon in descending order; then based on the coupon amount of each single product coupon, the usage rules of each single product coupon, and the discount of each single product after sorting in descending order
  • the resource value of the target object corresponding to the coupon is calculated, and the available resource value of the target object corresponding to each single product coupon is calculated in descending order.
  • the resource value of the target resource can be understood as the usable amount of the discount coupon.
  • the 50% discount coupon can be used for 100 yuan, 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 50% discount coupon can be used for shopping over 200 yuan.
  • the target resource as the single product coupon 1
  • the target object corresponding to the single product coupon 1 is: shampoo 1, shampoo 2 as an example
  • the single product coupon 1 is a 50% discount coupon
  • the resource value is 100 yuan
  • the usage rule of the single-product coupon 1 is that the 50% discount coupon can be used after shopping over 100
  • the commodity amount of shampoo 1 is 80 yuan
  • the commodity amount of shampoo 2 is 50 yuan.
  • the target objects corresponding to the single product coupon 1 shampoo 1 and shampoo 2
  • the target objects are sorted in descending order: [shampoo 1, shampoo 2].
  • the usage rule of the single product coupon 1 is that the 50% discount coupon can be used for shopping over 200 yuan, and the product value of shampoo 1 is 80 yuan.
  • the commodity amount of shampoo 2 is 150 yuan; based on the target objects corresponding to the single-product coupon 1: the commodity amount of shampoo 1 and shampoo 2, the target objects are sorted in descending order: [shampoo 2, shampoo 1] .
  • the target objects corresponding to the single product coupon 1 are: shampoo 1 and shampoo 2 as an example, if the single product coupon 1 is a special coupon reduced to 1 yuan , the resource value of the single product coupon 1 is 100 yuan, the usage rule is that the special coupon can be used when the purchase is over 100 yuan, the product value of shampoo 1 is 80 yuan, and the product value of shampoo 2 is 50 yuan, then after sorting
  • the target objects are: [Shampoo 1, Shampoo 2].
  • the target resource is a discount coupon or a special coupon
  • the target object since the target object cannot be allocated the corresponding target resource in an equal proportion according to the amount of the target object, because the target object needs to be sorted according to its resource value, Based on the target resources, the available resource value of the target object with higher resource value is calculated and discounted, so as to ensure that the user can enjoy the discount of the target object with higher resource value, enjoy the maximum value of the discount, and improve the user experience.
  • the target object corresponding to each target resource after the descending order is calculated 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 the descending order
  • the available resource value of including: based on the resource value of each target resource, the usage rules of each target resource, and the resource value of the first target object corresponding to each target resource after the descending order, calculate each target resource after the descending order.
  • the available resource value of the corresponding first target object determine 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; When the value is greater than the preset resource threshold, based on the resource value of each target resource and the available resource value of the first target object corresponding to each target resource after the descending order, calculate the next resource corresponding to each target resource after the descending order.
  • the available resource value of the target object determine 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; When the value is greater than the preset resource threshold, based on the resource value of each target resource and the available resource value of the first target object corresponding to each target resource after the descending order, calculate the next resource corresponding to each target resource after the descending order.
  • the available resource value of the target object determine 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
  • the resource value of the target resource can be understood as the usable amount of the discount coupon.
  • the 50% discount coupon can be used for 100 yuan, then the resource value of the target resource is 100 yuan.
  • the preset resource threshold may be set according to actual applications, for example, set to 0. Then, when 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 target can be used. The remaining resource value of the resource calculates the available resource value of the next target object.
  • the target object corresponding to the single product coupon 1 is: shampoo 1, shampoo 2 as an example, if the single product coupon 1 is a 50% discount coupon, the resource value is 100 yuan , the usage rule of the single product coupon 1 is that the 50% discount coupon can be used for shopping over 100 yuan, the product value of shampoo 1 is 80 yuan, and the product value of shampoo 2 is 200 yuan.
  • the available resource value is 100 yuan. At this time, it can be determined that the difference between the available resource value of shampoo 2 of 100 yuan and the resource value of single-product coupon 1 of 100 yuan is 0. At this time, the resource of single-product coupon 1 can be determined. The value has been used up, and the shampoo 1 can no longer be discounted, and the calculation of the available resource value of the target object is ended.
  • the available resource value of shampoo 2 obtained by the above method is 50 yuan.
  • the available resource value of shampoo 2 is 50 yuan and the resource value of single product coupon 1 is 100 yuan.
  • the difference between yuan is 50 yuan.
  • the resource value that can be used by single-product coupon 1 still has 50 yuan. Therefore, the remaining resource value of single-product coupon 1 can be used to determine the available resource value of shampoo 1. Calculation.
  • the discountable amount of each target resource is limited, when the target resource is a discount coupon or a special coupon, in order to avoid the discounted amount exceeding the discountable amount of the discount coupon and the special coupon, and In the case of ensuring that the discount amount that the user can enjoy is relatively high, after each calculation of the available resource value of a target object, the discountable amount of the target resource must be calculated once to avoid the occurrence of the next target object cannot be allocated to the target. In the case of the eligible discount amount of the target.
  • the method further includes: in the case that the resource difference is greater than the preset resource threshold, and the available times corresponding to each target resource is greater than the preset times threshold, based on each target resource and the available resource value of the first target object corresponding to each target resource after the descending order, calculate the available resource value of the next target object corresponding to each target resource after the descending order.
  • the preset number threshold can be set according to actual needs, for example, set to 2 times or 3 times.
  • the resource difference is greater than a preset resource threshold, and the usable quantity of the target resource (that is, the number of times of use) is smaller than the preset quantity threshold (that is, the usable times of the target resource does not meet the upper limit)
  • the available resource value of the next target object corresponding to the target resource after the descending order is calculated, wherein the next target object For the calculation of the available resource value of , refer to the above-mentioned embodiment, which is not limited herein.
  • Step 208 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.
  • 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.
  • the target resource is single product coupon 1, and the target objects corresponding to single product coupon 1 are: shampoo 1, shampoo 2, where the resource value of shampoo 1 is 80 yuan, and the available resource value is 25 yuan;
  • the resource value of shampoo 2 is 150 yuan, and the available resource value is 75 yuan; at this time, the actual payment amount of shampoo 1 and shampoo 2 can be calculated based on the resource value and available resource value of shampoo, so that the actual payment amount of shampoo 1 and shampoo 2 can be realized.
  • the processing of 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: The difference between the resource value of the target object and the available resource value is determined, the target resource value of the target object corresponding to each target resource is determined, and the target object corresponding to each target resource is processed based on the target resource value.
  • the target resource is single product coupon 1
  • the target object is processed based on the target resource value of each target object, so that the target object can realize the amount settlement on the basis of enjoying higher preferential treatment, and improve the user experience.
  • the target object corresponding to each target resource is After calculating the available resource value of the target object, delete the target object in the other target resources to avoid the next target resource corresponding to the target object from calculating the target object again.
  • the specific implementation is as follows: The method further includes: deleting the target objects corresponding to other target resources on the object processing platform, specifically, determining the target objects corresponding to the other target resources, and after the target objects corresponding to the other target resources exist after processing. In the case of a target object, the processed target objects corresponding to other target resources are deleted on the object processing platform.
  • the target object corresponding to other target resources is obtained, and then the object processing platform Delete the target object in the target object corresponding to other target resources, so that the object processing platform does not perform repeated available resource value calculation for the target object in other target resources, and delete the target object corresponding to other target resources. Save storage space for object processing platforms.
  • the target object processing method calculates the available resource value of the corresponding target object based on the sorted target resources after sorting the target resources on the object processing platform, so that the user's target objects can enjoy the priority.
  • the higher available resource value of the top-ranked target resource and after processing the target object based on the available resource value, delete the target object corresponding to other target resources in the object processing platform, so that the next target resource is calculating its corresponding target object
  • the available resource value reaches , the target object that has already enjoyed the available resource value no longer participates in the calculation of other target resources, which greatly improves the calculation rate and storage space of the object processing platform.
  • FIG. 3 shows a flow chart of a processing process of a method for processing a target object provided by an embodiment of the present specification, which specifically includes the following steps.
  • Step 302 Acquire multiple coupons corresponding to the user from the resource database, and sort the multiple coupons.
  • the coupon may be a single-product coupon.
  • the multiple coupons are sorted according to the denomination, threshold amount and expiration time of the coupons.
  • Step 304 Traverse each coupon, and acquire multiple commodities to be settled corresponding to the user from the object database.
  • Step 306 Based on the usage requirements of each coupon, match the corresponding commodity for each coupon.
  • the usage demand of the coupon can be understood as the information of the products that can be discounted by the coupon.
  • Step 308 Calculate the total amount of commodities matched by each coupon.
  • Step 310 Select the first-ranked coupon, and determine whether the total amount of the products matched by the coupon is greater than or equal to the threshold amount of the corresponding coupon. If so, go to step 312, and if not, terminate the calculation.
  • the threshold amount of the coupon can be understood as the full discount amount of the coupon.
  • the coupon can be used when the coupon reaches 1000, and then 1000 is the threshold amount of the coupon.
  • Step 312 Determine whether the coupon is a flat-rate discount, if yes, go to Step 314, if not, go to Step 320.
  • the coupon is a cash coupon
  • it can be determined that the coupon is a flat-sharing coupon.
  • Step 314 Calculate the discountable amount of all commodities based on the amount of each commodity matched by the coupon.
  • the products matched by the coupon are: product 1 and product 2, for example, product 1: 50 yuan, product 2: 80 yuan, the total is 130 yuan, and the coupon discount is 100 yuan, then the amount that can be discounted is 100 Yuan. If product 1: 20 yuan, product 2: 40 yuan, the total is 60 yuan, the voucher discount is 100 yuan, and the amount that can be discounted is 60 yuan. That is, if the coupon does not fully deduct the threshold amount, the smaller value is taken between the discountable amount and the matching product amount.
  • Step 316 Allocate the discountable amount to each commodity based on the discountable amount of all commodities and the amount of each commodity matched by the coupon.
  • Step 318 Eliminate the products that have already enjoyed the discount from the products matched with other coupons.
  • the products that have already enjoyed the discount are excluded from the products matched by other coupons, and the discountable amount of the product matched by the next coupon is calculated based on the above processing steps. After all the coupons have been calculated, the calculation is terminated. .
  • Step 320 Sort the commodities matched by the coupon according to the commodity amount from high to low.
  • Step 322 Traverse each sorted commodity matched by the coupon, and determine the commodity for which the discount is to be calculated.
  • each commodity is traversed in descending order after sorting, and each time a commodity is determined as a commodity that can be used for a discount to be calculated.
  • Step 324 Determine whether the discountable quantity and the discountable amount of the coupon are greater than 0. If so, go to Step 326, if not, terminate the calculation.
  • Step 326 Calculate the available discount of the commodity for which the discount is to be calculated based on the discountable amount of the coupon and the amount of the commodity for which the discount is to be calculated, and deduct the discountable amount and the discountable quantity of the coupon.
  • Step 328 Eliminate the products that have already enjoyed the discount from the products matched with other coupons.
  • the products that have already enjoyed the discount are excluded from the products matched by other coupons, and the discountable amount of the product matched by the next coupon is calculated based on the above processing steps. After all the coupons have been calculated, the calculation is terminated. .
  • the target object processing method provided in the embodiment of this specification adopts a locally optimal preferential calculation method, by sorting coupons and commodities, and using the methods of preferential sharing and commodity-by-commodity elimination to allocate the discounts to the corresponding commodities,
  • the products that enjoy the discount will no longer participate in the discount calculation of other single product coupons.
  • the target object processing method the following four points can be achieved: a. Each product can only enjoy one single product coupon at most; b. On the basis, each single product coupon can also set the maximum discount quantity of the product; c. The product that has already enjoyed the discount will no longer participate in the discount calculation of other single product coupons, which overcomes the existing method. The discounted product still participates in the next single product coupon.
  • the problem of preferential calculation d.
  • this method uses a local optimal calculation method, it avoids the problems of large amount of calculation and large storage space caused by the existing method exhausting all combinations.
  • the discounts are allocated to the corresponding products.
  • users can enjoy the largest single product as much as possible. Product discounts, while reducing the amount of calculation.
  • FIG. 4 shows a schematic structural diagram of a target object processing apparatus provided by an embodiment of the present specification.
  • the apparatus includes: a resource acquisition module 402, configured to acquire at least one target resource corresponding to a user, and to sort the at least one target resource based on a preset sorting rule; an object determination module 404, configured by is configured to determine the target object of the user corresponding to each target resource based on the object attribute information corresponding to each target resource after sorting; the resource value determination module 406 is configured to be in the resource value of the target object corresponding to each target resource In the case of being greater than or equal to the set resource value of the target resource, based on the resource type of each target resource, determine the available resource value of the target object corresponding to each target resource; the target object processing module 408 is configured to be based on each target resource.
  • the available resource value of the corresponding target object and the resource value of the target object is configured to acquire at least one target resource corresponding to a user, and to sort the at least one target resource based on a
  • the resource acquisition module 402 is further configured to: determine the resource value of each target resource in the at least one target resource; in the case where there is no target resource with the same resource value in the at least one target resource Next, the at least one target resource is sorted based on the resource value of each target resource.
  • the apparatus further includes: a sequence update module, configured to: in the case that a target resource with the same resource value exists in the at least one target resource, update the at least one target resource based on the resource value of each target resource.
  • a target resource is initially sorted, and the set resource value of each target resource with the same resource value is determined; it is judged whether the set resource value of each target resource with the same resource value is the same, and if so, determine each target resource with the same resource value.
  • the usage time of the target resource, and the sequence of each target resource with the same resource value is updated based on the usage time. If not, the sequence of each target resource with the same resource value is updated based on the set resource value.
  • the object determination module 404 is further configured to: acquire at least one target object corresponding to the user, and determine the object attribute information of each target object in the at least one target object; The relationship between the object attribute information corresponding to the target resource and the object attribute information of each target object determines the target object corresponding to each target resource.
  • the resource value determination module 406 is further configured to: determine the resource type of each target resource, and in the case that the resource type is the first resource type, based on the resource value of each target resource and each target resource. The proportional relationship between the resource values of the target objects corresponding to each target resource is calculated, and the available resource value of the target object corresponding to each target resource is calculated.
  • the resource value determining module 406 is further configured to: determine the resource type of each target resource, and in the case that the resource type is the second resource type, based on the target object corresponding to each target resource Resource value, sort the target objects corresponding to each target resource in descending order; calculate the descending order based on the resource value of each target resource, the usage rules of each target resource, and the resource value of the target object corresponding to each target resource after sorting in descending order The available resource value of the target object corresponding to each target resource after arrangement.
  • the resource value determination module 406 is further configured to: based on the resource value of each target resource, the usage rule of each target resource, and the resource of the first target object corresponding to each target resource after the descending arrangement value, calculate the available resource value of the first target object corresponding to each target resource after the descending order; determine 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 descending order is calculated based on the resource value of each target resource and the available resource value of the first target object corresponding to each target resource after the descending order. The available resource value of the next target object corresponding to each target resource after arrangement.
  • the apparatus further includes: a resource value calculation module configured to: in the case that the resource difference value is greater than a preset resource threshold, and the available number of times corresponding to each target resource is greater than a preset number of times threshold , based on the resource value of each target resource and the available resource value of the first target object corresponding to each target resource after the descending order, calculate the available resource value of the next target object corresponding to each target resource after the descending order.
  • a resource value calculation module configured to: in the case that the resource difference value is greater than a preset resource threshold, and the available number of times corresponding to each target resource is greater than a preset number of times threshold , based on the resource value of each target resource and the available resource value of the first target object corresponding to each target resource after the descending order, calculate the available resource value of the next target object corresponding to each target resource after the descending order.
  • the target object processing module 408 is further configured to: determine the target resource value of the target object corresponding to each target resource based on the difference between the resource value of the target object corresponding to each target resource and the available resource value , and process the target object corresponding to each target resource based on the target resource value.
  • the target object processing module 408 is further configured to, the deleting the target objects corresponding to other target resources includes: determining the target objects corresponding to other target resources, in the target objects corresponding to the other target resources If there is a processed target object, the object processing platform deletes the processed target objects corresponding to other target resources.
  • the target object processing apparatus calculates the available resource value of the corresponding target object based on the sorted target resources after sorting the target resources on the object processing platform, so that the target objects of the user can enjoy preferential treatment The higher available resource value of the top-ranked target resource; and after processing the target object based on the available resource value, delete the target object corresponding to other target resources in the object processing platform, so that the next target resource is calculating its corresponding target object
  • the available resource value reaches , the target object that has already enjoyed the available resource value no longer participates in the calculation of other target resources, which greatly improves the calculation rate and storage space of the object processing platform.
  • the above is a schematic solution of a target object processing apparatus according to this embodiment. It should be noted that the technical solution of the target object processing device and the technical solution of the above-mentioned target object processing method belong to the same concept. Description of the technical solution.
  • FIG. 5 shows a structural block diagram of a computing device 500 provided according to an embodiment of the present specification.
  • Components of the computing device 500 include, but are not limited to, memory 510 and processor 520 .
  • the processor 520 is connected with the memory 510 through the bus 530, and the database 550 is used for saving data.
  • Computing device 500 also includes access device 540 that enables computing device 500 to communicate via one or more networks 560 .
  • networks include a 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.
  • Access device 540 may include one or more of any type of network interface (eg, network interface card (NIC)), wired or wireless, such as IEEE 802.11 wireless local area network (WLAN) wireless interface, World Interoperability for Microwave Access ( Wi-MAX) interface, Ethernet interface, Universal Serial Bus (USB) interface, cellular network interface, Bluetooth interface, Near Field Communication (NFC) interface, and the like.
  • NIC network interface card
  • computing device 500 may also be connected to each other, such as through a bus.
  • bus may also be connected to each other, such as through a bus.
  • FIG. 5 the structural block diagram of the computing device shown in FIG. 5 is only for the purpose of example, rather than limiting the scope of this specification. Those skilled in the art can add or replace other components as required.
  • Computing device 500 may be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (eg, tablets, personal digital assistants, laptops, notebook computers, netbooks, etc.), mobile phones (eg, smartphones ), wearable computing devices (eg, smart watches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or PCs.
  • Computing device 500 may also be a mobile or stationary server.
  • the processor 520 is configured to execute the following computer-executable instructions, which implement the steps of the target object processing method when the computer-executable instructions are executed by the processor.
  • the above is a schematic solution of a computing device according to this embodiment. It should be noted that the technical solution of the computing device and the technical solution of the above-mentioned target object processing method belong to the same concept, and the 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 above-mentioned target object processing method. .
  • An embodiment of the present specification further provides a computer-readable storage medium, which stores computer instructions, and when the computer-executable instructions are executed by a processor, implements the steps of the target object processing method.
  • the above is a schematic solution of a computer-readable storage medium of this embodiment. It should be noted that the technical solution of the storage medium and the technical solution of the above-mentioned target object processing method belong to the same concept, and the 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 above-mentioned target object processing method. .
  • the computer instructions include computer program code, which may be in source code form, object code form, an executable file, 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, U disk, removable hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable media may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer-readable media Electric carrier signals and telecommunication signals are not included.

Abstract

Provided in embodiments of the present description are a method and device for target object processing. The method for target object processing comprises: acquiring at least one target resource corresponding to a user and sorting the at least one target resource on the basis of a preset sorting rule; determining, on the basis of object attribute information corresponding to each sorted target resource, a target object of the user corresponding to each target resource; insofar as a resource value of the target object corresponding to each target resource is greater than or equal to a set resource value of the target resource, determining, on the basis of the resource type of each target resource, an available resource value of the target object corresponding to each target resource; and processing, on the basis of the available resource value of the target object corresponding to each target resource and of the resource value of the target object corresponding to each target resource, the target object corresponding to each target resource.

Description

目标对象处理的方法及装置Method and device for target object processing 技术领域technical field
本说明书实施例涉及计算机技术领域,特别涉及一种目标对象处理方法。本说明书一个或者多个实施例同时涉及一种目标数据处理装置,一种计算设备,以及一种计算机可读存储介质。The embodiments of this specification relate to the field of computer technologies, and in particular, to a method for processing a target object. One or more embodiments of this specification simultaneously relate to a target data processing apparatus, a computing device, and a computer-readable storage medium.
背景技术Background technique
现有技术中,很多电商为了提高商品销量和用户访问率,会通过向用户投放优惠券的方式激励用户在其电商平台进行消费。一般情况下,优惠券会以单品活动的形式投入,但是由于优惠券的类型不同,金额不同,因此每张优惠券对应的可优惠商品也不同。In the prior art, in order to increase product sales and user access rate, many e-commerce companies will encourage users to consume on their e-commerce platforms by offering coupons to users. Under normal circumstances, coupons will be invested in the form of single-product activities, but due to different types of coupons and different amounts, the discountable products corresponding to each coupon are also different.
目前的单品优惠计算,通过为每张优惠券匹配商品尝试分配优惠金额,穷举所有单品跟单品优惠券的组合关系,以找出最优惠金额最大的一种组合。但是此种方式需要穷举所有组合,在单品优惠券和商品组合关系比较多的情况下,计算量比较大,耗时也会较长,用户体验较差。The current single product discount calculation, by trying to allocate the discount amount for each coupon matching product, and exhausting the combination relationship between all single product and single product coupons, to find the one with the largest discount amount. However, this method needs to exhaustively enumerate all combinations. In the case where there are many relationships between single product coupons and product combinations, the amount of calculation is relatively large, the time consuming will be long, and the user experience will be poor.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本说明书施例提供了一种目标对象处理方法。本说明书一个或者多个实施例同时涉及一种目标对象处理装置,一种计算设备,以及一种计算机可读存储介质,以解决现有技术中存在的技术缺陷。In view of this, the embodiments of the present specification provide a target object processing method. One or more embodiments of this specification simultaneously relate to a target object processing apparatus, a computing device, and a computer-readable storage medium, so as to solve the technical defects existing in the prior art.
根据本说明书实施例的第一方面,提供了一种目标对象处理方法,包括:获取与用户对应的至少一个目标资源,并基于预设排序规则对所述至少一个目标资源进行排序;基于排序后每个目标资源对应的对象属性信息,确定每个目标资源对应的所述用户的目标对象;在每个目标资源对应的目标对象的资源值大于等于目标资源的设定资源值的情况下,基于每个目标资源的资源类型,确定每个目标资源对应的目标对象的可用资源值;基于每个目标资源对应的目标对象的可用资源值以及每个目标资源对应的目标对象的资源值,处理每个目标资源对应的目标对象。According to a first aspect of the embodiments of this specification, there is provided a target object processing method, including: acquiring at least one target resource corresponding to a user, and sorting the at least one target resource based on a preset sorting rule; The object attribute information corresponding to each target resource determines the target object of the user 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, based on The resource type of each target resource determines the available resource value of 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, process each target resource. The target object corresponding to each target resource.
根据本说明书实施例的第二方面,提供了一种目标对象处理装置,包括:资源获取模块,被配置为获取与用户对应的至少一个目标资源,并基于预设排序规则对所述至少一个目标资源进行排序;对象确定模块,被配置为基于排序后每个目标资源对应的对象属性信息,确定每个目标资源对应的所述用户的目标对象;资源值确定模块,被配置为在每个目标资源对应的目标对象的资源值大于等于目标资源的设定资源值的情况下,基于每个目标资源的资源类型,确定每个目标资源对应的目标对象的可用资源值;目标对象处理模块,被配置为基于每个目标资源对应的目标对象的可用资源值以及每个目标资源对应的目标对象的资源值,处理每个目标资源对应的目标对象。According to a second aspect of the embodiments of the present specification, there is provided an apparatus for processing a target object, including: a resource acquisition module configured to acquire at least one target resource corresponding to a user, and perform an analysis on the at least one target resource based on a preset sorting rule resources are sorted; the object determination module is configured to determine the target object of the user corresponding to each target resource based on the object attribute information corresponding to each target resource after sorting; the resource value determination module is configured to When the resource value of the target object corresponding to the resource is greater than or equal to the set resource value of the 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; It 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 the embodiments of the present specification, a computing device is provided, including: a memory and a processor; the memory is used for storing computer-executable instructions, which implement the target object when the computer-executable instructions are executed by the processor The steps of the processing method.
根据本说明书实施例的第四方面,提供了一种计算机可读存储介质,其存储有计算机可执行指令,该计算机可执行指令被处理器执行时实现所述目标对象处理方法的步骤。According to a fourth aspect of the embodiments of the present specification, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, implements the steps of the target object processing method.
本说明书一个实施例实现了所述目标对象处理方法及装置,其中,所述目标对象处理方法包括获取与用户对应的至少一个目标资源,并基于预设排序规则对所述至少一个目标资源进行排序;基于排序后每个目标资源对应的对象属性信息,确定每个目标资源对应的所述用户的目标对象;在每个目标资源对应的目标对象的资源值大于等于目标资源的设定资源值的情况下,基于每个目标资源的资源类型,确定每个目标资源对应的目标对象的可用资源值;基于每个目标资源对应的目标对象的可用资源值以及每个目标资源对应的目标对象的资源值,处理每个目标资源对应的目标对象。具体的,所述目标对象处理方法通过在对象处理平台对目标资源进行排序后,再基于排序后的目标资源计算其对应的目标对象的可用资源值,使得用户的目标对象可以优先享受排序靠前的目标资源的较高可用资源值;并且基于可用资源值对目标对象处理后,可以删除对象处理平台中其他目标资源对应的该目标对象,使得下一个目标资源在计算其对应的目标对象的可用资源值时,已经享受过可用资源值的目标对象不再参与其他目标资源的计算,极大的提高了对象处理平台的计算率以及存储空间。An embodiment of this specification implements the target object processing method and apparatus, wherein 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 ; Based on the object attribute information corresponding to each target resource after sorting, determine the target object of the user corresponding to each target resource; 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. In this case, based on the resource type of each target resource, determine the available resource value of 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 of the target object corresponding to each target resource Value, process the target object corresponding to each target resource. Specifically, the target object processing method calculates the available resource value of the corresponding target object based on the sorted target resources after sorting the target resources on the object processing platform, so that the user's target objects can enjoy the priority of the ranking. The higher available resource value of the target resource; 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 the next target resource can calculate the availability of its corresponding target object. When the resource value is used, the target object that has already enjoyed the available resource value no longer participates in the calculation of other target resources, which greatly improves the calculation rate and storage space of the object processing platform.
附图说明Description of drawings
图1是本说明书一个实施例提供的一种目标对象处理方法的具体应用示意图;1 is a schematic diagram of a specific application of a target object processing method provided by an embodiment of this specification;
图2是本说明书一个实施例提供的一种目标对象处理方法的流程图;2 is a flowchart of a method for processing a target object provided by an embodiment of the present specification;
图3是本说明书一个实施例提供的一种目标对象处理方法的处理过程流程图;Fig. 3 is a processing process flow chart of a target object processing method provided by an embodiment of the present specification;
图4是本说明书一个实施例提供的一种目标对象处理装置的结构示意图;4 is a schematic structural diagram of a target object processing apparatus provided by an embodiment of the present specification;
图5是本说明书一个实施例提供的一种计算设备的结构框图。FIG. 5 is a structural block diagram of a computing device provided by an embodiment of the present specification.
具体实施方式Detailed ways
在下面的描述中阐述了很多具体细节以便于充分理解本说明书。但是本说明书能够以很多不同于在此描述的其它方式来实施,本领域技术人员可以在不违背本说明书内涵的情况下做类似推广,因此本说明书不受下面公开的具体实施的限制。In the following description, numerous specific details are set forth in order to provide a thorough understanding of this specification. However, this specification can be implemented in many other ways different from those described herein, and those skilled in the art can make similar promotions without departing from the connotation of this specification. Therefore, this specification is not limited by the specific implementation disclosed below.
在本说明书一个或多个实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本说明书一个或多个实施例。在本说明书一个或多个实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本说明书一个或多个实施例中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in one or more embodiments of this specification is for the purpose of describing a particular embodiment only and is not intended to limit the one or more embodiments of this specification. As used in the specification or embodiments and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and/or" as used in this specification in one or more embodiments refers to and includes 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 in one or more embodiments of this specification to describe various information, such information should not be limited by these terms. These terms are only used to distinguish the same type of information from each other. For example, first could be termed second, and similarly, second could be termed first, without departing from the scope of one or more embodiments of this specification. Depending on the context, the word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determining."
首先,对本说明书一个或多个实施例涉及的名词术语进行解释。First, the terminology involved in one or more embodiments of the present specification is explained.
交易:本说明书实施例中的交易指用户通过终端设备,在线下店铺购买商品或者服务的行为。Transaction: The transaction in the embodiments of this specification refers to the behavior of a user purchasing commodities or services in an offline store through a terminal device.
单品优惠券:商家可以设置基于sku(Stock Keeping Unit,最小存货单位)商品的营销活动,这种商品维度的优惠券叫做单品优惠券,单品优惠券的形式包括单品折扣券、单品代金券和单品特价券等。Single-product coupons: Merchants can set up marketing activities based on sku (Stock Keeping Unit, minimum stock keeping unit) products. The coupons of this product dimension are called single-product coupons. The forms of single-product coupons include single-product discount coupons, single-product coupons Product vouchers and single-item discount coupons, etc.
目前,存在一种单品优惠计算模型,分两步计算单品优惠:第一步为每张单品优惠券匹配商品尝试分配优惠金额;第二步,在一种商品只能使用一张券的原则下,穷举所有单品跟单品优惠券的组合关系,找出优惠金额最大的一种组合。该种方案存在以下三种缺点:1、已经享受优惠商品,仍然会参与其它单品优惠券的门槛金额计算,这种计算方法会花费商户更多的营销费用,在线下支付场景下,商户往往不能接受这种计算方式;2、这种单品优惠计算模型可以设置每种商品最多优惠几件,但却无法设置所有商品最多优惠多少件;3、这种单品优惠计算模型穷举所有组合,在单品优惠券和商品组合关系比较多的情况下,计算量比较大、耗时也会比较长,会导致用户无法使用预期的单品优惠券。At present, there is a single product discount calculation model that calculates the single product discount in two steps: the first step is to try to allocate the discount amount for each single product coupon matching product; the second step, in the principle that only one coupon can be used for one product Next, exhaustively list all the combinations of single products and single product coupons, and find the combination with the largest discount amount. This scheme has the following three disadvantages: 1. If you have already enjoyed preferential products, you will still participate in the calculation of the threshold amount of coupons for other single products. This calculation method will cost merchants more marketing expenses. In offline payment scenarios, merchants often This calculation method cannot be accepted; 2. This single product discount calculation model can set the maximum discount for each product, but it cannot set the maximum discount for all products; 3. This single product discount calculation model exhausts all combinations. , in the case that there are many relationships between single-product coupons and product combinations, the amount of calculation is relatively large and the time-consuming will be relatively long, which will cause users to be unable to use the expected single-product coupons.
在本说明书中,提供了一种目标对象处理方法,本说明书同时涉及一种目标对象处理装置,一种计算设备,以及一种计算机可读存储介质,在下面的实施例中逐一进行详细说明。In this specification, a target object processing method is provided, and the present specification also relates to a target object processing apparatus, a computing device, and a computer-readable storage medium, which will be described in detail one by one in the following embodiments.
参见图1,图1示出了根据本说明书一个实施例提供的一种目标对象处理方法的具体应用示意图。Referring to FIG. 1, FIG. 1 shows a schematic diagram of a specific application of a target object processing method provided according to an embodiment of the present specification.
图1中,本说明书提供的所述目标对象处理方法可以应用于使用单品优惠券进行商品结算的场景中。In FIG. 1 , the target object processing method provided in this specification can be applied to a scenario where a single-product coupon is used for commodity settlement.
步骤一:商户创建单品优惠活动。Step 1: The merchant creates a single product promotion.
具体的,所述目标处理方法可以应用在线上或者线下使用单品优惠券进行商品结算的场景中。Specifically, the target processing method may be applied to a scenario in which a single-product coupon is used for commodity settlement online or offline.
其中,商户可以理解为售卖任意商品的卖家,单品可以理解为商户售卖的商品,例如上衣、裤子、针织衫或者洗发水等SKU粒度的商品,单品优惠可以理解为针对某一种商品的优惠,例如针对洗发水的优惠。Among them, a merchant can be understood as a seller who sells any product, a single product can be understood as a product sold by a merchant, such as tops, pants, sweaters, or shampoo and other SKU-sized products, and a single product discount can be understood as a certain kind of product. Offers, such as those on shampoos.
以单品为洗发水为例,商户创建单品优惠活动可以理解为,商户创建针对洗发水的优惠活动,针对该优惠活动生成单品优惠券,即洗发水优惠券,该优惠券可以在买家购买洗发水进行结算时,进行金额的满减或者打折等。Taking a single product as shampoo as an example, it can be understood that when a merchant creates a single product discount activity, the merchant creates a discount activity for shampoo, and generates a single product coupon for the discount activity, that is, a shampoo coupon, which can be purchased at When the household purchases shampoo and settles the settlement, the amount will be fully deducted or discounted.
步骤二:用户参与活动,申领单品优惠券。Step 2: The user participates in the activity and applies for a single product coupon.
仍以上述为例,单品优惠券可以理解为洗发水优惠券,用户参与商户创建的该单品优惠活动后,可以申领商家生成的单品优惠券。Still taking the above example as an example, a single product coupon can be understood as a shampoo coupon. After a user participates in the single product promotion created by the merchant, he can apply for the single product coupon generated by the merchant.
步骤三:用户在交易时,使用该单品优惠券。Step 3: When the user trades, use the single product coupon.
沿用上例,在用户申领了洗发水优惠券,且购买的洗发水的金额达到了可以使用优惠券的条件的情况下,在用户针对该洗发水进行结算时,结算系统会基于该单品优惠券对洗发水进行金额的满减或者打折等,实现用户在购买洗发水时商家对其产生优惠行为,满足用户体验。Following the above example, when the user applies for a shampoo coupon and the amount of purchased shampoo meets the conditions for using the coupon, when the user settles the shampoo, the settlement system will be based on the single product. Coupons can fully reduce or discount the amount of shampoo, so that when users buy shampoo, merchants give preferential behavior to them and satisfy the user experience.
本说明书实施例提供的所述目标对象处理方法,可以在用户进行交易时,基于购买商品和单品优惠券的关联关系,实现在购买商品结算时,基于对应的单品优惠券对其进行金额上的优惠,提升用户的购物体验。The target object processing method provided in the embodiment of this specification can realize that when the purchased commodity is settled, the amount based on the corresponding single-product coupon is processed based on the association relationship between the purchased commodity and the single-product coupon when the user conducts a transaction. Offers on the website to enhance the shopping experience of users.
参见图2,图2示出了根据本说明书一个实施例提供的一种目标对象处理方法的流程图,所述目标处理方法应用于对象处理平台,具体包括以下步骤。Referring to FIG. 2, FIG. 2 shows a flowchart of a target object processing method provided according to an embodiment of the present specification. The target object processing method is applied to an object processing platform, and specifically includes the following steps.
步骤202:获取与用户对应的至少一个目标资源,并基于预设排序规则对所述至少一个目标资源进行排序。Step 202: Acquire at least one target resource corresponding to the user, and sort the at least one target resource based on a preset sorting rule.
具体实施时,所述目标对象处理方法的具体应用场景不同,目标资源以及目标对象也不同。例如,所述目标对象处理方法应用在使用单品优惠券进行商品结算的场景中,此时的目标资源可以理解为单品优惠券,目标对象可以理解为购买的商品;而所述目标对象处理方法应用在积分换购场景中,此时的目标资源可以理解为积分,目标对象可以理解为换购物品等。实际应用中,所述目标对象处理方法还可以应用于其他可适用场景中,本说明书对此不做任何限定。During specific implementation, the specific application scenarios of the target object processing method are different, and the target resources and target objects are also different. For example, the target object processing method is applied in the scenario of using single-product coupons for commodity settlement. At this time, the target resource can be understood as a single-product coupon, and the target object can be understood as a purchased commodity; and the target object processing method The method is applied in the point redemption scenario. The target resource at this time can be understood as points, and the target object can be understood as exchange items. In practical applications, the target object processing method can also be applied to other applicable scenarios, which are not limited in this specification.
为了便于理解,本说明书实施例中,均以所述目标对象处理方法应用在使用单品优惠券进行商品结算的场景中,进行详细描述。For ease of understanding, in the embodiments of this specification, the target object processing method is applied in the scenario of using a single-product coupon for commodity settlement, and is described in detail.
实际应用中,在所述目标资源目标对象处理方法应用在使用单品优惠券进行商品结算的场景的情况下,对象处理平台可以理解为利用单品优惠券进行商品结算的结算平台;此外,目标资源也可以预先存储在资源数据库,在具体使用时,再基于用户的用户标识以及资源标识从资源数据库中,获取与用户对应的多个目标资源。In practical applications, when the target object processing method of the target resource is applied in the scenario of using single-product coupons for commodity settlement, the object processing platform can be understood as a settlement platform that uses single-product coupons for commodity settlement; in addition, the target The resources may also be pre-stored in the resource database, and during specific use, multiple target resources corresponding to the user are obtained from the resource database based on the user ID and the resource ID of the user.
例如,在目标资源为单品优惠券的情况下,资源数据库可以理解为存放多个单品优惠券的数据库。具体使用时,资源生成服务器会获取多个商家的资源创建需求,基于商家的资源创建需求创建对应的目标资源,并将该目标资源放入资源数据库,以供不同的商家在创建单品优惠活动时可以直接从资源数据库中进行目标资源的调用,无需再向资源服务器发出资源生成请求,进行目标资源的重新生成,节省系统处理流程和处理量。For example, when the target resource is a single-product coupon, the resource database can be understood as a database that stores multiple single-product coupons. In specific use, the resource generation server will obtain the resource creation requirements of multiple merchants, create corresponding target resources based on the resource creation requirements of the merchants, and put the target resources into the resource database for different merchants to create single product promotions. When the target resource is called directly from the resource database, there is no need to send a resource generation request to the resource server to regenerate the target resource, saving the system processing flow and processing volume.
以目标资源为单品优惠券为例,用户将商品加入购物车,进行结算时,基于用户的用户标识(例如手机号、证件号等)从资源数据库中获取与该用户对应的至少一个单品优惠券,该至少一个单品优惠券可以是用户之前基于商家活动申领的,为了避免对用户的终端(例如手机)造成存储压力,实际应用中,用户申领的单品优惠券不会直接放置在用户的终端,而是将用户申领的单品优惠券的标识放置在用户的终端,在用户进行商品结算时,才会基于用户终端的单品优惠券的标识和用户标识,从资源数据库中获取与该用户对应的至少一个单品优惠券。Taking the target resource as a single product coupon as an example, when the user adds the product to the shopping cart and performs settlement, at least one single product corresponding to the user is obtained from the resource database based on the user's user ID (such as mobile phone number, certificate number, etc.). Coupon, the at least one single-item coupon may be previously applied by the user based on the merchant's activity. In order to avoid storage pressure on the user's terminal (such as a mobile phone), in practical applications, the single-item coupon applied by the user will not be directly It is placed on the user's terminal, but the identification of the single-product coupons claimed by the user is placed on the user's terminal. When the user settles the goods, the identification of the single-product coupons and the user identification of the user terminal will be based on the resource. At least one single product coupon corresponding to the user is obtained from the database.
此外,为了使得用户在商品结算时可以使用最合适的优惠券,享受最大限度的优惠, 结算系统还会对从资源数据库获取到的目标资源按照预设排序规则进行排序,具体实施方式如下所述:所述基于预设排序规则对所述至少一个目标资源进行排序,包括:确定所述至少一个目标资源中每个目标资源的资源值;在所述至少一个目标资源中不存在资源值相同的目标资源的情况下,基于每个目标资源的资源值对所述至少一个目标资源进行排序。In addition, in order to enable users to use the most suitable coupons and enjoy maximum discounts during commodity settlement, the settlement system will also sort the target resources obtained from the resource database according to the preset sorting rules. The specific implementation is as follows. : the sorting of the at least one target resource based on a preset sorting rule includes: determining a resource value of each target resource in the at least one target resource; no resource value with the same resource value exists in the at least one target resource In the case of target resources, the at least one target resource is ordered based on the resource value of each target resource.
沿用上例,若目标资源为单品优惠券的情况下,目标资源的资源值则为每个单品优惠券均对应一个券金额;那么在所述至少一个目标资源中不存在资源值相同的目标资源的情况下,基于每个目标资源的资源值对所述至少一个目标资源进行排序,则可以理解为在至少一个单品优惠券中不存在券金额相同的单品优惠券的情况下,基于每个单品优惠券的券金额对所述至少一个单品优惠券进行排序。Following the above example, if the target resource is a single product coupon, the resource value of the target resource is a coupon amount corresponding to each single product coupon; then there is no resource value with the same resource value in the at least one target resource. In the case of target resources, the at least one target resource is sorted based on the resource value of each target resource, it can be understood that if there is no single-product coupon with the same coupon amount in at least one single-product coupon, The at least one single-item coupon is ordered based on the coupon amount of each single-item coupon.
例如目标资源为单品优惠券1,单品优惠券2,单品优惠券3,其中,单品优惠券1的券金额为100元、单品优惠券2的券金额为200元、单品优惠券3的券金额为300元。For example, the target resources are single-product coupon 1, single-product coupon 2, and single-product coupon 3. Among them, single-product coupon 1 has a coupon amount of 100 yuan, single-product coupon 2 has a coupon amount of 200 yuan, and single-product coupon 2 has a coupon amount of 200 yuan. The coupon amount for Coupon 3 is 300 yuan.
那么则可以确定每个单品优惠券的券金额均不相同,即上述三个目标资源中不存在资源值相同的目标资源;此时,则基于每个单品优惠券的券金额对上述三个单品优惠券进行排序,即排序后的单品优惠券为[单品优惠券3、单品优惠券2、单品优惠券1]。Then it can be determined that the coupon amount of each single product coupon is different, that is, there is no target resource with the same resource value among the above three target resources; at this time, based on the coupon amount of each single product coupon, the above three The single product coupons are sorted, that is, the sorted single product coupons are [single product coupon 3, single product coupon 2, single product coupon 1].
本说明书实施例中,基于每个目标资源的资源值对获取的所有目标资源进行降序排列,使得用户可以先基于资源值较大的目标资源对目标对象进行结算处理,使得用户可以享受到资源值最大的目标资源,提升用户体验。In the embodiment of this specification, all the acquired target resources are sorted in descending order based on the resource value of each target resource, so that the user can first perform settlement processing on the target object based on the target resource with a larger resource value, so that the user can enjoy the resource value The largest target resource to improve user experience.
而若在目标资源中存在资源值相同的目标资源的情况下,为了避免目标资源之间的使用冲突,需要根据目标资源的其他属性信息对资源值相同的目标资源的顺序进行更新调整,具体实施方式如下所述:所述确定所述至少一个目标资源中每个目标资源的资源值之后,还包括:在所述至少一个目标资源中存在资源值相同的目标资源的情况下,基于每个目标资源的资源值对所述至少一个目标资源进行初始排序,并确定资源值相同的每个目标资源的设定资源值;判断资源值相同的每个目标资源的设定资源值是否相同,若是,则确定资源值相同的每个目标资源的使用时间,并基于使用时间对资源值相同的每个目标资源的顺序进行更新,若否,则基于设定资源值对资源值相同的每个目标资源的顺序进行更新。However, if there are target resources with the same resource value in the target resources, in order to avoid the use conflict between the target resources, it is necessary to update and adjust the order of the target resources with the same resource value according to other attribute information of the target resources. The method is as follows: after the determining the resource value of each target resource in the at least one target resource, the method further includes: in the case that a target resource with the same resource value exists in the at least one target resource, based on each target resource The resource value of the resource performs initial sorting on the at least one target resource, and determines the set resource value of each target resource with the same resource value; judges whether the set resource value of each target resource with the same resource value is the same, and if so, Then determine the usage time of each target resource with the same resource value, and update the sequence of each target resource with the same resource value based on the usage time. If not, then set the resource value for each target resource with the same resource value. order to update.
沿用上例,若目标资源为单品优惠券1,单品优惠券2,单品优惠券3,单品优惠券4,其中,单品优惠券1的券金额为100元、单品优惠券2的券金额为200元、单品优惠券3的券金额为300元,单品优惠券4的券金额为300元。Following the above example, if the target resource is 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 yuan, and the single-product coupon The coupon value of 2 is 200 yuan, the coupon value of single product coupon 3 is 300 yuan, and the coupon value of single product coupon 4 is 300 yuan.
那么则可以确定单品优惠券3和单品优惠券4的全金额相同,此种情况下,可以先基于每个单品优惠券的券金额对所有的单品优惠券进行初始排序,例如排序后的单品优惠券为[单品优惠券4、单品优惠券3、单品优惠券2、单品优惠券1]或者[单品优惠券3、单品优惠券4、单品优惠券2、单品优惠券1]。Then it can be determined that the total amount of single-product coupon 3 and single-product coupon 4 is the same. In this case, all single-product coupons can be initially sorted based on the coupon amount of each single-product coupon, such as sorting. The following single product coupons are [single product coupon 4, single product coupon 3, single product coupon 2, single product coupon 1] or [single product coupon 3, single product coupon 4, single product coupon 2. Single product coupon 1].
然后确定资源值相同的每个目标资源的设定资源值,例如券金额相同的每个单品优惠券的门槛金额,若单品优惠券3为满1000元减300元,则单品优惠券3的门槛金额为1000元;单品优惠券4为满500元减300元,则单品优惠券4的门槛金额为500元。Then determine the set resource value of each target resource with the same resource value, for example, the threshold amount of each single product coupon with the same coupon amount, if the single product coupon 3 is over 1000 yuan minus 300 yuan, the single product coupon The threshold amount for 3 is 1,000 yuan; for single-product coupon 4, if the purchase amount is 500 yuan minus 300 yuan, the threshold amount for single-product coupon 4 is 500 yuan.
那么可以确定券金额相同的单品优惠券3和单品优惠券4的门槛金额不相同,此时,则可以基于单品优惠券3和单品优惠券4的门槛金额对单品优惠券3和单品优惠券4的顺序进行更新,即获得更新后的排序的单品优惠券[单品优惠券3、单品优惠券4、单品优惠券2、单品优惠券1]。Then it can be determined that the threshold amounts of single-product coupon 3 and single-product coupon 4 with the same coupon amount are different. At this time, based on the threshold amount of single-product coupon 3 and single-product coupon 4 Update the order of the single-product coupons 4, that is, to obtain the updated sorted single-product coupons [single-product coupon 3, single-product coupon 4, single-product coupon 2, single-product coupon 1].
若单品优惠券3为满1000元减300元,则单品优惠券3的门槛金额为1000元;单品优惠券4为满1000元减300元,则单品优惠券4的门槛金额也为1000元,则可以确定券金额相同的单品优惠券3和单品优惠券4的门槛金额相同,此时,则要获取券金额相同的单品优惠券3和单品优惠券4的使用时间,基于券金额相同的单品优惠券3的使用时间:2020年3月-2020年4月和单品优惠券4的使用时间:2020年4月-2020年5月,对券金额相同的单品优惠券3和单品优惠券4的顺序进行更新,即获得更新后的排序的单品优惠券[单品优惠券3、单品优惠券4、单品优惠券2、单品优惠券1]。If single-product coupon 3 is 300 yuan less than 1,000 yuan, the threshold amount of single-product coupon 3 is 1,000 yuan; single-product coupon 4 is 1,000 yuan minus 300 yuan, then the threshold amount of single-product coupon 4 is also If it is 1000 yuan, it can be determined that the threshold amount of single-product coupon 3 and single-product coupon 4 with the same coupon amount is the same. At this time, it is necessary to obtain the use of single-product coupon 3 and single-product coupon 4 with the same coupon amount Time, based on the use time of single product coupon 3 with the same coupon amount: March 2020-April 2020 and the use time of single product coupon 4: April 2020-May 2020, the coupon amount is the same Update the order of single product coupon 3 and single product coupon 4, that is, obtain the updated sorted single product coupon [single product coupon 3, single product coupon 4, single product coupon 2, single product coupon 1].
本说明书实施例中,在获取的所有目标资源的资源值均不相同的情况下,可以直接基于资源值对所有的目标资源进行快速排序;而在存在资源值相同的目标资源的情况下,为了避免目标资源的使用冲突,可以先基于资源值对所有的目标资源进行初始排序,再基于资源值相同的每个目标资源的设定资源值对其进行顺序更新;最后在资源值相同的每个目标资源的设定资源值也相同的情况下,可以基于资源值相同的每个目标资源的使用时间,将使用时间靠前的目标资源的顺序排列在前面,合理基于目标资源的使用时间,使用每个目标资源,提高目标资源使用率,提升用户体验。In the embodiment of this specification, in the case that the resource values of all acquired target resources are different, all target resources can be quickly sorted based on the resource values; and in the case that there are target resources with the same resource value, in order to To avoid conflict in the use of target resources, you can initially sort all target resources based on resource values, and then sequentially update them based on the set resource values of each target resource with the same resource value; When the set resource value of the target resource is also the same, you can arrange the target resource with the highest usage time in the front based on the usage time of each target resource with the same resource value, and reasonably based on the usage time of the target resource, use For each target resource, improve the utilization rate of the target resource and improve the user experience.
步骤204:基于排序后每个目标资源对应的对象属性信息,确定每个目标资源对应的所述用户的目标对象。Step 204: Determine the target object of the user corresponding to each target resource based on the object attribute information corresponding to each target resource after sorting.
其中,目标资源对应的对象属性信息包括但不限于目标资源可使用的目标对象的名称以及功能等。The object attribute information corresponding to the target resource includes but is not limited to the name and function of the target object that can be used by the target resource.
仍以目标资源为单品优惠券为例,若目标资源为洗发水优惠券,则该目标资源对应的对象属性信息可以为洗发水或者是具有洗发功能的洗护产品等。Still taking the target resource as a single product coupon as an example, if the target resource is a shampoo coupon, the object attribute information corresponding to the target resource may be shampoo or a care product with a shampoo function.
具体的,所述基于排序后每个目标资源对应的对象属性信息,确定每个目标资源对应的所述用户的目标对象,包括:获取所述用户对应的至少一个目标对象,并确定所述至少一个目标对象中每个目标对象的对象属性信息;基于排序后每个目标资源对应的对象属性信息与每个目标对象的对象属性信息之间的关联关系,确定每个目标资源对应的目标对象。Specifically, determining the target object of the user corresponding to each target resource based on the object attribute information corresponding to each target resource after sorting includes: acquiring at least one target object corresponding to the user, and determining the at least one target object. The object attribute information of each target object in a target object; the target object corresponding to each target resource is determined based on the association relationship between the object attribute information corresponding to each target resource and the object attribute information of each target object after sorting.
其中,目标资源不同,其对应的目标对象也不同,例如目标资源为洗发水优惠券,其对应的目标对象则为各种洗发水。Among them, different target resources have different corresponding target objects. For example, the target resources are shampoo coupons, and the corresponding target objects are various shampoos.
具体实施时,目标对象预先存在结算系统对应的对象数据库中,该对象数据库中存在多个用户的多个目标对象,实际应用中,需要从对象数据库中获取与所述用户对应的目标对象,以确定每个目标对象的对象属性信息。During specific implementation, the target object is pre-existed in the object database corresponding to the settlement system, and there are multiple target objects of multiple users in the object database. In practical applications, the target objects corresponding to the users need to be obtained from the object database to Determine object attribute information for each target object.
沿用上例,首先从对象数据库中获取与该用户对应的多个待结算商品,并确定每个待结算商品的对象属性信息,即该待结算商品是洗发水、上衣或者是皮鞋等。Following the above example, first obtain multiple items to be settled corresponding to the user from the object database, and determine the object attribute information of each item to be settled, that is, whether the item to be settled is shampoo, jacket, or leather shoes.
然后基于排序后的每个单品优惠券的对象属性信息与每个待结算商品的对象属性信 息之间的关联关系,确定每个单品优惠券对应的待结算商品。Then, based on the relationship between the sorted object attribute information of each single-product coupon and the object attribute information of each to-be-settled commodity, determine the to-be-settled commodity corresponding to each single-product coupon.
仍以目标资源为单品优惠券1,单品优惠券2,单品优惠券3为例,其中,单品优惠券1的对象属性信息为洗发水,单品优惠券2的对象属性信息为洗护用品,单品优惠券3的对象属性信息为上衣;从对象数据库中获取与该用户对应的多个待结算商品为:洗发水1、洗发水2、护发素1、洗衣液1、洗衣液2、针织衫1、针织衫2。Still take the target resources as single-product coupon 1, single-product coupon 2, and single-product coupon 3 as examples, where the object attribute information of single-product coupon 1 is shampoo, and the object attribute information of single-product coupon 2 is For toiletries, the object attribute information of the single product coupon 3 is tops; the multiple items to be settled corresponding to the user obtained from the object database are: shampoo 1, shampoo 2, conditioner 1, laundry detergent 1, Laundry liquid 2, sweater 1, sweater 2.
那么基于排序后每个目标资源对应的对象属性信息与每个目标对象的对象属性信息之间的关联关系,确定每个目标资源对应的目标对象则为:单品优惠券1对应的目标对象为:洗发水1、洗发水2;单品优惠券2对应的目标对象为洗发水1、洗发水2、护发素1、洗衣液1、洗衣液2;单品优惠券3对应的目标对象为:针织衫1、针织衫2。Then, based on the relationship between the object attribute information corresponding to each target resource and the object attribute information of each target object after sorting, the target object corresponding to each target resource is determined as: the target object corresponding to single product coupon 1 is : shampoo 1, shampoo 2; the target objects corresponding to single product coupon 2 are shampoo 1, shampoo 2, conditioner 1, laundry liquid 1, laundry liquid 2; the target object corresponding to single product coupon 3 is : Sweater 1, Sweater 2.
本说明书实施例中,基于每个目标资源对应的对象属性信息与每个目标对象的对象属性信息之间的关联关系,为每个目标资源匹配对应的目标对象,后续可以基于每个目标资源对其对应的目标对象的资源值进行优惠,提升用户体验。In the embodiment of the present specification, based on the association relationship between the object attribute information corresponding to each target resource and the object attribute information of each target object, the corresponding target object is matched for each target resource, and then the corresponding target object can be matched based on each target resource. The resource value of the corresponding target object is discounted to improve the user experience.
步骤206:在每个目标资源对应的目标对象的资源值大于等于目标资源的设定资源值的情况下,基于每个目标资源的资源类型,确定每个目标资源对应的目标对象的可用资源值。Step 206: In the case where 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, determine 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, if the target object is a commodity to be settled, 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 together, and 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. In the case of , the available resource value of the target object corresponding to each target resource is determined based on the resource type of each target resource.
以目标资源为单品优惠券1为例,该单品优惠券1对应的目标对象为:洗发水1、洗发水2,其中,洗发水1的商品金额为80元,洗发水2的商品金额为150元,单品优惠券1的资源值为100元,设定资源值为200元,即满200元减100元。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 shampoo 1 is 80 yuan, and the commodity amount of shampoo 2 It is 150 yuan, the resource value of single-product coupon 1 is 100 yuan, and the set resource value is 200 yuan, that is, 100 yuan is reduced when it is over 200 yuan.
此时可以确定目标对象的资源值为:洗发水1的80+洗发水2的150=230元,那么可以确定目标对象的资源值230元大于等于单品优惠券1的设定资源值200元,则可以基于单品优惠券1的资源类型,确定该单品优惠券1对应的目标对象的可用资源值。At this time, it can be determined that the resource value of the target object is: 80 of shampoo 1 + 150 of shampoo 2 = 230 yuan, then it can be determined that the resource value of the target object of 230 yuan is greater than or equal to the set resource value of single product coupon 1 200 yuan , the available resource value of the target object corresponding to the single-product coupon 1 can be determined based on the resource type of the single-product coupon 1 .
实际应用中,判断每个目标资源是否可用时,均可以通过上述方式,将每个目标资源对应的目标对象的资源值之和,与其对应的目标资源值的设定资源值进行比对实现。In practical applications, when judging whether each target resource is available, the above method can be used to compare the sum of the resource values of the target objects corresponding to each target resource with the set resource value of the corresponding target resource value.
此外,目标资源的类型可以有多种,在目标资源的类型不同的情况下,基于目标资源计算获得的与其对应的目标对象的可用资源值也不同,具体实施方式如下所述:In addition, there can be multiple types of target resources. In the case of different types of target resources, the available resource values of the corresponding target objects calculated and obtained based on the target resources are also different. The specific implementation is as follows:
所述基于每个目标资源的资源类型,确定每个目标资源对应的目标对象的可用资源值,包括:确定每个目标资源的资源类型,在所述资源类型为第一资源类型的情况下,基于每个目标资源的资源值以及每个目标资源对应的目标对象的资源值的比例关系,计算每个目标资源对应的目标对象的可用资源值。The determining, based on the resource type of each target resource, the available resource value of the target object corresponding to each target resource includes: determining the resource type of each target resource, and in the case that the resource type is the first resource type, Based on the proportional relationship between the resource value of each target resource and the resource value of the target object corresponding to each target resource, the available resource value of the target object corresponding to each target resource is calculated.
其中,在目标资源为单品优惠券的情况下,目标资源的资源类型包括但不限于代金 券、折扣券或者特价券等。Wherein, in the case where the target resource is a single product coupon, the resource type of the target resource includes but is not limited to cash coupons, discount coupons or special coupons, etc.
以第一资源类型为代金券为例,首先确定每个单品优惠券的类型,在单品优惠券为代金券的情况下,基于每个单品优惠券的券面额以及每个单品优惠券对应的目标对象的资源值的比例关系,计算每个单品优惠券对应的目标对象的可用资源值。Taking the first resource type as a voucher as an example, first determine the type of each single-product coupon. In the case that the single-product coupon is a voucher, based on the coupon denomination of each single-product coupon and the discount of each single-product Calculate the available resource value of the target object corresponding to the coupon corresponding to each coupon according to the proportional relationship of the resource value of the target object corresponding to the coupon.
沿用上例,目标资源为单品优惠券1,该单品优惠券1对应的目标对象为:洗发水1、洗发水2,单品优惠券1的券面额为100元,洗发水1的商品金额为80元,洗发水2的商品金额为150元;那么洗发水1的可使用资源值为:100*80/(80+150)=34.78元,洗发水2的可使用资源值为:100*150/(150+80)=65.21元。Following the above example, the target resource is single-product coupon 1, and the target objects corresponding to single-product coupon 1 are: shampoo 1, shampoo 2, single-product coupon 1 has a coupon denomination of 100 yuan, and the product of shampoo 1 The amount is 80 yuan, and the commodity value of shampoo 2 is 150 yuan; then the available resource value of shampoo 1 is: 100*80/(80+150)=34.78 yuan, and the available resource value of shampoo 2 is: 100 *150/(150+80)=65.21 yuan.
本说明书实施例中,在基于目标资源对该目标资源对应的目标对象的可优惠资源进行计算时,可以基于目标资源的资源类型的不同,实现对目标对象的可优惠资源的不同计算。在目标资源为代金券的情况下,可以基于目标资源对应的每个目标对象的资源值,按比例对目标资源的资源值进行分摊,使得每个目标资源对应的目标对象可以根据其资源值合理的获得对应的可用优惠金额,提升用户体验。In the embodiment of this specification, when calculating the preferential resources of the target object corresponding to the target resource based on the target resource, different calculation of the preferential resources of the target object can be realized based on the different resource types of the target resource. In the case where the target resource is a voucher, the resource value of the target resource can be allocated proportionally 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 be reasonably based on its resource value. to obtain the corresponding available discount amount to improve the user experience.
本说明书另一实施例中,所述基于每个目标资源的资源类型,确定每个目标资源对应的目标对象的可用资源值,包括:确定每个目标资源的资源类型,在所述资源类型为第二资源类型的情况下,基于每个目标资源对应的目标对象的资源值,对每个目标资源对应的目标对象进行降序排列;基于每个目标资源的资源值、每个目标资源的使用规则以及降序排列后每个目标资源对应的目标对象的资源值,计算降序排列后每个目标资源对应的目标对象的可用资源值。In another embodiment of this specification, the determining the 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, where the resource type is In the case of the second resource type, based on the resource value of the target object corresponding to each target resource, the target objects corresponding to each target resource are sorted in descending order; based on the resource value of each target resource and the usage rules of each target resource and the resource value of the target object corresponding to each target resource after the descending order, and calculate the available resource value of the target object corresponding to each target resource after the descending order.
其中,在目标资源为单品优惠券的情况下,目标资源的资源类型包括但不限于代金券、折扣券或者特价券等。Wherein, in the case where the target resource is a single product coupon, the resource type of the target resource includes but is not limited to cash coupons, discount coupons, or special coupons.
以第二资源类型为折扣券或者特价券为例,首先确定每个单品优惠券的类型,在单品优惠券为折扣券或者特价券的情况下,基于每个单品优惠券对应的目标对象的资源值,对每个单品优惠券对应的目标对象进行降序排列;然后基于每个单品优惠券的券金额、每个单品优惠券的使用规则以及降序排列后每个单品优惠券对应的目标对象的资源值,计算降序排列后每个单品优惠券对应的目标对象的可用资源值。Taking the second resource type as a discount coupon or special coupon as an example, first determine the type of each single product coupon, and in the case where the single product coupon is a discount coupon or a special coupon, based on the target corresponding to each single product coupon The resource value of the object, sort the target objects corresponding to each single product coupon in descending order; then based on the coupon amount of each single product coupon, the usage rules of each single product coupon, and the discount of each single product after sorting in descending order The resource value of the target object corresponding to the coupon is calculated, and the available resource value of the target object corresponding to each single product coupon is calculated in descending order.
以目标资源为折扣券类型的单品优惠券为例,目标资源的资源值可以理解为该折扣券的可使用金额,例如该5折券可使用100元,那么该目标资源的资源值则为100元。目标资源的使用规则可以理解为该折扣券的满减优惠规则,例如购物满200元可以使用该5折券。Taking the target resource as a single product coupon of the type of discount coupon as an example, the resource value of the target resource can be understood as the usable amount of the discount coupon. For example, the 50% discount coupon can be used for 100 yuan, 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 50% discount coupon can be used for shopping over 200 yuan.
仍以目标资源为单品优惠券1,该单品优惠券1对应的目标对象为:洗发水1、洗发水2为例,若单品优惠券1为5折折扣券,资源值为100元,该单品优惠券1的使用规则为购物满100可以使用该5折券,洗发水1的商品金额为80元,洗发水2的商品金额为50元。Still take the target resource as the single product coupon 1, the target object corresponding to the single product coupon 1 is: shampoo 1, shampoo 2 as an example, if the single product coupon 1 is a 50% discount coupon, the resource value is 100 yuan , the usage rule of the single-product coupon 1 is that the 50% discount coupon can be used after shopping over 100, the commodity amount of shampoo 1 is 80 yuan, and the commodity amount of shampoo 2 is 50 yuan.
首先,基于该单品优惠券1对应的目标对象:洗发水1和洗发水2的商品金额,对目标对象进行降序排列:[洗发水1、洗发水2]。First, based on the target objects corresponding to the single product coupon 1: shampoo 1 and shampoo 2, the target objects are sorted in descending order: [shampoo 1, shampoo 2].
然后基于该单品优惠券1对洗发水1的可用资源值进行计算:80*0.5=40元;再基 于该单品优惠券1对洗发水2的可用资源值进行计算:50*0.5=25元;此时则可以计算出降序排列后的该单品优惠券1对应的洗发水2的可用资源值为40元,洗发水1的可用资源值为25元。Then calculate the available resource value of shampoo 1 based on the single product coupon 1: 80*0.5=40 yuan; then calculate the available resource value of shampoo 2 based on the single product coupon 1: 50*0.5=25 At this time, it can be calculated that the available resource value of shampoo 2 corresponding to the single product coupon 1 in descending order is 40 yuan, and the available resource value of shampoo 1 is 25 yuan.
而若单品优惠券1为5折折扣券,资源值为100元,该单品优惠券1的使用规则为购物满200元可以使用该5折券,洗发水1的商品金额为80元,洗发水2的商品金额为150元;则基于该单品优惠券1对应的目标对象:洗发水1和洗发水2的商品金额,对目标对象进行降序排列:[洗发水2、洗发水1]。If the single product coupon 1 is a 50% discount coupon and the resource value is 100 yuan, the usage rule of the single product coupon 1 is that the 50% discount coupon can be used for shopping over 200 yuan, and the product value of shampoo 1 is 80 yuan. The commodity amount of shampoo 2 is 150 yuan; based on the target objects corresponding to the single-product coupon 1: the commodity amount of shampoo 1 and shampoo 2, the target objects are sorted in descending order: [shampoo 2, shampoo 1] .
那么,基于该单品优惠券1对洗发水2的可用资源值进行计算:150*0.5=75元;再基于该单品优惠券1对洗发水1的可用资源值进行计算:80*0.5=40元;此时,则可以确定洗发水1和洗发水2的可用资源值超出了该单品优惠券1的资源值,则可以确定洗发水1的可用资源值仅为25元。Then, calculate the available resource value of shampoo 2 based on the single product coupon 1: 150*0.5=75 yuan; then calculate the available resource value of shampoo 1 based on the single product coupon 1: 80*0.5= 40 yuan; at this time, it can be determined that the available resource value of shampoo 1 and shampoo 2 exceeds the resource value of the single product coupon 1, and it can be determined that the available resource value of shampoo 1 is only 25 yuan.
此外,以可用目标资源为单品优惠券1,该单品优惠券1对应的目标对象为:洗发水1、洗发水2为例,若该单品优惠券1为减至1元的特价券,该单品优惠券1的资源值为100元,使用规则为购物满100元可以使用该特价券,洗发水1的商品金额为80元,洗发水2的商品金额为50元,那么排序后的目标对象为:[洗发水1、洗发水2]。In addition, taking the available target resource as the single product coupon 1, the target objects corresponding to the single product coupon 1 are: shampoo 1 and shampoo 2 as an example, if the single product coupon 1 is a special coupon reduced to 1 yuan , the resource value of the single product coupon 1 is 100 yuan, the usage rule is that the special coupon can be used when the purchase is over 100 yuan, the product value of shampoo 1 is 80 yuan, and the product value of shampoo 2 is 50 yuan, then after sorting The target objects are: [Shampoo 1, Shampoo 2].
基于该单品优惠券1对洗发水1的可用资源值进行计算,获得:80-1=79元;此时该单品优惠券还剩余21元的优惠,那么基于该优惠券2对洗发水2的可用资源值进行计算,获得:min(50-1,21)=21元。Calculate the available resource value of shampoo 1 based on the single-product coupon 1, and obtain: 80-1=79 yuan; at this time, the single-product coupon still has a discount of 21 yuan, then based on the coupon 2, the shampoo Calculate the available resource value of 2, and obtain: min(50-1, 21)=21 yuan.
本说明书实施例中,在目标资源为折扣券或者是特价券的情况下,由于不能按照目标对象的金额对其进行等比例分配对应的目标资源,因为需要对目标对象按照其资源值进行排序,先基于目标资源对资源值较高的目标对象的可用资源值进行计算和优惠,以保证用户可以享受到资源值较高的目标对象的优惠,享受到优惠的最大价值,提升用户体验。In the embodiment of this specification, in the case where the target resource is a discount coupon or a special coupon, since the target object cannot be allocated the corresponding target resource in an equal proportion according to the amount of the target object, because the target object needs to be sorted according to its resource value, Based on the target resources, the available resource value of the target object with higher resource value is calculated and discounted, so as to ensure that the user can enjoy the discount of the target object with higher resource value, enjoy the maximum value of the discount, and improve the user experience.
具体实施时,所述基于每个目标资源的资源值、每个目标资源的使用规则以及降序排列后每个目标资源对应的目标对象的资源值,计算降序排列后每个目标资源对应的目标对象的可用资源值,包括:基于每个目标资源的资源值、每个目标资源的使用规则以及降序排列后每个目标资源对应的第一个目标对象的资源值,计算降序排列后每个目标资源对应的第一个目标对象的可用资源值;确定降序排列后每个目标资源对应的第一个目标对象的可用资源值,与对应的目标资源的资源值的资源差值;在所述资源差值大于预设资源阈值的情况下,基于每个目标资源的资源值以及降序排列后每个目标资源对应的第一个目标对象的可用资源值,计算降序排列后每个目标资源对应的下一个目标对象的可用资源值。In specific implementation, the target object corresponding to each target resource after the descending order is calculated 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 the descending order The available resource value of , including: based on the resource value of each target resource, the usage rules of each target resource, and the resource value of the first target object corresponding to each target resource after the descending order, calculate each target resource after the descending order. The available resource value of the corresponding first target object; determine 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; When the value is greater than the preset resource threshold, based on the resource value of each target resource and the available resource value of the first target object corresponding to each target resource after the descending order, calculate the next resource corresponding to each target resource after the descending order. The available resource value of the target object.
以目标资源为折扣券类型的单品优惠券为例,目标资源的资源值可以理解为该折扣券的可使用金额,例如该5折券可使用100元,那么该目标资源的资源值则为100元。Taking the target resource as a single product coupon of the type of discount coupon as an example, the resource value of the target resource can be understood as the usable amount of the discount coupon. For example, the 50% discount coupon can be used for 100 yuan, then the resource value of the target resource is 100 yuan.
其中,预设资源阈值可以根据实际应用进行设置,例如设置为0。那么当预设资源阈值设置为0的情况下,则可以理解为只要计算出的当前目标对象的可用资源值与对应的目标资源的资源值的差值不是0的情况下,即可使用该目标资源的剩余资源值计算下 一个目标对象的可用资源值。The preset resource threshold may be set according to actual applications, for example, set to 0. Then, when 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 target can be used. The remaining resource value of the resource calculates the available resource value of the next target object.
仍以目标资源为单品优惠券1,该单品优惠券1对应的目标对象为:洗发水1、洗发水2为例,若单品优惠券1为5折折扣券,资源值为100元,该单品优惠券1的使用规则为购物满100元可以使用该5折券,洗发水1的商品金额为80元,洗发水2的商品金额为200元,通过上述方式获得的洗发水2的可用资源值为100元,此时可以确定洗发水2的可用资源值100元与单品优惠券1的资源值100元的差值为0,此时则可以确定单品优惠券1的资源值已经用尽,无法再对洗发水1进行优惠了,则结束目标对象的可用资源值的计算。Still take the target resource as the single product coupon 1, the target object corresponding to the single product coupon 1 is: shampoo 1, shampoo 2 as an example, if the single product coupon 1 is a 50% discount coupon, the resource value is 100 yuan , the usage rule of the single product coupon 1 is that the 50% discount coupon can be used for shopping over 100 yuan, the product value of shampoo 1 is 80 yuan, and the product value of shampoo 2 is 200 yuan. The available resource value is 100 yuan. At this time, it can be determined that the difference between the available resource value of shampoo 2 of 100 yuan and the resource value of single-product coupon 1 of 100 yuan is 0. At this time, the resource of single-product coupon 1 can be determined. The value has been used up, and the shampoo 1 can no longer be discounted, and the calculation of the available resource value of the target object is ended.
而若洗发水的商品金额为100元,通过上述方式获得的洗发水2的可用资源值为50元,此时可以确定洗发水2的可用资源值50元与单品优惠券1的资源值100元的差值为50元,此时则可以确定单品优惠券1可以使用的资源值还有50元,因此可以使用该单品优惠券1的剩余的资源值对洗发水1的可用资源值进行计算。However, if the commodity value of shampoo is 100 yuan, the available resource value of shampoo 2 obtained by the above method is 50 yuan. At this time, it can be determined that the available resource value of shampoo 2 is 50 yuan and the resource value of single product coupon 1 is 100 yuan. The difference between yuan is 50 yuan. At this time, it can be determined that the resource value that can be used by single-product coupon 1 still has 50 yuan. Therefore, the remaining resource value of single-product coupon 1 can be used to determine the available resource value of shampoo 1. Calculation.
具体的,对该目标资源对应的下一个目标对象的可用资源值的计算方式可以参见上述实施例,在此不再赘述。Specifically, for the calculation method of the available resource value of the next target object corresponding to the target resource, reference may be made to the foregoing embodiment, and details are not described herein again.
本说明书实施例中,由于每个目标资源的可优惠金额是有限的,因此在目标资源为折扣券或者特价券的情况下,为了避免优惠金额超出了折扣券以及特价券的可优惠金额,并且在保证用户可享受的优惠金额较高的情况下,每对一个目标对象的可用资源值进行计算之后,均要对目标资源的可优惠金额进行一次计算,避免发生下一个目标对象无法分配到目标对象的可优惠金额的情况。In the embodiment of this specification, since the discountable amount of each target resource is limited, when the target resource is a discount coupon or a special coupon, in order to avoid the discounted amount exceeding the discountable amount of the discount coupon and the special coupon, and In the case of ensuring that the discount amount that the user can enjoy is relatively high, after each calculation of the available resource value of a target object, the discountable amount of the target resource must be calculated once to avoid the occurrence of the next target object cannot be allocated to the target. In the case of the eligible discount amount of the target.
实际应用中,还可以对目标资源的可使用次数进行设置,例如某个单品优惠券的可使用次数为2次,那么在该单品优惠券对降序排列后的两个目标对象进行可用资源值计算后,则结束该计算流程,以减少目标资源的计算次数,具体实施方式如下所述:所述确定降序排列后每个目标资源对应的第一个目标对象的可用资源值,与对应的目标资源的资源值的资源差值之后,还包括:在所述资源差值大于预设资源阈值,且每个目标资源对应的可使用次数大于预设次数阈值的情况下,基于每个目标资源的资源值以及降序排列后每个目标资源对应的第一个目标对象的可用资源值,计算降序排列后每个目标资源对应的下一个目标对象的可用资源值。In practical applications, you can also set the available times of the target resource. For example, if a single product coupon can be used twice, then the single product coupon will perform the available resources on the two target objects in descending order. After the value is calculated, the calculation process is ended to reduce the number of times of calculation of the target resource. The specific implementation is as follows: the available resource value of the first target object corresponding to each target resource after the determined descending order is determined, and the corresponding After the resource difference between the resource values of the target resources, the method further includes: in the case that the resource difference is greater than the preset resource threshold, and the available times corresponding to each target resource is greater than the preset times threshold, based on each target resource and the available resource value of the first target object corresponding to each target resource after the descending order, calculate the available resource value of the next target object corresponding to each target resource after the descending order.
其中,预设数量阈值可以根据实际需求进行设置,例如设置为2次或者3次等。The preset number threshold can be set according to actual needs, for example, set to 2 times or 3 times.
具体的,在所述资源差值大于预设资源阈值,并且该目标资源的可使用数量(即可使用次数)小于预设数量阈值(即目标资源的可使用次数没有满足上限)的情况下,基于该目标资源的资源值以及降序排列后该目标资源对应的下一个目标对象的资源值,计算降序排列后的该目标资源对应的下一个目标对象的可用资源值,其中,该下一个目标对象的可用资源值的计算可以参见上述实施例,在此不做任何限定。Specifically, when the resource difference is greater than a preset resource threshold, and the usable quantity of the target resource (that is, the number of times of use) is smaller than the preset quantity threshold (that is, the usable times of the target resource does not meet the upper limit), Based on the resource value of the target resource and the resource value of the next target object corresponding to the target resource after the descending order, the available resource value of the next target object corresponding to the target resource after the descending order is calculated, wherein the next target object For the calculation of the available resource value of , refer to the above-mentioned embodiment, which is not limited herein.
实际应用中,上述均以一个目标资源对应的多个目标对象为例,对每个目标对象的可用资源值进行介绍,而其他目标资源对应的多个目标对象的可用资源值的计算均可以参照上述方式计算,本说明书对此不做赘述。In practical applications, the above all take multiple target objects corresponding to one target resource as an example to introduce the available resource value of each target object, and the calculation of the available resource values of multiple target objects corresponding to other target resources can refer to It is calculated in the above-mentioned manner, which is not repeated in this specification.
步骤208:基于每个目标资源对应的目标对象的可用资源值以及每个目标资源对应 的目标对象的资源值,处理每个目标资源对应的目标对象。Step 208: 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.
具体的,在获得目标资源对应的每个目标对象的可用资源值之后,基于每个目标对象的可用资源值和其自身的资源值,处理该目标资源对应的每个目标对象。Specifically, after obtaining the available resource value of each target object corresponding to the target resource, 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.
例如目标资源为单品优惠券1,该单品优惠券1对应的目标对象为:洗发水1,洗发水2,其中,洗发水1的资源值为80元,可用资源值为25元;洗发水2的资源值为150元,可用资源值为75元;此时则可以基于洗发水的资源值和可用资源值计算洗发水1和洗发水2的实际支付金额,实现对洗发水1和洗发水2的结算。For example, the target resource is single product coupon 1, and the target objects corresponding to single product coupon 1 are: shampoo 1, shampoo 2, where the resource value of shampoo 1 is 80 yuan, and the available resource value is 25 yuan; The resource value of shampoo 2 is 150 yuan, and the available resource value is 75 yuan; at this time, the actual payment amount of shampoo 1 and shampoo 2 can be calculated based on the resource value and available resource value of shampoo, so that the actual payment amount of shampoo 1 and shampoo 2 can be realized. The settlement of hair water 2.
具体实施时,所述基于每个目标资源对应的目标对象的可用资源值以及每个目标资源对应的目标对象的资源值,处理每个目标资源对应的目标对象,包括:基于每个目标资源对应的目标对象的资源值与可用资源值的差值,确定每个目标资源对应的目标对象的目标资源值,并基于所述目标资源值处理每个目标资源对应的目标对象。During specific implementation, the processing of 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: The difference between the resource value of the target object and the available resource value is determined, the target resource value of the target object corresponding to each target resource is determined, and the target object corresponding to each target resource is processed based on the target resource value.
沿用上例,目标资源为单品优惠券1,该单品优惠券1对应的目标对象为:洗发水1,洗发水2,其中,洗发水1的资源值为80元,可用资源值为25元;洗发水2的资源值为150元,可用资源值为75元,那么洗发水1的目标资源值为:80-25=55元,洗发水2的目标资源值为150-75=75元;因此可以基于目标资源值55元对洗发水1实现结算,基于目标资源值75元对洗发水2实现结算。Following the above example, the target resource is single product coupon 1, and the target objects corresponding to single product coupon 1 are: shampoo 1, shampoo 2, where the resource value of shampoo 1 is 80 yuan, and the available resource value is 25 yuan; the resource value of shampoo 2 is 150 yuan, and the available resource value is 75 yuan, then the target resource value of shampoo 1 is: 80-25=55 yuan, and the target resource value of shampoo 2 is 150-75=75 yuan Therefore, the settlement of Shampoo 1 can be realized based on the target resource value of 55 yuan, and the settlement of Shampoo 2 can be realized based on the target resource value of 75 yuan.
本说明书实施例中,基于每个目标对象的目标资源值实现对目标对象的处理,使得目标对象在享受较高优惠的基础上,实现金额结算,提升用户体验。In the embodiment of this specification, the target object is processed based on the target resource value of each target object, so that the target object can realize the amount settlement on the basis of enjoying higher preferential treatment, and improve the user experience.
实际应用中,由于不同的目标资源对应的目标对象会有重复,若是每一个目标资源均对其全部的目标对象的可用资源值进行计算,很大概率上会有多个目标资源对同一个目标对象的可用资源值进行计算,极大的增加了结算系统的计算量,本说明书实施例中,为了避免在不同目标资源下的相同目标对象的重复计算,在对每一个目标资源对应的目标对象的可用资源值进行计算过后,则将该其他目标资源中的该目标对象进行删除,以避免下一个对应该目标对象的目标资源对该目标对象进行再一次的计算,具体实施方式如下所述:所述方法,还包括:在所述对象处理平台删除其他目标资源对应的所述目标对象,具体的,确定其他目标资源对应的目标对象,在所述其他目标资源对应的目标对象存在处理后的目标对象的情况下,在所述对象处理平台删除其他目标资源对应的所述处理后的目标对象。In practical applications, since the target objects corresponding to different target resources will be duplicated, if each target resource calculates the available resource values of all its target objects, there is a high probability that there will be multiple target resources for the same target. The calculation of the available resource value of the object greatly increases the calculation amount of the settlement system. In the embodiment of this specification, in order to avoid repeated calculation of the same target object under different target resources, the target object corresponding to each target resource is After calculating the available resource value of the target object, delete the target object in the other target resources to avoid the next target resource corresponding to the target object from calculating the target object again. The specific implementation is as follows: The method further includes: deleting the target objects corresponding to other target resources on the object processing platform, specifically, determining the target objects corresponding to the other target resources, and after the target objects corresponding to the other target resources exist after processing. In the case of a target object, the processed target objects corresponding to other target resources are deleted on the object processing platform.
具体实施时,在对某一个目标对象的每个目标对象的可用资源值进行计算,且对该目标对象进行处理后,则获取出其他目标资源对应的该目标对象,然后在所述对象处理平台删将该目标对象在其他目标资源对应的目标对象中删除,使得对象处理平台对其他目标资源中的该目标对象不在进行重复的可用资源值计算,且删除其他目标资源对应的该目标对象还可以节省对象处理平台的存储空间。In specific implementation, after calculating the available resource value of each target object of a certain target object, and processing the target object, the target object corresponding to other target resources is obtained, and then the object processing platform Delete the target object in the target object corresponding to other target resources, so that the object processing platform does not perform repeated available resource value calculation for the target object in other target resources, and delete the target object corresponding to other target resources. Save storage space for object processing platforms.
本说明书实施例中,所述目标对象处理方法通过在对象处理平台对目标资源进行排序后,再基于排序后的目标资源计算其对应的目标对象的可用资源值,使得用户的目标对象可以优先享受排序靠前的目标资源的较高可用资源值;并且基于可用资源值对目标对象处理后,删除对象处理平台中其他目标资源对应的该目标对象,使得下一个目标 资源在计算其对应的目标对象的可用资源值时,已经享受过可用资源值的目标对象不再参与其他目标资源的计算,极大的提高了对象处理平台的计算率以及存储空间。In the embodiment of the present specification, the target object processing method calculates the available resource value of the corresponding target object based on the sorted target resources after sorting the target resources on the object processing platform, so that the user's target objects can enjoy the priority. The higher available resource value of the top-ranked target resource; and after processing the target object based on the available resource value, delete the target object corresponding to other target resources in the object processing platform, so that the next target resource is calculating its corresponding target object When the available resource value reaches , the target object that has already enjoyed the available resource value no longer participates in the calculation of other target resources, which greatly improves the calculation rate and storage space of the object processing platform.
下述结合附图3,以本说明书提供的目标对象处理方法在使用单品优惠券进行商品结算的场景的应用为例,对所述目标对象处理方法进行进一步说明。其中,图3示出了本说明书一个实施例提供的一种目标对象处理方法的处理过程流程图,具体包括以下步骤。The following will further describe the target object processing method by taking the application of the target object processing method provided in this specification in the scenario of using a single-product coupon for commodity settlement as an example with reference to FIG. 3 . Wherein, FIG. 3 shows a flow chart of a processing process of a method for processing a target object provided by an embodiment of the present specification, which specifically includes the following steps.
步骤302:从资源数据库获取与用户对应的多个优惠券,且对该多个优惠券进行排序。Step 302: Acquire multiple coupons corresponding to the user from the resource database, and sort the multiple coupons.
其中,优惠券可以为单品优惠券。The coupon may be a single-product coupon.
具体的,在获取与用户对应的多个优惠券之后,按照优惠券的面额、门槛金额以及过期时间对该多个优惠券进行排序。Specifically, after obtaining multiple coupons corresponding to the user, the multiple coupons are sorted according to the denomination, threshold amount and expiration time of the coupons.
步骤304:遍历每个优惠券,且从对象数据库中获取与用户对应的多个待结算商品。Step 304: Traverse each coupon, and acquire multiple commodities to be settled corresponding to the user from the object database.
步骤306:基于每个优惠券的使用需求,为每个优惠券匹配对应的商品。Step 306: Based on the usage requirements of each coupon, match the corresponding commodity for each coupon.
其中,优惠券的使用需求即可以理解为该优惠券可优惠的商品信息。Wherein, the usage demand of the coupon can be understood as the information of the products that can be discounted by the coupon.
步骤308:计算每个优惠券匹配的商品的总金额。Step 308: Calculate the total amount of commodities matched by each coupon.
步骤310:选取排列在第一位的优惠券,判断该优惠券匹配的商品的总金额是否大于等于对应的优惠券的门槛金额,若是,则执行步骤312,若否,则终止计算。Step 310: Select the first-ranked coupon, and determine whether the total amount of the products matched by the coupon is greater than or equal to the threshold amount of the corresponding coupon. If so, go to step 312, and if not, terminate the calculation.
具体的,优惠券的门槛金额可以理解为优惠券的满减金额,例如满1000可以使用该券,那么1000则为优惠券的门槛金额。Specifically, the threshold amount of the coupon can be understood as the full discount amount of the coupon. For example, the coupon can be used when the coupon reaches 1000, and then 1000 is the threshold amount of the coupon.
步骤312:判断该优惠券是否为平摊优惠,若是,则执行步骤314,若否,则执行步骤320。Step 312: Determine whether the coupon is a flat-rate discount, if yes, go to Step 314, if not, go to Step 320.
具体的,在优惠券为代金券的情况下,可以确定该优惠券为平摊优惠券。Specifically, in the case that the coupon is a cash coupon, it can be determined that the coupon is a flat-sharing coupon.
步骤314:基于该优惠券匹配的每个商品的金额,计算所有商品的可优惠金额。Step 314: Calculate the discountable amount of all commodities based on the amount of each commodity matched by the coupon.
具体的,该优惠券匹配的商品为:商品1和商品2为例,商品1:50元,商品2:80元,加起来是130元,代金券优惠100元,那么可优惠的金额是100元。如果商品1:20元,商品2:40元,加起来是60元,代金券优惠100元,可优惠的金额是60元。即若优惠券没有满减门槛金额,则在可优惠金额和匹配商品金额之间取较小值。Specifically, the products matched by the coupon are: product 1 and product 2, for example, product 1: 50 yuan, product 2: 80 yuan, the total is 130 yuan, and the coupon discount is 100 yuan, then the amount that can be discounted is 100 Yuan. If product 1: 20 yuan, product 2: 40 yuan, the total is 60 yuan, the voucher discount is 100 yuan, and the amount that can be discounted is 60 yuan. That is, if the coupon does not fully deduct the threshold amount, the smaller value is taken between the discountable amount and the matching product amount.
步骤316:基于所有商品的可优惠金额以及该优惠券匹配的每个商品的金额,将可优惠金额分摊到每个商品中。Step 316: Allocate the discountable amount to each commodity based on the discountable amount of all commodities and the amount of each commodity matched by the coupon.
步骤318:从其他优惠券匹配的商品中剔除已经享受过优惠的商品。Step 318: Eliminate the products that have already enjoyed the discount from the products matched with other coupons.
具体的,从其他优惠券匹配的商品中剔除已经享受过优惠的商品,基于上述处理步骤对下一个优惠券匹配的商品的可优惠金额进行计算,在所有的优惠券全部计算完毕之后,终止计算。Specifically, the products that have already enjoyed the discount are excluded from the products matched by other coupons, and the discountable amount of the product matched by the next coupon is calculated based on the above processing steps. After all the coupons have been calculated, the calculation is terminated. .
步骤320:将该优惠券匹配的商品按照商品金额从高到低排序。Step 320: Sort the commodities matched by the coupon according to the commodity amount from high to low.
步骤322:遍历该优惠券匹配的排序后的每个商品,确定待计算可使用优惠的商品。Step 322: Traverse each sorted commodity matched by the coupon, and determine the commodity for which the discount is to be calculated.
具体的,按照排序后从高到低的顺序遍历每一个商品,每次确定一个商品为待计算可使用优惠的商品。Specifically, each commodity is traversed in descending order after sorting, and each time a commodity is determined as a commodity that can be used for a discount to be calculated.
步骤324:判断该优惠券的可优惠数量以及可优惠金额是否大于0,若是,则执行步骤326,若否,则终止计算。Step 324: Determine whether the discountable quantity and the discountable amount of the coupon are greater than 0. If so, go to Step 326, if not, terminate the calculation.
步骤326:基于优惠券的可优惠金额以及待计算可使用优惠的商品的金额计算该待计算可使用优惠的商品的可使用优惠,并扣减优惠券的可优惠金额和可优惠数量。Step 326 : Calculate the available discount of the commodity for which the discount is to be calculated based on the discountable amount of the coupon and the amount of the commodity for which the discount is to be calculated, and deduct the discountable amount and the discountable quantity of the coupon.
具体的,对该待计算可使用优惠的商品的可使用优惠的计算过程可以参见上述实施例,在此不再赘述。Specifically, for the calculation process of the available discount of the commodity for which the available discount is to be calculated, reference may be made to the foregoing embodiment, and details are not described herein again.
步骤328:从其他优惠券匹配的商品中剔除已经享受过优惠的商品。Step 328: Eliminate the products that have already enjoyed the discount from the products matched with other coupons.
具体的,从其他优惠券匹配的商品中剔除已经享受过优惠的商品,基于上述处理步骤对下一个优惠券匹配的商品的可优惠金额进行计算,在所有的优惠券全部计算完毕之后,终止计算。Specifically, the products that have already enjoyed the discount are excluded from the products matched by other coupons, and the discountable amount of the product matched by the next coupon is calculated based on the above processing steps. After all the coupons have been calculated, the calculation is terminated. .
本说明书实施例提供的所述目标对象处理方法采用一种局部最优的优惠计算方法,通过对优惠券和商品排序,使用优惠平摊和逐个商品剔除的方法将优惠分配到对应的商品上,享受优惠的商品不再参与其它单品券的优惠计算,通过所述目标对象处理方法可以做到以下四点:a.每种商品最多只能享受一张单品优惠券;b.在控制优惠金额的基础上,每张单品优惠券还可以设置商品的最大优惠数量;c.已享受优惠的商品不再参与其它单品优惠券的优惠计算,克服了现有方法已享受优惠商品仍然参与下一张单品券优惠计算的问题;d.由于本方法使用了局部最优的计算方法,避免了现有方法穷举所有组合导致的计算量大、占用存储空间多的问题。此外,通过对单品优惠券和商品排序,使用优惠平摊和逐个商品剔除的方法将优惠分配到对应的商品上,在保障商户投入产出比的基础上,让用户尽量享受到最大的单品优惠,同时减少计算量。The target object processing method provided in the embodiment of this specification adopts a locally optimal preferential calculation method, by sorting coupons and commodities, and using the methods of preferential sharing and commodity-by-commodity elimination to allocate the discounts to the corresponding commodities, The products that enjoy the discount will no longer participate in the discount calculation of other single product coupons. Through the target object processing method, the following four points can be achieved: a. Each product can only enjoy one single product coupon at most; b. On the basis, each single product coupon can also set the maximum discount quantity of the product; c. The product that has already enjoyed the discount will no longer participate in the discount calculation of other single product coupons, which overcomes the existing method. The discounted product still participates in the next single product coupon. The problem of preferential calculation; d. Since this method uses a local optimal calculation method, it avoids the problems of large amount of calculation and large storage space caused by the existing method exhausting all combinations. In addition, by sorting single-product coupons and commodities, and using the methods of equalizing the discounts and eliminating the products one by one, the discounts are allocated to the corresponding products. On the basis of ensuring the input-output ratio of the merchants, users can enjoy the largest single product as much as possible. Product discounts, while reducing the amount of calculation.
与上述方法实施例相对应,本说明书还提供了目标对象处理装置实施例,图4示出了本说明书一个实施例提供的一种目标对象处理装置的结构示意图。如图4所示,该装置包括:资源获取模块402,被配置为获取与用户对应的至少一个目标资源,并基于预设排序规则对所述至少一个目标资源进行排序;对象确定模块404,被配置为基于排序后每个目标资源对应的对象属性信息,确定每个目标资源对应的所述用户的目标对象;资源值确定模块406,被配置为在每个目标资源对应的目标对象的资源值大于等于目标资源的设定资源值的情况下,基于每个目标资源的资源类型,确定每个目标资源对应的目标对象的可用资源值;目标对象处理模块408,被配置为基于每个目标资源对应的目标对象的可用资源值以及每个目标资源对应的目标对象的资源值,处理每个目标资源对应的目标对象。Corresponding to the above method embodiments, the present specification also provides an embodiment of a target object processing apparatus, and FIG. 4 shows a schematic structural diagram of a target object processing apparatus provided by an embodiment of the present specification. As shown in FIG. 4 , the apparatus includes: a resource acquisition module 402, configured to acquire at least one target resource corresponding to a user, and to sort the at least one target resource based on a preset sorting rule; an object determination module 404, configured by is configured to determine the target object of the user corresponding to each target resource based on the object attribute information corresponding to each target resource after sorting; the resource value determination module 406 is configured to be in the resource value of the target object corresponding to each target resource In the case of being greater than or equal to the set resource value of the target resource, based on the resource type of each target resource, determine the available resource value of the target object corresponding to each target resource; the target object processing module 408 is configured to be based on each target resource. The available resource value of the corresponding target object and the resource value of the target object corresponding to each target resource are processed, and the target object corresponding to each target resource is processed.
可选地,所述资源获取模块402,进一步被配置为:确定所述至少一个目标资源中每个目标资源的资源值;在所述至少一个目标资源中不存在资源值相同的目标资源的情况下,基于每个目标资源的资源值对所述至少一个目标资源进行排序。Optionally, the resource acquisition module 402 is further configured to: determine the resource value of each target resource in the at least one target resource; in the case where there is no target resource with the same resource value in the at least one target resource Next, the at least one target resource is sorted based on the resource value of each target resource.
可选地,所述装置,还包括:顺序更新模块,被配置为:在所述至少一个目标资 源中存在资源值相同的目标资源的情况下,基于每个目标资源的资源值对所述至少一个目标资源进行初始排序,并确定资源值相同的每个目标资源的设定资源值;判断资源值相同的每个目标资源的设定资源值是否相同,若是,则确定资源值相同的每个目标资源的使用时间,并基于使用时间对资源值相同的每个目标资源的顺序进行更新,若否,则基于设定资源值对资源值相同的每个目标资源的顺序进行更新。Optionally, the apparatus further includes: a sequence update module, configured to: in the case that a target resource with the same resource value exists in the at least one target resource, update the at least one target resource based on the resource value of each target resource. A target resource is initially sorted, and the set resource value of each target resource with the same resource value is determined; it is judged whether the set resource value of each target resource with the same resource value is the same, and if so, determine each target resource with the same resource value. The usage time of the target resource, and the sequence of each target resource with the same resource value is updated based on the usage time. If not, the sequence of each target resource with the same resource value is updated based on the set resource value.
可选地,所述对象确定模块404,进一步被配置为:获取所述用户对应的至少一个目标对象,并确定所述至少一个目标对象中每个目标对象的对象属性信息;基于排序后每个目标资源对应的对象属性信息与每个目标对象的对象属性信息之间的关联关系,确定每个目标资源对应的目标对象。Optionally, the object determination module 404 is further configured to: acquire at least one target object corresponding to the user, and determine the object attribute information of each target object in the at least one target object; The relationship between the object attribute information corresponding to the target resource and the object attribute information of each target object determines the target object corresponding to each target resource.
可选地,所述资源值确定模块406,进一步被配置为:确定每个目标资源的资源类型,在所述资源类型为第一资源类型的情况下,基于每个目标资源的资源值以及每个目标资源对应的目标对象的资源值的比例关系,计算每个目标资源对应的目标对象的可用资源值。Optionally, the resource value determination module 406 is further configured to: determine the resource type of each target resource, and in the case that the resource type is the first resource type, based on the resource value of each target resource and each target resource. The proportional relationship between the resource values of the target objects corresponding to each target resource is calculated, and the available resource value of the target object corresponding to each target resource is calculated.
可选地,所述资源值确定模块406,进一步被配置为:确定每个目标资源的资源类型,在所述资源类型为第二资源类型的情况下,基于每个目标资源对应的目标对象的资源值,对每个目标资源对应的目标对象进行降序排列;基于每个目标资源的资源值、每个目标资源的使用规则以及降序排列后每个目标资源对应的目标对象的资源值,计算降序排列后每个目标资源对应的目标对象的可用资源值。Optionally, the resource value determining module 406 is further configured to: determine the resource type of each target resource, and in the case that the resource type is the second resource type, based on the target object corresponding to each target resource Resource value, sort the target objects corresponding to each target resource in descending order; calculate the descending order based on the resource value of each target resource, the usage rules of each target resource, and the resource value of the target object corresponding to each target resource after sorting in descending order The available resource value of the target object corresponding to each target resource after arrangement.
可选地,所述资源值确定模块406,进一步被配置为:基于每个目标资源的资源值、每个目标资源的使用规则以及降序排列后每个目标资源对应的第一个目标对象的资源值,计算降序排列后每个目标资源对应的第一个目标对象的可用资源值;确定降序排列后每个目标资源对应的第一个目标对象的可用资源值,与对应的目标资源的资源值的资源差值;在所述资源差值大于预设资源阈值的情况下,基于每个目标资源的资源值以及降序排列后每个目标资源对应的第一个目标对象的可用资源值,计算降序排列后每个目标资源对应的下一个目标对象的可用资源值。Optionally, the resource value determination module 406 is further configured to: based on the resource value of each target resource, the usage rule of each target resource, and the resource of the first target object corresponding to each target resource after the descending arrangement value, calculate the available resource value of the first target object corresponding to each target resource after the descending order; determine 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 When the resource difference is greater than the preset resource threshold, the descending order is calculated based on the resource value of each target resource and the available resource value of the first target object corresponding to each target resource after the descending order. The available resource value of the next target object corresponding to each target resource after arrangement.
可选地,所述装置,还包括:资源值计算模块,被配置为:在所述资源差值大于预设资源阈值,且每个目标资源对应的可使用次数大于预设次数阈值的情况下,基于每个目标资源的资源值以及降序排列后每个目标资源对应的第一个目标对象的可用资源值,计算降序排列后每个目标资源对应的下一个目标对象的可用资源值。Optionally, the apparatus further includes: a resource value calculation module configured to: in the case that the resource difference value is greater than a preset resource threshold, and the available number of times corresponding to each target resource is greater than a preset number of times threshold , based on the resource value of each target resource and the available resource value of the first target object corresponding to each target resource after the descending order, calculate the available resource value of the next target object corresponding to each target resource after the descending order.
可选地,所述目标对象处理模块408,进一步被配置为:基于每个目标资源对应的目标对象的资源值与可用资源值的差值,确定每个目标资源对应的目标对象的目标资源值,并基于所述目标资源值处理每个目标资源对应的目标对象。Optionally, the target object processing module 408 is further configured to: determine the target resource value of the target object corresponding to each target resource based on the difference between the resource value of the target object corresponding to each target resource and the available resource value , and process the target object corresponding to each target resource based on the target resource value.
可选地,所述目标对象处理模块408,进一步被配置为,所述删除其他目标资源对应的所述目标对象包括:确定其他目标资源对应的目标对象,在所述其他目标资源对应的目标对象存在处理后的目标对象的情况下,在所述对象处理平台删除其他目标资源对应的所述处理后的目标对象。Optionally, the target object processing module 408 is further configured to, the deleting the target objects corresponding to other target resources includes: determining the target objects corresponding to other target resources, in the target objects corresponding to the other target resources If there is a processed target object, the object processing platform deletes the processed target objects corresponding to other target resources.
本说明书实施例提供的所述目标对象处理装置通过在对象处理平台对目标资源进 行排序后,再基于排序后的目标资源计算其对应的目标对象的可用资源值,使得用户的目标对象可以优先享受排序靠前的目标资源的较高可用资源值;并且基于可用资源值对目标对象处理后,删除对象处理平台中其他目标资源对应的该目标对象,使得下一个目标资源在计算其对应的目标对象的可用资源值时,已经享受过可用资源值的目标对象不再参与其他目标资源的计算,极大的提高了对象处理平台的计算率以及存储空间。The target object processing apparatus provided in the embodiments of the present specification calculates the available resource value of the corresponding target object based on the sorted target resources after sorting the target resources on the object processing platform, so that the target objects of the user can enjoy preferential treatment The higher available resource value of the top-ranked target resource; and after processing the target object based on the available resource value, delete the target object corresponding to other target resources in the object processing platform, so that the next target resource is calculating its corresponding target object When the available resource value reaches , the target object that has already enjoyed the available resource value no longer participates in the calculation of other target resources, which greatly improves the calculation rate and storage space of the object processing platform.
上述为本实施例的一种目标对象处理装置的示意性方案。需要说明的是,该目标对象处理装置的技术方案与上述的目标对象处理方法的技术方案属于同一构思,目标对象处理装置的技术方案未详细描述的细节内容,均可以参见上述目标对象处理方法的技术方案的描述。The above is a schematic solution of a target object processing apparatus according to this embodiment. It should be noted that the technical solution of the target object processing device and the technical solution of the above-mentioned target object processing method belong to the same concept. Description of the technical solution.
图5示出了根据本说明书一个实施例提供的一种计算设备500的结构框图。该计算设备500的部件包括但不限于存储器510和处理器520。处理器520与存储器510通过总线530相连接,数据库550用于保存数据。FIG. 5 shows a structural block diagram of a computing device 500 provided according to an embodiment of the present specification. Components of the computing device 500 include, but are not limited to, memory 510 and processor 520 . The processor 520 is connected with the memory 510 through the bus 530, and the database 550 is used for saving data.
计算设备500还包括接入设备540,接入设备540使得计算设备500能够经由一个或多个网络560通信。这些网络的示例包括公用交换电话网(PSTN)、局域网(LAN)、广域网(WAN)、个域网(PAN)或诸如因特网的通信网络的组合。接入设备540可以包括有线或无线的任何类型的网络接口(例如,网络接口卡(NIC))中的一个或多个,诸如IEEE802.11无线局域网(WLAN)无线接口、全球微波互联接入(Wi-MAX)接口、以太网接口、通用串行总线(USB)接口、蜂窝网络接口、蓝牙接口、近场通信(NFC)接口,等等。Computing device 500 also includes access device 540 that enables computing device 500 to communicate via one or more networks 560 . Examples of such networks include a 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. Access device 540 may include one or more of any type of network interface (eg, network interface card (NIC)), wired or wireless, such as IEEE 802.11 wireless local area network (WLAN) wireless interface, World Interoperability for Microwave Access ( Wi-MAX) interface, Ethernet interface, Universal Serial Bus (USB) interface, cellular network interface, Bluetooth interface, Near Field Communication (NFC) interface, and the like.
在本说明书的一个实施例中,计算设备500的上述部件以及图5中未示出的其他部件也可以彼此相连接,例如通过总线。应当理解,图5所示的计算设备结构框图仅仅是出于示例的目的,而不是对本说明书范围的限制。本领域技术人员可以根据需要,增添或替换其他部件。In one embodiment of the present specification, the above-described components of computing device 500 and other components not shown in FIG. 5 may also be connected to each other, such as through a bus. It should be understood that the structural block diagram of the computing device shown in FIG. 5 is only for the purpose of example, rather than limiting the scope of this specification. Those skilled in the art can add or replace other components as required.
计算设备500可以是任何类型的静止或移动计算设备,包括移动计算机或移动计算设备(例如,平板计算机、个人数字助理、膝上型计算机、笔记本计算机、上网本等)、移动电话(例如,智能手机)、可佩戴的计算设备(例如,智能手表、智能眼镜等)或其他类型的移动设备,或者诸如台式计算机或PC的静止计算设备。计算设备500还可以是移动式或静止式的服务器。Computing device 500 may be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (eg, tablets, personal digital assistants, laptops, notebook computers, netbooks, etc.), mobile phones (eg, smartphones ), wearable computing devices (eg, smart watches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or PCs. Computing device 500 may also be a mobile or stationary server.
其中,处理器520用于执行如下计算机可执行指令,该计算机可执行指令被处理器执行时实现所述目标对象处理方法的步骤。The processor 520 is configured to execute the following computer-executable instructions, which implement the steps of the target object processing method when the computer-executable instructions are executed by the processor.
上述为本实施例的一种计算设备的示意性方案。需要说明的是,该计算设备的技术方案与上述的目标对象处理方法的技术方案属于同一构思,计算设备的技术方案未详细描述的细节内容,均可以参见上述目标对象处理方法的技术方案的描述。The above is a schematic solution of a computing device according to this embodiment. It should be noted that the technical solution of the computing device and the technical solution of the above-mentioned target object processing method belong to the same concept, and the 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 above-mentioned target object processing method. .
本说明书一实施例还提供一种计算机可读存储介质,其存储有计算机指令,该计算机可执行指令被处理器执行时实现所述目标对象处理方法的步骤。An embodiment of the present specification further provides a computer-readable storage medium, which stores computer instructions, and when the computer-executable instructions are executed by a processor, implements the steps of the target object processing method.
上述为本实施例的一种计算机可读存储介质的示意性方案。需要说明的是,该存储介质的技术方案与上述的目标对象处理方法的技术方案属于同一构思,存储介质的技 术方案未详细描述的细节内容,均可以参见上述目标对象处理方法的技术方案的描述。The above is a schematic solution of a computer-readable storage medium of this embodiment. It should be noted that the technical solution of the storage medium and the technical solution of the above-mentioned target object processing method belong to the same concept, and the 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 above-mentioned target object processing method. .
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that in the embodiments and still achieve desirable results. Additionally, the processes depicted in the figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
所述计算机指令包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。The computer instructions include computer program code, which may be in source code form, object code form, an executable file, 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, U disk, removable hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable media may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer-readable media Electric carrier signals and telecommunication signals are not included.
需要说明的是,对于前述的各方法实施例,为了简便描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本说明书实施例并不受所描述的动作顺序的限制,因为依据本说明书实施例,某些步骤可以采用其它顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定都是本说明书实施例所必须的。It should be noted that, for the convenience of description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the embodiments of this specification are not limited by the described action sequences. Limitation, because certain steps may be performed in other orders or simultaneously according to embodiments of the present specification. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily all necessary for the embodiments of the specification.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
以上公开的本说明书优选实施例只是用于帮助阐述本说明书。可选实施例并没有详尽叙述所有的细节,也不限制该发明仅为所述的具体实施方式。显然,根据本说明书实施例的内容,可作很多的修改和变化。本说明书选取并具体描述这些实施例,是为了更好地解释本说明书实施例的原理和实际应用,从而使所属技术领域技术人员能很好地理解和利用本说明书。本说明书仅受权利要求书及其全部范围和等效物的限制。The preferred embodiments of the present specification disclosed above are provided only to aid in the elaboration of the present specification. Alternative embodiments are not intended to exhaust all details, nor do they limit the invention to only the described embodiments. Obviously, many modifications and changes can be made in accordance with the contents of the embodiments of the present specification. These embodiments are selected and described in this specification to better explain the principles and practical applications of the embodiments of this specification, so that those skilled in the art can well understand and utilize this specification. This specification is limited only by the claims and their full scope and equivalents.

Claims (13)

  1. 一种目标对象处理方法,应用于对象处理平台,包括:A target object processing method, applied to an object processing platform, comprising:
    获取与用户对应的至少一个目标资源,并基于预设排序规则对所述至少一个目标资源进行排序;Acquire at least one target resource corresponding to the user, and sort the at least one target resource based on a preset sorting rule;
    基于排序后每个目标资源对应的对象属性信息,确定每个目标资源对应的所述用户的目标对象;Determine the target object of the user corresponding to each target resource based on the object attribute information corresponding to each target resource after sorting;
    在每个目标资源对应的目标对象的资源值大于等于目标资源的设定资源值的情况下,基于每个目标资源的资源类型,确定每个目标资源对应的目标对象的可用资源值;In the case 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, based on the resource type of each target resource, determine the available resource value of the target object corresponding to each target resource;
    基于每个目标资源对应的目标对象的可用资源值以及每个目标资源对应的目标对象的资源值,处理每个目标资源对应的目标对象。The target object corresponding to each target resource is processed 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. 根据权利要求1所述的目标对象处理方法,所述基于预设排序规则对所述至少一个目标资源进行排序,包括:The target object processing method according to claim 1, wherein the sorting of the at least one target resource based on a preset sorting rule comprises:
    确定所述至少一个目标资源中每个目标资源的资源值;determining a resource value of each target resource in the at least one target resource;
    在所述至少一个目标资源中不存在资源值相同的目标资源的情况下,基于每个目标资源的资源值对所述至少一个目标资源进行排序。The at least one target resource is sorted based on the resource value of each target resource if there is no target resource with the same resource value among the at least one target resource.
  3. 根据权利要求2所述的目标对象处理方法,所述确定所述至少一个目标资源中每个目标资源的资源值之后,还包括:The target object processing method according to claim 2, after said determining the resource value of each target resource in the at least one target resource, further comprising:
    在所述至少一个目标资源中存在资源值相同的目标资源的情况下,基于每个目标资源的资源值对所述至少一个目标资源进行初始排序,并确定资源值相同的每个目标资源的设定资源值;In the case where target resources with the same resource value exist in the at least one target resource, the at least one target resource is initially sorted based on the resource value of each target resource, and the setting of each target resource with the same resource value is determined. fixed resource value;
    判断资源值相同的每个目标资源的设定资源值是否相同,Determine whether the set resource value of each target resource with the same resource value is the same,
    若是,则确定资源值相同的每个目标资源的使用时间,并基于使用时间对资源值相同的每个目标资源的顺序进行更新,If so, determine the usage time of each target resource with the same resource value, and update the sequence of each target resource with the same resource value based on the usage time,
    若否,则基于设定资源值对资源值相同的每个目标资源的顺序进行更新。If not, the sequence of each target resource with the same resource value is updated based on the set resource value.
  4. 根据权利要求1所述的目标对象处理方法,所述基于排序后每个目标资源对应的对象属性信息,确定每个目标资源对应的所述用户的目标对象,包括:The target object processing method according to claim 1, wherein determining the target object of the user corresponding to each target resource based on the object attribute information corresponding to each target resource after sorting, comprising:
    获取所述用户对应的至少一个目标对象,并确定所述至少一个目标对象中每个目标对象的对象属性信息;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;
    基于排序后每个目标资源对应的对象属性信息与每个目标对象的对象属性信息之间的关联关系,确定每个目标资源对应的目标对象。Based on the association relationship between the object attribute information corresponding to each target resource and the object attribute information of each target object after sorting, the target object corresponding to each target resource is determined.
  5. 根据权利要求1所述的目标对象处理方法,所述基于每个目标资源的资源类型,确定每个目标资源对应的目标对象的可用资源值,包括:The method for processing a target object according to claim 1, wherein determining the available resource value of the target object corresponding to each target resource based on the resource type of each target resource, comprising:
    确定每个目标资源的资源类型,在所述资源类型为第一资源类型的情况下,基于每个目标资源的资源值以及每个目标资源对应的目标对象的资源值的比例关系,计算每个目标资源对应的目标对象的可用资源值。Determine the resource type of each target resource, and in the case that the resource type is the first resource type, calculate each The available resource value of the target object corresponding to the target resource.
  6. 根据权利要求1所述的目标对象处理方法,所述基于每个目标资源的资源类型,确定每个目标资源对应的目标对象的可用资源值,包括:The method for processing a target object according to claim 1, wherein determining the available resource value of the target object corresponding to each target resource based on the resource type of each target resource, comprising:
    确定每个目标资源的资源类型,在所述资源类型为第二资源类型的情况下,基于每个目标资源对应的目标对象的资源值,对每个目标资源对应的目标对象进行降序排列;determining the resource type of each target resource, and in the case that the resource type is the second resource type, based on the resource value of the target object corresponding to each target resource, the target objects corresponding to each target resource are arranged in 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 the descending order, the available resource value of the target object corresponding to each target resource after the descending order is calculated.
  7. 根据权利要求6所述的目标对象处理方法,所述基于每个目标资源的资源值、每个目标资源的使用规则以及降序排列后每个目标资源对应的目标对象的资源值,计算降序排列后每个目标资源对应的目标对象的可用资源值,包括:The target object processing method according to claim 6, wherein 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 the descending order, calculating the descending order The available resource values of the target object corresponding to each target resource, including:
    基于每个目标资源的资源值、每个目标资源的使用规则以及降序排列后每个目标资源对应的第一个目标对象的资源值,计算降序排列后每个目标资源对应的第一个目标对象的可用资源值;Based on the resource value of each target resource, the usage rule of each target resource, and the resource value of the first target object corresponding to each target resource after the descending order, the first target object corresponding to each target resource after the descending order is calculated The available resource value of ;
    确定降序排列后每个目标资源对应的第一个目标对象的可用资源值,与对应的目标资源的资源值的资源差值;Determine 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;
    在所述资源差值大于预设资源阈值的情况下,基于每个目标资源的资源值以及降序排列后每个目标资源对应的第一个目标对象的可用资源值,计算降序排列后每个目标资源对应的下一个目标对象的可用资源值。In the case where the resource difference is greater than the preset resource threshold, based on the resource value of each target resource and the available resource value of the first target object corresponding to each target resource after the descending order, calculate each target after the descending order. The available resource value of the next target object corresponding to the resource.
  8. 根据权利要求7所述的目标对象处理方法,所述确定降序排列后每个目标资源对应的第一个目标对象的可用资源值,与对应的目标资源的资源值的资源差值之后,还包括:The target object processing method according to claim 7, wherein 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 comprises: :
    在所述资源差值大于预设资源阈值,且每个目标资源对应的可使用次数大于预设次数阈值的情况下,基于每个目标资源的资源值以及降序排列后每个目标资源对应的第一个目标对象的可用资源值,计算降序排列后每个目标资源对应的下一个目标对象的可用资源值。In the case where the resource difference is greater than the preset resource threshold, and the available times corresponding to each target resource is greater than the preset times threshold, based on the resource value of each target resource and the number of times corresponding to each target resource after sorting in descending order The available resource value of a target object, calculate the available resource value of the next target object corresponding to each target resource after sorting in descending order.
  9. 根据权利要求1所述的目标对象处理方法,所述基于每个目标资源对应的目标对象的可用资源值以及每个目标资源对应的目标对象的资源值,处理每个目标资源对应的目标对象,包括:The target object processing method according to claim 1, wherein the target object corresponding to each target resource is processed 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, include:
    基于每个目标资源对应的目标对象的资源值与可用资源值的差值,确定每个目标资源对应的目标对象的目标资源值,并基于所述目标资源值处理每个目标资源对应的目标对象。Determine the target resource value of the target object corresponding to each target resource based on the difference between the resource value of the target object corresponding to each target resource and the available resource value, and process the target object corresponding to each target resource based on the target resource value .
  10. 根据权利要求9所述的目标对象处理方法,所述处理每个目标资源对应的目标对象之后,还包括:The target object processing method according to claim 9, after the processing of the target object corresponding to each target resource, further comprising:
    确定其他目标资源对应的目标对象,在所述其他目标资源对应的目标对象存在处理后的目标对象的情况下,在所述对象处理平台删除其他目标资源对应的所述处理后的目标对象。Determine the target objects corresponding to other target resources, and delete the processed target objects corresponding to the other target resources on the object processing platform in the case that the processed target objects exist in the target objects corresponding to the other target resources.
  11. 一种目标对象处理装置,包括:A target object processing device, comprising:
    资源获取模块,被配置为获取与用户对应的至少一个目标资源,并基于预设排序规则对所述至少一个目标资源进行排序;a resource acquisition module, configured to acquire at least one target resource corresponding to the user, and to sort the at least one target resource based on a preset sorting rule;
    对象确定模块,被配置为基于排序后每个目标资源对应的对象属性信息,确定每个 目标资源对应的所述用户的目标对象;The object determination module is configured to determine the target object of the user corresponding to each target resource based on the object attribute information corresponding to each target resource after the sorting;
    资源值确定模块,被配置为在每个目标资源对应的目标对象的资源值大于等于目标资源的设定资源值的情况下,基于每个目标资源的资源类型,确定每个目标资源对应的目标对象的可用资源值;The resource value determination module is configured to determine the target corresponding to each target resource based on the resource type of 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 The available resource value of the object;
    目标对象处理模块,被配置为基于每个目标资源对应的目标对象的可用资源值以及每个目标资源对应的目标对象的资源值,处理每个目标资源对应的目标对象。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:
    存储器和处理器;memory and processor;
    所述存储器用于存储计算机可执行指令,该计算机可执行指令被处理器执行时实现权利要求1至10任意一项所述目标对象处理方法的步骤。The memory is used to store computer-executable instructions, and when the computer-executable instructions are executed by the processor, implement the steps of the target object processing method according to any one of claims 1 to 10.
  13. 一种计算机可读存储介质,其存储有计算机可执行指令,该计算机可执行指令被处理器执行时实现权利要求1至10任意一项所述目标对象处理方法的步骤。A computer-readable storage medium storing computer-executable instructions, when the computer-executable instructions are executed by a processor, implement the steps of the target object processing method according to any one of claims 1 to 10.
PCT/CN2022/073825 2021-01-27 2022-01-25 Method and device for target object processing WO2022161359A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2022161359A1 true WO2022161359A1 (en) 2022-08-04

Family

ID=75707532

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/073825 WO2022161359A1 (en) 2021-01-27 2022-01-25 Method and device for target object processing

Country Status (2)

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

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112767049A (en) * 2021-01-27 2021-05-07 支付宝(杭州)信息技术有限公司 Target object processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108921617A (en) * 2018-07-09 2018-11-30 上海瀚银信息技术有限公司 A kind of preferential ticket management system and discount coupon application method
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
CN111507772A (en) * 2020-04-22 2020-08-07 深圳市元征科技股份有限公司 Coupon management method, device and storage medium
CN112767049A (en) * 2021-01-27 2021-05-07 支付宝(杭州)信息技术有限公司 Target object processing method and device

Family Cites Families (5)

* 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
CN117314512A (en) * 2019-05-28 2023-12-29 创新先进技术有限公司 Resource allocation method and device, and coupon allocation method and device
CN111475712B (en) * 2020-03-13 2022-02-08 拉扎斯网络科技(上海)有限公司 Resource processing method and system
CN111756796B (en) * 2020-05-11 2023-04-28 拉扎斯网络科技(上海)有限公司 Method and device for pushing rights and interests resource information, storage medium and terminal

Patent Citations (5)

* 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
CN108921617A (en) * 2018-07-09 2018-11-30 上海瀚银信息技术有限公司 A kind of preferential ticket management system and discount coupon application method
CN110443529A (en) * 2019-09-06 2019-11-12 深圳前海微众银行股份有限公司 Resource regulating method, device, equipment and computer readable storage medium
CN111507772A (en) * 2020-04-22 2020-08-07 深圳市元征科技股份有限公司 Coupon management method, device and storage medium
CN112767049A (en) * 2021-01-27 2021-05-07 支付宝(杭州)信息技术有限公司 Target object processing method and device

Also Published As

Publication number Publication date
CN112767049A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
RU2695509C1 (en) System and methods of online/offline synchronization
WO2019196579A1 (en) Method and apparatus for issuing smart voucher, and method and apparatus for verification and cancellation by using smart voucher
Greenstein-Messica et al. Personal price aware multi-seller recommender system: Evidence from eBay
US20140164220A1 (en) Payment instrument selection
CN107679904A (en) A kind of method and device of Recommendations
CN110610401A (en) Internet group-piecing shopping method, system, medium and terminal
CN109087148B (en) Method, apparatus and computer readable medium for determining virtual resource object
TWI645347B (en) Method and system for providing offers that specify a variable discount with respect to a price of a good and/or service
US20150073889A1 (en) Dynamic Retailer Rewards Based on Attributes of Historical Transactions and Calculated Values
WO2022161359A1 (en) Method and device for target object processing
CN110910179A (en) Grouping marketing method and device
CN110363616A (en) Consumption data processing, output method and device, storage medium and electronic equipment
CN108229997A (en) A kind of method and system of internet shopping promotion
US20140236749A1 (en) Applying customer feedback to group buying deals
US20170372345A1 (en) System for determining communication for future opportunity
WO2017166535A1 (en) Method and apparatus for uniform settlement of online shopping
CN113435921A (en) Discount price based method and system for pushing preferential products
CN114066375B (en) Method, device and equipment for determining pre-distribution amount and storage medium
KR101765088B1 (en) Marketing system and method by separation of product group
CN112435066A (en) Electronic certificate issuing method, device, terminal and storage medium
WO2018059256A1 (en) Data object resource information processing method and device
CN108288183A (en) Ideal money returning method, device and readable storage medium storing program for executing
CN114820021A (en) Collaborative sales promotion method, system and medium based on commodity sales platform and supply chain
CN110751492A (en) High-value crowd identification method and device
TWM587323U (en) Internet bank system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22745233

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22745233

Country of ref document: EP

Kind code of ref document: A1