CN115730888A - Goods stock distribution method and device - Google Patents

Goods stock distribution method and device Download PDF

Info

Publication number
CN115730888A
CN115730888A CN202110990649.2A CN202110990649A CN115730888A CN 115730888 A CN115730888 A CN 115730888A CN 202110990649 A CN202110990649 A CN 202110990649A CN 115730888 A CN115730888 A CN 115730888A
Authority
CN
China
Prior art keywords
goods
order
delivery time
parameter
inventory
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
CN202110990649.2A
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.)
SF Technology Co Ltd
Original Assignee
SF 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 SF Technology Co Ltd filed Critical SF Technology Co Ltd
Priority to CN202110990649.2A priority Critical patent/CN115730888A/en
Publication of CN115730888A publication Critical patent/CN115730888A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a goods stock distribution method and a device, and the goods stock distribution method comprises the following steps: acquiring the current remaining delivery time length and a plurality of historical delivery time lengths of goods in an order to be distributed; fitting a plurality of historical delivery durations of the goods to obtain a cumulative distribution function of the delivery durations of the goods; determining a delivery time length parameter of goods in the order to be distributed according to the current residual delivery time length and the cumulative distribution function of the delivery time length, wherein the delivery time length parameter is reduced along with the increase of the current residual delivery time length; sorting the orders to be distributed according to delivery duration parameters of goods in the orders to be distributed to obtain a sorted target order set; and carrying out inventory distribution on the target order set. The method and the device can reduce the turnover period of the inventory.

Description

