The content of the invention
It is an object of the invention to propose a kind of method for determining commodity packaging scheme, it can solve obtain most
The problem of excellent packaging scheme.
In order to achieve the above object, the technical solution adopted in the present invention is as follows:
Method for determining commodity packaging scheme, it comprises the following steps:
Step 1, the managing detailed catalogue for obtaining order;
Step 2, according to packaging matching list priority orders, by the managing detailed catalogue successively with it is multiple it is default packaging
It is compared with table, until the managing detailed catalogue is matched with wherein one packaging matching list;
Wherein, the packaging matching list record has a kind of information in managing detailed catalogue or combination and the packing timber of much information
The mapping relations of material;
Step 3, by the packaging material of matching record to one packaging recommendation tables so that the unique mark and packaging of the order
Material formation mapping relations;
Wherein, the packaging recommendation tables are used for the mapping relations for recording the unique mark and packaging material of order.
It is preferred that, the packaging matching list of the step 2 includes inner packing matching list and outer packing matching list;
The step 2 specifically includes following sub-step:
Step 21, the priority orders according to inner packing matching list, by the managing detailed catalogue successively with it is multiple it is default in
Packaging matching list is compared, meanwhile, according to the priority orders of outer packing matching list, by the managing detailed catalogue successively with it is multiple
Default outer packing matching list is compared;
Step 22, when the managing detailed catalogue simultaneously meet condition one and condition two when, perform step 3;
Wherein, the condition one is:The managing detailed catalogue is matched with a wherein inner packing matching list;The condition two is:
The managing detailed catalogue is matched with a wherein outer packing matching list.
It is further preferred that the unique mark in the step 3 includes bar code and order number, packaging recommendation tables include
Inner packing recommendation tables and outer packing recommendation tables;
The step 3 is specifically included:
The packaging material of matching is recorded to the inner packing recommendation tables, so that the bar code and packing timber of the order
Material forms mapping relations;
The packaging material of matching is recorded to the outer packing recommendation tables, so that the order number and packaging material of the order
Form mapping relations.
It is further preferred that there is following steps after step 3:
The bar code that barcode scanning equipment is inputted and the bar code of inner packing recommendation tables are compared, corresponding to obtain
Packaging material, and exported labeled as inner packaging material to a display;
The order number that barcode scanning equipment is inputted and the order number of outer packing recommendation tables are compared, to obtain corresponding packaging
Material, and exported labeled as housing material to the display.
The present invention also proposes a kind of device for being used to determine commodity packaging scheme, and it is included with lower module:
Acquisition module, the managing detailed catalogue for obtaining order;
Matching module, for the priority orders according to packaging matching list, the managing detailed catalogue is preset with multiple successively
Packaging matching list be compared, until the managing detailed catalogue with wherein one packaging matching list match;
Wherein, the packaging matching list record has a kind of information in managing detailed catalogue or combination and the packing timber of much information
The mapping relations of material;
Logging modle, for the packaging material of matching to be recorded to a packaging recommendation tables, so that unique mark of the order
Know and packaging material formation mapping relations;
Wherein, the packaging recommendation tables are used for the mapping relations for recording the unique mark and packaging material of order.
It is preferred that, the packaging matching list of the matching module includes inner packing matching list and outer packing matching list;
The matching module specifically includes following submodule:
Comparing module, for the priority orders according to inner packing matching list, by the managing detailed catalogue successively with it is multiple pre-
If inner packing matching list be compared, meanwhile, according to the priority orders of outer packing matching list, by the managing detailed catalogue successively
It is compared with multiple default outer packing matching lists;
Judge module, for when the managing detailed catalogue meets condition one and condition two simultaneously, performing logging modle;
Wherein, the condition one is:The managing detailed catalogue is matched with a wherein inner packing matching list;The condition two is:
The managing detailed catalogue is matched with a wherein outer packing matching list.
It is further preferred that the unique mark in the logging modle includes bar code and order number, recommendation tables are packed
Including inner packing recommendation tables and outer packing recommendation tables;
The logging modle is specifically included:
The packaging material of matching is recorded to the inner packing recommendation tables, so that the bar code and packing timber of the order
Material forms mapping relations;
The packaging material of matching is recorded to the outer packing recommendation tables, so that the order number and packaging material of the order
Form mapping relations.
It is further preferred that also having after logging modle with lower module:
The bar code that barcode scanning equipment is inputted and the bar code of inner packing recommendation tables are compared, corresponding to obtain
Packaging material, and exported labeled as inner packaging material to a display;
The order number that barcode scanning equipment is inputted and the order number of outer packing recommendation tables are compared, to obtain corresponding packaging
Material, and exported labeled as housing material to the display.
The present invention has the advantages that:
Using multilist filter algorithm, the degree of accuracy and flexibility that lifting packaging material is recommended.
Embodiment
Below, with reference to accompanying drawing and embodiment, the present invention is described further.
As shown in figure 1, a kind of method for determining commodity packaging scheme, it comprises the following steps:
Step S1, the managing detailed catalogue for obtaining order.The order can be that received payment order or cash on delivery is ordered
It is single.The managing detailed catalogue includes ship-to, commodity gross weight, commodity total quantity, the weight of particular commodity, the boat of particular commodity
Null attribute, order number, bar code of every kind of commodity etc..
Step S2, according to packaging matching list priority orders, by the managing detailed catalogue successively with multiple default packagings
Matching list is compared, until the managing detailed catalogue is matched with wherein one packaging matching list.The packaging matching list includes interior bag
Fill matching list and outer packing matching list.
For example, the inner packing matching list of the present embodiment and the quantity of outer packing matching list are three, it is inner packing respectively
Matching list 1-3 and outer packing matching list 1-3.In addition, the quantity of inner packing matching list and outer packing matching list can also be not phase
With, it is necessary to depending on according to actual conditions.Inner packing matching list 1 is set to limit priority, and inner packing matching list 2 is taken second place, interior
Pack the priority of matching list 3 minimum.Outer packing matching list 1 is set to limit priority, and outer packing matching list 2 is taken second place, outer packing
The priority of matching list 3 is minimum.
Certainly, before comparison, it is necessary to pre-establish packaging matching list.First, by all packaging materials all typings to clothes
It is engaged in device, then by a kind of information in managing detailed catalogue or the combination of much information and packaging material formation mapping relations, and remembers
Record is into corresponding inner packing matching list or outer packing matching list.For example, ship-to and the formation mapping relations of packaging material 1,
The total amount of the combination of ship-to and commodity total quantity and the formation mapping relations of packaging material 2, commodity gross weight and particular commodity
Combination and packaging material 3 formation mapping relations, etc..
Specific matching process is as follows:
According to the priority orders of inner packing matching list, the managing detailed catalogue is matched with multiple default inner packings successively
Table is compared, meanwhile, according to the priority orders of outer packing matching list, by the managing detailed catalogue successively with it is multiple default outer
Packaging matching list is compared;
When the managing detailed catalogue meets condition one and condition two simultaneously, step S3 could be performed, otherwise it fails to match, needed
Manually inner packing matching list or outer packing matching list are modified according to actual conditions;
Wherein, the condition one is:The managing detailed catalogue is matched with a wherein inner packing matching list;The condition two is:
The managing detailed catalogue is matched with a wherein outer packing matching list.The logic schematic diagram of condition one and condition two is please as shown in Figure 2.
Step S3, by the packaging material of matching record to one packaging recommendation tables so that the unique mark and bag of the order
Package material formation mapping relations.The packaging recommendation tables are used for the mapping relations for recording the unique mark and packaging material of order.
The unique mark includes bar code and order number, and packaging recommendation tables include inner packing recommendation tables and outer packing is pushed away
Recommend table.
The step S3 is specifically included:
The packaging material of matching is recorded to the inner packing recommendation tables, so that the bar code and packing timber of the order
Material forms mapping relations;
The packaging material of matching is recorded to the outer packing recommendation tables, so that the order number and packaging material of the order
Form mapping relations.
Step S4, this step are the step of operator carries out outbound packaging to the commodity of order.Operator is set using barcode scanning
It is standby that bar code on order number and commodity is scanned, and by obtained data message service device.Server will
The bar code and the bar code of inner packing recommendation tables of barcode scanning equipment input are compared, to obtain corresponding packaging material,
And be marked as inner packaging material and export to a display;At the same time, the order number also inputted barcode scanning equipment and outsourcing
The order number of dress recommendation tables is compared, to obtain corresponding packaging material, and be marked as housing material to export to institute
Display is stated, so that operating personnel pack according to the prompting on display to the commodity of order.
The present invention also propose it is a kind of realize it is above-mentioned be used for determine commodity packaging scheme method virtual bench, it include with
Lower module:
Acquisition module, the managing detailed catalogue for obtaining order;
Matching module, for the priority orders according to packaging matching list, the managing detailed catalogue is preset with multiple successively
Packaging matching list be compared, until the managing detailed catalogue with wherein one packaging matching list match;
Wherein, the packaging matching list record has a kind of information in managing detailed catalogue or combination and the packing timber of much information
The mapping relations of material;
Logging modle, for the packaging material of matching to be recorded to a packaging recommendation tables, so that unique mark of the order
Know and packaging material formation mapping relations;
Wherein, the packaging recommendation tables are used for the mapping relations for recording the unique mark and packaging material of order.
It is preferred that, the packaging matching list of the matching module includes inner packing matching list and outer packing matching list;
The matching module specifically includes following submodule:
Comparing module, for the priority orders according to inner packing matching list, by the managing detailed catalogue successively with it is multiple pre-
If inner packing matching list be compared, meanwhile, according to the priority orders of outer packing matching list, by the managing detailed catalogue successively
It is compared with multiple default outer packing matching lists;
Judge module, for when the managing detailed catalogue meets condition one and condition two simultaneously, performing logging modle;
Wherein, the condition one is:The managing detailed catalogue is matched with a wherein inner packing matching list;The condition two is:
The managing detailed catalogue is matched with a wherein outer packing matching list.
It is further preferred that the unique mark in the logging modle includes bar code and order number, recommendation tables are packed
Including inner packing recommendation tables and outer packing recommendation tables;
The logging modle is specifically included:
The packaging material of matching is recorded to the inner packing recommendation tables, so that the bar code and packing timber of the order
Material forms mapping relations;
The packaging material of matching is recorded to the outer packing recommendation tables, so that the order number and packaging material of the order
Form mapping relations.
It is further preferred that also having after logging modle with lower module:
The bar code that barcode scanning equipment is inputted and the bar code of inner packing recommendation tables are compared, corresponding to obtain
Packaging material, and exported labeled as inner packaging material to a display;
The order number that barcode scanning equipment is inputted and the order number of outer packing recommendation tables are compared, to obtain corresponding packaging
Material, and exported labeled as housing material to the display.
Understand for the ease of the technological thought to the present embodiment, below, carried out with reference to specific application case detailed
Explanation.
Background:Corporate business has been extended to abroad, therefrom state to send the goods to overseas client, due to International Express fortune
Expense is calculated in gram, and weight determines freight charges price, and the weight of packaging material therein can be optimized.So define
To the system intellectual analysis of the packaging material of certain commodity, as a result recommend.
Packaging material recommends constraints:
1) ship-to is the order of overseas address, and particular commodity packaging material is, it is necessary to use plastic bag;
2) simultaneously, particular commodity is if frangible, it is necessary to use bubble bags;
3) simultaneously, particular commodity weight is more than 5KG, or whole order gross weight is more than 5KG, it is necessary to use carton;
4) simultaneously, the packaging material of whole order (order commodity amount is more than 1) using plastic bag packaging, it is necessary to entirely be ordered
It is single;
5) simultaneously, the order of overseas type, the packaging material of whole order (order commodity amount=1), it is not necessary to extra
Outer packing;
According to constraints above condition, inner packing matching list and outer packing matching list are set up:
Inner packing (packaging of particular commodity) matching list:
1) the inner packing matching list of priority 1:Commodity aviation attribute=frangible, packaging material=bubble bags of particular commodity
+ carton;
2) the inner packing matching list of priority 2:Commodity weight>=5KG, packaging material=carton of particular commodity;
Outer packing (packaging of whole order) matching list:
1) the outer packing matching list of priority 1:Whole order commodity amount=1, packaging material=nothing;
2) the outer packing matching list of priority 2:The commodity of whole order>1, packaging material=plastic bag.
Instantiation:
Contained in client Jane Brown from U.S. order under certain e-commerce website, order as follows
Commodity;
Bar code |
Trade name |
Quantity |
Weight |
Aviation attribute |
SD32234 |
Folding bicycle |
1 |
10 |
Nothing |
BYD8899 |
Magic family volcanic mud |
1 |
0.3 |
It is frangible |
Commodity inner packing:
Bar code:SD32234 inner packaging materials:Carton;
Bar code:BYD8899 inner packaging materials:Bubble bags;
Commodity outer packing:
Packaging material=carton of whole order.
The present embodiment has following features:
The algorithm of many list files (i.e. multiple packaging matching lists) filtering is created, analysis can be carried out according to many list files and built
Priority orders are set up between vertical filtering rule, multiple rules.Each rule returns to a kind of packaging material title.Priority is high
Rule using corresponding preferential recommendation packaging material, it is to avoid order and commodity meet under a variety of recommendation rules and recommended
Recommend problem using the repetition of various packaging materials.
2) algorithmic rule is utilized, the relation set up between packaging material.User can be as needed, sets up rule.It is many
The Multiple Combination of table filtered fields, carries out flexible configuration as needed.
3) recommendation of the progress packaging material in good time in packaging process to packer, instructs packing work.
These based on multilist file filter algorithm and software product, be obviously improved packaging material recommendation accuracy and
Optimality, and allow the work quality and efficiency of packer to be obviously improved.
For those skilled in the art, technical scheme that can be as described above and design, make other each
It is kind corresponding to change and deform, and all these change and deformation should all belong to the protection model of the claims in the present invention
Within enclosing.