CN110009440A - A kind of data processing method and device based on Trading Model - Google Patents

A kind of data processing method and device based on Trading Model Download PDF

Info

Publication number
CN110009440A
CN110009440A CN201811614701.9A CN201811614701A CN110009440A CN 110009440 A CN110009440 A CN 110009440A CN 201811614701 A CN201811614701 A CN 201811614701A CN 110009440 A CN110009440 A CN 110009440A
Authority
CN
China
Prior art keywords
amount
numerical value
money
servant
money numerical
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
CN201811614701.9A
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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811614701.9A priority Critical patent/CN110009440A/en
Publication of CN110009440A publication Critical patent/CN110009440A/en
Pending legal-status Critical Current

Links

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/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0613Third-party assisted
    • 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/08Auctions
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • G06Q40/125Finance or payroll

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Technology Law (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The present invention provides a kind of data processing method and device based on Trading Model, this method comprises: being calculated to return according to the computation model that binds and hiring the calculation basis amount of money if the servant that returns of current transaction business calculates amount of money numerical value and is greater than and returns servant and bind amount of money numerical value;It returns to hire the calculation basis amount of money and be calculated according to after summarizing and returns commission volume to carry out returning servant's trading processing according to the commission volume that returns.Data processing method and device provided by the invention based on Trading Model, when carrying out returning servant's calculating, it uniformly returns and hires the calculation basis amount of money, reach a variety of dimensions and summarizes the calculating for returning and hiring and binding, it can carry out returning servant's calculating for the penny ante of magnanimity, it calculates at low cost, saves that the computing resource of system and treatment effeciency are high, and improve transaction platform returns servant's transaction processing efficiency.

Description

A kind of data processing method and device based on Trading Model
Technical field
The present invention relates to information technology field more particularly to a kind of data processing method and device based on Trading Model.
Background technique
Currently based on the network platform traded there are many calculation processing rule, it is therein return hire rule refer to based on user The rule that the amount of money involved in trading pays commissions to affiliate.When affiliate, which meets, returns servant's rule, certainly by server Dynamic calling returns servant's computation model, according to affiliate in process of exchange involved in transaction amount and preset return servant's expense Rate, calculate affiliate returns commission volume, and using network payment platform according to return commission volume to the account of affiliate into Row payment processing.It returns to hire to calculate to have and returns the limitation that commission volume binds, return servant if calculate from transaction dimension, will lead to very More affiliates are not because a large amount of penny ante is got and returns servant.For example, the amount of money of single transaction is generally all smaller, Er Qieshi The returning of border hire rate may less than 1%, then when a smaller amount of money multiply one it is smaller return servant's rate, round up Most of afterwards all to become 0, it is all 0 that it is most of, which can to return commission, by such affiliate.
Summary of the invention
The present invention provides a kind of data processing method and device based on Trading Model, to solve to return servant's computation model at present The problem of existing defects.
Data processing method provided by the invention based on Trading Model, comprising:
If the servant that returns of current transaction business calculates amount of money numerical value and is greater than and returns servant and bind amount of money numerical value, according to the computation model that binds It is calculated to return and hires the calculation basis amount of money;
Returned according to after summarizing hire the calculation basis amount of money be calculated return commission volume with according to it is described return commission volume into Row returns servant's trading processing.
Further, the step returned and hire the calculation basis amount of money is calculated according to the computation model that binds for method of the present invention Suddenly include:
If the current transaction business is payment transaction, judges current final operation amount of money numerical value and return the product for hiring rate Whether it is greater than and described return servant and bind amount of money numerical value;
If the current final operation amount of money numerical value and described return hire the product of rate and are greater than and described return servant and bind amount of money number Value, using it is described return hire bind amount of money numerical value divided by it is described return hire rate quotient as it is described return hire the calculation basis amount of money;Otherwise, with The current final operation amount of money numerical value returns servant's calculation basis amount of money described in being used as.
Further, method of the present invention, the current final operation amount of money numerical value be current operation amount of money numerical value with Last time finally operates the sum of amount of money numerical value;The last time finally operates amount of money numerical value and is calculated as zero.
Further, the step returned and hire the calculation basis amount of money is calculated according to the computation model that binds for method of the present invention Suddenly include:
If the current transaction business is reimbursement business, judges current final operation amount of money numerical value and return the product for hiring rate Whether it is greater than and described return servant and bind amount of money numerical value;
If the current final operation amount of money numerical value and described return hire the product of rate and are greater than and described return servant and bind amount of money number Value returns servant's calculation basis amount of money to return servant's transactional operation constant described in;
If the current final operation amount of money numerical value and described return hire the product of rate and return servant no more than described and bind the amount of money Numerical value judges that last time finally operates amount of money numerical value and described return hires the product of rate and whether be greater than and described return servant and bind amount of money number Value;
If the last time finally operates amount of money numerical value and described return hires the product of rate and be greater than and described return servant and bind amount of money number Value is hired the amount of money numerical value that binds and is hired the difference of the quotient of rate divided by described return with the current final operation amount of money numerical value and described return The calculation basis amount of money is hired as described return;Otherwise, it is returned described in using current operation amount of money numerical value and hires the calculation basis amount of money.
Further, method of the present invention, the current final operation amount of money numerical value is the current operation amount of money number Value and the last time finally operate the sum of amount of money numerical value;It is history Zhi Fuyu refund amount that the last time, which finally operates amount of money numerical value, The sum of;Wherein, refund amount is negative.
Further, method of the present invention, further includes:
If the current transaction business it is described return servant and calculate amount of money numerical value return servant no more than described and bind amount of money numerical value, with Actual payment amount numerical value and the product for returning servant's rate return commission volume described in being used as return at servant's transaction according to the commission volume that returns Reason.
Data processing equipment provided by the invention based on Trading Model, comprising:
Judgment module is adjusted if the servant that returns for current transaction business calculates amount of money numerical value and is greater than and returns servant and bind amount of money numerical value With the computation model module that binds;
Bind computation model module, and for the calling according to the judgment module, according to binding, computation model is calculated It returns and hires the calculation basis amount of money;
First trade processing module returns commission volume for returning to hire the calculation basis amount of money and be calculated according to after summarizing To carry out returning servant's trading processing according to the commission volume that returns.
Further, device of the present invention, the computation model module that binds are specifically used for:
If the current transaction business is payment transaction, judges current final operation amount of money numerical value and return the product for hiring rate Whether it is greater than and described return servant and bind amount of money numerical value;
If the current final operation amount of money numerical value and described return hire the product of rate and are greater than and described return servant and bind amount of money number Value, using it is described return hire bind amount of money numerical value divided by it is described return hire rate quotient as it is described return hire the calculation basis amount of money;Otherwise, with The current final operation amount of money numerical value returns servant's calculation basis amount of money described in being used as.
Further, device of the present invention, the current final operation amount of money numerical value be current operation amount of money numerical value with Last time finally operates the sum of amount of money numerical value;The last time finally operates amount of money numerical value and is calculated as zero.
Further, device of the present invention, the computation model module that binds are specifically used for:
If the current transaction business is reimbursement business, judges current final operation amount of money numerical value and return the product for hiring rate Whether it is greater than and described return servant and bind amount of money numerical value;
If the current final operation amount of money numerical value and described return hire the product of rate and are greater than and described return servant and bind amount of money number Value returns servant's calculation basis amount of money to return servant's transactional operation constant described in;
If the current final operation amount of money numerical value and described return hire the product of rate and return servant no more than described and bind the amount of money Numerical value judges that last time finally operates amount of money numerical value and described return hires the product of rate and whether be greater than and described return servant and bind amount of money number Value;
If the last time finally operates amount of money numerical value and described return hires the product of rate and be greater than and described return servant and bind amount of money number Value is hired the amount of money numerical value that binds and is hired the difference of the quotient of rate divided by described return with the current final operation amount of money numerical value and described return The calculation basis amount of money is hired as described return;Otherwise, it is returned described in using current operation amount of money numerical value and hires the calculation basis amount of money.
Further, device of the present invention, the current final operation amount of money numerical value is the current operation amount of money number Value and the last time finally operate the sum of amount of money numerical value;It is history Zhi Fuyu refund amount that the last time, which finally operates amount of money numerical value, The sum of;Wherein, refund amount is negative.
Further, device of the present invention, the judgment module, is also used to:
If the servant that returns of current transaction business calculates amount of money numerical value and binds amount of money numerical value no more than returning servant, call at the second transaction Manage module;
Described device further include:
Second trade processing module with actual payment amount numerical value and returns servant's rate for the calling according to the judgment module Product be used as described in return commission volume to carry out returning servant's trading processing according to the commission volume that returns.
The present invention also provides a kind of storage medium, the storage medium stores computer program instructions, the computer journey Sequence instructs method according to the present invention to be executed.
The present invention also provides a kind of calculating equipment, comprising: for storing the memory of computer program instructions and for holding The processor of row computer program instructions, wherein when the computer program instructions are executed by the processor, trigger the calculating Equipment executes method of the present invention.
Data processing method and device provided by the invention based on Trading Model are uniformly returned when carrying out returning servant's calculating The calculation basis amount of money is hired, reaches a variety of dimensions and summarizes the calculating for returning and hiring and binding, can carry out returning servant for the penny ante of magnanimity It calculates, calculating is at low cost, saves the computing resource of system and treatment effeciency is high, improves returning for transaction platform and hires at transaction Manage efficiency.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, of the invention other Feature, objects and advantages will become more apparent upon:
Fig. 1 is the flow diagram of the data processing method based on Trading Model of the embodiment of the present invention one;
Fig. 2 is the flow diagram of the data processing method based on Trading Model of the embodiment of the present invention two;
Fig. 3 is the structural schematic diagram of the data processing equipment based on Trading Model of the embodiment of the present invention three;
Fig. 4 is the structural schematic diagram of the data processing equipment based on Trading Model of the embodiment of the present invention four.
The same or similar appended drawing reference represents the same or similar component in attached drawing.
Specific embodiment
Present invention is further described in detail with reference to the accompanying drawing.
Fig. 1 is the flow diagram of the data processing method based on Trading Model of the embodiment of the present invention one, such as Fig. 1 institute Show, the embodiment of the present invention one provide based on Trading Model data processing method, comprising:
Step S101, if the servant that returns of current transaction business calculates amount of money numerical value and is greater than and returns servant and bind amount of money numerical value, according to envelope Top computation model, which is calculated to return, hires the calculation basis amount of money.
Step S102 is returned to hire the calculation basis amount of money and be calculated according to after summarizing and is returned commission volume to return according to described Commission volume carries out returning servant's trading processing.
Wherein, servant's calculating amount of money numerical value is returned to be calculated according to the following formula (1):
C=B × A (1)
Wherein, C expression returns servant and calculates amount of money numerical value, and B indicates actual payment amount numerical value, and servant's rate is returned in A expression.It returns servant and refers to cooperation When partner provides help according to the policy that department or unit are issued, department or unit need to provide commission to affiliate.Return servant The amount of money refers to the commission for providing and arriving affiliate.The amount of money of user's actual delivery when actual payment amount refers to transaction does not include generally various Marketing offers.It returns servant's rate to refer to before commission volume is returned in calculating, according to certain calculated rate of rule.Servant's amount of money that binds is returned to refer to The highest commission that affiliate can take in single transaction, is calculated according to certain rule.For example, currently trade into Behavior payment returns servant's amount of money that binds and is set as 30 yuan, if actual payment amount of the user in transaction is 5000 yuan, returns and hires rate and be 1%, then being calculated according to formula (1) and returning the numerical value for hiring the calculating amount of money is 50 yuan, is bound 30 yuan of the amount of money greater than servant is returned, then basis Servant's rule is returned, affiliate, which can only obtain, binds 30 yuan of the amount of money.Calculation basis gold is hired at this point, uniformly returning using the computation model that binds Volume hires the calculation basis amount of money according to returning after summarizing and symbol is calculated to guarantee that shops/trade company's dimension returns the consistency hired and calculated Close return hire rule return commission volume, due to be to after summarizing returning hire the calculation basis amount of money handle, so that servant's rate will be returned Lower several small amount single transaction data are calculated after summarizing, and are avoided due to rounding up in calculating and are made several small amounts The case where commission volume is all calculated as zero is returned in single transaction.It ensure that in transaction platform, carried out automatically in the case where returning servant's rule accurate Return servant's trading processing in ground.Since the computation model that binds for being encapsulated as unified is calculated, convenient for concentrate tube in a distributed system The computation model that binds is managed, calculating is at low cost, saves the computing resource of system, and treatment effeciency is high, improves transaction platform Return servant's transaction processing efficiency.
Fig. 2 is the flow diagram of the data processing method based on Trading Model of the embodiment of the present invention two, such as Fig. 2 institute Show, the data processing method provided by Embodiment 2 of the present invention based on Trading Model, comprising:
Step S201, if the current transaction business it is described return servant and calculate amount of money numerical value return servant no more than described and bind gold Specified number value returns commission volume described in the product for hiring rate is returned using actual payment amount numerical value to be returned according to the commission volume that returns Hire trading processing.
Wherein, servant's calculating amount of money numerical value is returned to be calculated according to the following formula (1):
C=B × A (1)
Wherein, C expression returns servant and calculates amount of money numerical value, and B indicates actual payment amount numerical value, and servant's rate is returned in A expression.For example, current In transaction, returns servant's amount of money that binds and be set as 30 yuan, if actual payment amount of the user in transaction is 2000 yuan, returning and hiring rate is 1%, Then being calculated according to formula (1) and returning the numerical value for hiring the calculating amount of money is 20 yuan, is bound 30 yuan of the amount of money less than servant is returned, then basis returns servant Rule, affiliate can obtain all returning 20 yuan of commission volume, carry out trading processing according to conventional process flow.
Step S202, if the servant that returns of current transaction business calculates amount of money numerical value and is greater than and returns servant and bind amount of money numerical value, judgement is worked as Preceding transaction business is payment transaction or is reimbursement business.
Wherein, return servant bind the amount of money and returning hire rate can according to type of service, user type, return hire the progress such as rule from Definition setting, to meet complex transaction.
For example, if actual payment amount of the user in transaction is 5000 yuan, returning and hiring rate is 1%, then root in current transaction Being calculated according to formula (1) and returning the numerical value for hiring the calculating amount of money is 50 yuan, binds 30 yuan of the amount of money greater than servant is returned, hires regular close according to returning It can only obtain and bind 30 yuan of the amount of money as partner, judge that current transaction business is payment transaction or reimbursement business at this time, according to not It is handled with service logic.
Step S203 judges current final operation amount of money numerical value and returns servant if the current transaction business is payment transaction Whether the product of rate, which is greater than, described returned servant and binds amount of money numerical value.
Step S204, if the currently final operation amount of money numerical value and the product for returning servant's rate return servant's envelope greater than described Push up amount of money numerical value, using it is described return hire bind amount of money numerical value divided by it is described return hire rate quotient as it is described return hire calculation basis gold Volume.
Wherein, the current final operation amount of money numerical value is current operation amount of money numerical value and last time finally to operate amount of money numerical value The sum of;The last time finally operates amount of money numerical value and is calculated as zero.
It wherein, is payment transaction, (2) calculate and work as according to the following formula if reimbursement situation is not present in current transaction business Preceding final operation amount of money numerical value:
F=D+E (2);
Wherein, F indicates that current final operation amount of money numerical value, D indicate that current operation amount of money numerical value, E indicate that last time finally grasps Make amount of money numerical value.Since there is no reimbursement business, therefore E=0.Herein setting last time finally operate amount of money numerical value E be in order to The formula for returning servant's calculating of reimbursement process is consistent later, patrols convenient for managing the calculating for the computation model that binds under distributed system Volume.For example, the current operation amount of money numerical value generated in current transaction is 4000 yuan, it is calculated according to formula (2) current final Operating amount of money numerical value is 4000 yuan, current final operation amount of money numerical value F × return and hire rate A=40 member, is bound the amount of money greater than servant is returned 30 yuan, at this time using return hire bind amount of money numerical value 30 divided by return hire rate 1% quotient 3000 returned described in asing servant the calculation basis amount of money.
Otherwise step S205 is returned described in using the current final operation amount of money numerical value and is hired the calculation basis amount of money.
For example, the current operation amount of money numerical value generated in current transaction is 2000 yuan, it is calculated currently according to formula (2) Final operation amount of money numerical value is 2000 yuan, and current final operation amount of money numerical value is 20 yuan with the product for hiring rate is returned, and is hired less than returning Bind 30 yuan of the amount of money, at this point, using currently finally operation amount of money numerical value 2000 as return servant the calculation basis amount of money.
Step S206 judges current final operation amount of money numerical value and returns servant if the current transaction business is reimbursement business Whether the product of rate, which is greater than, described returned servant and binds amount of money numerical value.
Wherein, the current final operation amount of money numerical value is that the current operation amount of money numerical value was finally operated with the last time The sum of amount of money numerical value;It is the sum of history Zhi Fuyu refund amount that the last time, which finally operates amount of money numerical value,;Wherein, refund amount is Negative.
Wherein, servant's rule is returned according to reimbursement business, if returning commission volume is more than to return servant to bind the amount of money, does not can be carried out and return servant Trading processing.
Step S207, if the currently final operation amount of money numerical value and the product for returning servant's rate return servant's envelope greater than described Amount of money numerical value is pushed up, returns servant's calculation basis amount of money described in return servant's transactional operation constant.
Wherein, 0 can not be calculated as there are last time finally operates amount of money numerical value E in the case where reimbursement, in formula (2).According to Following formula (3) is calculated last time and finally operates amount of money numerical value:
E=G+H (3)
Wherein, E indicates that last time finally operates amount of money numerical value, and G indicates history payment, and H indicates refund amount.In transaction business In, refund amount records generally in the form of negative.For example, history payment is 5000 yuan, refund amount in a transaction business It is -1000 yuan, then according to formula (3), last time is calculated, and finally to operate amount of money numerical value be 4000 yuan, if generating in current transaction Current operation amount of money numerical value be 5000 yuan, it is 9000 yuan that current final operation amount of money numerical value, which is calculated, according to formula (2).When Preceding final operation amount of money numerical value is 90 yuan with the product for hiring rate is returned, and is bound 30 yuan of the amount of money greater than servant is returned, according to reimbursement business Servant's rule is returned, returns servant's calculation basis amount of money described in return servant's transactional operation constant.Transactional operation constant meter is hired for example, will return Be zero, at this time using 0 as return hire the calculation basis amount of money.When subsequent step S211 summarizes calculating and returns commission volume, returned in reimbursement business Commission volume is all calculated as zero more than the servant's calculation basis amount of money that returns for hiring the amount of money that binds is returned, to be more than by commission volume is returned in reimbursement business Return servant bind the amount of money the case where exclude and return servant's calculating logic.
Step S208, if the current final operation amount of money numerical value and the product for returning servant's rate return servant no more than described Bind amount of money numerical value, judges that last time finally operates amount of money numerical value and hires the product of rate with described return and whether be greater than and described return servant and bind Amount of money numerical value.
Step S209, if the last time finally operates amount of money numerical value and the product for returning servant's rate is greater than described return and hires envelope Amount of money numerical value is pushed up, the amount of money numerical value that binds is hired with the current final operation amount of money numerical value and described return and hires rate divided by described return The difference of quotient returns servant's calculation basis amount of money described in being used as.
For example, setting the current operation amount of money numerical value generated in current transaction as -2000 yuan of reimbursement, calculated according to formula (2) Obtaining current final operation amount of money numerical value is 2000 yuan, and current final operation amount of money numerical value is 20 yuan with the product for hiring rate is returned, It binds 30 yuan of the amount of money less than servant is returned.At this point, it is 40 yuan that last time, which finally operates amount of money numerical value with the product for hiring rate is returned, hired greater than returning It binds 30 yuan of the amount of money.(4), which calculate to return, according to the following formula hires the calculation basis amount of money:
Wherein, I expression, which is returned, hires the calculation basis amount of money, and F indicates current final operation amount of money numerical value, and J expression returns servant and binds gold Servant's rate is returned in specified number value, A expression.It can be calculated according to formula (4) in step S209 using -1000 as returning servant's calculation basis The amount of money.
Otherwise step S210 is returned described in using current operation amount of money numerical value and is hired the calculation basis amount of money.
For example, history payment is 2000 yuan in a transaction business, refund amount is -1000 yuan, then according to formula (3), last time is calculated, and finally to operate amount of money numerical value be 1000 yuan, if the current operation amount of money numerical value generated in current transaction is 1000 yuan, it is 2000 yuan that current final operation amount of money numerical value, which is calculated, according to formula (2).Current final operation amount of money numerical value with Returning and hiring the product of rate is 20 yuan, is bound 30 yuan of the amount of money less than servant is returned.At this point, last time finally operates amount of money numerical value and returns servant's rate Product be 10 yuan, bind 30 yuan of the amount of money less than servant is returned, servant's calculation basis returned described in using current operation amount of money numerical value 1000 The amount of money.
Step S211 is returned to hire the calculation basis amount of money and be calculated according to after summarizing and is returned commission volume to return according to described Commission volume carries out returning servant's trading processing.
Wherein, step S202 to step S210 is packaged in the computation model that binds, and hires the calculation basis amount of money to be calculated to return. For example, whole transaction logs of transaction system record user K, calculate user K using the computation model that binds according to its transaction log What each transaction generated returns servant's calculation basis amount of money, and the whole in predetermined period is returned servant's calculation basis amount of money and summarizes addition With multiplied by servant's rate is returned, user K can be obtained and return commission volume in predetermined period, using the payment system in transaction platform according to This returns commission volume and beats money to the account of user K, to complete to return servant's transaction.
It is general to introduce binding for actual payment amount for data processing method provided by Embodiment 2 of the present invention based on Trading Model It reads, binding for commission volume will be returned, be converted into binding for actual payment amount, the actual payment amount after binding is golden as servant's calculation basis is returned Volume is supported more scenes are multiple services to return servant and bind by unified encapsulation, can support summarizing for a variety of dimensions of shops/trade company, Business support difficult point is not only solved, and ensure that the interests of affiliate, finally directly gives affiliate in reconciliation Shops/trade company's dimension returns servant's bill.
Fig. 3 is the structural schematic diagram of the data processing equipment based on Trading Model of the embodiment of the present invention three, such as Fig. 3 institute Show, the data processing equipment based on Trading Model that the embodiment of the present invention three provides, comprising: judgment module 31, binding calculates mould Pattern block 32 and the first trade processing module 33.
Judgment module 31, if the servant that returns for current transaction business calculates amount of money numerical value and is greater than and returns servant and bind amount of money numerical value, Calling binds computation model module 32.
Bind computation model module 32, and for the calling according to the judgment module, according to binding, computation model is calculated The calculation basis amount of money is hired to returning.
First trade processing module 33 returns commission for returning to hire the calculation basis amount of money and be calculated according to after summarizing Volume according to the commission volume that returns to carry out returning servant's trading processing.
The data processing equipment based on Trading Model of the embodiment of the present invention three is the embodiment of the present invention one based on transaction The realization device of the data processing method of model, concrete principle refer to the embodiment of the present invention one, and details are not described herein again.
Fig. 4 is the structural schematic diagram of the data processing equipment based on Trading Model of the embodiment of the present invention four, such as Fig. 4 institute Show, the data processing equipment based on Trading Model that the embodiment of the present invention four provides, comprising: judgment module 31, binding calculates mould Pattern block 32, the first trade processing module 33 and the second trade processing module 41.
Judgment module 31, if the servant that returns for current transaction business calculates amount of money numerical value and is greater than and returns servant and bind amount of money numerical value, Calling binds computation model module 32.If the servant that returns of current transaction business calculates amount of money numerical value and binds amount of money number no more than returning servant Value calls the second trade processing module 44.
Bind computation model module 32, and for the calling according to the judgment module, according to binding, computation model is calculated The calculation basis amount of money is hired to returning.
First trade processing module 33 returns commission for returning to hire the calculation basis amount of money and be calculated according to after summarizing Volume according to the commission volume that returns to carry out returning servant's trading processing.
Second trade processing module 41 with actual payment amount numerical value and returns servant's expense for the calling according to the judgment module The product of rate returns commission volume described in being used as to carry out returning servant's trading processing according to the commission volume that returns.
Wherein, the computation model module 32 that binds is specifically used for:
If the current transaction business is payment transaction, judges current final operation amount of money numerical value and return the product for hiring rate Whether it is greater than and described return servant and bind amount of money numerical value;
If the current final operation amount of money numerical value and described return hire the product of rate and are greater than and described return servant and bind amount of money number Value, using it is described return hire bind amount of money numerical value divided by it is described return hire rate quotient as it is described return hire the calculation basis amount of money;Otherwise, with The current final operation amount of money numerical value returns servant's calculation basis amount of money described in being used as.
Wherein, the current final operation amount of money numerical value is current operation amount of money numerical value and last time finally to operate amount of money numerical value The sum of;The last time finally operates amount of money numerical value and is calculated as zero.
Further, the computation model module 32 that binds is specifically used for:
If the current transaction business is reimbursement business, judges current final operation amount of money numerical value and return the product for hiring rate Whether it is greater than and described return servant and bind amount of money numerical value;
If the current final operation amount of money numerical value and described return hire the product of rate and are greater than and described return servant and bind amount of money number Value returns servant's calculation basis amount of money to return servant's transactional operation constant described in;
If the current final operation amount of money numerical value and described return hire the product of rate and return servant no more than described and bind the amount of money Numerical value judges that last time finally operates amount of money numerical value and described return hires the product of rate and whether be greater than and described return servant and bind amount of money number Value;
If the last time finally operates amount of money numerical value and described return hires the product of rate and be greater than and described return servant and bind amount of money number Value is hired the amount of money numerical value that binds and is hired the difference of the quotient of rate divided by described return with the current final operation amount of money numerical value and described return The calculation basis amount of money is hired as described return;Otherwise, it is returned described in using current operation amount of money numerical value and hires the calculation basis amount of money.
Wherein, the current final operation amount of money numerical value is that the current operation amount of money numerical value was finally operated with the last time The sum of amount of money numerical value;It is the sum of history Zhi Fuyu refund amount that the last time, which finally operates amount of money numerical value,;Wherein, refund amount is Negative.
The data processing equipment based on Trading Model of the embodiment of the present invention four is the embodiment of the present invention two based on transaction The realization device of the data processing method of model, concrete principle refer to the embodiment of the present invention two, and details are not described herein again.
In an embodiment of the invention, a kind of calculating equipment is also provided, comprising: for storing computer program instructions Memory and processor for executing computer program instructions, wherein when the computer program instructions are executed by the processor When, trigger the method for calculating equipment and executing the embodiment of the present invention.
In the present invention one typical configuration, calculating equipment includes one or more processors (CPU), input/defeated Outgoing interface, network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
In an embodiment of the invention, a kind of storage medium is also provided, the storage medium storage computer program refers to It enables, the computer program instructions are executed according to the method for the embodiment of the present invention.
Computer readable storage medium includes permanent and non-permanent, removable and non-removable media, can be by appointing What method or technique realizes that information stores.Information can be computer readable instructions, data structure, program device or other Data.The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory techniques, CD-ROM (CD- ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storages Equipment or any other non-transmission medium, can be used for storage can be accessed by a computing device information.
It should be noted that the present invention can be carried out in the assembly of software and/or software and hardware, for example, can adopt With specific integrated circuit (ASIC), general purpose computer or any other realized similar to hardware device.In some embodiments In, software program of the invention can be executed by processor to realize above step or function.Similarly, software of the invention Program (including relevant data structure) can be stored in computer readable recording medium, for example, RAM memory, magnetic or CD-ROM driver or floppy disc and similar devices.In addition, some of the steps or functions of the present invention may be implemented in hardware, for example, As the circuit cooperated with processor thereby executing each step or function.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims Variation is included in the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.This Outside, it is clear that one word of " comprising " does not exclude other units or steps, and odd number is not excluded for plural number.That states in device claim is multiple Unit or device can also be implemented through software or hardware by a unit or device.The first, the second equal words are used to table Show title, and does not indicate any particular order.

Claims (14)

1. a kind of data processing method based on Trading Model characterized by comprising
If the servant that returns of current transaction business calculates amount of money numerical value and is greater than and returns servant and bind amount of money numerical value, according to binding, computation model is calculated It obtains returning and hires the calculation basis amount of money;
It returns to hire the calculation basis amount of money and be calculated according to after summarizing and returns commission volume to be returned according to the commission volume that returns Hire trading processing.
2. returning servant's calculation basis the method according to claim 1, wherein being calculated according to the computation model that binds The step of amount of money includes:
If the current transaction business is payment transaction, whether the current final product for operating amount of money numerical value and returning servant's rate of judgement It returns servant greater than described and binds amount of money numerical value;
If the current final operation amount of money numerical value and it is described return hire rate product be greater than it is described return servant and bind amount of money numerical value, with It is described return hire bind amount of money numerical value divided by it is described return hire rate quotient as it is described return hire the calculation basis amount of money;Otherwise, with described Current final operation amount of money numerical value returns servant's calculation basis amount of money described in being used as.
3. according to the method described in claim 2, it is characterized in that, the current final operation amount of money numerical value is current operation gold Specified number value and last time finally operate the sum of amount of money numerical value;The last time finally operates amount of money numerical value and is calculated as zero.
4. returning servant's calculation basis the method according to claim 1, wherein being calculated according to the computation model that binds The step of amount of money includes:
If the current transaction business is reimbursement business, whether the current final product for operating amount of money numerical value and returning servant's rate of judgement It returns servant greater than described and binds amount of money numerical value;
If the current final operation amount of money numerical value and it is described return hire rate product be greater than it is described return servant and bind amount of money numerical value, with It returns to hire to return described in the conduct of transactional operation constant and hires the calculation basis amount of money;
If the current final operation amount of money numerical value and described return hire the product of rate and return servant no more than described and bind amount of money numerical value, Judge that last time finally operates amount of money numerical value and described return hires the product of rate and whether be greater than and described return servant and bind amount of money numerical value;
If the last time finally operate amount of money numerical value and it is described return hire rate product be greater than it is described return servant and bind amount of money numerical value, with The current final operation amount of money numerical value and described return hire the amount of money numerical value that binds and hire the difference conduct of the quotient of rate divided by described return Described return hires the calculation basis amount of money;Otherwise, it is returned described in using current operation amount of money numerical value and hires the calculation basis amount of money.
5. according to the method described in claim 4, it is characterized in that, the current final operation amount of money numerical value is the current behaviour Make amount of money numerical value and the last time finally operates the sum of amount of money numerical value;It is history Zhi Fuyu that the last time, which finally operates amount of money numerical value, The sum of refund amount;Wherein, refund amount is negative.
6. the method according to any one of claims 1 to 5, which is characterized in that further include:
If the current transaction business it is described return servant and calculate amount of money numerical value return servant no more than described and bind amount of money numerical value, paid with real Amount of money numerical value and the product for returning servant's rate return commission volume described in being used as to carry out returning servant's trading processing according to the commission volume that returns.
7. a kind of data processing equipment based on Trading Model characterized by comprising
Judgment module calls envelope if the servant that returns for current transaction business calculates amount of money numerical value and is greater than and returns servant and bind amount of money numerical value Push up computation model module;
Bind computation model module, for the calling according to the judgment module, is calculated according to the computation model that binds and returns servant The calculation basis amount of money;
First trade processing module, for returned according to after summarizing hire the calculation basis amount of money be calculated return commission volume with by It carries out returning servant's trading processing according to the commission volume that returns.
8. device according to claim 7, which is characterized in that the computation model module that binds is specifically used for:
If the current transaction business is payment transaction, whether the current final product for operating amount of money numerical value and returning servant's rate of judgement It returns servant greater than described and binds amount of money numerical value;
If the current final operation amount of money numerical value and it is described return hire rate product be greater than it is described return servant and bind amount of money numerical value, with It is described return hire bind amount of money numerical value divided by it is described return hire rate quotient as it is described return hire the calculation basis amount of money;Otherwise, with described Current final operation amount of money numerical value returns servant's calculation basis amount of money described in being used as.
9. device according to claim 8, which is characterized in that the current final operation amount of money numerical value is current operation gold Specified number value and last time finally operate the sum of amount of money numerical value;The last time finally operates amount of money numerical value and is calculated as zero.
10. device according to claim 7, which is characterized in that the computation model module that binds is specifically used for:
If the current transaction business is reimbursement business, whether the current final product for operating amount of money numerical value and returning servant's rate of judgement It returns servant greater than described and binds amount of money numerical value;
If the current final operation amount of money numerical value and it is described return hire rate product be greater than it is described return servant and bind amount of money numerical value, with It returns to hire to return described in the conduct of transactional operation constant and hires the calculation basis amount of money;
If the current final operation amount of money numerical value and described return hire the product of rate and return servant no more than described and bind amount of money numerical value, Judge that last time finally operates amount of money numerical value and described return hires the product of rate and whether be greater than and described return servant and bind amount of money numerical value;
If the last time finally operate amount of money numerical value and it is described return hire rate product be greater than it is described return servant and bind amount of money numerical value, with The current final operation amount of money numerical value and described return hire the amount of money numerical value that binds and hire the difference conduct of the quotient of rate divided by described return Described return hires the calculation basis amount of money;Otherwise, it is returned described in using current operation amount of money numerical value and hires the calculation basis amount of money.
11. device according to claim 10, which is characterized in that the current final operation amount of money numerical value is described current Operation amount of money numerical value and the last time finally operate the sum of amount of money numerical value;The last time operates amount of money numerical value finally as history payment The sum of with refund amount;Wherein, refund amount is negative.
12. device according to any one of claims 7 to 11, which is characterized in that the judgment module is also used to:
If the servant that returns of current transaction business calculates amount of money numerical value and binds amount of money numerical value no more than returning servant, the second trading processing mould is called Block;
Described device further include:
Second trade processing module hires multiplying for rate with returning with actual payment amount numerical value for the calling according to the judgment module Product returns commission volume described in being used as to carry out returning servant's trading processing according to the commission volume that returns.
13. a kind of storage medium, which is characterized in that the storage medium stores computer program instructions, the computer program Method according to any one of claim 1 to 6 is instructed to be executed.
14. a kind of calculating equipment characterized by comprising for storing the memory of computer program instructions and for executing The processor of computer program instructions, wherein when the computer program instructions are executed by the processor, trigger the calculating and set Method described in any one of standby perform claim requirement 1 to 6.
CN201811614701.9A 2018-12-27 2018-12-27 A kind of data processing method and device based on Trading Model Pending CN110009440A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811614701.9A CN110009440A (en) 2018-12-27 2018-12-27 A kind of data processing method and device based on Trading Model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811614701.9A CN110009440A (en) 2018-12-27 2018-12-27 A kind of data processing method and device based on Trading Model

Publications (1)

Publication Number Publication Date
CN110009440A true CN110009440A (en) 2019-07-12

Family

ID=67165285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811614701.9A Pending CN110009440A (en) 2018-12-27 2018-12-27 A kind of data processing method and device based on Trading Model

Country Status (1)

Country Link
CN (1) CN110009440A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113377615A (en) * 2021-06-08 2021-09-10 上海天旦网络科技发展有限公司 Bypass database monitoring method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113377615A (en) * 2021-06-08 2021-09-10 上海天旦网络科技发展有限公司 Bypass database monitoring method and system

Similar Documents

Publication Publication Date Title
CN109285069B (en) Resource transfer method, device and server
US20120191641A1 (en) Characterizing business intelligence workloads
US20050049907A1 (en) Using page-view data to project demand for an item
CN110298508A (en) Behavior prediction method, device and equipment
CN109600724A (en) A kind of method and apparatus that short message is sent
CN110458561A (en) The method and device of secret transaction is realized in block chain network
CN107067276A (en) Determine the method and device of object influences power
CN107301550B (en) Acquisition method of credit information and establishment method and device of credit management and control rule
CN110009440A (en) A kind of data processing method and device based on Trading Model
US11132692B2 (en) Shared voting for accounting
US20180060887A1 (en) Brand equity prediction
CN110827137A (en) Credit evaluation method and device
US11348131B2 (en) Data processing systems for processing land tract data
CN108256667A (en) Asset data processing method, device, storage medium and computer equipment
JP2023007389A (en) Site selection method based on block chain, device, apparatus, and storage medium
CN113592263A (en) Resource return increment prediction method and device based on dynamic resource return increase ratio
CN112184193A (en) Payment processing method and device
CN112418670A (en) Case allocation method, device, equipment and medium
WO2019100867A1 (en) Processing method based on resources appreciation objects and resources objects, and apparatus
US20230410067A1 (en) Systems and methods for virtual currency exchange in lieu of physical currency exchange in merchant transactions
CN117372152A (en) Resource return plan information generation method and device and computer equipment
CN117331983A (en) Method, device, equipment and medium for searching overdue loan data
CN115905692A (en) Resource borrowing evaluation data pushing method and device and computer equipment
CN116701424A (en) Data processing method, apparatus, computer device, storage medium, and program product
CN116777439A (en) Payment mode determination method, device, computer equipment and storage medium

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200923

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

Effective date of registration: 20200923

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190712