Goods stock distribution method and device
Technical Field
The present application relates to the technical field of stock distribution of goods, and in particular, to a stock distribution method and apparatus for goods.
Background
In the logistics express industry, with the increase of the traffic, in the face of the current situation that the factory capacity cannot keep up with the demand of orders (supply and short supply), how to sequence the existing pre-orders to provide an intelligent delivery scheme is very important. However, in the prior art, a manual sorting method is mostly adopted for the pre-order pool system, that is, the ordering first will distribute the stock preferentially, which will cause even the order demand in the later period to occupy the stock due to the ordering first, resulting in a large amount of goods stock being occupied for a long time, and causing the stock turnover period to be high.
That is, the stock turnaround cycle of the goods stock distribution method in the prior art is high.
Disclosure of Invention
The application provides a goods inventory allocation method and a device, and aims to solve the problem that the inventory turnover period of the goods inventory allocation method in the prior art is high.
In a first aspect, the present application provides a method of allocating a stock of goods, the method comprising:
acquiring the current remaining delivery time length and a plurality of historical delivery time lengths of goods in an order to be distributed;
fitting a plurality of historical delivery durations of the goods to obtain a cumulative distribution function of the delivery durations of the goods;
determining a delivery time parameter of goods in the order to be distributed according to the current residual delivery time and the cumulative distribution function of the delivery time, wherein the delivery time parameter is reduced along with the increase of the current residual delivery time;
sequencing the orders to be distributed according to delivery time length parameters of goods in the orders to be distributed to obtain a sequenced target order set;
and performing inventory distribution on the target order set.
Optionally, the determining the delivery time length parameter of the goods in the order to be distributed according to the current remaining delivery time length and the cumulative delivery time length distribution function includes:
determining a plurality of delivery time length ranges corresponding to a plurality of preset quantiles ranges according to the delivery time length accumulated distribution function and the preset quantiles ranges;
determining a delivery time length parameter of the goods in the order to be allocated according to the current remaining delivery time length of the goods and the plurality of delivery time length ranges.
Optionally, the sorting the orders to be distributed according to delivery duration parameters of the goods in the respective orders to be distributed to obtain a sorted target order set, including:
acquiring preset order parameter information of each order to be distributed and preset parameter weight of each parameter, wherein the preset order parameter information comprises at least one of a goods quantity parameter, a goods profit parameter, a user type parameter and an order type parameter;
carrying out weighted average on preset order parameter information and delivery duration parameters according to preset parameter weight to obtain sequencing parameters;
and sequencing the orders to be distributed according to the sequencing parameters to obtain a sequenced target order set.
Optionally, the obtaining preset order parameter information of each order to be allocated and preset parameter weights of each parameter includes:
acquiring the quantity of goods in each order to be distributed;
and determining a quantity parameter of the goods in each order to be distributed according to the quantity of the goods in each order to be distributed, wherein the quantity parameter of the goods is reduced along with the increase of the quantity of the goods in the order to be distributed.
Optionally, the performing inventory allocation on the target order set includes:
taking out the order to be distributed which is sorted at the top in the target order set without being put back as a first target order;
acquiring current available inventory information;
judging whether the current available inventory information meets a first target order;
and if the current available stock information meets the first target order, allocating stock for the first target order, and updating the current available stock information.
Optionally, the goods inventory allocation method further comprises:
and if the current available stock information does not meet the first target order, putting the first target order into a preset order set, and keeping the current available stock information.
Optionally, the goods inventory allocation method further comprises:
when the target order set is an empty set, the order with the highest ranking in the preset order set is not put back and taken out as a second target order;
determining future inventory information within a preset number of days in the future according to the current available inventory information and the goods warehousing information within the preset number of days in the future of the delivery date of the second target order;
judging whether the second target order meets future inventory information;
and if the second target order meets the future inventory information, allocating inventory for the second target order and updating the current available inventory information.
In a second aspect, the present application provides an item inventory dispensing device, comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the current residual delivery time length and a plurality of historical delivery time lengths of goods in an order to be distributed;
the fitting unit is used for fitting a plurality of historical delivery durations of the goods to obtain a cumulative distribution function of the delivery durations of the goods;
a parameter determining unit, configured to determine a delivery duration parameter of the goods in the order to be distributed according to the current remaining delivery duration and the cumulative distribution function of the delivery durations, where the delivery duration parameter decreases as the current remaining delivery duration increases;
the ordering unit is used for ordering the orders to be distributed according to delivery duration parameters of goods in the orders to be distributed to obtain an ordered target order set;
and the inventory distribution unit is used for carrying out inventory distribution on the target order set.
Optionally, the parameter determining unit is configured to:
determining a plurality of delivery time length ranges corresponding to a plurality of preset quantiles ranges according to the delivery time length accumulated distribution function and the preset quantiles ranges;
determining a delivery time length parameter of the goods in the order to be allocated according to the current remaining delivery time length of the goods and the plurality of delivery time length ranges.
Optionally, the sorting unit is configured to:
acquiring preset order parameter information of each order to be distributed and preset parameter weight of each parameter, wherein the preset order parameter information comprises at least one of a goods quantity parameter, a goods profit parameter, a user type parameter and an order type parameter;
carrying out weighted average on preset order parameter information and delivery duration parameters according to preset parameter weight to obtain sequencing parameters;
and sequencing the orders to be distributed according to the sequencing parameters to obtain a sequenced target order set.
Optionally, the sorting unit is configured to:
acquiring the quantity of goods in each order to be distributed;
and determining a quantity parameter of the goods in each order to be distributed according to the quantity of the goods in each order to be distributed, wherein the quantity parameter of the goods is reduced along with the increase of the quantity of the goods in the order to be distributed.
Optionally, the inventory distribution unit is configured to:
taking out the order to be distributed which is sorted at the top in the target order set without being put back as a first target order;
acquiring current available inventory information;
judging whether the current available inventory information meets a first target order;
and if the current available stock information meets the first target order, allocating stock for the first target order, and updating the current available stock information.
Optionally, the inventory distribution unit is configured to:
and if the current available stock information does not meet the first target order, putting the first target order into a preset order set, and keeping the current available stock information.
Optionally, the inventory allocation unit is configured to:
when the target order set is an empty set, taking out the order with the highest rank in the preset order set as a second target order without putting back the order;
determining future inventory information within a preset number of days in the future according to the current available inventory information and the goods warehousing information within the preset number of days in the future of the delivery date of the second target order;
judging whether the second target order meets future inventory information;
and if the second target order meets the future inventory information, allocating inventory for the second target order and updating the current available inventory information.
In a third aspect, the present application provides a computer device comprising:
one or more processors;
a memory; and
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the method of stock allocation of goods of any of the first aspects.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor to perform the steps of the stock allocation method of any one of the first aspects.
The application provides a goods stock distribution method and a device, and the goods stock distribution method comprises the following steps: acquiring the current remaining delivery time length and a plurality of historical delivery time lengths of goods in an order to be distributed; fitting a plurality of historical delivery durations of the goods to obtain a cumulative distribution function of the delivery durations of the goods; determining a delivery time parameter of goods in the order to be distributed according to the current residual delivery time and the cumulative distribution function of the delivery time, wherein the delivery time parameter is reduced along with the increase of the current residual delivery time; sorting the orders to be distributed according to delivery duration parameters of goods in the orders to be distributed to obtain a sorted target order set; and carrying out inventory distribution on the target order set. On one hand, the orders to be distributed are sorted and distributed in stock according to the delivery time length parameters, the shorter the residual delivery time length is, the larger the delivery time length parameters are, the more possible the orders are arranged in front for stock distribution, so that the stock can preferentially meet the orders with short delivery time, the goods can be discharged out of the stock as soon as possible, and the stock turnover period is reduced; on the other hand, the delivery time length parameter is obtained according to a delivery time length accumulated distribution function obtained by fitting a plurality of historical delivery time lengths, the position of the current residual delivery time length in the historical delivery time length can be accurately reflected, and the relation between the delivery time length parameter and the current residual delivery time length can be more accurately reflected, so that the delivery time length parameter and the current residual delivery time length are more reasonably sorted and distributed, and the stock turnover period is further reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic view of a scenario of a goods inventory distribution system provided by an embodiment of the present application;
FIG. 2 is a schematic flow diagram of one embodiment of a method of allocating inventory of goods provided in embodiments of the present application;
FIG. 3 is a schematic flow chart diagram illustrating one embodiment of inventory allocation for a target order set in the inventory allocation method for goods provided in the embodiments of the present application;
FIG. 4 is a schematic structural view of one embodiment of a stock dispensing device for goods as provided in embodiments of the present application;
fig. 5 is a schematic structural diagram of an embodiment of a computer device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like indicate orientations or positional relationships based on those shown in the drawings, and are used merely for convenience of description and for simplicity of description, and do not indicate or imply that the referenced device or element must have a particular orientation, be constructed in a particular orientation, and be operated, and thus should not be considered as limiting the present application. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more features. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
In this application, the word "exemplary" is used to mean "serving as an example, instance, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is presented to enable any person skilled in the art to make and use the application. In the following description, details are set forth for the purpose of explanation. It will be apparent to one of ordinary skill in the art that the present application may be practiced without these specific details. In other instances, well-known structures and processes are not set forth in detail in order to avoid obscuring the description of the present application with unnecessary detail. Thus, the present application is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
Embodiments of the present application provide a method and an apparatus for allocating goods inventory, which are described in detail below.
Referring to fig. 1, fig. 1 is a schematic view of a scenario of a goods inventory distribution system according to an embodiment of the present application, where the goods inventory distribution system may include a computer device 100, and a goods inventory distribution device is integrated in the computer device 100.
In this embodiment, the computer device 100 may be an independent server, or may be a server network or a server cluster composed of servers, for example, the computer device 100 described in this embodiment includes, but is not limited to, a computer, a network host, a single network server, a plurality of network server sets, or a cloud server composed of a plurality of servers. Among them, the Cloud server is constituted by a large number of computers or web servers based on Cloud Computing (Cloud Computing).
In the embodiment of the present application, the computer device 100 may be a general-purpose computer device or a special-purpose computer device. In a specific implementation, the computer device 100 may be a desktop computer, a laptop computer, a web server, a Personal Digital Assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, a communication device, an embedded device, and the like, and the embodiment does not limit the type of the computer device 100.
Those skilled in the art will appreciate that the application environment shown in fig. 1 is only one application scenario of the present application, and does not constitute a limitation on the application scenario of the present application, and that other application environments may further include more or less computer devices than those shown in fig. 1, for example, only 1 computer device is shown in fig. 1, and it is understood that the goods inventory distribution system may further include one or more other computer devices capable of processing data, and is not limited herein.
In addition, as shown in fig. 1, the goods inventory distribution system may further include a memory 200 for storing data.
It should be noted that the scenario diagram of the goods inventory allocation system shown in fig. 1 is only an example, and the goods inventory allocation system and the scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application.
First, an embodiment of the present application provides a method for allocating a stock of goods, including: acquiring the current residual delivery time length and a plurality of historical delivery time lengths of goods in an order to be distributed; fitting a plurality of historical delivery durations of the goods to obtain a cumulative distribution function of the delivery durations of the goods; determining a delivery time length parameter of goods in the order to be distributed according to the current residual delivery time length and the cumulative distribution function of the delivery time length, wherein the delivery time length parameter is reduced along with the increase of the current residual delivery time length; sorting the orders to be distributed according to delivery time length parameters of goods in the orders to be distributed to obtain a sorted target order set; and performing inventory distribution on the target order set.
Referring to fig. 2, fig. 2 is a schematic flow chart of an embodiment of the goods inventory allocation method provided in the embodiment of the present application, and as shown in fig. 2, the goods inventory allocation method includes the following steps S201 to S205:
s201, obtaining the current remaining delivery time length and a plurality of historical delivery time lengths of goods in the to-be-distributed order.
In the embodiment of the application, the order to be distributed can be read from the order system. The order to be allocated may include a delivery time, a current remaining delivery time, a quantity of items in the order, a profit margin of the items in the order, and the like. A plurality of historical delivery times for the item may be read from the stored historical data.
S202, fitting is carried out on a plurality of historical delivery durations of the goods, and a cumulative distribution function of the delivery durations of the goods is obtained.
In one specific embodiment, the cumulative distribution function of delivery times is a cumulative distribution function of an exponential distribution. In probability theory and statistics, exponential distribution (Exponential distribution) is a kind of continuous probability distribution. An exponential distribution is a probability distribution that describes the time between events in a poisson process, i.e., a process in which events occur continuously and independently at a constant average rate. It is a continuous simulation of the geometric distribution, which has the key property of no memory. In addition to being used to analyze the poisson process, it may be found in a variety of other environments. The exponential distribution may be used to represent the time intervals at which independent random events occur, such as the time intervals at which passengers enter airports, the time intervals at which new entries in the chinese wikipedia appear, and so on. The exponential distribution enables an accurate description of the distribution of delivery durations. Of course, in other embodiments, other cumulative distribution functions may be used, and are not limited herein.
The Cumulative Distribution Function (also called Distribution Function) is an integral of the probability density Function, and can completely describe the probability Distribution of a real random variable X. Generally labeled as upper case CDF. Cumulative distribution function representation: for discrete variables, the sum of the probabilities of occurrence of all values less than or equal to a.
S203, determining delivery time length parameters of goods in the order to be distributed according to the current residual delivery time length and the cumulative distribution function of the delivery time lengths.
Wherein the delivery time length parameter decreases with increasing current remaining delivery time length. The delivery duration parameter decreases with increasing current remaining delivery duration. The shorter the current remaining delivery time is, the larger the delivery time parameter is, the more likely the order is to be arranged in front for inventory distribution, so that the inventory can preferentially meet the order with short delivery time, the goods can be taken out of the inventory as soon as possible, and the inventory turnover period is reduced.
In a specific embodiment, determining the delivery time parameter of the goods in the order to be allocated according to the current remaining delivery time and the cumulative delivery time distribution function comprises:
(1) And determining a plurality of delivery time length ranges corresponding to the preset quantiles ranges according to the delivery time length accumulated distribution function and the preset quantiles ranges.
And inputting the two endpoint values of the delivery time length range as random variables into the delivery time length accumulative distribution function to obtain the two endpoint values corresponding to the preset quantile range.
Quantiles (quantiles), also called quantiles, refer to numerical points that divide the probability distribution range of a random variable into several equal parts, and there are commonly used median (i.e., binary), quartile, percentile, and the like. Wherein, a plurality of preset quantiles ranges can be set according to specific situations. For example, the plurality of preset quantile ranges are (0, 20% ], (20%, 40% ], (40%, 60% ], (60, 80% ], (80, 100% ]. The plurality of preset quantile ranges correspond to delivery time length ranges of (0, 1.41], (1.41, 3.22], (3.22, 5.77], (5.77, 10.14], (10.14, 1000), respectively.
(2) A delivery time length parameter of the item in the order to be distributed is determined based on a current remaining delivery time length of the item and a plurality of delivery time length ranges.
In the embodiment of the application, the corresponding relation between the plurality of delivery time length ranges and the delivery time length parameters is obtained, wherein the corresponding relation between the plurality of preset quantiles ranges and the delivery time length parameters is preset, and the corresponding relation between the plurality of delivery time length ranges and the delivery time length parameters is determined according to the corresponding relation between the plurality of preset quantiles ranges and the delivery time length parameters. For example, the correspondence relationship of the plurality of delivery time length ranges and the delivery time length parameters includes: the method comprises the steps of setting a preset quantile range to be (0, 20% ], setting a corresponding delivery time range to be (0, 1.41], setting a corresponding delivery time parameter to be 5, setting a preset quantile range to be (20%, 40% ]), setting a corresponding delivery time range to be (1.41, 3.22], setting a corresponding delivery time parameter to be 4, and setting a plurality of preset quantile ranges to be unchanged, wherein if a cumulative distribution function of the delivery time changes, the plurality of delivery time ranges correspondingly change, and the obtained delivery time range is closer to the delivery time distribution characteristic of goods.
S204, sequencing the orders to be distributed according to delivery duration parameters of goods in the orders to be distributed to obtain a sequenced target order set.
In the embodiment of the present application, sorting orders to be distributed according to delivery duration parameters of goods in each order to be distributed to obtain a sorted target order set, including:
(1) And acquiring preset order parameter information of each order to be distributed and preset parameter weight of each parameter.
The preset order parameter information comprises at least one of a goods quantity parameter, a goods profit parameter, a user type parameter and an order type parameter.
In a specific embodiment, the obtaining preset order parameter information of each order to be allocated and preset parameter weights of each parameter includes: acquiring the quantity of goods in each order to be distributed; and determining a quantity of goods parameter in each order to be distributed according to the quantity of the goods in each order to be distributed, wherein the quantity of the goods parameter is reduced along with the increase of the quantity of the goods in the order to be distributed. Orders with small quantity of goods in each order to be allocated are assigned with larger quantity of goods parameters. The smaller the quantity of goods is, the easier the goods quantity is to meet, the larger the corresponding quantity parameter of the goods is, and finally the sequencing position of the order to be distributed is closer to the front, so that the stock distribution is preferentially carried out, and the order meeting rate is improved. Wherein order satisfaction rate = order satisfaction/total amount of orders.
In a specific embodiment, the obtaining preset order parameter information of each order to be allocated and preset parameter weights of each parameter includes: the method comprises the steps of obtaining the maximum historical profit rate and the minimum historical profit rate of goods in each to-be-distributed order, equally dividing the interval between the maximum historical profit rate and the minimum historical profit rate into a plurality of profit rate intervals, and determining goods profit parameters according to the profit rate intervals, corresponding profit rate parameters and the goods profit rates of the to-be-distributed orders. Wherein the goods profit parameter increases as the goods profit margin increases. For example, the maximum historical profit margin and the minimum historical profit margin of the goods in each order to be distributed are equally divided into 5 profit margin intervals, and 1, 2, 3, 4 and 5 parameter values are sequentially assigned, wherein the higher the profit margin of the goods is, the higher the profit margin parameter is.
The order type parameters are divided into important large customer (FIB) orders, random procurement (FAB Repeat) orders, repeat procurement (FAB Random) orders, and other orders. The 4 types of orders respectively correspond to different order type parameters, for example, the order type parameters of an important large customer (FIB) order, a Random procurement type (FAB Repeat) order, a Repeat procurement type (FAB Random) order and other orders are respectively 5,3, 2 and 1 parameter values. Order type parameters for different types of orders may be determined based on the particular needs.
The user type parameters include important customers, loyal customers, new users (customers not in the historical order form), and random procurement class customers. Specifically, the customers can be subdivided through the RFM model into important customers, loyal customers, new users (customers not in the historical order list), and random procurement class customers. The RFM model is an important tool and means to measure customer value and customer profitability. Among the numerous Customer Relationship Management (CRM) analytical models, the RFM model is widely mentioned. For example, the user type parameters for important customers, loyal customers, new users (customers not in the historical order form), and random procurement class customers correspond to the 5,4, 3, and 2 parameter values, respectively.
In the embodiment of the present application, the preset parameter weight of each parameter may be preset. For example, the preset order parameter information includes a quantity of goods parameter, a profit of goods parameter, a user type parameter, and an order type parameter. The weight of the preset parameter corresponding to the goods quantity parameter is 0.15; the weight of a preset parameter corresponding to the profit parameter of the goods is 0.1; the weight of a preset parameter corresponding to the user type parameter is 0.3; the preset parameter weight corresponding to the order type parameter is 0.3, and the preset parameter weight corresponding to the delivery duration parameter is 0.15.
(2) And carrying out weighted average on the preset order parameter information and the delivery duration parameter according to the preset parameter weight to obtain a sequencing parameter.
In a specific embodiment, the relationship between the sorting parameter Total point and the order type parameter Point _ FIB, the user type parameter Point _ customer, the quantity of goods parameter Point _ amount, the profit of goods parameter Point _ Fit _ rate, and the delivery duration parameter Point _ left _ days is shown in formula (1),
Figure BDA0003232314030000111
(3) And sequencing the orders to be distributed according to the sequencing parameters to obtain a sequenced target order set.
Specifically, the orders to be distributed are sorted according to the sorting parameters from large to small to obtain a sorted target order set.
And S205, carrying out inventory distribution on the target order set.
Specifically, the orders in the target order set are sequentially subjected to inventory matching according to the sorting parameters to obtain an inventory distribution result.
Referring to fig. 3, fig. 3 is a schematic flow chart illustrating an embodiment of stock allocation to a target order set in the goods stock allocation method provided in the embodiment of the present application.
As shown in FIG. 3, in one particular embodiment, the inventory allocation is performed on the target order set, including S301-S309:
s301, the order to be distributed which is sorted at the top in the target order set is not put back and taken out as the first target order.
Specifically, the order to be allocated which is sorted at the top in the target order set is taken out each time and is not put back in the target order set, so that the first target order is obtained. Orders in the target order set are gradually reduced to an empty set.
S302, obtaining the current available inventory information.
In a specific embodiment, obtaining the currently available inventory information includes: acquiring inventory information in a warehouse and inventory information in transit; and determining the current available inventory information according to the inventory information in the inventory and the inventory information in transit. The in-store inventory information is the inventory of the goods currently stored in the warehouse and can be sent out at any time, and the in-store inventory information comprises the inventory quantity of the goods in the warehouse and the time of arrival of the goods in the warehouse at a user. The in-transit inventory information is the quantity of in-transit inventory of items in transit and the time of arrival at the user. And merging the inventory information in the warehouse and the inventory information in transit to determine the inventory information which is currently available. For example, the warehouse may be classified into a domestic warehouse and a foreign warehouse, and the domestic and foreign warehouses are classified according to their transportation time. If the warehouse is a domestic warehouse, the warehousing time plus 7 days of transportation time can be assumed as the time for reaching the user; in the case of a foreign warehouse, the warehousing time +56 days of transportation time is assumed as the time of the user client. Because the user does not want to deliver the order immediately but at a future day although the order is made, the order can be matched with the order delivered in the future by using the in-use stock, the occupied stock of the order delivered in the future is reduced, and the order satisfaction rate is improved.
S303, judging whether the current available inventory information meets the first target order.
Specifically, the delivery date and the quantity of the goods of the first target order are obtained, whether the quantity of the goods is larger than the quantity of the goods which can reach the user before the delivery date of the current available stock information is judged, if not, the current available stock information is judged to meet the first target order, and S304 is executed; if yes, the current available inventory information is judged not to meet the first target order, and step S305 is executed.
S304, allocating the inventory for the first target order and updating the current available inventory information.
Specifically, if it is determined that the currently available stock information satisfies the first target order, the item of the first target order is deducted from the currently available stock information to update the currently available stock information, and the process returns to step S301.
S305, putting the first target order into a preset order set, and keeping the current available inventory information.
Specifically, if it is determined that the current available inventory information does not satisfy the first target order, the first target order is placed in a preset order set for the next round of inventory matching, at this time, inventory allocation is not performed on the first target order, the current available inventory information is kept unchanged, and the process returns to step S301.
And S306, when the target order set is an empty set, taking out the order with the highest rank in the preset order set without replacing the order as a second target order.
When the target order set is an empty set, the target order set indicates that all orders to be distributed which can be met in the target order set have finished stock distribution, secondary stock distribution can be carried out, and orders which can be met in a delayed mode are selected.
S307, determining the future stock information in the preset number of days in the future according to the current available stock information and the goods warehousing information in the preset number of days in the future of the delivery date of the second target order.
Specifically, the preset number of days in the future may be 1 day, two days, etc., and is set according to specific situations. The current available inventory information and the goods warehousing information of the second target order within a preset number of days in the future of the delivery date can be merged to obtain the future inventory information. The future inventory information includes a future inventory quantity of the item and a time of arrival at the user.
S308, judging whether the second target order meets the future inventory information.
Specifically, a delivery date and a quantity of goods of the second target order are obtained, whether the quantity of goods is larger than the quantity of goods of which the future stock information can reach the user before the delivery date is judged, if not, the future stock information is judged to meet the second target order, and the second target order is an order which is delayed to meet, and S309 is executed; if the future inventory information is larger than the first target order, judging that the future inventory information does not meet the second target order, and determining that the second target order is an order which cannot be met.
S309, distributing the inventory for the second target order, and updating the current available inventory information.
Specifically, if the second target order satisfies the future inventory information and the second target order is a delayed order, the inventory is allocated for the second target order, the current available inventory information is updated, and the step returns to step S306.
Further, when the preset order set is empty, outputting a stock distribution result, wherein the stock distribution result comprises satisfied orders, orders delayed to be satisfied, orders incapable to be satisfied and updated current available stock information.
In order to better implement the method for distributing the goods inventory in the embodiment of the present application, on the basis of the method for distributing the goods inventory, there is provided a device for distributing the goods inventory in the embodiment of the present application, as shown in fig. 4, the device 400 for distributing the goods inventory includes:
an obtaining unit 401, configured to obtain a current remaining delivery time length and a plurality of historical delivery time lengths of goods in an order to be allocated;
a fitting unit 402, configured to fit a plurality of historical delivery durations of the goods to obtain a cumulative distribution function of the delivery durations of the goods;
a parameter determining unit 403 for determining a delivery time length parameter of the goods in the order to be distributed according to the current remaining delivery time length and the cumulative distribution function of the delivery time lengths, wherein the delivery time length parameter decreases with the increase of the current remaining delivery time length;
a sorting unit 404, configured to sort the orders to be distributed according to delivery duration parameters of the goods in each order to be distributed, so as to obtain a sorted target order set;
an inventory allocation unit 405 for allocating inventory to the target order set.
Optionally, the parameter determining unit 403 is configured to:
determining a plurality of delivery time length ranges corresponding to the plurality of preset quantiles ranges according to the delivery time length accumulated distribution function and the plurality of preset quantiles ranges;
a delivery time length parameter of the goods in the order to be allocated is determined according to a current remaining delivery time length of the goods and a plurality of delivery time length ranges.
Optionally, the sorting unit 404 is configured to:
acquiring preset order parameter information of each order to be distributed and preset parameter weight of each parameter, wherein the preset order parameter information comprises at least one of a goods quantity parameter, a goods profit parameter, a user type parameter and an order type parameter;
carrying out weighted average on preset order parameter information and delivery duration parameters according to preset parameter weight to obtain sequencing parameters;
and sequencing the orders to be distributed according to the sequencing parameters to obtain a sequenced target order set.
Optionally, the sorting unit 404 is configured to:
acquiring the quantity of goods in each order to be distributed;
and determining the quantity parameter of the goods in each order to be distributed according to the quantity of the goods in each order to be distributed, wherein the quantity parameter of the goods is reduced along with the increase of the quantity of the goods in the order to be distributed.
Optionally, an inventory allocation unit 405 for:
taking out the order to be distributed which is the most front in the target order set without putting back the order to be distributed as a first target order;
acquiring current available inventory information;
judging whether the current available inventory information meets a first target order;
and if the current available inventory information meets the first target order, allocating inventory for the first target order, and updating the current available inventory information.
Optionally, an inventory allocation unit 405 for:
and if the current available inventory information does not meet the first target order, putting the first target order into a preset order set, and keeping the current available inventory information.
Optionally, an inventory allocation unit 405 for:
when the target order set is an empty set, taking out the order with the highest sequence in the preset order set without putting back the order as a second target order;
determining future inventory information within a preset number of days in the future according to the current available inventory information and the goods warehousing information within the preset number of days in the future of the delivery date of the second target order;
judging whether the second target order meets the future inventory information;
if the second target order satisfies the future inventory information, then the second target order is allocated inventory and the current available inventory information is updated.
An embodiment of the present application further provides a computer device, which integrates any one of the goods inventory allocation devices provided in the embodiment of the present application, and the computer device includes:
one or more processors;
a memory; and
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor for steps in the item inventory allocation method in any of the above-described item inventory allocation method embodiments.
Fig. 5 is a schematic diagram showing a structure of a computer device according to an embodiment of the present application, specifically:
the computer device may include components such as a processor 501 of one or more processing cores, memory 502 of one or more computer-readable storage media, a power supply 503, and an input unit 504. Those skilled in the art will appreciate that the computer device configurations illustrated in the figures are not meant to be limiting of computer devices and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. Wherein:
the processor 501 is a control center of the computer device, connects various parts of the entire computer device by using various interfaces and lines, and performs various functions of the computer device and processes data by running or executing software programs and/or modules stored in the memory 502 and calling data stored in the memory 502, thereby monitoring the computer device as a whole. Optionally, processor 501 may include one or more processing cores; the Processor 501 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, and preferably the processor 501 may integrate an application processor, which handles primarily the operating system, user interface, application programs, etc., and a modem processor, which handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 501.
The memory 502 may be used to store software programs and modules, and the processor 501 executes various functional applications and data processing by operating the software programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the computer device, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 501 with access to the memory 502.
The computer device further comprises a power supply 503 for supplying power to the various components, and preferably, the power supply 503 may be logically connected to the processor 501 through a power management system, so that functions of managing charging, discharging, power consumption, and the like are realized through the power management system. The power supply 503 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The computer device may also include an input unit 504, and the input unit 504 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the computer device may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 501 in the computer device loads the executable file corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 501 runs the application programs stored in the memory 502, so as to implement various functions as follows:
acquiring the current remaining delivery time length and a plurality of historical delivery time lengths of goods in an order to be distributed;
fitting a plurality of historical delivery durations of the goods to obtain a cumulative distribution function of the delivery durations of the goods;
determining a delivery time parameter of goods in the order to be distributed according to the current residual delivery time and the cumulative distribution function of the delivery time, wherein the delivery time parameter is reduced along with the increase of the current residual delivery time;
sorting the orders to be distributed according to delivery time length parameters of goods in the orders to be distributed to obtain a sorted target order set;
and performing inventory distribution on the target order set.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer-readable storage medium, which may include: read Only Memory (ROM), random Access Memory (RAM), magnetic or optical disks, and the like. Stored thereon, is a computer program that is loaded by a processor to perform the steps of any of the methods of stock allocation of goods provided by the embodiments of the present application. For example, the computer program may be loaded by a processor to perform the steps of:
acquiring the current remaining delivery time length and a plurality of historical delivery time lengths of goods in an order to be distributed;
fitting a plurality of historical delivery durations of the goods to obtain a cumulative distribution function of the delivery durations of the goods;
determining a delivery time length parameter of goods in the order to be distributed according to the current residual delivery time length and the cumulative distribution function of the delivery time length, wherein the delivery time length parameter is reduced along with the increase of the current residual delivery time length;
sorting the orders to be distributed according to delivery duration parameters of goods in the orders to be distributed to obtain a sorted target order set;
and carrying out inventory distribution on the target order set.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed descriptions of other embodiments, which are not described herein again.
In specific implementation, each unit or structure may be implemented as an independent entity, or may be combined arbitrarily to be implemented as the same entity or several entities, and specific implementation of each unit or structure may refer to the foregoing method embodiment, which is not described herein again.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
The above detailed description is made on the goods inventory allocation method and device provided by the embodiment of the present application, and a specific example is applied in the description to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method of goods inventory allocation, characterized in that the method of goods inventory allocation comprises:
acquiring the current residual delivery time length and a plurality of historical delivery time lengths of goods in an order to be distributed;
fitting a plurality of historical delivery durations of the goods to obtain a cumulative distribution function of the delivery durations of the goods;
determining a delivery time parameter of goods in the order to be distributed according to the current residual delivery time and the cumulative distribution function of the delivery time, wherein the delivery time parameter is reduced along with the increase of the current residual delivery time;
sequencing the orders to be distributed according to delivery duration parameters of goods in the orders to be distributed to obtain a sequenced target order set;
and performing inventory distribution on the target order set.
2. The stock distribution method of the goods as claimed in claim 1, wherein said determining the delivery time length parameter of the goods in the order to be distributed from the current remaining delivery time length and the cumulative distribution function of the delivery time lengths comprises:
determining a plurality of delivery time length ranges corresponding to a plurality of preset quantiles ranges according to the delivery time length accumulated distribution function and the preset quantiles ranges;
a delivery time length parameter of the item in the order to be allocated is determined based on the current remaining delivery time length of the item and the plurality of delivery time length ranges.
3. The method for allocating inventory of goods according to claim 1 or 2, wherein the sorting the orders to be allocated according to delivery time parameters of the goods in the respective orders to be allocated to obtain a sorted target order set comprises:
acquiring preset order parameter information of each order to be distributed and preset parameter weight of each parameter, wherein the preset order parameter information comprises at least one of a goods quantity parameter, a goods profit parameter, a user type parameter and an order type parameter;
carrying out weighted average on preset order parameter information and delivery duration parameters according to preset parameter weight to obtain sequencing parameters;
and sequencing the orders to be distributed according to the sequencing parameters to obtain a sequenced target order set.
4. The method for distributing the stock of goods according to claim 3, wherein the obtaining of the preset order parameter information of each order to be distributed and the preset parameter weight of each parameter comprises:
acquiring the quantity of goods in each order to be distributed;
and determining a quantity parameter of the goods in each order to be distributed according to the quantity of the goods in each order to be distributed, wherein the quantity parameter of the goods is reduced along with the increase of the quantity of the goods in the order to be distributed.
5. The method of stock distribution of goods according to claim 4, wherein said stock distribution of said target order set comprises:
taking out the order to be distributed which is sorted at the top in the target order set without being put back as a first target order;
acquiring current available inventory information;
judging whether the current available inventory information meets a first target order;
and if the current available inventory information meets the first target order, allocating inventory for the first target order, and updating the current available inventory information.
6. The goods inventory allocation method according to claim 5, characterized in that the goods inventory allocation method further comprises:
and if the current available stock information does not meet the first target order, putting the first target order into a preset order set, and keeping the current available stock information.
7. The method of distributing the stock of goods as claimed in claim 6, characterized in that it further comprises:
when the target order set is an empty set, the order with the highest ranking in the preset order set is not put back and taken out as a second target order;
determining future inventory information within a preset number of days in the future according to the current available inventory information and the goods warehousing information within the preset number of days in the future of the delivery date of the second target order;
judging whether the second target order meets future inventory information;
if the second target order satisfies the future inventory information, allocating inventory for the second target order and updating the current available inventory information.
8. A stock dispensing device for goods, characterized in that it comprises:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the current residual delivery time length and a plurality of historical delivery time lengths of goods in an order to be distributed;
the fitting unit is used for fitting a plurality of historical delivery durations of the goods to obtain a cumulative distribution function of the delivery durations of the goods;
a parameter determining unit, configured to determine a delivery time parameter of the goods in the order to be allocated according to the current remaining delivery time and the cumulative distribution function of the delivery time, where the delivery time parameter decreases as the current remaining delivery time increases;
the ordering unit is used for ordering the orders to be distributed according to delivery time length parameters of goods in the orders to be distributed to obtain an ordered target order set;
and the inventory distribution unit is used for carrying out inventory distribution on the target order set.
9. A computer device, characterized in that the computer device comprises:
one or more processors;
a memory; and
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the item inventory distribution method of any of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon a computer program which is loaded by a processor for performing the steps of the goods inventory allocation method according to any one of claims 1 to 7.
CN202110990649.2A 2021-08-26 2021-08-26 Goods stock distribution method and device Pending CN115730888A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110990649.2A CN115730888A (en) 2021-08-26 2021-08-26 Goods stock distribution method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110990649.2A CN115730888A (en) 2021-08-26 2021-08-26 Goods stock distribution method and device

