CN110738495A - Member resource allocation method and device - Google Patents

Member resource allocation method and device Download PDF

Info

Publication number
CN110738495A
CN110738495A CN201910894047.XA CN201910894047A CN110738495A CN 110738495 A CN110738495 A CN 110738495A CN 201910894047 A CN201910894047 A CN 201910894047A CN 110738495 A CN110738495 A CN 110738495A
Authority
CN
China
Prior art keywords
order line
resource allocation
order
current
amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910894047.XA
Other languages
Chinese (zh)
Inventor
段涛
叶国华
司孝波
余文华
陈冬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suning Cloud Computing Co Ltd
Original Assignee
Suning Cloud Computing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suning Cloud Computing Co Ltd filed Critical Suning Cloud Computing Co Ltd
Priority to CN201910894047.XA priority Critical patent/CN110738495A/en
Publication of CN110738495A publication Critical patent/CN110738495A/en
Priority to CA3155143A priority patent/CA3155143A1/en
Priority to PCT/CN2020/105936 priority patent/WO2021052030A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/387Payment using discounts or coupons
    • 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/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders

Abstract

The invention discloses a method and a device for sharing member resources, which relate to the technical field of Internet and can avoid loopholes while ensuring the sharing precision of the member resources.

Description

Member resource allocation method and device
Technical Field
The invention relates to the technical field of Internet, in particular to a member resource allocation method and device.
Background
In the field of money transaction of e-commerce, security dealer, bitcoin and the like, when a customer places an order, the customer often uses member resources such as points or coupons and the like to deduct partial order money, for orders comprising various commodities, namely a plurality of order lines, the customer can distribute available member resources to a plurality of order lines in the same order lines for deduction, and when the customer generates partial return goods and refund, the member resources deducted on the corresponding order lines can be withdrawn, so that the benefit of the platform is not lost.
The existing proportional allocation algorithm usually adopts an upward rounding strategy under the condition of incomplete allocation value, and under the extreme condition, the strategy may cause the situation that the member resources withheld by the last orders are negative, so that the existing member resource allocation algorithm is not high in accuracy and may have a vulnerability.
Disclosure of Invention
The invention aims to provide member resource allocation methods and devices, which can ensure member resource allocation accuracy and avoid bugs.
In order to achieve the above object, the aspect of the present invention provides a member resource allocation method, including:
acquiring member resources available for an order, wherein the order comprises a plurality of order lines, and the member resources comprise types of coupons, points and shopping cards;
and arranging a plurality of order lines in sequence according to the amount due, and sequentially calculating the resource allocation amount of each order line based on the current order line and the current member resource residual amount until the member resources are completely allocated.
Preferably, before the steps of arranging a plurality of order lines in order according to the amount due, and calculating the resource allocation amount of each order line in sequence based on the current order line and the current member resource remaining amount until the member resource is allocated completely, the method further comprises:
allocating the allocation processing priorities of coupons, credits and shopping cards; and/or the presence of a gas in the gas,
and configuring the resource allocation weight of the order line.
Preferably, the method of sequentially arranging the plurality of order lines according to the amount due includes:
the amount due of each order line is converted into points from yuan, and then the amount due is arranged for each order line in the order from big to small.
Preferably, the method for sequentially calculating the resource allocation amount of each order line based on the current order line and the current member resource residual amount until the member resource allocation is completed comprises the following steps:
counting the number of order lines as n, and numbering the n order lines in sequence;
amount P due based on current order line iiThe total amount P payable by the remaining order linetThe total number of member resources Y and the sum of the number of shared resources YtCalculating the resource allocation amount Y of the current order line iiWherein i is more than or equal to 1 and less than or equal to n, and the initial value of i is 1;
judging the resource allocation quantity Y of the current order line iiIf the number is positive, returning the step to the step for circular calculation if the number is i +1, and defaulting the resource allocation number corresponding to the remaining order line to zero if the number is not positive;
and summarizing to obtain the resource allocation quantity of each order line.
Optionally, the method for sequentially calculating the resource allocation amount of each order line based on the current order line and the current member resource remaining amount until the member resource is allocated completely includes:
counting the number of order lines as n, and numbering the n order lines in sequence;
amount P due based on current order line iiThe total amount P payable by the remaining order linetThe total number of member resources Y and the sum of the number of shared resources YtResource allocation weight Z for current order line iiCalculating the resource allocation amount Y of the current order line iiWherein i is more than or equal to 1 and less than or equal to n, and the initial value of i is 1;
judging the resource allocation quantity Y of the current order line iiIf the number is positive, returning the step to the step for circular calculation if the number is i +1, and defaulting the resource allocation number corresponding to the remaining order line to zero if the number is not positive;
and summarizing to obtain the resource allocation quantity of each order line.
Illustratively, the resource allocation amount Y of the current order line i is calculatediThe method comprises the following steps:
using a formula of calculation
Figure BDA0002209671470000021
Or
Figure BDA0002209671470000022
Calculating the resource allocation quantity of the current order line i;
judgment of YiIf the value of (A) is an integer, if Y is directly addediOutput is reserved if Y is not needediThe value of (b) is rounded up and then output to be reserved.
, if the weight Z is allocated due to the resourceiAnd when the quantity of the resources to be distributed is less than the quantity of the resources which are allocated to the current order line i in proportion, the quantity of the resources to be distributed needs to be regarded as the resource allocation quantity of the current order line i.
Compared with the prior art, the member resource allocation method provided by the invention has the following beneficial effects:
in the member resource allocation method provided by the invention, when a customer purchases a plurality of commodities, the generated order comprises order lines with the quantity corresponding to the commodity types, when the user submits payment, the payment amount is deducted by selecting available member resources, illustratively, the member resources comprise coupons, points or shopping cards, and the allocation logic of the member resources relative to each order line is as follows: firstly, a plurality of order lines are sequentially arranged according to the amount of money due, and the resource allocation quantity of each order line is sequentially calculated based on the current order line and the current residual quantity of the member resources until all the member resources are allocated completely.
Therefore, the method and the system can distribute the member resource usage amount of each order line in sequence according to the amount due, can effectively improve the precision of a distribution algorithm of the member resource, and avoid the extreme condition that the order line withstands the negative number of the member resource amount.
Another aspect of the present invention provides member resource allocation devices, to which the member resource allocation method mentioned in the above technical solution is applied, the device including:
the information loading unit is used for acquiring member resources available for orders, wherein the orders comprise a plurality of order lines, and the member resources comprise types of coupons, points and shopping cards;
and the resource allocation unit is used for sequentially arranging a plurality of order lines according to the amount due, and sequentially calculating the resource allocation quantity of each order line based on the current order line and the current member resource residual quantity until the member resources are completely allocated.
Preferably, the method further comprises the following steps:
the resource configuration unit is used for configuring the allocation processing priorities of the coupons, the credits and the shopping cards; and/or the presence of a gas in the gas,
and configuring the resource allocation weight of the order line.
Compared with the prior art, the beneficial effect of the member resource allocation device provided by the invention is the same as that of the member resource allocation method provided by the technical scheme, and the details are not repeated herein.
A third aspect of the present invention provides computer-readable storage media having stored thereon a computer program which, when executed by a processor, performs the steps of the member resource apportionment method described above.
Compared with the prior art, the beneficial effect of the computer-readable storage medium provided by the invention is the same as that of the member resource allocation method provided by the technical scheme, and details are not repeated herein.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and constitute a part of , illustrate embodiments of the invention and together with the description serve to explain the invention without limiting it, and in which:
fig. 1 is a flowchart illustrating a member resource allocation method in according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments of the present invention are described in detail with reference to the accompanying drawings.
Example
Referring to fig. 1, the present embodiment provides an member resource allocation method, including:
the method comprises the steps of obtaining available member resources of an order, wherein the order comprises a plurality of order lines, the member resources comprise or more of coupons, credits and shopping cards, arranging the order lines in sequence according to the amount due, and calculating the resource allocation quantity of each order line in sequence based on the current order line and the residual quantity of the current member resources until the member resources are allocated completely.
In the member resource allocation method provided in this embodiment, when a customer purchases a plurality of commodities, a generated order includes order lines with a quantity corresponding to the commodity type, and when the customer submits payment, the user performs payment deduction by selecting an available member resource, where the member resource exemplarily includes a coupon, a credit, or a shopping card, and an allocation logic of the member resource with respect to each order line is: firstly, a plurality of order lines are sequentially arranged according to the amount of money due, and the resource allocation quantity of each order line is sequentially calculated based on the current order line and the current residual quantity of the member resources until all the member resources are allocated completely.
Therefore, the member resource usage quantity of each order line is apportioned in sequence according to the amount due, the apportionment algorithm precision of the member resource can be effectively improved, and the extreme situation that the order line withstands the extreme situation that the member resource quantity is negative is avoided.
In order to increase the flexibility of the apportionment strategy, in the above embodiment, the plurality of order lines are sequentially arranged according to the amount due, and the resource apportionment amount of each order line is sequentially calculated based on the current order line and the current member resource remaining amount, and before the member resource is apportioned completely, the method further includes:
allocating the allocation processing priorities of coupons, credits and shopping cards; and/or configuring resource allocation weights for order lines.
In specific implementation, when there are three cases of a coupon, a point and a shopping card in a member resource, the priorities of the three kinds of member resources may be configured manually, and when there are cases of the coupon and the point, the point and the shopping card, or the coupon and the shopping card in the member resource, the priorities of any two kinds of member resources may be configured manually, and the configuration order of the priorities of the member resources is not limited in this embodiment.
In addition, considering that an order line of a certain kind of commodity or an order line of a certain store has a higher preference for a certain member resource, that is, a higher proportion of member resources needs to be allocated to achieve the purpose of promoting the sale of the certain kind of commodity or pushing of the certain store, the resource allocation weight of the order line can be manually configured at this time, and the configuration ratio of the weight is not limited in this embodiment.
Specifically, the method for sequentially arranging the plurality of order lines according to the amount due in the above embodiment includes:
the amount due of each order line is converted into points from yuan, and then the amount due is arranged for each order line in the order from big to small.
In specific implementation, taking an order including 6 order lines as an example, the available member resources include 300 points and 1000 tickets, and the amounts due for the 6 order lines are respectively: order bank A should pay 1 yuan, order bank B should pay 2 yuan, order row C should pay 5 yuan, order bank D should pay 100 yuan, order bank E should pay 300 yuan and order row F should pay 10000 yuan, in order to facilitate the calculation of the apportioned amount of member resource, convert the amount due of the above-mentioned order bank from unit yuan, etc. to unit, correspondingly: the order line A can cope with 100 points, the order line B can cope with 200 points, the order line C can cope with 500 points, the order line D can cope with 10000 points, the order line E can cope with 30000 points and the order line F can cope with 1000000 points, and the arrangement order of the amount due from big to small is as follows: order line F, order line E, order line D, order line C, order line B, and order line A.
For the order without the resource allocation weight and the order with the resource allocation weight, the corresponding calculation logic of the resource allocation quantity is slightly different:
for orders without configured resource distribution weight, the method for calculating the resource allocation quantity of each order line in sequence based on the current order line and the current member resource residual quantity until the member resource allocation is completed comprises the following steps:
counting the number of order lines as n, and numbering the n order lines in sequence;
amount P due based on current order line iiThe total amount P payable by the remaining order linetThe total number of member resources Y and the sum of the number of shared resources YtCalculating the resource allocation amount Y of the current order line iiWherein i is more than or equal to 1 and less than or equal to n, the initial value of i is 1, and the total amount P due of the remaining order linestAmount P due for current order line iiSum of the amount due with the remaining order lines;
judging the resource allocation quantity Y of the current order line iiIf the number is positive, returning the step to the step for circular calculation if the number is i +1, and defaulting the resource allocation number corresponding to the remaining order line to zero if the number is not positive;
and summarizing to obtain the resource allocation quantity of each order line.
For the orders with the configured resource distribution weight, the method for sequentially calculating the resource allocation quantity of each order line based on the current order line and the current member resource residual quantity until the member resource allocation is completed comprises the following steps:
counting the number of order lines as n, and numbering the n order lines in sequence;
amount P due based on current order line iiThe total amount P payable by the remaining order linetThe total number of member resources Y and the sum of the number of shared resources YtResource allocation weight Z for current order line iiCalculating the resource allocation amount Y of the current order line iiWherein i is more than or equal to 1 and less than or equal to n, and the initial value of i is 1,total amount P due for remaining order linestAmount P due for current order line iiSum of the amount due with the remaining order lines;
judging the resource allocation quantity Y of the current order line iiIf the number is positive, returning the step to the step for circular calculation if the number is i +1, and defaulting the resource allocation number corresponding to the remaining order line to zero if the number is not positive;
and summarizing to obtain the resource allocation quantity of each order line.
Specifically, the resource allocation amount Y of the current order line i is calculated in the above embodimentiThe method comprises the following steps:
for order lines which are not configured with resource distribution weight, a calculation formula is adoptedCalculating the resource allocation quantity of the current order line i;
for the order line with configured resource allocation weight, a calculation formula is adopted
Figure BDA0002209671470000072
Calculating the resource allocation quantity of the current order line i;
and needs to judge YiIf the value of (A) is an integer, if Y is directly addediOutput is reserved if Y is not needediThe value of (b) is rounded up and then output to be reserved.
Considering that the adjustment of the member resource amount by the resource allocation weight is leveraged, which may cause the shortage of the resource amount allocated to the remaining order line, the embodiment adopts the following strategy to deal with the shortage, if the resource allocation weight Z is usediAnd when the quantity of the resources to be distributed is less than the quantity of the resources which are allocated to the current order line i in proportion, the quantity of the resources to be distributed needs to be regarded as the resource allocation quantity of the current order line i.
For the convenience of understanding, the above specific implementation process is exemplarily explained, and still taking the above order including 6 order lines as an example, the available member resources include coupons and points, the configured priority order is that the coupons are larger than the points, that is, the coupon resources are first allocated and then the point resources are allocated, the resource allocation weight of the order line E is configured to be 200%, and the resource allocation order from large to small according to the following sequence: order line F, order line E, order line D, order line C, order line B, and order line A.
The logic of the coupon allocation calculation is that firstly, an order line F is selected as the current order line, the corresponding amount due is 1000000 points, the total amount due (including the amount due for the current order line) of the remaining order line is 1000000+30000+10000+500+200+100 points to 1040800 points, the total amount of the remaining coupon resources is 10000, and the amount of the resource allocation of the order line F obtained by adopting the above calculation formula is: (1000000/(1000000+30000+10000+500+200+100)) × 1000 ═ 960.79, 961 after rounding up; then, selecting order line E as the current order line, the corresponding sum payable is 30000 minutes, the sum payable of the remaining order lines is 30000+10000+500+200+100, which is 40800 minutes, the total number of the remaining coupon resources is 10000-: (30000/(30000+10000+500+200+100)) × 39 × 2 equals 57.35, which is 58 after rounding up, and since the total number of remaining coupon resources is less than the amount of resources that should be allocated to current order line E in proportion, the amount allocated to order line E resources is considered to be 39; and ending till the time, distributing all the coupon resources, wherein the coupon resources distributed by the remaining order line D, the order line C, the order line B and the order line A are all zero.
The logic of the point allocation calculation is that firstly, order line F is selected as the current order line, the corresponding amount due is 1000000 points, the total amount due (including the amount due for the current order line) of the remaining order line is 1000000+30000+10000+500+200+100 points to 1040800 points, the total amount of the remaining coupon resources is 300, and the amount of resource allocation of order line F calculated by the above calculation formula is: (1000000/(1000000+30000+10000+500+200+100)) × 300 ═ 288.24, 289 after rounding up; then, selecting order line E as the current order line, the corresponding sum payable is 30000 minutes, the sum payable of the remaining order lines is 30000+10000+500+200+100, which is 40800 minutes, the total number of the remaining coupon resources is 300-289, which is 11, and the resource allocation quantity of order line E obtained by adopting the above calculation formula is:
(30000/(30000+10000+500+200+100)) × 11 × 2 ═ 8.09, 9 after rounding up; then, selecting order line D as the current order line, wherein the corresponding sum due is 10000 minutes, the sum due for the remaining order lines is 10000+500+200+100 which is 10800 minutes, the total number of the remaining coupon resources is 300-: (10000/(10000+500+200+100)) × 2 ═ 1.85, 2 after rounding up; and (4) ending till all the coupon resources are completely distributed, and the integral resources distributed by the remaining order line C, the order line B and the order line A are all zero.
After the member resource allocation method provided by the embodiment is applied, when a user initiates a refund to a certain order bank, the system only needs to recover the coupons and/or points of the corresponding order bank, and the benefit of the platform is guaranteed not to be lost.
It can be understood that the resource allocation data of each order line can be stored by the database, and the storage model of the resource allocation data includes several key fields, such as order line number, resource type, allocation quantity, allocation state, etc., where the resource type is an enumeration type, such as 1 represents an integral, 2 represents a coupon, 3 represents a shopping card, and the allocation state is also an enumeration type, such as 0 represents to be allocated, 1 represents allocated, and order lines can correspond to multiple pieces of resource allocation data.
Example two
The present embodiment provides member resource sharing devices, including:
the information loading unit is used for acquiring member resources available for orders, wherein the orders comprise a plurality of order lines, and the member resources comprise types of coupons, points and shopping cards;
and the resource allocation unit is used for sequentially arranging a plurality of order lines according to the amount due, and sequentially calculating the resource allocation quantity of each order line based on the current order line and the current member resource residual quantity until the member resources are completely allocated.
Preferably, the method further comprises the following steps:
the resource configuration unit is used for configuring the allocation processing priorities of the coupons, the credits and the shopping cards; and/or the presence of a gas in the gas,
and configuring the resource allocation weight of the order line.
Preferably, the method further comprises the following steps:
and the data storage and application unit is used for storing the allocation data of each order line to various resources, and rapidly extracting the allocation data and picking up the member resources when the order line returns goods.
Compared with the prior art, the beneficial effect of the member resource allocation device provided by the embodiment is the same as that of the member resource allocation method provided by the above embodiment, and details are not repeated here.
EXAMPLE III
The present embodiment provides computer-readable storage media, on which a computer program is stored, the computer program being executed by a processor to perform the steps of the member resource apportionment method.
Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the embodiment are the same as those of the image detection method provided by the above technical scheme, and are not repeated herein.
It will be understood by those skilled in the art that all or part of the steps in the method for implementing the invention may be implemented by hardware that is instructed to be associated with a program, the program may be stored in a computer-readable storage medium, and when the program is executed, the program includes the steps of the method of the embodiment, and the storage medium may be: ROM/RAM, magnetic disks, optical disks, memory cards, and the like.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

  1. The member resource allocation method of 1, is characterized by comprising the following steps:
    acquiring member resources available for an order, wherein the order comprises a plurality of order lines, and the member resources comprise types of coupons, points and shopping cards;
    and arranging a plurality of order lines in sequence according to the amount due, and sequentially calculating the resource allocation amount of each order line based on the current order line and the current member resource residual amount until the member resources are completely allocated.
  2. 2. The method as claimed in claim 1, wherein before arranging the plurality of order lines in order according to the amount due, and calculating the resource allocation amount of each order line in turn based on the current order line and the current member resource remaining amount until the member resource allocation is completed, the method further comprises:
    allocating the allocation processing priorities of coupons, credits and shopping cards; and/or the presence of a gas in the gas,
    and configuring the resource allocation weight of the order line.
  3. 3. The method of claim 1, wherein the method of ordering the plurality of order lines in order of the amount due comprises:
    the amount due of each order line is converted into points from yuan, and then the amount due is arranged for each order line in the order from big to small.
  4. 4. The method of claim 2, wherein the step of calculating the resource allocation amount of each order line in turn based on the current order line and the current member resource remaining amount until the member resource allocation is completed comprises:
    counting the number of order lines as n, and numbering the n order lines in sequence;
    amount P due based on current order line iiThe total amount P payable by the remaining order linetThe total number of member resources Y and the sum of the number of shared resources YtCalculating the resource allocation amount Y of the current order line iiWherein i is more than or equal to 1 and less than or equal to n, and the initial value of i is 1;
    judging the resource allocation quantity Y of the current order line iiIf the number is positive, returning the step to the step for circular calculation if the number is i +1, and defaulting the resource allocation number corresponding to the remaining order line to zero if the number is not positive;
    and summarizing to obtain the resource allocation quantity of each order line.
  5. 5. The method of claim 2, wherein the step of calculating the resource allocation amount of each order line in turn based on the current order line and the current member resource remaining amount until the member resource allocation is completed comprises:
    counting the number of order lines as n, and numbering the n order lines in sequence;
    amount P due based on current order line iiThe total amount P payable by the remaining order linetThe total number of member resources Y and the sum of the number of shared resources YtResource allocation weight Z for current order line iiCalculating the resource allocation amount Y of the current order line iiWherein i is more than or equal to 1 and less than or equal to n, and the initial value of i is 1;
    judging the resource allocation quantity Y of the current order line iiIf the number is positive, returning the step to the step for circular calculation if the number is i +1, and defaulting the resource allocation number corresponding to the remaining order line to zero if the number is not positive;
    and summarizing to obtain the resource allocation quantity of each order line.
  6. 6. Method according to claim 5, characterized in that the resource allocation amount Y of the current order line i is calculatediThe method comprises the following steps:
    using a formula of calculation
    Figure FDA0002209671460000021
    Or
    Figure FDA0002209671460000022
    Calculating the resource allocation quantity of the current order line i;
    judgment of YiIf the value of (A) is an integer, if Y is directly addediOutput is reserved if Y is not needediThe value of (b) is rounded up and then output to be reserved.
  7. 7. The method of claim 6, wherein the weight Z is assigned if the resource is assignediAnd when the quantity of the resources to be distributed is less than the quantity of the resources which are allocated to the current order line i in proportion, the quantity of the resources to be distributed needs to be regarded as the resource allocation quantity of the current order line i.
  8. An member resource sharing device, comprising:
    the information loading unit is used for acquiring member resources available for orders, wherein the orders comprise a plurality of order lines, and the member resources comprise types of coupons, points and shopping cards;
    and the resource allocation unit is used for sequentially arranging a plurality of order lines according to the amount due, and sequentially calculating the resource allocation quantity of each order line based on the current order line and the current member resource residual quantity until the member resources are completely allocated.
  9. 9. The apparatus of claim 8, further comprising:
    the resource configuration unit is used for configuring the allocation processing priorities of the coupons, the credits and the shopping cards; and/or configuring resource allocation weights for order lines.
  10. 10, computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any of the claims 1 to 7 or .
