Intelligent logistics distribution and management method
1. An intelligent distribution and management method for logistics is characterized in that: the method comprises the following implementation steps:
s1, configuring the relationship, adopting the non-relationship data structure, configuring the charging unit, the charging weight, the basic charge, other charges, the freight transportation limit and the destination;
s2, establishing a logistics charging rule base, and importing a logistics charging rule corresponding to each logistics service provider according to logistics charging data provided by the logistics service providers;
s3, establishing an intelligent configuration rule, and calculating a default matching sequence of the logistics service provider and the priority level of each logistics line aiming at the destination aiming at each E-commerce transaction platform;
s4, if the order has the appointed logistics service provider, then the order is delivered according to the appointed logistics service provider, if the order does not have the appointed logistics service provider, then the step S5 is executed;
s5, intelligently distributing logistics, calculating the volume of the goods according to different placing modes according to the size of the goods in the order, introducing the volume into a logistics charging rule to obtain an optimal solution, and delivering the goods according to the logistics service provider of the optimal solution by the order.
2. The intelligent distribution and management method for logistics according to claim 1, wherein the method comprises the following steps: in the step S5, the logistics intelligent allocation adopts a grouping multithreading mode to perform parallel computation, determines the lines meeting the conditions according to the intelligent configuration rule, performs grouping according to the number, performs calculation on the sub-threads, and obtains the optimal solution by summarizing and comparing.
3. The intelligent distribution and management method for logistics according to claim 1, wherein the method comprises the following steps: in the step S5, the calculating of the volumes of the goods in different placement modes is performed by rearranging the outer package sizes.
4. The intelligent distribution and management method for logistics according to claim 1, wherein the method comprises the following steps: in step S5, the method further includes screening the logistics service providers of the orders according to the freight transportation restrictions.
5. The intelligent distribution and management method for logistics according to claim 1, wherein the method comprises the following steps: the method also comprises the following steps:
s6, counting the order logistics report in a period of time, and calculating the problem rate of each logistics line after completing a plurality of orders.
6. The intelligent distribution and management method for logistics according to claim 5, wherein: the method also comprises the following steps:
and S7, automatically disabling the logistics lines with the problem rate higher than the first threshold value.
7. The intelligent distribution and management method for logistics according to claim 6, wherein: the first threshold is 0.05.
Background
Logistics is a process of organically combining functions such as transportation, storage, loading, unloading, transportation, packaging, distribution, information processing and the like according to actual needs to meet user requirements in the process of physically flowing articles from a supply place to a receiving place. Logistics is an important segment of business and is the overall process of planning, implementing and managing the goods in order from the delivery location to the harvesting location.
In recent years, with the high-speed development of mobile internet, network shopping with a higher threshold originally becomes simpler and simpler, an e-commerce platform successively promotes various activities, sudden increase of express parcel volume poses a serious challenge to logistics management capacity of e-commerce enterprises and platforms, and logistics management is of great importance to the e-commerce enterprises, which is self-evident that if logistics management is not good, waste of logistics cost is caused, operation cost of the e-commerce enterprises is increased, transportation and delivery time is long, order loss and a large amount of after-sale service cost are caused, so that an e-commerce order logistics management system is constructed, order logistics of the e-commerce enterprises is managed intelligently, manpower and fund investment of the e-commerce important link of logistics are reduced, and operation cost of the e-commerce is reduced effectively.
In the related art, for a batch of logistics orders to be logistics, there are usually a plurality of logistics service providers that can provide logistics services for the batch of logistics orders, and each logistics service provider has different performances in terms of logistics cost, timeliness, services, and the like for different regions. For a batch of logistics orders, how to determine a suitable proportion for distributing the batch of logistics orders to a plurality of selectable logistics service providers so as to achieve a better state in terms of logistics cost, timeliness, service, and the like is a problem to be solved in the present industry.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides an intelligent logistics distribution and management method.
The technical scheme adopted by the invention is as follows: an intelligent distribution and management method for logistics comprises the following implementation steps:
s1, configuring the relationship, adopting the non-relationship data structure, configuring the charging unit, the charging weight, the basic charge, other charges, the freight transportation limit and the destination;
s2, establishing a logistics charging rule base, and importing a logistics charging rule corresponding to each logistics service provider according to logistics charging data provided by the logistics service providers;
s3, establishing an intelligent configuration rule, and calculating a default matching sequence of the logistics service provider and the priority level of each logistics line aiming at the destination aiming at each E-commerce transaction platform;
s4, if the order has the appointed logistics service provider, then the order is delivered according to the appointed logistics service provider, if the order does not have the appointed logistics service provider, then the step S5 is executed;
s5, intelligently distributing logistics, calculating the volume of the goods according to different placing modes according to the size of the goods in the order, introducing the volume into a logistics charging rule to obtain an optimal solution, and delivering the goods according to the logistics service provider of the optimal solution by the order.
Preferably, in step S5, the logistics intelligent allocation is calculated in parallel by a grouping and multithreading manner, the lines meeting the conditions are identified according to the intelligent configuration rule, the lines are grouped according to the number, the sub-threads perform operations, and the optimal solution is obtained by summarizing and comparing the lines.
Preferably, in step S5, the calculating of the volume of the goods in different placement modes is performed by rearranging the outer package sizes to realize the volume calculation in different placement modes.
Preferably, the step S5 further includes screening the logistics service provider of the order according to the freight transportation limitation.
Preferably, the method further comprises the following steps:
s6, counting the order logistics report in a period of time, and calculating the problem rate of each logistics line after completing a plurality of orders.
Preferably, the method further comprises the following steps:
and S7, automatically disabling the logistics lines with the problem rate higher than the first threshold value.
Preferably, the first threshold is 0.05.
The invention has the beneficial effects that:
(1) and automatically calculating the optimal order logistics and realizing the automatic matching of the logistics.
(2) Support multiple commodity circulation to put according to the difference and carry out the price comparison, save the commodity circulation expense.
(3) The method has the advantages of high accuracy and high speed of estimating the logistics price, is beneficial to order management and reduces the customer service workload.
Drawings
FIG. 1 is a flow diagram of the logistics matching of the present invention;
FIG. 2 is a shipping constraint matching flow diagram of the present invention;
fig. 3 is a flowchart of freight calculation according to the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and the detailed description, and it should be noted that any combination of the embodiments or technical features described below can be used to form a new embodiment without conflict.
Referring to fig. 1 to 3, the present invention is a method for intelligently allocating and managing logistics.
An intelligent distribution and management method for logistics comprises the following implementation steps:
s1, configuring the relationship, adopting the non-relationship data structure, configuring the charging unit, the charging weight, the basic charge, other charges, the freight transportation limit and the destination;
s2, establishing a logistics charging rule base, and importing a logistics charging rule corresponding to each logistics service provider according to logistics charging data provided by the logistics service providers;
s3, establishing an intelligent configuration rule, and calculating a default matching sequence of the logistics service provider and the priority level of each logistics line aiming at the destination aiming at each E-commerce transaction platform;
s4, if the order has the appointed logistics service provider, then the order is delivered according to the appointed logistics service provider, if the order does not have the appointed logistics service provider, then the step S5 is executed;
s5, intelligently distributing logistics, calculating the volume of the goods according to different placing modes according to the size of the goods in the order, introducing the volume into a logistics charging rule to obtain an optimal solution, and delivering the goods according to the logistics service provider of the optimal solution by the order.
Preferably, in step S5, the logistics intelligent allocation adopts a grouping multithreading method to perform parallel computation, determines the lines meeting the conditions according to the intelligent configuration rule, performs grouping according to the number, performs calculation on the sub-threads, and obtains the optimal solution by summarizing and comparing.
Preferably, in step S5, the volume of the goods in different placement modes is calculated by rearranging the outer package sizes to realize the volume calculation in different placement modes.
Preferably, step S5 further includes screening the logistics service provider of the order according to the shipping limitation.
Preferably, the method further comprises the following steps:
s6, counting order logistics reports in a period of time, and calculating the problem rate of each logistics line after a plurality of orders are completed;
and S7, automatically disabling the logistics lines with the problem rate higher than the first threshold value.
Wherein the first threshold is 0.05 by default.
As one embodiment of the present solution, the above-mentioned solution is implemented by a computer program based on Java language, a Spring closed framework is adopted to erect a software system, an Oracle database, a redis database and a mongodb database are used for data storage, and the operation flow of the program is as follows:
s1, configuring the relationship, adopting the non-relationship data structure, configuring the charging unit, the charging weight, the basic charge, other charges, the freight transportation limit and the destination;
s2, establishing a logistics charging rule base, and importing a logistics charging rule corresponding to each logistics service provider according to logistics charging data provided by the logistics service providers; the butted plurality of logistics service providers can be sent to which places, have the limitation of what freight transportation and which platforms can use the corresponding logistics service providers, and are all written into a logistics charging rule base;
s3, establishing an intelligent configuration rule, configuring a nearest warehouse as a starting point for each E-commerce transaction platform and calculating the default matching sequence of the logistics service provider with the destination, and calculating the priority level of each logistics line, wherein the default matching sequence can be manually modified and edited by a salesman;
s4, if the order has the appointed logistics service provider, then the order is delivered according to the appointed logistics service provider, if the order does not have the appointed logistics service provider, then the step S5 is executed;
s5, intelligently distributing logistics;
s5.1, matching freight according to a warehouse and a freight platform to obtain a result set A;
s5.2, using the freight ID transmitted by the net as a B result set through a Methodtype function utility;
s5.3, comparing the result set A with the result set B, if the result set A contains the result set B, feeding back the result set B to be a result set 1, and if the result set A does not contain the result set B, finishing matching;
s5.4, acquiring commodity sku information of the order, rearranging the outer package size, calculating the placing volume, and matching the freight risk to the result set 1 to obtain a corresponding result set 2;
s5.5, calculating logistics cost to obtain a result set 3, wherein the specific calculation process is shown in figure 3;
s5.6, calculating the optimal solution of the logistics cost according to whether the designated freight is contained or not and whether the physical warehouse is the physical warehouse or not, and storing other matched freight;
s6, counting order logistics reports in a period of time, calculating the problem rate of each logistics line, checking and finding the aging problem of the logistics line by the sales end at any time, and adjusting and following after sales in time;
and S7, disabling the logistics line with the problem rate higher than the first threshold value, such as the time limit requirement of the order is not met, the logistics price is higher, a better alternative line is provided, and the like.
The first threshold of this embodiment is 0.05, which can be adjusted according to specific situations.
In step S1, the relationship configuration data of the present embodiment is stored in json, and is compatible with each other regardless of changes in the system or database structure.
In the logistics management system, a plurality of logistics lines and complicated rules are adopted, how to determine the optimal line most quickly is the key of the problem, and all line information of the embodiment is stored in the redis, so that the requirement of high-speed retrieval and calculation can be met.
Referring to fig. 2, in this embodiment, the screening of the shipping restrictions is completed by sequentially determining whether the order is not restricted, whether the weight of the pallet is calculated, whether bubbles are to be recorded, and matching the conditions of the shipping restrictions.
The logistics matching method is good in compatibility and can be adapted to different logistics platforms of various regions of various countries.
The above embodiments are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited thereby, and any insubstantial changes and substitutions made by those skilled in the art based on the present invention are within the protection scope of the present invention.