Disclosure of Invention
In order to generate a purchasing list more reasonably, the application provides a digital material management method and a digital material management system.
In a first aspect, the present application provides a digital material management method, which adopts the following technical scheme:
A digital material management method, comprising:
when a new order is received, determining target ex-warehouse quantities corresponding to a plurality of materials in the new order based on the new order; for the same material, obtaining a total target delivery amount corresponding to the material based on the target delivery amounts corresponding to all the new orders;
Acquiring a historical warehouse-out record of the material; and determining a consumption rate of the material based on the historical shipment record and the total target shipment amount;
And acquiring the purchasing time of the next purchasing, and determining a purchasing list based on the purchasing time and the consumption speed corresponding to all the materials.
By adopting the technical scheme, when a new order is received, the target delivery quantity corresponding to each of a plurality of materials in the new order is determined based on the new order, so as to determine the quantity of each material in the warehouse to be reduced; determining, for the same material, a total target inventory of the material based on the amount that all new orders will decrease for the material, to determine a total amount that the material will decrease, thereby correlating both inventory and material inventory; after the historical ex-warehouse records of the materials are obtained, determining the consumption speed of the materials based on the historical ex-warehouse records and the total number of the materials to be reduced; the purchasing time of the next purchasing is obtained, the relationship between the stock condition and the material warehouse entry is constructed through the purchasing time and the consumption speed corresponding to the material, and the purchasing list can be obtained more reasonably based on the relationship between the stock condition and the material warehouse entry.
The present application may be further configured in a preferred example to:
The history delivery record comprises a plurality of history delivery dates corresponding to the materials and the history delivery quantity corresponding to each of the plurality of history delivery dates,
Determining a consumption rate of the material based on the historical shipment record and the total target shipment amount, comprising:
acquiring a current date, and determining a theoretical delivery period corresponding to the material based on the current date and the plurality of historical delivery dates; determining a plurality of theoretical delivery times based on the current date and the theoretical delivery period, wherein the interval time between adjacent theoretical delivery times is the theoretical delivery period;
Determining sub-consumption speeds corresponding to the theoretical delivery times based on the historical delivery dates and the historical delivery amounts corresponding to the historical delivery dates;
and calculating based on the sub consumption speeds corresponding to the theoretical delivery times respectively to obtain the consumption speed.
By adopting the technical scheme, the current date is obtained, after the theoretical delivery period corresponding to the material is determined based on the current date and the plurality of historical delivery dates, the plurality of theoretical delivery times are determined based on the current date and the theoretical delivery period, and the sub-consumption speeds corresponding to the plurality of theoretical delivery times are determined based on the plurality of historical delivery dates and the historical delivery amounts corresponding to the plurality of historical delivery dates respectively, so that the demand degree of different time periods for the material is obtained; based on the extent of demand for the material for different time periods, a more accurate consumption rate is obtained that is capable of characterizing the material.
The present application may be further configured in a preferred example to:
determining a sub-consumption rate corresponding to each of the plurality of theoretical delivery times based on the plurality of historical delivery dates and the historical delivery amount corresponding to each of the plurality of historical delivery dates, comprising:
Determining a plurality of historical ex-warehouse date groups in the plurality of historical ex-warehouse dates, wherein each historical ex-warehouse date group comprises two adjacent historical ex-warehouse dates; determining the interval duration and the initial sub-consumption speed corresponding to each of the plurality of historical ex-warehouse date groups;
judging whether a target interval duration exists, wherein the target interval duration is an integer multiple of any interval duration, and the target interval duration is longer than the theoretical delivery period;
If yes, determining at least two theoretical delivery dates corresponding to a historical delivery date group corresponding to each target interval duration; determining the sub-consumption speed corresponding to each of the at least two theoretical delivery dates based on the initial sub-consumption speed corresponding to the target interval duration and the initial sub-consumption speed corresponding to each of the adjacent target interval durations; determining theoretical delivery dates corresponding to the historical delivery date groups according to other historical delivery date groups; and taking the initial sub-consumption speed corresponding to the historical ex-warehouse date group as the sub-consumption speed corresponding to the theoretical ex-warehouse date corresponding to the historical ex-warehouse date group.
By adopting the technical scheme, a plurality of historical ex-warehouse date groups are determined in a plurality of historical ex-warehouse dates, wherein each historical ex-warehouse date group comprises two adjacent historical ex-warehouse dates; determining the interval duration and the initial sub-consumption speed corresponding to each of the plurality of historical ex-warehouse date groups to obtain the interval time between two adjacent purchases and the speed of consuming materials in the interval time; judging whether a target interval duration exists or not to determine whether interval durations far greater than other interval durations exist or not; if interval time length far longer than other interval time length exists, the problem that the sub consumption speed is inaccurate can occur, and the scheme determines more reasonable sub consumption speed based on the target interval time length and initial sub consumption speed corresponding to each adjacent interval time length after determining all theoretical delivery dates corresponding to the target interval time length; aiming at each other historical ex-warehouse date group, taking the initial sub-consumption speed corresponding to the historical ex-warehouse date group as the sub-consumption speed corresponding to the theoretical ex-warehouse date corresponding to the historical ex-warehouse date group; to more accurately determine the sub-consumption rate.
The present application may be further configured in a preferred example to:
The consumption rate includes a peak consumption rate and a valley consumption rate,
Calculating based on the sub consumption speeds corresponding to the theoretical delivery times respectively, to obtain the consumption speed, including: determining a first theoretical delivery time group corresponding to a delivery peak period of a preset material and a second theoretical delivery time group corresponding to a low-valley period of selling the preset material;
Obtaining peak period consumption speed based on the sub consumption speeds respectively corresponding to the theoretical delivery times included in the first theoretical delivery time group;
and obtaining the consumption speed in the valley period based on the sub consumption speeds respectively corresponding to the theoretical delivery times included in the second theoretical delivery time group.
By adopting the technical scheme, it can be understood that fluctuation can exist among different months of vending amount of materials, and the vending amount of the peak period and the low peak period can be more different, and according to the scheme, all theoretical time can be distinguished by determining the first theoretical time group corresponding to the preset material time to leave a warehouse and the second theoretical time group corresponding to the preset material time to leave a warehouse, so that the theoretical time to leave a warehouse in the peak period of sale and selling and the theoretical time to leave a warehouse in the low peak period of sale are determined; and the peak consumption speed and the low peak consumption speed are respectively determined, so that the real consumption speed can be reflected more accurately than the average consumption speed is calculated.
The present application may be further configured in a preferred example to:
determining a purchase list based on the purchase time and the respective consumption speeds of all the materials, including:
determining a target time interval based on the purchase time and the current date;
Obtaining the purchase quantity corresponding to all the materials based on the target time interval and the consumption speed corresponding to all the materials;
And generating a purchase list based on all the materials and the purchase quantity corresponding to all the materials.
By adopting the technical scheme, after the target time interval is determined based on the purchasing time and the current date, the respective purchasing quantity of all the materials is obtained based on the target time interval and the respective consumption speed of all the materials, so that the quantity of each material consumed by the warehouse in the target time interval is used as the quantity of each material to be purchased; and taking the quantity of each material to be purchased as the content in the purchase list so as to realize faster determination of the purchase list.
The present application may be further configured in a preferred example to:
after determining the purchase list based on the purchase time and the respective consumption speeds of all the materials, further comprising: when receiving the warehousing completion information corresponding to the purchase list, acquiring a to-be-ex-warehouse queue, wherein the to-be-ex-warehouse queue comprises a plurality of to-be-ex-warehouse information with ex-warehouse priorities, and the to-be-ex-warehouse information comprises material names and material amounts;
Generating a plurality of new information to be delivered based on the purchase list and the purchase time;
and updating the queue to be delivered based on the plurality of new information to be delivered to the delivery, so as to obtain a new queue to be delivered to the delivery.
By adopting the technical scheme, when the warehouse entry completion information corresponding to the purchase list is received, the materials required in the warehouse are characterized to be complemented, and an old queue to be delivered is obtained so as to determine the delivery sequence of other materials except the warehouse entry materials; based on the purchasing list and purchasing time, determining new information to be delivered corresponding to the materials in storage at this time; based on the new information to be delivered, the queue to be delivered is updated to obtain the new queue to be delivered, so that a plurality of accumulated materials in a warehouse can be avoided, and more reasonable delivery is realized.
In a second aspect, the present application provides a digital material management system, which adopts the following technical scheme:
A digital material management system, comprising:
the system comprises a delivery quantity determining module, a delivery quantity determining module and a delivery quantity determining module, wherein the delivery quantity determining module is used for determining target delivery quantities corresponding to a plurality of materials in a new order based on the new order when the new order is received;
The total delivery amount determining module is used for obtaining the total target delivery amount corresponding to the material based on the target delivery amounts corresponding to all the new orders for the same material;
The consumption speed determining module is used for acquiring a historical ex-warehouse record of the material; and determining a consumption rate of the material based on the historical shipment record and the total target shipment amount;
And the purchasing list generating module is used for acquiring the purchasing time of the next purchasing and determining a purchasing list based on the purchasing time and the consumption speed corresponding to all the materials.
The present application may be further configured in a preferred example to:
The history delivery record comprises a plurality of history delivery dates corresponding to the materials and the history delivery quantity corresponding to each of the plurality of history delivery dates,
The consumption rate determination module, when executing the determination of the consumption rate of the material based on the historical shipment record and the total target shipment amount, is configured to:
acquiring a current date, and determining a theoretical delivery period corresponding to the material based on the current date and the plurality of historical delivery dates; determining a plurality of theoretical delivery times based on the current date and the theoretical delivery period, wherein the interval time between adjacent theoretical delivery times is the theoretical delivery period;
Determining sub-consumption speeds corresponding to the theoretical delivery times based on the historical delivery dates and the historical delivery amounts corresponding to the historical delivery dates;
and calculating based on the sub consumption speeds corresponding to the theoretical delivery times respectively to obtain the consumption speed.
In a third aspect, the present application provides an electronic device, which adopts the following technical scheme:
At least one processor;
A memory;
At least one application program, wherein the at least one application program is stored in the memory and configured to be executed by the at least one processor, the at least one application program configured to: a digital material management method according to any one of the first aspects is performed.
In a fourth aspect, the present application provides a computer readable storage medium, which adopts the following technical scheme:
a computer readable storage medium having stored thereon a computer program which, when executed in a computer, causes the computer to perform the digitized material management method of any one of the first aspects.
In summary, the application at least comprises the following beneficial technical effects:
When a new order is received, determining the target ex-warehouse quantity corresponding to each of a plurality of materials in the new order based on the new order so as to determine the quantity of each material in the warehouse to be reduced; determining, for the same material, a total target inventory of the material based on the amount that all new orders will decrease for the material, to determine a total amount that the material will decrease, thereby correlating both inventory and material inventory; after the historical ex-warehouse records of the materials are obtained, determining the consumption speed of the materials based on the historical ex-warehouse records and the total number of the materials to be reduced; the purchasing time of the next purchasing is obtained, the relationship between the stock condition and the material warehouse entry is constructed through the purchasing time and the consumption speed corresponding to the material, and the purchasing list can be obtained more reasonably based on the relationship between the stock condition and the material warehouse entry.
Detailed Description
The present application will be described in further detail with reference to fig. 1 to 3.
The present embodiment is merely illustrative of the present application and is not intended to limit the present application, and those skilled in the art, after having read the present specification, may make modifications to the present embodiment without creative contribution as necessary, but are protected by patent laws within the scope of the present application.
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application are clearly and completely described, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In addition, the term "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In this context, unless otherwise specified, the term "/" generally indicates that the associated object is an "or" relationship.
With the continuous development of fashion industry, apparel enterprises face a strong market competition. In order to improve production efficiency, reduce cost and meet the demands of consumers, material management becomes an indispensable part of clothing enterprises. Apparel material management is described below.
First, regarding material information management: the material information is the basic link of the clothing enterprises. The material information comprises coding rule control, season control, BOM control, process line control, color size control, supplier information, purchasing history, stock condition and the like. The material information management function comprises data input, data inquiry, data analysis, report generation and the like, and through accurate management of material information, enterprises can ensure smooth operation from sales, purchasing, production and delivery, meanwhile, the working efficiency of staff is improved, and disorder of material information is avoided.
Secondly, regarding inventory management: inventory management is a core link of material management for apparel enterprises. Inventory management functions include inventory, inventory adjustment, inventory forecasting, inventory optimization, and the like. Through the accurate control to the stock, enterprises can ensure that raw materials and parts required by production are always sufficient, and simultaneously can avoid the occupation and waste of funds caused by stock backlog.
Finally, regarding material quality management: the quality of the material directly affects the quality of the apparel product and the reputation of the enterprise. The material quality management functions include material inspection, quality problem handling, vendor quality control, and the like. Through the strict control of materials, enterprises can ensure that the produced raw materials and parts meet standard requirements, so that the product quality is improved, and the enterprise image is improved.
Embodiments of the application are described in further detail below with reference to the drawings.
The embodiment of the application provides a digital material management method which is executed by electronic equipment, wherein the electronic equipment can be a server or terminal equipment, and the server can be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server for providing cloud computing service. The terminal device may be a smart phone, a tablet computer, a notebook computer, a desktop computer, or the like, but is not limited thereto, and the terminal device and the server may be directly or indirectly connected through a wired or wireless communication manner, as shown in fig. 1, the method includes steps S101 to S104, where:
step S101: when a new order is received, determining the target ex-warehouse quantity corresponding to each of a plurality of materials in the new order based on the new order.
Specifically, after receiving an order, the enterprise uploads the order to the electronic equipment, and the new order at least comprises a plurality of materials needed by the customer and the corresponding required quantity thereof; and after the electronic equipment receives the new order, taking the materials and the required quantity corresponding to the materials as target ex-warehouse quantities corresponding to the materials.
Step S102: and aiming at the same material, obtaining the total target delivery quantity corresponding to the material based on the target delivery quantity corresponding to all new orders.
I represents the order of the order in all new orders, the order corresponding to different new orders is obtained by random arrangement, the target ex-warehouse quantity i is the target ex-warehouse quantity corresponding to the new orders ordered as i, and n is the number of all new orders.
Step S103: acquiring a historical warehouse-out record of a material; and determining the consumption rate of the material based on the historical shipment records and the total target shipment.
The historical ex-warehouse record comprises a plurality of historical ex-warehouse times of the material and ex-warehouse quantities corresponding to the historical ex-warehouse times, wherein the historical ex-warehouse record can be obtained by historical orders. The consumption rate of a material indicates the monthly amount of the material delivered.
Step S104: and acquiring the purchasing time of the next purchasing, and determining a purchasing list based on the purchasing time and the consumption speed corresponding to all the materials.
The purchasing personnel can upload purchasing time through the user side, the user side sends the purchasing time to the electronic equipment, and the electronic equipment receives the time of the next purchasing.
In the embodiment of the application, when a new order is received, the target ex-warehouse quantity corresponding to each of a plurality of materials in the new order is determined based on the new order, so as to determine the quantity of each material in the warehouse to be reduced; determining, for the same material, a total target inventory of the material based on the amount that all new orders will decrease for the material, to determine a total amount that the material will decrease, thereby correlating both inventory and material inventory; after the historical ex-warehouse records of the materials are obtained, determining the consumption speed of the materials based on the historical ex-warehouse records and the total number of the materials to be reduced; the purchasing time of the next purchasing is obtained, the relationship between the stock condition and the material warehouse entry is constructed through the purchasing time and the consumption speed corresponding to the material, and the purchasing list can be obtained more reasonably based on the relationship between the stock condition and the material warehouse entry.
In a possible implementation manner of the embodiment of the present application, the historical ex-warehouse record includes a plurality of historical ex-warehouse dates corresponding to the material and historical ex-warehouse amounts corresponding to the historical ex-warehouse dates, and in step S103, the determining the consumption speed of the material based on the historical ex-warehouse record and the total target ex-warehouse amount may specifically include:
acquiring a current date, and determining a theoretical delivery period corresponding to the material based on the current date and a plurality of historical delivery dates; determining a plurality of theoretical delivery times based on the current date and the theoretical delivery period, wherein the interval time between adjacent theoretical delivery times is the theoretical delivery period;
determining sub-consumption speeds corresponding to the theoretical delivery times based on the historical delivery dates and the historical delivery amounts corresponding to the historical delivery dates;
and calculating based on the sub consumption speeds corresponding to the theoretical delivery times respectively to obtain the consumption speed.
Based on the current date and a plurality of historical delivery dates, determining a theoretical delivery period corresponding to the material may specifically include: determining an earliest delivery date among a plurality of historical delivery dates, and determining a longest time interval between the earliest delivery date and a current date; determining the total number of ex-warehouse, wherein the total number of ex-warehouse is the sum of the number of the historical ex-warehouse dates and the number of the current date; and obtaining a theoretical ex-warehouse period based on the total ex-warehouse times and the longest time interval, wherein the theoretical ex-warehouse period=the longest time interval/the total ex-warehouse times.
The above-mentioned multiple theoretical delivery times can be written as: theoretical delivery time1, …, theoretical delivery timea, wherein the current date is theoretical delivery time1, theoretical delivery timea and theoretical delivery time1 differ by a factor of (a-1) theoretical delivery period.
In the embodiment of the application, a current date is acquired, after a theoretical delivery period corresponding to a material is determined based on the current date and a plurality of historical delivery dates, a plurality of theoretical delivery times are determined based on the current date and the theoretical delivery period, and sub-consumption speeds corresponding to the plurality of theoretical delivery times are determined based on the plurality of historical delivery dates and the historical delivery amounts corresponding to the plurality of historical delivery dates respectively, so that the demand degree of different time periods for the material is obtained; based on the extent of demand for the material for different time periods, a more accurate consumption rate is obtained that is capable of characterizing the material.
In one possible implementation manner of the embodiment of the present application, determining, based on a plurality of historical delivery dates and historical delivery amounts corresponding to the historical delivery dates, a sub consumption speed corresponding to the theoretical delivery times may specifically include: determining a plurality of historical ex-warehouse date groups in a plurality of historical ex-warehouse dates, wherein each historical ex-warehouse date group comprises two adjacent historical ex-warehouse dates; determining the interval duration and the initial sub-consumption speed corresponding to each of the plurality of historical ex-warehouse date groups; judging whether a target interval duration exists, wherein the target interval duration is an integer multiple of any interval duration, and the target interval duration is longer than a theoretical delivery period;
If so, determining at least two theoretical delivery dates corresponding to a historical delivery date group corresponding to the target interval duration for each target interval duration; determining the sub-consumption speed corresponding to each of at least two theoretical delivery dates based on the initial sub-consumption speed corresponding to the target interval duration and the initial sub-consumption speed corresponding to each of the adjacent target interval durations;
Determining theoretical delivery dates corresponding to the historical delivery date groups according to other historical delivery date groups; and taking the initial sub-consumption speed corresponding to the historical ex-warehouse date group as the sub-consumption speed corresponding to the theoretical ex-warehouse date corresponding to the historical ex-warehouse date group.
If not, determining a theoretical delivery date corresponding to each historical delivery date group; and determining the interval duration and the initial sub-consumption speed corresponding to each of the plurality of historical ex-warehouse date groups by using the initial sub-consumption speed corresponding to the historical ex-warehouse date group as the sub-consumption speed corresponding to the theoretical ex-warehouse date corresponding to the historical ex-warehouse date group, wherein the method specifically comprises the following steps: for each historical ex-warehouse date group, determining the number of days between two historical ex-warehouse dates as the interval duration corresponding to the historical ex-warehouse date group; taking the historical ex-warehouse quantity corresponding to the latest historical ex-warehouse date in the historical ex-warehouse date group as a target historical ex-warehouse quantity; based on the target historical ex-warehouse quantity and the interval duration, an initial sub-consumption speed is obtained, wherein the initial sub-consumption speed = the target historical ex-warehouse quantity +..
The determining, based on the initial sub-consumption speed corresponding to the target interval duration and the initial sub-consumption speed corresponding to each adjacent target interval duration, the sub-consumption speed corresponding to each of the at least two theoretical delivery dates may specifically include: determining bias historical dates of at least two theoretical delivery dates, wherein the bias historical dates are historical delivery dates closest to the at least two theoretical delivery dates in two adjacent historical delivery dates; determining the sub-consumption speed corresponding to at least two theoretical ex-warehouse dates based on the initial sub-consumption speed corresponding to the bias history date and the initial sub-consumption speed corresponding to each of two adjacent history ex-warehouse dates of the bias history date, wherein the sub-consumption speed= (initial sub-consumption speed 1+initial sub-consumption speed 2+initial sub-consumption speed 3)/(3), the initial sub-consumption speed 1 is the initial sub-consumption speed corresponding to the bias history date, and the initial sub-consumption speed 2 and the initial sub-consumption speed 3 are the initial sub-consumption speeds corresponding to each of two adjacent history ex-warehouse dates of the bias history date.
In the embodiment of the application, a plurality of historical ex-warehouse date groups are determined in a plurality of historical ex-warehouse dates, wherein each historical ex-warehouse date group comprises two adjacent historical ex-warehouse dates; determining the interval duration and the initial sub-consumption speed corresponding to each of the plurality of historical ex-warehouse date groups to obtain the interval time between two adjacent purchases and the speed of consuming materials in the interval time; judging whether a target interval duration exists or not to determine whether interval durations far greater than other interval durations exist or not; if interval time length far longer than other interval time length exists, the problem that the sub consumption speed is inaccurate can occur, and the scheme determines more reasonable sub consumption speed based on the target interval time length and initial sub consumption speed corresponding to each adjacent interval time length after determining all theoretical delivery dates corresponding to the target interval time length; aiming at each other historical ex-warehouse date group, taking the initial sub-consumption speed corresponding to the historical ex-warehouse date group as the sub-consumption speed corresponding to the theoretical ex-warehouse date corresponding to the historical ex-warehouse date group; to more accurately determine the sub-consumption rate.
In one possible implementation manner of the embodiment of the present application, the consumption speed includes a peak consumption speed and a valley consumption speed, and the calculation is performed based on sub consumption speeds corresponding to a plurality of theoretical delivery times, so as to obtain the consumption speed, which may specifically include:
Determining a first theoretical delivery time group corresponding to a delivery peak period of a preset material and a second theoretical delivery time group corresponding to a low-valley period of selling the preset material;
obtaining peak period consumption speed based on the sub consumption speeds respectively corresponding to the theoretical delivery times included in the first theoretical delivery time group;
and obtaining the consumption speed in the valley period based on the sub-consumption speeds respectively corresponding to the theoretical delivery times included in the second theoretical delivery time group.
The preset material delivery peak period and the preset material selling valley period can be preset by a technician and stored in the electronic equipment. The peak period consumption speed is the average value of the sub consumption speeds corresponding to the theoretical delivery times included in the first theoretical delivery time group, and the low valley period consumption speed is the average value of the sub consumption speeds corresponding to the theoretical delivery times included in the second theoretical delivery time group.
In the embodiment of the application, it can be understood that fluctuation may exist between different months of sales volume of materials, and as the sales volume of peak period and low peak period may differ more, the method can distinguish all theoretical time of delivery by determining the first theoretical time of delivery group corresponding to the preset material peak period and the second theoretical time of delivery group corresponding to the preset material low peak period, thereby determining the theoretical time of delivery in the sales peak period and the theoretical time of delivery in the low peak period; and the peak consumption speed and the low peak consumption speed are respectively determined, so that the real consumption speed can be reflected more accurately than the average consumption speed is calculated.
Step S104, according to a possible implementation manner of the embodiment of the present application, determines a purchase list based on the purchase time and the consumption speed corresponding to each of all the materials, and may specifically include:
Determining a target time interval based on the purchase time and the current date;
Obtaining the purchase quantity corresponding to all the materials based on the target time interval and the consumption speed corresponding to all the materials;
and generating a purchase list based on all the materials and the purchase quantity corresponding to all the materials.
The target time interval is the number of days separating the purchase date from the current date.
Based on the target time interval and the consumption speed corresponding to all the materials, obtaining the purchase quantity corresponding to all the materials, which specifically includes: for each material, purchase quantity = consumption rate x target time interval.
In the embodiment of the application, after a target time interval is determined based on the purchase time and the current date, the respective purchase quantity of all materials is obtained based on the target time interval and the respective consumption speed of all materials, so that the quantity of each material consumed by a warehouse in the target time interval is used as the quantity of each material to be purchased; and taking the quantity of each material to be purchased as the content in the purchase list so as to realize faster determination of the purchase list.
In one possible implementation manner of the embodiment of the present application, after determining the purchase list in step S104 based on the purchase time and the consumption speed corresponding to each of all the materials, the method may further include:
When receiving the warehousing completion information corresponding to the purchase list, acquiring a to-be-ex-warehouse queue, wherein the to-be-ex-warehouse queue comprises a plurality of to-be-ex-warehouse information with ex-warehouse priorities, and the to-be-ex-warehouse information comprises material names and material amounts;
Generating a plurality of new information to be delivered based on the purchase list and the purchase time;
and updating the to-be-ex-warehouse queue based on the plurality of new to-be-ex-warehouse information to obtain a new to-be-ex-warehouse queue.
In the embodiment of the application, when the warehouse entry completion information corresponding to the purchase list is received, the materials required in the warehouse are characterized to be complemented, and an old queue to be delivered is obtained so as to determine the delivery sequence of other materials except the warehouse entry materials; based on the purchasing list and purchasing time, determining new information to be delivered corresponding to the materials in storage at this time; based on the new information to be delivered, the queue to be delivered is updated to obtain the new queue to be delivered, so that a plurality of accumulated materials in a warehouse can be avoided, and more reasonable delivery is realized.
The above embodiments describe a digital material management method from the perspective of a method flow, and the following embodiments describe a digital material management system from the perspective of a virtual module or a virtual unit, specifically the following embodiments are described below.
An embodiment of the present application provides a digital material management system, as shown in fig. 2, where the digital material management system may specifically include:
The ex-warehouse determining module 201 is configured to determine, when a new order is received, a target ex-warehouse corresponding to each of a plurality of materials in the new order based on the new order;
the total delivery determining module 202 is configured to obtain, for the same material, a total target delivery corresponding to the material based on the target delivery corresponding to each of all the new orders;
The consumption speed determining module 203 is configured to obtain a historical ex-warehouse record of a material; determining the consumption speed of the materials based on the historical ex-warehouse records and the total target ex-warehouse quantity;
the purchase list generating module 204 is configured to obtain a purchase time of the next purchase, and determine a purchase list based on the purchase time and the consumption speed corresponding to each of all the materials.
In one possible implementation manner of the embodiment of the present application, the historical ex-warehouse record includes a plurality of historical ex-warehouse dates corresponding to the material and historical ex-warehouse amounts corresponding to the historical ex-warehouse dates, and the consumption speed determining module 203 is specifically configured to, when executing determining the consumption speed of the material based on the historical ex-warehouse record and the total target ex-warehouse amount:
acquiring a current date, and determining a theoretical delivery period corresponding to the material based on the current date and a plurality of historical delivery dates; determining a plurality of theoretical delivery times based on the current date and the theoretical delivery period, wherein the interval time between adjacent theoretical delivery times is the theoretical delivery period;
determining sub-consumption speeds corresponding to the theoretical delivery times based on the historical delivery dates and the historical delivery amounts corresponding to the historical delivery dates;
and calculating based on the sub consumption speeds corresponding to the theoretical delivery times respectively to obtain the consumption speed.
In one possible implementation manner of the embodiment of the present application, the consumption speed determining module 203 is specifically configured to, when executing determining the sub-consumption speed corresponding to each of the plurality of theoretical delivery times based on the plurality of historical delivery dates and the historical delivery amounts corresponding to each of the plurality of historical delivery dates:
Determining a plurality of historical ex-warehouse date groups in a plurality of historical ex-warehouse dates, wherein each historical ex-warehouse date group comprises two adjacent historical ex-warehouse dates; determining the interval duration and the initial sub-consumption speed corresponding to each of the plurality of historical ex-warehouse date groups; judging whether a target interval duration exists, wherein the target interval duration is an integer multiple of any interval duration, and the target interval duration is longer than a theoretical delivery period;
If so, determining at least two theoretical delivery dates corresponding to a historical delivery date group corresponding to the target interval duration for each target interval duration; determining the sub-consumption speed corresponding to each of at least two theoretical delivery dates based on the initial sub-consumption speed corresponding to the target interval duration and the initial sub-consumption speed corresponding to each of the adjacent target interval durations;
Determining theoretical delivery dates corresponding to the historical delivery date groups according to other historical delivery date groups; and taking the initial sub-consumption speed corresponding to the historical ex-warehouse date group as the sub-consumption speed corresponding to the theoretical ex-warehouse date corresponding to the historical ex-warehouse date group.
In one possible implementation manner of the embodiment of the present application, the consumption speed includes a peak consumption speed and a valley consumption speed, and the consumption speed determining module 203 is specifically configured to, when performing calculation based on sub consumption speeds corresponding to a plurality of theoretical delivery times, obtain the consumption speed:
Determining a first theoretical delivery time group corresponding to a delivery peak period of a preset material and a second theoretical delivery time group corresponding to a low-valley period of selling the preset material;
obtaining peak period consumption speed based on the sub consumption speeds respectively corresponding to the theoretical delivery times included in the first theoretical delivery time group;
and obtaining the consumption speed in the valley period based on the sub-consumption speeds respectively corresponding to the theoretical delivery times included in the second theoretical delivery time group.
In one possible implementation manner of the embodiment of the present application, the purchase list generating module 204 is specifically configured to, when determining the purchase clear based on the purchase time and the respective consumption speeds of all the materials:
Determining a target time interval based on the purchase time and the current date;
Obtaining the purchase quantity corresponding to all the materials based on the target time interval and the consumption speed corresponding to all the materials;
and generating a purchase list based on all the materials and the purchase quantity corresponding to all the materials.
One possible implementation manner of the embodiment of the application, the digital material management system further comprises:
A waiting-for-delivery queue updating module, configured to:
When receiving the warehousing completion information corresponding to the purchase list, acquiring a to-be-ex-warehouse queue, wherein the to-be-ex-warehouse queue comprises a plurality of to-be-ex-warehouse information with ex-warehouse priorities, and the to-be-ex-warehouse information comprises material names and material amounts;
Generating a plurality of new information to be delivered based on the purchase list and the purchase time;
and updating the to-be-ex-warehouse queue based on the plurality of new to-be-ex-warehouse information to obtain a new to-be-ex-warehouse queue.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, a specific working process of the above-described digital material management system may refer to a corresponding process in the foregoing method embodiment, which is not described herein again.
In an embodiment of the present application, as shown in fig. 3, an electronic device shown in fig. 3 includes: a processor 301 and a memory 303. Wherein the processor 301 is coupled to the memory 303, such as via a bus 302. Optionally, the electronic device may also include a transceiver 304. It should be noted that, in practical applications, the transceiver 304 is not limited to one, and the structure of the electronic device is not limited to the embodiment of the present application.
The Processor 301 may be a CPU (Central Processing Unit ), general purpose Processor, DSP (DIGITAL SIGNAL Processor, data signal Processor), ASIC (Application SPECIFIC INTEGRATED Circuit), FPGA (Field Programmable GATE ARRAY ) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules and circuits described in connection with this disclosure. Processor 301 may also be a combination that implements computing functionality, e.g., comprising one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
Bus 302 may include a path to transfer information between the components. Bus 302 may be a PCI (PERIPHERAL COMPONENT INTERCONNECT, peripheral component interconnect standard) bus or an EISA (Extended Industry Standard Architecture ) bus, or the like. Bus 302 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 3, but not only one bus or type of bus.
The Memory 303 may be, but is not limited to, a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory ) or other type of dynamic storage device that can store information and instructions, an EEPROM (ELECTRICALLY ERASABLE PROGRAMMABLE READ ONLY MEMORY ), a CD-ROM (Compact Disc Read Only Memory, compact disc Read Only Memory) or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 303 is used for storing application program codes for executing the inventive arrangements and is controlled to be executed by the processor 301. The processor 301 is configured to execute the application code stored in the memory 303 to implement what is shown in the foregoing method embodiments.
Among them, electronic devices include, but are not limited to: mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. But may also be a server or the like. The electronic device shown in fig. 3 is only an example and should not be construed as limiting the functionality and scope of use of the embodiments of the application.
Embodiments of the present application provide a computer-readable storage medium having a computer program stored thereon, which when run on a computer, causes the computer to perform the corresponding method embodiments described above. Compared with the related art, when a new order is received, the method and the device for determining the quantity of the materials in the warehouse determine the target delivery quantity corresponding to each material in the new order based on the new order so as to determine the quantity of each material in the warehouse to be reduced; determining, for the same material, a total target inventory of the material based on the amount that all new orders will decrease for the material, to determine a total amount that the material will decrease, thereby correlating both inventory and material inventory; after the historical ex-warehouse records of the materials are obtained, determining the consumption speed of the materials based on the historical ex-warehouse records and the total number of the materials to be reduced; the purchasing time of the next purchasing is obtained, the relationship between the stock condition and the material warehouse entry is constructed through the purchasing time and the consumption speed corresponding to the material, and the purchasing list can be obtained more reasonably based on the relationship between the stock condition and the material warehouse entry.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
The foregoing is only a partial embodiment of the present application, and it should be noted that it will be apparent to those skilled in the art that modifications and adaptations can be made without departing from the principles of the present application, and such modifications and adaptations should and are intended to be comprehended within the scope of the present application.