CN201910894047.XA 2019-09-20 2019-09-20 Member resource allocation method and device Pending CN110738495A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201910894047.XA CN110738495A (en) 2019-09-20 2019-09-20 Member resource allocation method and device
CA3155143A CA3155143A1 (en) 2019-09-20 2020-07-30 Method and apparatus for allocation of member resources
PCT/CN2020/105936 WO2021052030A1 (en) 2019-09-20 2020-07-30 Member resource allocation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910894047.XA CN110738495A (en) 2019-09-20 2019-09-20 Member resource allocation method and device

Publications (1)

Publication Number Publication Date
CN110738495A true CN110738495A (en) 2020-01-31

Family

ID=69269389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910894047.XA Pending CN110738495A (en) 2019-09-20 2019-09-20 Member resource allocation method and device

Country Status (3)

Country Link
CN (1) CN110738495A (en)
CA (1) CA3155143A1 (en)
WO (1) WO2021052030A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021052030A1 (en) * 2019-09-20 2021-03-25 苏宁云计算有限公司 Member resource allocation method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2012363110A1 (en) * 2011-06-07 2013-12-12 Visa International Service Association Payment Privacy Tokenization apparatuses, methods and systems
CN102999846A (en) * 2012-10-29 2013-03-27 北京京东世纪贸易有限公司 Method and device for handling commodity compensation information
CN107451833A (en) * 2016-05-30 2017-12-08 北京京东尚科信息技术有限公司 The processing method and processing unit of order data
CN109615362A (en) * 2018-10-25 2019-04-12 阿里巴巴集团控股有限公司 A kind of splitting of values method, device and equipment
CN110738495A (en) * 2019-09-20 2020-01-31 苏宁云计算有限公司 Member resource allocation method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021052030A1 (en) * 2019-09-20 2021-03-25 苏宁云计算有限公司 Member resource allocation method and device

Also Published As

Publication number Publication date
WO2021052030A1 (en) 2021-03-25
CA3155143A1 (en) 2021-03-25

Similar Documents

Publication Publication Date Title
CN110807657B (en) Order processing method, device, equipment and computer readable storage medium
CN101438314A (en) Least cost network routing for electronic transactions
US20150019393A1 (en) Information processing apparatus and method, and non-transitory computer readable medium
CN109801070B (en) Transaction queuing method, device and storage medium
TWI720519B (en) Amount settlement system and method
CN110428244B (en) Package recommendation method and device
CN110264214A (en) It is a kind of trade bill generation and check and write off method, device and equipment
CN107563889A (en) Account balance information processing method and processing device
CN109214865A (en) Electronic certificate processing method, system and electric business system, storage medium
CN109493075A (en) For determining the method and apparatus of virtual resource object
CN111738709A (en) Transaction processing method and device
CN109583826B (en) Declaration file generation method, declaration file generation device, server and readable storage medium
CN110738495A (en) Member resource allocation method and device
CN106934479A (en) Selection declaration customs, the method and apparatus for preparing declaration information
CN111190910B (en) Method and device for processing quota resources, electronic equipment and readable storage medium
CN111507779A (en) Method and device for grading commodities
CN110766441A (en) Resource object processing method and device, storage medium and computer equipment
CN110599343A (en) Contract data processing method, related device and medium
CN110348983A (en) Transaction Information management method and device, electronic equipment and non-transient storage media
CN108399117A (en) A kind of processor occupancy display methods and device
CN110706017A (en) Settlement method, settlement device, electronic equipment and readable storage medium
CN112308719B (en) Virtual resource acquisition method, device, server and storage medium
CN116228381B (en) Money issuing method, money issuing device, computer equipment and readable storage medium
CN109523245A (en) It transfers accounts path recommended method and terminal device
CN111489257A (en) Resource sharing block chaining

Legal Events

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

Application publication date: 20200131

RJ01 Rejection of invention patent application after publication