Publications (1)

Publication Number Publication Date
CN115730888A true CN115730888A (en) 2023-03-03

Family

ID=85290105

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110990649.2A Pending CN115730888A (en) 2021-08-26 2021-08-26 Goods stock distribution method and device

Country Status (1)

Country Link
CN (1) CN115730888A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117236632A (en) * 2023-10-08 2023-12-15 常州同泰生物药业科技股份有限公司 Material management and control method for rabies vaccine production line

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117236632A (en) * 2023-10-08 2023-12-15 常州同泰生物药业科技股份有限公司 Material management and control method for rabies vaccine production line

Similar Documents

Publication Publication Date Title
Chen et al. A tabu search algorithm for the relocation problem in a warehousing system
CN103971170B (en) The method and apparatus that a kind of change being used for characteristic information is predicted
CN111126903A (en) Replenishment method, device and system
CN110633928A (en) Commodity inverse matching decision method and device
CN114118503A (en) Supply chain inventory optimization method, device, equipment and storage medium
US11687875B2 (en) Distribution-independent inventory approach under multiple service level targets
CN113869831A (en) Intelligent storage position allocation method and device and readable storage medium
WO2023005653A1 (en) Article allocation method and apparatus
Cardona et al. How to determine slot sizes in a unit-load warehouse
CN114926305A (en) Electric power material management and control method and device, computer equipment and storage medium
CN115730888A (en) Goods stock distribution method and device
Seo et al. Rebalancing docked bicycle sharing system with approximate dynamic programming and reinforcement learning
Dominey et al. Performance of approximations for compound Poisson distributed demand in the newsboy problem
CN114219397A (en) Inventory management method, device, equipment and storage medium
JP2020175977A (en) Article arrangement optimization system and method
CN113780611A (en) Inventory management method and device
CN112784212B (en) Inventory optimization method and device
CN111768246A (en) Data processing method, model establishing device and electronic equipment
CN113762814B (en) Article warehousing method and device
CN115689454A (en) Method and device for determining service site, electronic equipment and storage medium
CN115809713A (en) Training method of express delivery prediction model, and prediction method and device of express delivery amount
CN113343166A (en) Logistics inventory management system based on discrete event simulation
CN114065018A (en) Commodity popularity determination method and device, electronic equipment and computer readable storage medium
CN112396360A (en) Tallying method and device for multi-cargo mixed storage
CN112837001A (en) Logistics network planning method and device and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination