CN103366288A - Distribution cost calculation method of online sales - Google Patents

Distribution cost calculation method of online sales Download PDF

Info

Publication number
CN103366288A
CN103366288A CN2012100871821A CN201210087182A CN103366288A CN 103366288 A CN103366288 A CN 103366288A CN 2012100871821 A CN2012100871821 A CN 2012100871821A CN 201210087182 A CN201210087182 A CN 201210087182A CN 103366288 A CN103366288 A CN 103366288A
Authority
CN
China
Prior art keywords
weight
interval
sign
value
result
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
CN2012100871821A
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.)
SHANGHAI SHOPEX NETWORK TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI SHOPEX NETWORK TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANGHAI SHOPEX NETWORK TECHNOLOGY Co Ltd filed Critical SHANGHAI SHOPEX NETWORK TECHNOLOGY Co Ltd
Priority to CN2012100871821A priority Critical patent/CN103366288A/en
Publication of CN103366288A publication Critical patent/CN103366288A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Devices For Checking Fares Or Tickets At Control Points (AREA)

Abstract

The invention discloses a distribution cost automatic calculation method of online sales. The method specifically comprises the following steps: step a, a condition parameter formula is defined with both a weight and a weight interval as parameters; when the weight is within the weight interval, a value of the condition parameter formula is 1; and when the weight is not within the weight interval, the value of the condition parameter formula is 0; step b, according to a postal charge list, a subsection function is defined with the weight as an independent variable and is divided based on the weight interval in the postal charge list, wherein a value of the subsection function is a final charge; and step c, each function in the subsection function of the step b is multiplied by the condition parameter formula which uses the corresponding weight interval of the function as the parameter, and all products are added to obtain the final charge. The beneficial effects of the invention are: the accuracy and adaptability of the distribution cost calculation is great; the algorithm is simple and adjustable flexibly, and the extra cost is not added to the system; and the suspense of business is not required to update and the distribution cost preferential program can be calculated directly.

Description

A kind of online spending dispensing expense computing method
Technical field
The present invention designs e-commerce field, especially a kind of online spending dispensing expense automatic calculating method.
Background technology
High speed development along with the internet, ecommerce is also thereupon day by day flourishing, it is in widely commerce and trade activity of all parts of the world that known ecommerce typically refers to, the net environment of opening in the internet, based on the browser/server application mode, both parties do not carry out various commercial activities with meeting, realize consumer's shopping online, the online transaction between the trade company and pay by mails online and a kind of novel commercial operation pattern of various commercial activity, transaction, finance activities and relevant integrated service activity.
Online Store is a kind of important performance of ecommerce, and both parties finish transaction by the internet, finishes payment by the physical objects streaming system, and this just means that the logistics distribution expense becomes the very important link of Online Store.Because the development of network, Online Store towards the consumer no longer be confined to native client, some trans-regional even Foreign Transactions also happen occasionally, so that the simple quota calculation mode that the conventional distribution expense adopts more and more can not satisfy the needs of Online Store, therefore can accomplish the flexibly method of calculating to the dispensing expense in the urgent need to a kind of.
The variable that relates generally in the store sales practice on the net is commodity general assembly (TW) and commodity price.The commodity general assembly (TW) is the Main Basis that most of logistics companies calculate the dispensing expense, and commodity price generally is used for the shop to client's the preference scheme of exempting from the expense of providing and delivering.Wrap up domestic rate take the express delivery of complicated China Post and study the relation between the commodity general assembly (TW) and dispensing expense as example.
It is as follows that domestic tariff list is wrapped up in the express delivery of China Post:
Figure BDA0000148024890000021
Departure place and the destination of supposing parcel are fixed, get distance 500 kilometers and 500 kilometers take interior as research object, we can find that the value of the final freight charges f of its dependent variable (w) is that the segmentation discontinuous function function expression based on independent variable package weight w is as follows:
Figure BDA0000148024890000022
Wherein ceil () is upper bracket function.
For the solution of the problems referred to above, existing technical scheme is to introduce the mode of a dispensing expense segmentation definition: Online Store needs at first definition first heavy and additional expense such as registration fee, and then packing charge etc. define charge unit and the amount of money in each weight interval.Seem like this demand that the dispensing expense is calculated that solved, but its greatest problem is only tailor-made for China Post, in case the charging way of the logistics company of Online Store cooperation changes to some extent, will cause must the change program consequence, also involve debugging and the renewal that stops doing business behind the update routine.This will be very large loss for the large-scale Online Store of a normal operation.
In addition, some Online Store also can use according to surely provide and deliver expense or shopping volume of commodity price and reach the policy of exempting from the expense of providing and delivering behind the certain level, and above-mentioned solution is helpless especially.
Summary of the invention
Sell the existing the problems referred to above of dispensing cost basis approach for existing Online Store, but the invention provides a kind of multiple charging form of flexible adaptation that is intended to, online spending dispensing expense automatic calculating method easy to adjust.
The technical scheme that technical solution problem of the present invention adopts is:
A kind of online spending dispensing expense automatic calculating method, wherein, concrete steps are as follows:
Step a, definition one take in weight and weight interval as the conditional parameter formula of parameter, the value of described conditional parameter formula is 1 in the time of in described weight drops on described weight interval, and described conditional parameter formula value is 0 in the time of outside described weight drops on described weight interval;
Step b, according to postage table definition one take weight as independent variable, with the piecewise function of the weight interval division in the postage table, the value of described piecewise function value is final rate;
Step c, each function in the piecewise function among the step b and the described conditional parameter formula take this weight interval, function place as parameter are multiplied each other, and the product addition is drawn final rate.
Above-mentioned online spending dispensing expense automatic calculating method, wherein, the method concrete steps of definite condition parameter formula comprise among the step a:
Step a1, definition the first sign of operation, described the first sign of operation is the unary operation symbol, make computing corresponding to described the first sign of operation for being 1 when operand operation result greater than 0 time, operation result is 0.5 when operand equals 0, when operand operation result less than 0 time is 0;
Step a2, described weight interval are mainly determined to form by left end point and right endpoint, calculate gravimetric value poor that weight with article deducts described left end point representative with described the first sign of operation, the result of acquisition deducts the difference that obtains after the default boundary condition modified value and calculates rear acquisition the first intermediate result by described the first sign of operation again;
Step a3, calculate weight poor that gravimetric value with described right endpoint representative deducts article with described the first sign of operation, the result of acquisition deducts the difference that obtains after the default boundary condition modified value and calculates rear acquisition the second intermediate result by described the first sign of operation again;
Step a4, described the first intermediate result and described the second intermediate result multiplied each other obtains the value of conditional parameter formula.
Above-mentioned online spending dispensing expense automatic calculating method, wherein, the define method concrete steps of piecewise function described in the described step b comprise:
Step b1, according to the number of the weight interval division function of postage table, described weight is interval mainly to be determined to form by the unit price of stipulating on the postage table identical weight left end point and weight right endpoint;
Each function in step b2, the described piecewise function is formed by the actual tariff calculation expression in Item Weight weight of living in interval and the rate expression formula in full addition of all wt on the left of the article weight of living in interval.
Above-mentioned online spending dispensing expense automatic calculating method, wherein, described the first sign of operation adopt do not use in the Computing arithmetic operational character and symbol that QWERTY keyboard can be inputted as displaying symbol.
Above-mentioned online spending dispensing expense automatic calculating method, wherein, when arbitrary in the left end point in described weight interval and the right endpoint is the open interval, for the first intermediate result corresponding to the described left end point in open interval or be to participate in the value of described boundary condition modified value of computing in the second intermediate result corresponding to the described right endpoint in open interval greater than 0.5 and less than 1, when arbitrary in the left end point in described weight interval and the right endpoint is the closed interval, for the first intermediate result corresponding to the described left end point in closed interval or be to participate in the value of described boundary condition modified value of computing in the second intermediate result corresponding to the described right endpoint of closed interval greater than 0 and less than 0.5.
Above-mentioned online spending dispensing expense automatic calculating method, wherein, the weight interval of described postage table comprises that the weight of uniforma price is interval and interval according to the weight of the cumulative rate of weight;
The actual tariff calculation expression in the weight interval of described uniforma price and the identical uniforma price expression formula that is the weight interval of described uniforma price of rate expression formula in full;
The actual tariff calculation expression in described weight interval according to the cumulative rate of weight is that Item Weight deducts difference that the gravimetric value of the left end point representative in weight interval, described Item Weight place obtains and obtains the 3rd intermediate result divided by the heavy unit of meter in described weight interval according to the cumulative rate of weight, multiply by the heavy unit price of meter in described weight interval according to the cumulative rate of weight after described the 3rd intermediate result is rounded up;
The rate expression formula in full in described weight interval according to the cumulative rate of weight is that the gravimetric value of the right endpoint representative in described weight interval according to the cumulative rate of weight deducts difference that the gravimetric value of the left end point representative in described weight interval according to the cumulative rate of weight obtains and obtains the 4th intermediate result divided by the heavy unit of meter in described weight interval according to the cumulative rate of weight, multiply by the heavy unit price of meter in described weight interval according to the cumulative rate of weight after described the 4th intermediate result is rounded up.
Above-mentioned online spending dispensing expense automatic calculating method, wherein, define the second sign of operation, described the second sign of operation is the unary operation symbol, make computing corresponding to described the second sign of operation for being that operand rounds up when operand operation result greater than 0 time, operation result is 0 when operand equals 0, when operand operation result less than 0 time is 0;
Described the second sign of operation is used for the statement of the rate expression formula in full in the actual tariff calculation expression in described weight interval according to the cumulative rate of weight and described weight interval according to the cumulative rate of weight.
Above-mentioned online spending dispensing expense automatic calculating method, wherein, described the second sign of operation adopt do not use in the Computing arithmetic operational character and symbol that QWERTY keyboard can be inputted as displaying symbol.
A kind of online spending dispensing expense automatic calculating method, wherein, comprise a self-defined sign of operation, described self-defined sign of operation is the unary operation symbol, make computing corresponding to described self-defined sign of operation for being 1 when operand operation result greater than 0 time, operation result is 0.5 when operand equals 0, when operand operation result less than 0 time is 0;
Comprise that also shopping reaches the computing method of freely providing and delivering behind certain amount of money, free computing method of providing and delivering specifically comprised the steps: after described shopping reached certain amount of money
Step c1, the free dispensing of definition conditional parameter formula, described free dispensing conditional parameter formula deducts the poor of the default freight free thresholding amount of money for calculating the total charge of will doing shopping with described self-defined sign of operation, after deducting the first default modified value, the result who obtains obtains the 5th intermediate result, calculate described the 5th intermediate result with described self-defined sign of operation again, the span of described the first modified value is greater than 0 and less than 0.5;
Step c2, described free dispensing conditional parameter formula be multiply by the actual freight calculation expression.
A kind of online spending dispensing expense automatic calculating method, wherein, comprise a self-defined sign of operation, described self-defined sign of operation is the unary operation symbol, make computing corresponding to described self-defined sign of operation for being 1 when operand operation result greater than 0 time, operation result is 0.5 when operand equals 0, when operand operation result less than 0 time is 0;
Also comprise the method for calculating freight charges according to the shopping amount of money, described method according to shopping amount of money calculating freight charges specifically comprises the steps:
Steps d 1, definition are calculated freight term parameter formula according to the shopping amount of money, described is to calculate with described self-defined sign of operation the default freight free thresholding amount of money is deducted the poor of shopping total charge according to shopping amount of money calculating freight term parameter formula, after deducting the second default modified value, the result who obtains obtains the 6th intermediate result, calculate described the 6th intermediate result with described self-defined sign of operation again, the span of described the second modified value is greater than 0.5 and less than 1;
Steps d 2, calculate freight term parameter formula according to the shopping amount of money and multiply by the actual freight calculation expression described.
The invention has the beneficial effects as follows:
Dispensing expense accuracy of computation is high, strong adaptability, and algorithm does not simply increase system overhead and adjusts flexibly, does not need the renewal that stops doing business, the calculating of the expense preference scheme of can directly providing and delivering.
Description of drawings
Fig. 1 is the FB(flow block) of a kind of online spending dispensing of the present invention expense automatic calculating method;
Fig. 2 is the FB(flow block) of the method for definite condition parameter formula among the step a of a kind of online spending of the present invention dispensing expense automatic calculating method;
Fig. 3 is the FB(flow block) of the define method of piecewise function among the step b of a kind of online spending of the present invention dispensing expense automatic calculating method;
Fig. 4 is the FB(flow block) that the shopping of a kind of online spending dispensing of the present invention expense automatic calculating method reaches the computing method of freely providing and delivering behind certain amount of money;
Fig. 5 is a kind of online spending dispensing of the present invention expense automatic calculating method calculates the method for freight charges according to the shopping amount of money FB(flow block).
Embodiment
The invention will be further described below in conjunction with the drawings and specific embodiments, but not as limiting to the invention.
A kind of online spending dispensing expense automatic calculating method as shown in Figure 1, wherein, concrete steps are as follows:
Step a, definition one take in weight and weight interval as the conditional parameter formula of parameter, and the value of conditional parameter formula is 1 in the time of in weight drops on the weight interval, and the conditional parameter formula value is 0 in the time of outside weight drops on the weight interval; The method of definite condition parameter formula as shown in Figure 2 concrete steps comprises:
Step a1, definition the first sign of operation, the first sign of operation is the unary operation symbol, make computing corresponding to the first sign of operation for being 1 when operand operation result greater than 0 time, operation result is 0.5 when operand equals 0, when operand operation result less than 0 time is 0; Wherein, the first sign of operation can adopt do not use in the Computing arithmetic operational character and symbol that QWERTY keyboard can be inputted as displaying symbol, so neither can conflict and can guarantee with existing sign of operation in the computing machine and when writing, normally input.Present embodiment describes { } as the first sign of operation, what need statement is that this does not represent the restriction to the first operational symbol displaying symbol of mentioning among the present invention.
Step a2, weight interval are mainly determined to form by left end point and right endpoint, calculate gravimetric value poor that weight with article deducts the left end point representative with the first sign of operation, the result of acquisition deducts the difference that obtains after the default boundary condition modified value and calculates rear acquisition the first intermediate result by the first sign of operation again;
Step a3, calculate weight poor that gravimetric value with the right endpoint representative deducts article with the first sign of operation, the result of acquisition deducts the difference that obtains after the default boundary condition modified value and calculates rear acquisition the second intermediate result by the first sign of operation again;
Step a4, the first intermediate result and the second intermediate result multiplied each other obtains the value of conditional parameter formula.
Can obtain at last conditional parameter formula λ={ { w-a}-A}*{{b-w}-A} according to above-mentioned steps, wherein w is Item Weight, a is the gravimetric value of the interval left end point representative of weight, and b is the gravimetric value of the interval left end point representative of weight, and A is default boundary condition modified value.
When arbitrary in the left end point in weight interval and the right endpoint is the open interval, for the first intermediate result corresponding to open interval left end point or be to participate in the value of boundary condition modified value of computing in the second intermediate result corresponding to the right endpoint in open interval greater than 0.5 and less than 1, when arbitrary in the left end point in weight interval and the right endpoint is the closed interval, for the first intermediate result corresponding to closed interval left end point or be to participate in the value of boundary condition modified value of computing in the second intermediate result corresponding to the right endpoint of closed interval greater than 0 and less than 0.5.
Step b, according to postage table definition one take weight as independent variable, with the piecewise function of the weight interval division in the postage table, the value of piecewise function value is final rate; The define method of piecewise function as shown in Figure 3 concrete steps comprises:
Step b1, according to the number of the weight interval division function of postage table, weight is interval mainly to be determined to form by the unit price of stipulating on the postage table identical weight left end point and weight right endpoint;
Each function in step b2, the piecewise function is formed by the actual tariff calculation expression in Item Weight weight of living in interval and the rate expression formula in full addition of all wt on the left of the article weight of living in interval.
The weight interval of postage table comprises that the weight of uniforma price is interval and interval according to the weight of the cumulative rate of weight; The actual tariff calculation expression in the weight interval of uniforma price and the identical uniforma price expression formula that is the weight interval of uniforma price of rate expression formula in full; Be that Item Weight deducts difference that the gravimetric value of the left end point representative in weight interval, Item Weight place obtains and obtains the 3rd intermediate result divided by the heavy unit of meter according to the weight interval of the cumulative rate of weight according to the actual tariff calculation expression in the weight interval of the cumulative rate of weight, multiply by the heavy unit price of meter according to the weight interval of the cumulative rate of weight after the 3rd intermediate result is rounded up.
Obtain four intermediate result for the gravimetric value according to the right endpoint representative in the weight interval of the cumulative rate of weight deducts difference that the gravimetric value according to the left end point representative in the weight interval of the cumulative rate of weight obtains divided by the heavy unit of meter according to the weight interval of the cumulative rate of weight according to the rate expression formula in full in the weight interval of the cumulative rate of weight, multiply by the heavy unit price of meter according to the weight interval of the cumulative rate of weight after the 4th intermediate result is rounded up.
As an example of the tariff list of China Post example piecewise function is defined as following form according to above-mentioned steps:
Figure BDA0000148024890000081
Wherein ceil () is upper bracket function.
Definable the second sign of operation herein again, the second sign of operation is the unary operation symbol, make computing corresponding to the second sign of operation for being that operand rounds up when operand operation result greater than 0 time, operation result is 0 when operand equals 0, when operand operation result less than 0 time is 0; The second sign of operation is used for according to the actual tariff calculation expression in the weight interval of the cumulative rate of weight with according to the statement of the rate expression formula in full in the weight interval of the cumulative rate of weight.The second sign of operation can adopt do not use in the Computing arithmetic operational character and symbol that QWERTY keyboard can be inputted as displaying symbol, so neither can conflict and can guarantee with existing sign of operation in the computing machine and when writing, normally input.Present embodiment describes [] as the second sign of operation, what need statement is that this does not represent the restriction to the second operational symbol displaying symbol of mentioning among the present invention.
Above-mentioned piecewise function utilizes the second sign of operation to be write as:
Figure BDA0000148024890000082
Step c, each function in the piecewise function among the step b and the conditional parameter formula take this weight interval, function place as parameter are multiplied each other, and the product addition is drawn final rate.
According to the above-mentioned steps at one's own expense expression formula of finally being provided and delivered:
f(w)={{1000-w}}*(3.00+5.00)+{{w-1000}-0.6}*{{5000-w}-0.1}*(3.00+5.00+[(w-1000)/500]*2.00)+{{w-5000}-0.6}*(3.00+5.00+[(5000-1000)/500]*2.00+[(w-5000)/500]*1.00)
W position Item Weight wherein, because 3.00+5.00 partly be public, and three conditional parameter formula are when w gets any value, and having and only have one value is 1, the rest is zero, and the formula that therefore extracts behind the abbreviation also is:
f(w)=3.00+5.00+{{w-1000}-0.6}*{{5000-w}-0.1}*[(w-1000)/500]*2.00+{{w-5000}-0.6}*([(5000-1000)/500]*2.00+[(w-5000)/500]*1.00)
The present invention has realized the function of piecewise function by an expression, saved the branched structure that the performance piecewise function must adopt in the prior art, reduced system overhead, simultaneously owing to do not re-use branched structure, so that it is very convenient to change the parameter of expression formula, corrected parameter needn't update routine, the trouble of having removed debugging from and having upgraded.
The present invention also comprises a kind of online spending dispensing expense automatic calculating method, wherein, comprise a self-defined sign of operation, self-defined sign of operation is the unary operation symbol, make computing corresponding to self-defined sign of operation for being 1 when operand operation result greater than 0 time, operation result is 0.5 when operand equals 0, when operand operation result less than 0 time is 0; Self-defined sign of operation can adopt do not use in the Computing arithmetic operational character and symbol that QWERTY keyboard can be inputted as displaying symbol, so neither can conflict and can guarantee with existing sign of operation in the computing machine and when writing, normally input.Present embodiment describes { } as self-defined sign of operation, what need statement is that this does not represent the restriction to the self-defined operational symbol displaying symbol of mentioning among the present invention.Also comprising does shopping reaches the computing method of freely providing and delivering behind certain amount of money, and free computing method of providing and delivering specifically comprised the steps: as shown in Figure 4 after shopping reached certain amount of money
Step c1, the free dispensing of definition conditional parameter formula, free dispensing conditional parameter formula deducts the poor of the default freight free thresholding amount of money for calculating the total charge of will doing shopping with self-defined sign of operation, after deducting the first default modified value, the result who obtains obtains the 5th intermediate result, calculate the 5th intermediate result with self-defined sign of operation again, the span of the first modified value is greater than 0 and less than 0.5;
Step c2, the conditional parameter formula of will freely providing and delivering multiply by the actual freight calculation expression.
Above-mentioned steps can obtain following expression:
{ { p-P}-0.1}*F wherein p is the shopping amount of money, and P is the freight free thresholding amount of money, and F is the actual freight calculation expression, and the first modified value gets 0.1.The calculating of exempting from the expense of providing and delivering in the time of can doing shopping amount of money p 〉=P by this expression formula is combined the calculating of expense preference scheme of just can directly providing and delivering with the method with aforesaid dispensing expense automatic calculating method.
The present invention also comprises a kind of online spending dispensing expense automatic calculating method, wherein, comprise a self-defined sign of operation, self-defined sign of operation is the unary operation symbol, make computing corresponding to self-defined sign of operation for being 1 when operand operation result greater than 0 time, operation result is 0.5 when operand equals 0, when operand operation result less than 0 time is 0; Self-defined sign of operation can adopt do not use in the Computing arithmetic operational character and symbol that QWERTY keyboard can be inputted as displaying symbol, so neither can conflict and can guarantee with existing sign of operation in the computing machine and when writing, normally input.Present embodiment describes { } as self-defined sign of operation, what need statement is that this does not represent the restriction to the self-defined operational symbol displaying symbol of mentioning among the present invention.Also comprise the method for calculating freight charges according to the shopping amount of money, the method for calculating freight charges according to the shopping amount of money specifically comprises the steps: as shown in Figure 5
Steps d 1, definition are calculated freight term parameter formula according to the shopping amount of money, calculate freight term parameter formula according to the shopping amount of money and for calculating with self-defined sign of operation the default freight free thresholding amount of money is deducted the poor of shopping total charge, after deducting the second default modified value, the result who obtains obtains the 6th intermediate result, calculate the 6th intermediate result with self-defined sign of operation again, the span of the second modified value is greater than 0.5 and less than 1;
Steps d 2, will calculate freight term parameter formula according to the shopping amount of money and multiply by the actual freight calculation expression.
Above-mentioned steps can obtain following expression:
{ { P-p}-0.6}*n wherein p is the shopping amount of money, and P is the freight free thresholding amount of money, and n is the actual freight calculation expression, and the second modified value gets 0.6.Exempt from the dispensing expense in the time that can doing shopping amount of money p 〉=P by this expression formula, dispensing takes and is the calculating of n unit during shopping amount of money p<P, and the method is combined the calculating of expense preference scheme of just can directly providing and delivering with aforesaid dispensing expense automatic calculating method.
The above only is preferred embodiment of the present invention; be not so limit claim of the present invention; so the equivalent structure that all utilizations instructions of the present invention and diagramatic content have been done changes; the technological means of perhaps utilizing those skilled in the art to habitually practise is replaced, and all is included in protection scope of the present invention.

Claims (10)

1. online spending dispensing expense automatic calculating method is characterized in that concrete steps are as follows:
Step a, definition one take in weight and weight interval as the conditional parameter formula of parameter, the value of described conditional parameter formula is 1 in the time of in described weight drops on described weight interval, and described conditional parameter formula value is 0 in the time of outside described weight drops on described weight interval;
Step b, according to postage table definition one take weight as independent variable, with the piecewise function of the weight interval division in the postage table, the value of described piecewise function value is final rate;
Step c, each function in the piecewise function among the step b and the described conditional parameter formula take this weight interval, function place as parameter are multiplied each other, and the product addition is drawn final rate.
2. online spending dispensing expense automatic calculating method as claimed in claim 1 is characterized in that the method concrete steps of definite condition parameter formula comprise among the step a:
Step a1, definition the first sign of operation, described the first sign of operation is the unary operation symbol, make computing corresponding to described the first sign of operation for being 1 when operand operation result greater than 0 time, operation result is 0.5 when operand equals 0, when operand operation result less than 0 time is 0;
Step a2, described weight interval are mainly determined to form by left end point and right endpoint, calculate gravimetric value poor that weight with article deducts described left end point representative with described the first sign of operation, the result of acquisition deducts the difference that obtains after the default boundary condition modified value and calculates rear acquisition the first intermediate result by described the first sign of operation again;
Step a3, calculate weight poor that gravimetric value with described right endpoint representative deducts article with described the first sign of operation, the result of acquisition deducts the difference that obtains after the default boundary condition modified value and calculates rear acquisition the second intermediate result by described the first sign of operation again;
Step a4, described the first intermediate result and described the second intermediate result multiplied each other obtains the value of conditional parameter formula.
3. online spending dispensing expense automatic calculating method as claimed in claim 1 is characterized in that the define method concrete steps of piecewise function described in the described step b comprise:
Step b1, according to the number of the weight interval division function of postage table, described weight is interval mainly to be determined to form by the unit price of stipulating on the postage table identical weight left end point and weight right endpoint;
Each function in step b2, the described piecewise function is formed by the actual tariff calculation expression in Item Weight weight of living in interval and the rate expression formula in full addition of all wt on the left of the article weight of living in interval.
4. online spending dispensing expense automatic calculating method as claimed in claim 2 is characterized in that, described the first sign of operation adopt do not use in the Computing arithmetic operational character and symbol that QWERTY keyboard can be inputted as displaying symbol.
5. online spending dispensing expense automatic calculating method as claimed in claim 2, it is characterized in that, when arbitrary in the left end point in described weight interval and the right endpoint is the open interval, for the first intermediate result corresponding to the described left end point in open interval or be to participate in the value of described boundary condition modified value of computing in the second intermediate result corresponding to the described right endpoint in open interval greater than 0.5 and less than 1, when arbitrary in the left end point in described weight interval and the right endpoint is the closed interval, for the first intermediate result corresponding to the described left end point in closed interval or be to participate in the value of described boundary condition modified value of computing in the second intermediate result corresponding to the described right endpoint of closed interval greater than 0 and less than 0.5.
6. online spending dispensing expense automatic calculating method as claimed in claim 3 is characterized in that the weight interval of described postage table comprises that the weight of uniforma price is interval and interval according to the weight of the cumulative rate of weight;
The actual tariff calculation expression in the weight interval of described uniforma price and the identical uniforma price expression formula that is the weight interval of described uniforma price of rate expression formula in full;
The actual tariff calculation expression in described weight interval according to the cumulative rate of weight is that Item Weight deducts difference that the gravimetric value of the left end point representative in weight interval, described Item Weight place obtains and obtains the 3rd intermediate result divided by the heavy unit of meter in described weight interval according to the cumulative rate of weight, multiply by the heavy unit price of meter in described weight interval according to the cumulative rate of weight after described the 3rd intermediate result is rounded up;
The rate expression formula in full in described weight interval according to the cumulative rate of weight is that the gravimetric value of the right endpoint representative in described weight interval according to the cumulative rate of weight deducts difference that the gravimetric value of the left end point representative in described weight interval according to the cumulative rate of weight obtains and obtains the 4th intermediate result divided by the heavy unit of meter in described weight interval according to the cumulative rate of weight, multiply by the heavy unit price of meter in described weight interval according to the cumulative rate of weight after described the 4th intermediate result is rounded up.
7. online spending dispensing expense automatic calculating method as claimed in claim 6, it is characterized in that, define the second sign of operation, described the second sign of operation is the unary operation symbol, make computing corresponding to described the second sign of operation for being that operand rounds up when operand operation result greater than 0 time, operation result is 0 when operand equals 0, when operand operation result less than 0 time is 0;
Described the second sign of operation is used for the statement of the rate expression formula in full in the actual tariff calculation expression in described weight interval according to the cumulative rate of weight and described weight interval according to the cumulative rate of weight.
8. online spending dispensing expense automatic calculating method as claimed in claim 7 is characterized in that, described the second sign of operation adopt do not use in the Computing arithmetic operational character and symbol that QWERTY keyboard can be inputted as displaying symbol.
9. online spending dispensing expense automatic calculating method, it is characterized in that, comprise a self-defined sign of operation, described self-defined sign of operation is the unary operation symbol, make computing corresponding to described self-defined sign of operation for being 1 when operand operation result greater than 0 time, operation result is 0.5 when operand equals 0, when operand operation result less than 0 time is 0;
Comprise that also shopping reaches the computing method of freely providing and delivering behind certain amount of money, free computing method of providing and delivering specifically comprised the steps: after described shopping reached certain amount of money
Step c1, the free dispensing of definition conditional parameter formula, described free dispensing conditional parameter formula deducts the poor of the default freight free thresholding amount of money for calculating the total charge of will doing shopping with described self-defined sign of operation, after deducting the first default modified value, the result who obtains obtains the 5th intermediate result, calculate described the 5th intermediate result with described self-defined sign of operation again, the span of described the first modified value is greater than 0 and less than 0.5;
Step c2, described free dispensing conditional parameter formula be multiply by the actual freight calculation expression.
10. online spending dispensing expense automatic calculating method, it is characterized in that, comprise a self-defined sign of operation, described self-defined sign of operation is the unary operation symbol, make computing corresponding to described self-defined sign of operation for being 1 when operand operation result greater than 0 time, operation result is 0.5 when operand equals 0, when operand operation result less than 0 time is 0;
Also comprise the method for calculating freight charges according to the shopping amount of money, described method according to shopping amount of money calculating freight charges specifically comprises the steps:
Steps d 1, definition are calculated freight term parameter formula according to the shopping amount of money, described is to calculate with described self-defined sign of operation the default freight free thresholding amount of money is deducted the poor of shopping total charge according to shopping amount of money calculating freight term parameter formula, after deducting the second default modified value, the result who obtains obtains the 6th intermediate result, calculate described the 6th intermediate result with described self-defined sign of operation again, the span of described the second modified value is greater than 0.5 and less than 1;
Steps d 2, calculate freight term parameter formula according to the shopping amount of money and multiply by the actual freight calculation expression described.
CN2012100871821A 2012-03-28 2012-03-28 Distribution cost calculation method of online sales Pending CN103366288A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100871821A CN103366288A (en) 2012-03-28 2012-03-28 Distribution cost calculation method of online sales

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100871821A CN103366288A (en) 2012-03-28 2012-03-28 Distribution cost calculation method of online sales

