The content of the invention
In view of this, the present invention provides a kind of method and apparatus for determining storage inventory distribution, can reduce ecommerce
The singulated rate of order.
To achieve the above object, according to an aspect of the invention, there is provided a kind of method for determining storage inventory distribution.
The method that the determination storehouse of the present invention deposits distribution includes:Step A:For order set, it is determined that two-by-two order it
Between identical category mix;Step B:After calculating carries out conjunction storehouse by the identical category mix, when producing order into this section
About it is worth;Step C:The identical category mix according to corresponding to the cost savings value of selection determines to close storehouse scheme.
Alternatively, the step A includes:An order condition code is generated for each order in the order set, should
Each of order condition code corresponds to a commodity category, the commodity of the commodity category is included in the order, then order condition code
In position corresponding to the commodity category be designated as 1, otherwise be designated as 0;By the order condition code two of each order in the order set
Two places carry out step-by-step and computing, using be in operation result 1 position as the identical category mix between order two-by-two.
Alternatively, the step B includes calculating the cost savings value according to equation below:M=(A-1) × B × C-D ×
E;Cost savings value when wherein M represents to carry out conjunction storehouse according to current identical category mix, A represent the current identical category group
Commodity category number in conjunction, B represent the unit cost of production, and it is multiple that C represents that the current identical category mix obtains in step
The number occurred in identical category mix, D represent to close storehouse operating cost, E expression conjunction storehouse operations numbers.
According to another aspect of the present invention, there is provided a kind of device for determining storage inventory distribution.
The device that the determination storehouse of the present invention deposits distribution includes:Determining module, for for order set, it is determined that two-by-two
Identical category mix between order;Computing module, after carrying out conjunction storehouse by the identical category mix for calculating, production is ordered
Cost savings value when single;Storehouse module is closed, determines to close storehouse for identical category mix corresponding to the cost savings value according to selection
Scheme.
Alternatively, the determining module is additionally operable to:An order feature is generated for each order in the order set
Code, each of the order condition code correspond to a commodity category, the commodity of the commodity category are included in the order, then order is special
Position corresponding to the commodity category is designated as 1 in sign code, otherwise is designated as 0;By the order feature of each order in the order set
Two two places of code carry out step-by-step and computing, using be in operation result 1 position as the identical category mix between order two-by-two.
Alternatively, the computing module is additionally operable to calculate the cost savings value according to equation below:M=(A-1) × B ×
C-D×E;Cost savings value when wherein M represents to carry out conjunction storehouse according to current identical category mix, A represent that this is current identical
Commodity category number in category mix, B represent the unit cost of production, and C represents that the current identical category mix obtains in step
Multiple identical category mixes in the number that occurs, D represents to close storehouse operating cost, and E represents to close storehouse operations number.
Technique according to the invention scheme, the situation of the commodity in same order in actual order, will usually
Commodity in same order carry out conjunction storehouse.This mode has excavated the true association between commodity, can be past by consumer
Commodity toward purchase simultaneously are placed in same warehouse, therefore help to reduce the singulated rate of e-commerce order.
Embodiment
The one exemplary embodiment of the present invention is explained below in conjunction with accompanying drawing, including the various of the embodiment of the present invention
Details should think them only exemplary to help understanding.Therefore, those of ordinary skill in the art should recognize
Arrive, various changes and modifications can be made to the embodiments described herein, without departing from scope and spirit of the present invention.Together
Sample, for clarity and conciseness, the description to known function and structure is eliminated in following description.
Fig. 1 is the schematic diagram of the basic step for the method that determination storehouse according to embodiments of the present invention deposits distribution.Such as Fig. 1
Shown, this method mainly includes steps S11 to step S13.
Step S11:For order set, it is determined that the identical category mix between order two-by-two.The identical product of two orders
Class combination refers to one or more categories, and they are appeared in two orders simultaneously.Such as first order includes category 1,2,5,7
Commodity, second order include category 1,3,4,5,6, then identical category mix is 1,5.In the present embodiment, by " order condition code "
To determine the identical category mix between two orders.Order set in this step is the set of order sample, sample size
Bigger, obtained conjunction storehouse scheme works are also better.
First, an order condition code is generated for each order in order set.Each of order condition code is corresponding
One commodity category, the commodity of the commodity category are included in the order, then position corresponding to the commodity category is remembered in order condition code
For 1, otherwise it is designated as 0.Reference table 1, the order of order is special shown in the 2nd to the 8th column of figure composition first row of every a line in table 1
Code is levied, such as the condition code of order 01 is 0111000.Respectively warehouse shown in row stores what is shown in lower unit lattice to the first row respectively
Category.Such as the commodity of category 1 are located in warehouse A.
Table 1
|
Warehouse A |
Warehouse B |
Warehouse C |
Warehouse D |
Warehouse E |
Warehouse F |
Warehouse A |
|
Category 1 |
Category 2 |
Category 3 |
Category 4 |
Category 5 |
Category 6 |
Category 7 |
Order 01 |
0 |
1 |
1 |
1 |
0 |
0 |
0 |
Order 02 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
Order 03 |
1 |
0 |
0 |
0 |
0 |
0 |
1 |
Order 04 |
1 |
0 |
0 |
1 |
0 |
0 |
1 |
Order 05 |
0 |
1 |
0 |
0 |
1 |
0 |
0 |
Order 06 |
1 |
1 |
0 |
0 |
0 |
0 |
1 |
Order 07 |
0 |
1 |
1 |
1 |
0 |
1 |
0 |
Order 08 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
Order 09 |
0 |
1 |
0 |
0 |
1 |
0 |
0 |
Order 10 |
0 |
1 |
1 |
1 |
0 |
0 |
1 |
Then, the order condition code of each order is subjected to step-by-step and computing two-by-two.Such as the condition code of order 01 is
0111000, the condition code of order 02 is 0001010, then the category mix identical with order 02 of order 01 be 0111000 and
0001010 step-by-step and result 0001000.And for example, the condition code of order 07 is 0111010, the phase of order 01 and order 07
It is 0111000 with category mix.
For the ease of the calculating in next step, after the identical category mix between obtaining each order, for 01
Multiple identical category mixes that string represents, they are collected as a result set, are counted 1 in each 01 string in the result set
Occurrence number is more than or equal to the number that identical category mix twice occurs in the result set.Such as:
Identical category mix 0111000, occurring 3 times, (order 01 and order 07, order 01 and order 01, order 07 is with ordering
Single 10 draw when calculating);
Identical category mix 0001010, occurring 3 times, (order 02 and order 07, order 02 and order 08, order 07 is with ordering
Single 08 draws when calculating);
Identical category mix 0100100, occur 1 time (order 05 is drawn when being calculated with order 09).
Storehouse storage is closed if existed, in advance removes corresponding result from above-mentioned statistical result, such as category 1
ECDC storehouse in warehouse A, then removes 1000001 from the above result that concentrating with category 7.
Step S12:After calculating carries out conjunction storehouse by identical category mix, cost savings value during order is produced.
The cost savings value can be calculated according to equation below:M=(A-1) × B × C-D × E;Wherein M represent according to work as
Preceding identical category mix carries out cost savings value during conjunction storehouse, and A represents the commodity category number in the current identical category mix,
B represents the unit cost of production, and C is represented in multiple identical category mixes that the current identical category mix obtains in step s 11
The number of appearance, D represent to close storehouse operating cost, E expression conjunction storehouse operations numbers.Wherein B and D is set previously according to produce reality situation
It is fixed.
Such as:Unit cost of production=$7;Close storehouse operating cost=$10.
Then:Category mix 0111000 is cost-saved:(3-1) × 7 × 3-10 × 2=$22;
Category mix 0001010 is cost-saved:(2-1) × 7 × 3-10 × 1=$11;
Category mix 0100100 is cost-saved:- 10 × 1=-$3 of (2-1) × 7 × 1.
Step S13:The identical category mix according to corresponding to the cost savings value of selection determines to close storehouse scheme.According to above-mentioned meter
Calculate result, select category mix 0111000 or 0001010 can be cost-effective, and last category mix saving into
This value is negative, it is impossible to cost-effective.According to category mix 0111000 and 0001010, it can be deduced that such as draw a conclusion:Commodity product
Class 2, commodity category 3, commodity category 4 move into same storehouse, or commodity category 4, commodity category 6 move into same storehouse, and this two
Individual conjunction storehouse scheme can be cost-effective.
In addition in the above-described example, commodity category 4 is just appeared in above-mentioned two scheme simultaneously, so may finally incite somebody to action
Category 2,3,6 merges the storehouse D being stored in where category 4, and it is minimum so to close storehouse operations number.
Fig. 2 is the schematic diagram of the main modular for the device that determination storehouse according to embodiments of the present invention deposits distribution.Such as Fig. 2
It is shown, the determination storehouse of the embodiment of the present invention deposit distribution device 20 mainly include determining module 21, computing module 22 and
Close storehouse module 23.Determining module 21 is used for for order set, it is determined that the identical category mix between order two-by-two;Computing module
After 22 carry out conjunction storehouse for calculating by above-mentioned identical category mix, cost savings value during order is produced;Storehouse module 23 is closed to use
Determine to close storehouse scheme in identical category mix corresponding to the cost savings value according to selection.
Determining module 21 can be additionally used in:An order condition code is generated for each order in order set, the order is special
Each corresponding commodity category of code is levied, the commodity of the commodity category are included in the order, then the business in order condition code
Position corresponding to product category is designated as 1, otherwise is designated as 0;By the two places of order condition code two of each order in order set carry out by
Position and computing, using in operation result be 1 position as the identical category mix between order two-by-two.
Computing module 22 can also be used to calculate above-mentioned cost savings value according to equation below:M=(A-1) × B × C-D × E;
Cost savings value when wherein M represents to carry out conjunction storehouse according to current identical category mix, A represent the current identical category mix
In commodity category number, B represents the unit cost of production, and C represents multiple phases that the current identical category mix obtains in step
With the number occurred in category mix, D represents to close storehouse operating cost, and E represents to close storehouse operations number.
Technical scheme according to embodiments of the present invention, the situation of the commodity in same order in actual order,
The commodity for being usually in same order are subjected to conjunction storehouse.This mode has excavated the true association between commodity, will can disappear
Often the commodity of purchase are placed in same warehouse expense person simultaneously, therefore help to reduce the singulated rate of e-commerce order.
The general principle of the present invention is described above in association with specific embodiment, in apparatus and method of the present invention, it is clear that
Each part or each step can be decomposed and/or reconfigured.These decompose and/or reconfigure should be regarded as the present invention etc.
Efficacious prescriptions case.Also, perform above-mentioned series of processes the step of can order naturally following the instructions perform in chronological order, still
And necessarily it need not perform sequentially in time.Some steps can perform parallel or independently of one another.
Above-mentioned embodiment, does not form limiting the scope of the invention.Those skilled in the art should be bright
It is white, depending on design requirement and other factors, various modifications, combination, sub-portfolio and replacement can occur.It is any
Modifications, equivalent substitutions and improvements made within the spirit and principles in the present invention etc., should be included in the scope of the present invention
Within.