Publications (1)

Publication Number Publication Date
CN103366288A true CN103366288A (en) 2013-10-23

Family

ID=49367575

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100871821A Pending CN103366288A (en) 2012-03-28 2012-03-28 Distribution cost calculation method of online sales

Country Status (1)

Country Link
CN (1) CN103366288A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021488A (en) * 2014-06-30 2014-09-03 四川创物科技有限公司 Goods freight calculating method and device, and mobile terminal
CN104050578A (en) * 2014-06-30 2014-09-17 四川创物科技有限公司 Order processing method, device and system
WO2018018431A1 (en) * 2016-07-26 2018-02-01 石莉 Freight charge computation method and system utilized in rail logistics
CN109858861A (en) * 2019-01-30 2019-06-07 马蜂科技(上海)有限公司 The method and device of computing object freight charges in staple commodities online transaction
CN110414896A (en) * 2019-07-30 2019-11-05 重庆国贵赛车科技有限公司 A kind of freight charges grouping pricing method and its device
CN112258117A (en) * 2020-10-27 2021-01-22 上海寻梦信息技术有限公司 Sending method and device, electronic equipment and storage medium
CN112307018A (en) * 2020-09-29 2021-02-02 山东黄金矿业(莱州)有限公司三山岛金矿 Method for storing unit price data of mine excavation engineering

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003271705A (en) * 2002-03-04 2003-09-26 Hewlett Packard Co <Hp> System and method for optimizing mailing content with respect to postal fee
KR20090000552A (en) * 2007-02-22 2009-01-08 주식회사 진보기업 Receiving an order management system and method for ship construction materials
CN101923666A (en) * 2009-06-10 2010-12-22 上海美华系统有限公司 Transportation management method based on joint collaboration of logistics company, shipper and carrier
CN103632286A (en) * 2013-04-28 2014-03-12 方美玉 Free shipping electronic commerce system and trading method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003271705A (en) * 2002-03-04 2003-09-26 Hewlett Packard Co <Hp> System and method for optimizing mailing content with respect to postal fee
KR20090000552A (en) * 2007-02-22 2009-01-08 주식회사 진보기업 Receiving an order management system and method for ship construction materials
CN101923666A (en) * 2009-06-10 2010-12-22 上海美华系统有限公司 Transportation management method based on joint collaboration of logistics company, shipper and carrier
CN103632286A (en) * 2013-04-28 2014-03-12 方美玉 Free shipping electronic commerce system and trading method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
相元勇: ""快递运输网络布局研究"", 《中国优秀硕士学位论文全文数据库(经济与管理科学辑)》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021488A (en) * 2014-06-30 2014-09-03 四川创物科技有限公司 Goods freight calculating method and device, and mobile terminal
CN104050578A (en) * 2014-06-30 2014-09-17 四川创物科技有限公司 Order processing method, device and system
CN104050578B (en) * 2014-06-30 2018-01-12 四川创物科技有限公司 Order processing method, apparatus and system
WO2018018431A1 (en) * 2016-07-26 2018-02-01 石莉 Freight charge computation method and system utilized in rail logistics
CN109858861A (en) * 2019-01-30 2019-06-07 马蜂科技(上海)有限公司 The method and device of computing object freight charges in staple commodities online transaction
CN110414896A (en) * 2019-07-30 2019-11-05 重庆国贵赛车科技有限公司 A kind of freight charges grouping pricing method and its device
CN112307018A (en) * 2020-09-29 2021-02-02 山东黄金矿业(莱州)有限公司三山岛金矿 Method for storing unit price data of mine excavation engineering
CN112258117A (en) * 2020-10-27 2021-01-22 上海寻梦信息技术有限公司 Sending method and device, electronic equipment and storage medium
CN112258117B (en) * 2020-10-27 2021-09-21 上海寻梦信息技术有限公司 Sending method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103366288A (en) Distribution cost calculation method of online sales
Niu et al. O2O results in traffic congestion reduction and sustainability improvement: Analysis of “Online-to-Store” channel and uniform pricing strategy
Shy A quick-and-easy method for estimating switching costs
Chung et al. The optimal ordering policy of the EOQ model under trade credit depending on the ordering quantity from the DCF approach
US20100312627A1 (en) Systems and methods for funds processing in postage distribution environments
US9202198B2 (en) Computer-implemented method for managing commodity consumption within an industrial production facility
Xu et al. The region-cap allocation and delivery time decision in the marketplace mode under the cap-and-trade regulation
Tapiero Optimum advertising and goodwill under uncertainty
Liao et al. An inventory model for deteriorating items with two levels of trade credit taking account of time discounting
Hou et al. A cash flow oriented EOQ model with deteriorating items under permissible delay in payments
CA2856192A1 (en) Configurable billing with subscriptions having conditional components
CN102985797A (en) Management of volumetric product delivery
Manna An EOQ model for a deteriorating item with non-linear demand under inflation and a trade credit policy
Kim et al. Comparison of socially optimal and profit maximizing prices in an unobservable queue with heterogeneous waiting costs
De Donder et al. Pricing and welfare implications of alternative approaches to setting price controls in the postal sector
Khedlekar Logarithmic inventory model with shortage for deteriorating items
CN111784324A (en) Real-time accounting system for retail industry
JP2016189185A (en) Advanced receipt/advanced payment management device, advanced receipt/advanced payment management method, and advanced receipt/advanced payment management program
Van den Berg et al. The economic order decision with continuous dynamic pricing and batch supply
US20130297450A1 (en) Method of withdrawal of funds from bank account to purchase retail gift cards and/or electronic retail gift codes generating cash rewards to consumer and/or revenue to financial institution
Ohsfeldt et al. Calculating elasticities from structural parameters in implicit markets
CN109636275A (en) A kind of intelligent transport charging method and device
US20220108272A1 (en) Parcel Margin Optimization (PMO) System for and Methods of Generating and Optimizing Discounted Parcel Shipping Prices
Omar A replenishment inventory model for items under time-varying demand rates considering trade credit period and cash discount for a finite time horizon
Khanra et al. On an EOQ model with SFI policy for a time quadratic demand

Legal Events

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

Application publication date: 20131023