Material distribution method, device and electronic equipment
By introducing historical prediction data and system models into the material distribution system, the material distribution ratio and results are automatically calculated, and the problem of uneven material distribution in the existing technology is solved, and the scientificity and efficiency of distribution are improved.
Patent Information
- Application Number
- CN202411096520.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2044-08-12
AI Technical Summary
The prior art has problems of low efficiency and poor accuracy in material distribution in multiple organizations or factories, especially when the material supply is insufficient, resulting in uneven distribution and increasing management costs.
By introducing historical prediction data, calculating the material allocation ratio, and automatically calculating the material allocation results using the system model to reduce human intervention.
It realizes the scientific rationality of material allocation, reduces management costs, reduces dependence on personnel, and improves the rational allocation and utilization efficiency of resources.
Smart Images

Figure CN118644190B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of supply chain management and industrial Internet technology, and in particular to a material distribution method, device and electronic equipment. Background Art
[0002] Some companies are made up of multiple factories or organizations, which are scattered across the country or even the world. In some scenarios, such as centralized procurement by multiple organizations and allocation of shared resources, the supply chain management department allocates materials based on the material requirements submitted by each factory or organization. Currently, this mainly relies on manual adjustments, which have problems in terms of efficiency and accuracy.
[0003] When the supply of materials is less than the demand, each factory or organization, out of fear of resource shortage and in preparation for the long term, will increase their respective demand reports in order to obtain as much allocation as possible, resulting in unbalanced material distribution.
[0004] From the perspective of supply chain management, some materials have a procurement cycle, which may be as short as 3-5 days or as long as 2-3 months. During the procurement cycle, the demand for a certain material at the factory or organization end may fluctuate. As the actual demand of each organization fluctuates, some organizations may have stagnant materials and others may be short of materials, exacerbating the imbalance of material distribution. In the case of a large supply chain span or a long material lead time, the contradictions and conflicts of uneven material distribution will be further magnified.
[0005] In view of the above situation, if the secondary transfer method is used to solve the problem of uneven material distribution, it will bring great burden to the overall logistics cost and management cost. The existing technology mainly distributes materials based on data from previous years or human experience, and is coordinated by offline material controllers. This is not applicable in the context of the rapid changes in current market demand. Summary of the invention
[0006] In view of this, the purpose of this application is to propose a material allocation method, device, equipment and storage medium to make the material distribution among multiple demand parties more scientific and reasonable.
[0007] Based on the above-mentioned purpose, the first aspect of the present application provides a material allocation method, including: when the total material supply of the current time unit is less than the total material demand of the current time unit, calculating the material allocation ratio of the current time unit according to the material procurement lead time and historical forecast data, and obtaining first material allocation ratio information; wherein the historical forecast data includes multiple historical time units and their corresponding material demand forecast information; the material demand forecast information includes the material demand forecast value of each demander corresponding to each time point in the current time unit, and the material demand forecast value is predicted in the historical time unit; performing material allocation according to the material supply information, the material demand information and the first material allocation ratio information, and obtaining a material allocation result; the material supply information includes the material supply quantity corresponding to each time point in the current time unit, and the material demand information includes the material demand of each demander corresponding to each time point in the current time unit, and the material allocation result is used to indicate the material quantity allocated to each demander at each time point in the current time unit.
[0008] The second aspect of the present application provides a material allocation device, including: an allocation ratio calculation module, which is used to calculate the material allocation ratio of the current time unit according to the material procurement lead time and historical forecast data when the total material supply of the current time unit is less than the total material demand of the current time unit, and obtain first material allocation ratio information; wherein the historical forecast data includes multiple historical time units and their corresponding material demand forecast information; the material demand forecast information includes the material demand forecast value of each demander corresponding to each time point in the current time unit, and the material demand forecast value is predicted in the historical time unit; an allocation result calculation module, which is used to allocate materials according to the material supply information, the material demand information and the first material allocation ratio information, and obtain a material allocation result; wherein the material supply information includes the material supply quantity corresponding to each time point in the current time unit, the material demand information includes the material demand of each demander corresponding to each time point in the current time unit, and the material allocation result is used to indicate the material quantity allocated to each demander at each time point in the current time unit.
[0009] The third aspect of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the material distribution method as described in the first aspect of the present application is implemented.
[0010] A fourth aspect of the present application provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the material distribution method as described in the first aspect of the present application.
[0011] From the above, it can be seen that the technical solutions of the material allocation method, device, equipment and storage medium provided by the present application at least bring the following beneficial effects: The present application introduces historical forecast data to conduct a more comprehensive dynamic data set analysis, making the material preparation management and actual material distribution more scientific and reasonable. At the same time, the automatic calculation of the material allocation results is realized through the system model to avoid the errors caused by human calculations, while also reducing the dependence on personnel and alleviating the management burden of the enterprise. In this way, the problem of limited material allocation among multiple demand parties is solved to a certain extent, so that resources can be more reasonably allocated and more efficiently used in the scenario of material shortage. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0013] Figure 1 A schematic diagram of an application program operating environment according to an embodiment of the present application;
[0014] Figure 2 A flow chart of a material distribution method according to an embodiment of the present application;
[0015] Figure 3 is a flow chart of calculating the first material allocation ratio information in an embodiment of the present application;
[0016] Figure 4 is a flow chart of step S220 provided in an embodiment of the present application;
[0017] Figure 5 is a flow chart of step S221 provided in an embodiment of the present application;
[0018] Figure 6 is a flow chart of step S222 provided in an embodiment of the present application;
[0019] Figure 7 is a flow chart of step S223 provided in an embodiment of the present application;
[0020] Figure 8 is another flow chart of the material distribution method provided in an embodiment of the present application;
[0021] Fig. 9 is a block diagram of a material distribution device provided in an embodiment of the present application;
[0022] Fig.10 A schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown. DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of this specification to clearly and completely describe the technical solutions in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0025] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0026] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0027] The term "and / or" herein is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set consisting of A, B, and C.
[0028] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.
[0029] Please refer to Figure 1 , which shows a schematic diagram of an application program running environment provided by an embodiment of the present application. The application program running environment may include: a terminal device 10 and a server 20.
[0030] The terminal device 10 includes, but is not limited to, user equipment (UE), mobile devices, user terminals, terminals, cellular phones, cordless phones, personal digital assistants (PDAs), handheld devices, computing devices, vehicle-mounted devices, mobile phones, computers, intelligent voice interaction devices, smart home appliances, game consoles, e-book readers, multimedia playback devices, wearable devices, and other electronic devices. The client of the application program can be installed in the terminal 10.
[0031] The server 20 is used to provide background services for the client of the application in the terminal device 10. For example, the server 20 can be the background server of the above application. The server 20 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. Optionally, the server 20 provides background services for applications in multiple terminals 10 at the same time.
[0032] Optionally, the terminal device 10 and the server 20 may communicate with each other via a network 30. The terminal 10 and the server 20 may be directly or indirectly connected via wired or wireless communication, which is not limited in the present application.
[0033] Please refer to Figure 2 , which shows a flow chart of a material allocation method provided by an embodiment of the present application. The method can be applied to a computer device and executed by the computer device. The above-mentioned computer device refers to an electronic device with data calculation and processing capabilities, and the above-mentioned computer device includes but is not limited to a terminal, a server or other processing equipment. Optionally, the execution subject of each step in the above-mentioned material allocation method can be Figure 1 The terminal device 10 or server 20 in the application running environment shown. In some possible implementations, the material allocation method can be implemented by a processor calling a computer-readable instruction stored in a memory. The method can include the following steps (S210-S220).
[0034] S210: When the total material supply of the current time unit is less than the total material demand of the current time unit, the material allocation ratio of the current time unit is calculated according to the material procurement lead time and historical forecast data to obtain first material allocation ratio information.
[0035] The related art provides some stock preparation solutions based on the situation in previous years, but the market changes are very dynamic, and it is impossible to get a scientific and reasonable stock preparation solution based on the situation in previous years. The solution of the embodiment of the present application introduces historical forecast data, and through a more comprehensive dynamic data set analysis, the stock preparation management and actual material distribution are more scientific and reasonable.
[0036] Among them, the historical forecast data includes multiple historical time units and their corresponding material demand forecast information. The material demand forecast information includes the material demand forecast value of each demander corresponding to each time point in the current time unit. The material demand forecast value is predicted within the historical time unit.
[0037] Among them, the material demand forecast values of each demander corresponding to different time points in the historical time unit are independent of each other and completely unrelated.
[0038] The time unit is the minimum time period for material allocation, and there are multiple time points in one time unit. Specifically, for example, the time unit in this embodiment is a week. For another example, in other embodiments, the time unit can also be a ten-day period, a month, etc., which is not limited here. Since the lead time and procurement cycle of materials may be relatively long, first determine the materials allocated to each time unit, and then allocate the materials in the time unit to each time point, which can make the material allocation between the various demand parties more reasonable and effective to a certain extent.
[0039] Figure 3 is a flow chart of calculating the first material allocation ratio information in an embodiment of the present application, such as Figure 3 As shown, in some embodiments, calculating the material allocation ratio of the current time unit according to the material procurement lead time and historical forecast data to obtain the first material allocation ratio information may include the following steps:
[0040] S211: Determine the target historical time unit corresponding to the current time unit according to the material procurement lead time and the first preset rule.
[0041] In some embodiments, step S211 may include the following steps: calculating the lead time according to the procurement lead time and the first preset rule to obtain a plurality of different lead times, and determining a plurality of target time units according to the current time unit and the plurality of different lead times.
[0042] In this embodiment, the first preset rule is used to represent the correspondence between the procurement lead time and the lead time, and the multiple lead times include an lead time equal to the procurement lead time, at least one lead time less than the procurement lead time, and at least one lead time greater than the procurement lead time.
[0043] Specifically, for example, three lead times are determined according to the procurement lead time and the first preset rule, and the first lead time is , the second advance time is and the third advance time is ,in, It is the abbreviation of material procurement lead time. Based on the above three lead times, the emergency material preparation period, standard material preparation period and strategic material preparation period corresponding to the current time unit can be determined. The emergency material preparation period is a historical time unit obtained by tracing back the first lead time from the current time unit, the standard material preparation period is a historical time unit obtained by tracing back the second lead time from the current time unit, and the strategic material preparation period is a historical time unit obtained by tracing back the third lead time from the current time unit.
[0044] S212: Filtering out target prediction information from the historical prediction data according to the target historical time unit.
[0045] The target forecast information is the material demand forecast information corresponding to the target historical time unit, for example, the material demand forecast information for the emergency material preparation period, the material demand forecast information for the standard material preparation period, and the material demand forecast information for the strategic material preparation period.
[0046] S213: Perform weighted calculation on the material demand quantity forecast value of each demander based on the weight of the target historical time unit and the target forecast information to obtain the material demand quantity evaluation value of each demander.
[0047] As mentioned above, in this embodiment, the weight order of multiple target historical time units is standard preparation period > strategic preparation period > emergency preparation period. Specifically, for example, the weight of the strategic preparation period is 30%, the weight of the standard preparation period is 60%, and the weight of the emergency preparation period is 10%. The material demand assessment value of a demander = the predicted value of the material demand of the demander in the strategic preparation period * 30% + the predicted value of the material demand of the demander in the standard preparation period * 60% + the material demand of the demander in the emergency preparation period * 10%. In other embodiments, the specific values of the weights of multiple target historical time units and the order of the weights can also be set according to actual conditions, and there is no limitation on this.
[0048] S214: Calculate the ratio of the material demand evaluation value of each demander to the sum of the material demand evaluation values of each demander to obtain first material allocation ratio information.
[0049] The first material allocation ratio information includes the material allocation ratio of each demander corresponding to the current time unit.
[0050] S220: Perform material allocation according to the material supply information, the material demand information and the first material allocation ratio information to obtain a material allocation result.
[0051] The material allocation result is used to indicate the quantity of materials allocated to each demander at each time point in the current time unit.
[0052] The material supply information includes the material supply quantity corresponding to each time point in the current time unit. The total material supply is the sum of the material supply quantities corresponding to the current time unit. The total material supply can be directly obtained or calculated based on the material supply information. Specifically, the material supply information includes at least one of the supplier's commitment, the inventory in the warehouse, and the inventory in transit. For example, when receiving materials, the material supply information takes the supplier's promised deliverable quantity. When transferring, the material supply information is the existing inventory and the in-transit shipping order.
[0053] Among them, the material demand information includes the material demand of each demander corresponding to each time point in the current time unit. The total material demand is the sum of the material demand corresponding to the current time unit. The total material demand can be obtained directly or calculated based on the material demand information.
[0054] Figure 4 is a flow chart of step S220 provided in an embodiment of the present application, specifically as follows Figure 4 As shown, step S220 may include the following steps:
[0055] S221: Calculate the material quota of each demander in the current time unit according to the total material supply in the current time unit and the first material allocation ratio information to obtain the first material quota information.
[0056] Among them, the first material quota information is used to limit the upper limit of the number of materials that each demander can obtain in the initial allocation within the current time unit. Specifically, for example, the time unit is a week, and the total material supply this week is 100k, the actual inventory of this week, and there are no materials in transit and supplier commitments. A certain enterprise has two factories, Factory A and Factory B. The first material allocation ratio corresponding to Factory A is 60%, and the first material allocation ratio corresponding to Factory B is 40%. Then, theoretically speaking, Factory A can be allocated 100k*60% of materials this week, and Factory B can be allocated 100k*40% of materials. Then the material quota of Factory A in the initial allocation of this week is 60k, and the material quota of Factory B in the initial allocation of this week is 40k.
[0057] Figure 5 is a flow chart of step S221 provided in an embodiment of the present application, and the specific example is as follows Figure 5 As shown, in some embodiments, step S221 may include the following steps:
[0058] S221a: Calculate the material quota of each demander in the current time unit according to the total material supply in the current time unit and the first material allocation ratio information to obtain a first quota calculation result.
[0059] S221b: Based on the first quota calculation result, the minimum packaging quantity is taken from the material quota of each demander in the current time unit to obtain a second quota calculation result.
[0060] In actual applications, the material quotas of each demander in the current time unit obtained in step S221a may not meet the minimum packaging quantity requirements. Specifically, for example, the allocated material is a battery, the total material supply in the current time unit is 100, and the first material allocation ratio of demander A is 33.33%. Then the calculated first quota of demander A is 33.33%*100 batteries=33.33 batteries, which obviously does not meet the actual allocation needs. When the minimum packaging quantity of the battery is 1, the first quota 33.33 can be taken up to the minimum packaging quantity to obtain a second quota of 34. When the minimum packaging quantity of the battery is 5, the first quota 33.33 can be taken up to the minimum packaging quantity to obtain a second quota of 35. It should be noted that when the material is a battery, the unit of the material quota can be "piece". When the type of material changes or according to actual needs, the material quota can also use other units of measurement. The type of measurement unit used does not affect the implementation of this embodiment.
[0061] S221c: Determine whether the sum of the material quotas of each demander in the second quota calculation result is equal to the total material supply in the current time unit.
[0062] As mentioned above, the first material allocation ratio of demander B is 33.33%, the first material allocation ratio of demander C is 33.34%, the first material quota of demander B is 33.33, and the first material quota of demander C is 33.34. Determine whether the sum of the first material quotas of demanders A, B, and C is equal to the total material supply of 100 in the current time unit.
[0063] S221d: If not, adjust the second quota calculation result according to the total material supply of the current time unit, the first material allocation ratio information and the preset allocation order, until the sum of the material quotas of each demander in the adjusted second quota calculation result is equal to the total material supply of the current time unit, and use the adjusted second quota calculation result as the first material quota information.
[0064] The preset allocation order is the demand order. The demand order can be determined according to the material demand of each demander in descending order or in descending order. For multiple demanders with the same demand quantity, they can also be sorted according to the order of demand submission time. The earlier the material demand is submitted, the higher the order.
[0065] S221e: If yes, the second quota calculation result is used as the first material quota information. Step S221e belongs to the situation where the second quota of each demander just meets the minimum packaging quantity requirement.
[0066] In an alternative embodiment, step S221 can also be implemented as follows: based on the first quota calculation result, the minimum packaging quantity is taken from the material quota of each demander in the current time unit in turn, and the decimal part is allocated according to the actual remaining material quantity to obtain the first material quota information. Specifically, still taking the allocated material as batteries as an example, the total material supply in the current time unit is 100, the minimum packaging quantity of batteries is 5, the first material allocation ratio of demander A is 33.33%, the first material allocation ratio of demander B is 33.33%, and the first material allocation ratio of demander C is 33.34%. The first material quota of demander A is 33.33, the first material quota of demander B is 33.33, and the first material quota of demander C is 33.34. Based on the first quota calculation result, the minimum packaging quantity is taken from the material quota of each demander in the current time unit in turn, and the second material quota of demander A is 35, and the second material quota of demander B is 35. The remainder is allocated to demander C according to the actual remaining material quantity: total material supply 100 - demander A's second material quota 35 - demander B's second material quota 35 = 30, that is, demander C's second material quota is 30.
[0067] S222: Perform material allocation based on the total material supply of the current time unit, the material demand information, and the first material quota information to obtain first material allocation information.
[0068] The first material allocation information includes the material allocation quantity of each demander in the current time unit.
[0069] Based on the above, for example, the material demand information is that the demand of Factory A is proposed on Monday, and the demand of Factory B is proposed on Friday. Factory A actually requires 80k materials, and the material quota of Factory A this week is 60k. Then on Monday, the materials are allocated to Factory A according to the weekly quota of 60k. At this time, Factory A has a material gap of 20k. On Friday, the remaining 40k materials are preferentially allocated to Factory B. When the initial allocation is completed, if there are still remaining materials, they will be allocated to Factory A, the demander with a material gap. In other words, if the actual material demand of Factory B is 30k, then the remaining 10k materials will be allocated to Factory A. At this time, the material gap of Factory A changes from 20k to 10k, and the 10k material gap is transferred to the next time unit. If the actual material demand of B is 40k, then there is no remaining material, and the material gap of Factory A is still 20k, and the 20k material gap is transferred to the next time unit.
[0070] Figure 6 is a flow chart of step S222 provided in an embodiment of the present application, and the specific example is as follows Figure 6 As shown, step S222 may include the following steps:
[0071] S222a: Determine whether the material quota of each demander in the current time unit is at least partially greater than its material demand.
[0072] S222b: When the material quota of each demander in the current time unit is at least partially greater than its material demand, determine the smaller value between the material quota and the material demand corresponding to each demander in the current time unit based on the first material quota information and the material demand information.
[0073] S222c: Using the smaller value as the material quantity allocated to each demander in the current time unit for initial material allocation, and obtaining a first initial material allocation result.
[0074] S222d: Calculate the remaining material supply quantity after the initial material allocation according to the total material supply quantity of the current time unit and the first initial material allocation result.
[0075] S222e: Allocate the remaining material supply quantity to the demanders whose demands are not met, and obtain the first and second material allocation results.
[0076] Among them, the material quota corresponding to the demander whose demand is not met in the current time unit is less than the material demand.
[0077] In this embodiment, allocating the remaining material supply quantity to the demand party whose demand is not met may include the following steps: determining the demand order of each demand party according to the material demand information and the second preset rule. Allocating the remaining material supply quantity to the unmet demand party in the demand order. Among them, determining the demand order of each demand party according to the material demand information and the second preset rule may include the following steps: sorting each demand party according to the size of the material demand in the material demand information to obtain a first sorting result. When there are no multiple demand parties with the same order in the first sorting result, the first sorting result is used as the demand order. When there are multiple demand parties with the same order in the first sorting result, the multiple demand parties with the same order are sorted according to the order of the demand time points in the material demand information to obtain a second sorting result. The first sorting result is updated based on the second sorting result, and the updated first sorting result is used as the demand order. That is, the demand order can be sorted from small to large or from large to small according to the demand quantity. Specifically, for example, the actual demands corresponding to demand party A, demand party B and demand party C are: A=60, B=50, C=40 respectively. Sort by demand quantity from small to large, give priority to those with small demand, and the order of demand is C, B, A. Sort by demand quantity from large to small, give priority to those with large demand, and the order of demand is A, B, C. In addition, for multiple demanders with the same demand quantity, you can also sort them according to the order of demand submission time. The earlier the material demand is submitted, the higher the order.
[0078] S222f: Based on the first primary material allocation result and the first secondary material allocation result, the material quantity allocated to each demander in the current time unit is summed to obtain first material allocation information.
[0079] In some embodiments, after step S222a, the following steps may also be included: S222g: when the material quota of each demander in the current time unit is not greater than its material demand, the first material quota information is used as the first material allocation information.
[0080] S223: Calculate the material allocation ratio of each demander corresponding to each time point in the current time unit based on the material demand information and the first material allocation ratio information to obtain the second material allocation ratio information.
[0081] Figure 7 is a flow chart of step S223 provided in an embodiment of the present application, specifically as follows Figure 7 As shown, in some embodiments, calculating the material allocation ratio of each demander corresponding to each time point in the current time unit based on the material demand information and the first material allocation ratio information to obtain the second material allocation ratio information may include the following steps:
[0082] S223a: Determine the demand party participating in the allocation corresponding to each time point in the current time unit according to the material demand information. The demand party participating in the allocation has material demand at the time point when it participates in the allocation.
[0083] S223b: Obtaining the material allocation ratio corresponding to the demander participating in the allocation based on the first material allocation ratio information.
[0084] S223c: Calculate the ratio of the material allocation ratio corresponding to each demand party participating in the allocation to the sum of the material allocation ratios of all demand parties participating in the allocation, and use the ratio as the material allocation ratio of the demand parties participating in the allocation.
[0085] S224: Calculate the material quota of each demander at each time point in the current time unit according to the material supply information and the second material allocation ratio information to obtain the second material quota information.
[0086] S225: Perform material allocation based on the material supply information, the material demand information, the first material quota information and the second material quota information to obtain a material allocation result.
[0087] Specifically, for example, suppose that materials are distributed among 4 factories, with factory A accounting for 30%, factory B accounting for 30%, factory C accounting for 20%, and factory D accounting for 20%. Assuming that only A and C have demand on the first day, and B and D have no demand, then the ratio on the first day is A:C=30%:20%=3:2, that is, A accounts for 60% and B accounts for 40%. The total supply this week = 100, of which 100 includes inventory and materials in transportation by suppliers on the road. The actual materials in the warehouse on the first day are 60, and the supply on the first day of this week = 60. The first material quota of factory A = 30, the first material quota of factory B = 30, the first material quota of factory C = 20, and the first material quota of factory D = 20. Assuming that A and C have demand on the first day, the second material quota of factory A = 36, and the second material quota of factory C = 24. The demand of ABCD is 50 each. Since the quota is limited, it means that our actual allocation on the first day is only 30 for A and 20 for C. Although there is a supply of 60 on the first day, due to the limited quotas for A and C, A can only get 30 and C can only get 20 on the first day. The remaining 10 on the first day needs to be reserved for B and D.
[0088] In some embodiments, step S225 may include the following steps: obtaining the material demand corresponding to each demander at the current time point based on the material demand information. Obtaining the material quota of the current time unit corresponding to each demander based on the first material quota. Obtaining the material quota corresponding to each demander at the current time point based on the second material quota. Determining the minimum value among the material demand corresponding to each demander at the current time point, the material quota of the current time unit, and the material quota at the current time point. Using the minimum value as the material allocation amount of each demander at the current time point for the initial material allocation, and obtaining the second initial material allocation result. Calculating the remaining material supply quantity after the initial material allocation based on the material supply quantity at the current time point and the second initial material allocation result. Allocating the remaining material supply quantity to the demander whose demand is not met and obtaining the second secondary material allocation result. Based on the second initial material allocation result and the second secondary material allocation result, summing the material quantity allocated to each demander at the current time point to obtain the second material allocation information.
[0089] In this embodiment, allocating the remaining material supply quantity to the demand party whose demand is not met includes: determining the demand order of each demand party according to the material demand information and the second preset rule. Allocating the remaining material supply quantity to the unmet demand party in the demand order. Among them, determining the demand order of each demand party according to the material demand information and the second preset rule may include the following steps: sorting each demand party according to the size of the material demand in the material demand information to obtain a first sorting result. When there are no multiple demand parties with the same order in the first sorting result, the first sorting result is used as the demand order. When there are multiple demand parties with the same order in the first sorting result, the multiple demand parties with the same order are sorted according to the order of the demand time points in the material demand information to obtain a second sorting result. The first sorting result is updated based on the second sorting result, and the updated first sorting result is used as the demand order. Specifically, for example, if the material gaps generated before the current time unit are piled up in the current time unit, it may cause one or several demand parties to have particularly large demands. If the material preparation of one or several demand parties is unreasonable, the demand of other organizations / factories will be misappropriated, which will increase the burden on organizations and enterprises with standardized management. To address this issue, the embodiment of the present application will give priority to meeting the material demand of the current time unit when performing material allocation calculations. After meeting the material demand of the current time unit, if there is any remaining part, the material gap generated before the current time unit will be considered.
[0090] Figure 8 is another flow chart of the material distribution method provided in the embodiment of the present application, specifically as follows Figure 8As shown, in some embodiments, material allocation is performed according to the material supply information, the material demand information and the first material allocation ratio information, and after the material allocation result is obtained, the method includes:
[0091] S230: Calculate the material gap of each demander corresponding to the current time unit based on the material demand information and the material allocation result, wherein the material gap is the difference between the material demand and the material allocation when the material demand is greater than the material allocation.
[0092] S240: Transfer the material gap of each demander corresponding to the current time unit to the next time unit. The material gap can be at least partially satisfied when the total material supply of the next time unit is greater than the total material demand, and transferred to the next time unit of the next time unit when the total material supply of the next time unit is less than or equal to the material demand information.
[0093] The technical solution provided by the embodiments of the present application has at least the following beneficial effects:
[0094] (1) Make the internal supply chain management of enterprises more standardized, and guide enterprises to prepare materials in an orderly manner through reasonable methodology, so as to avoid the current polarized situation of "stalemate and shortage" caused by the scramble for resources and the temporary increase or increase of demand by various organizations / factories.
[0095] (2) By combining the cost advantages of centralized procurement, the dispatching function of the supply chain management department can be better utilized, thereby further reducing inventory and improving the company's overall delivery capability and capital turnover efficiency.
[0096] (3) Make the upstream and downstream coordination of the entire industry's supply chain more reasonable and controllable, reduce the bullwhip effect caused by the transmission time and transmission links of supply chain demand, reduce the amplitude and risk of supply and demand fluctuations in the industrial chain, and allow the upstream and downstream of the production line to develop in a more balanced and orderly manner.
[0097] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.
[0098] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0099] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the embodiment of the present application also provides a material distribution device.
[0100] Fig. 9 is a block diagram of a material distribution device provided in an embodiment of the present application, specifically as follows Fig. 9 As shown, the device includes an allocation ratio calculation module 310 and an allocation result calculation module 320.
[0101] The allocation ratio calculation module 310 is configured to calculate the material allocation ratio of the current time unit according to the material procurement lead time and the historical forecast data when the total material supply of the current time unit is less than the total material demand of the current time unit, and obtain the first material allocation ratio information. The historical forecast data includes multiple historical time units and their corresponding material demand forecast information. The material demand forecast information includes the material demand forecast value of each demander corresponding to each time point in the current time unit, and the material demand forecast value is predicted in the historical time unit.
[0102] The allocation result calculation module 320 is configured to perform material allocation according to the material supply information, the material demand information and the first material allocation ratio information to obtain the material allocation result. The material supply information includes the material supply quantity corresponding to each time point in the current time unit, the material demand information includes the material demand quantity of each demander corresponding to each time point in the current time unit, and the material allocation result is used to indicate the material quantity allocated to each demander at each time point in the current time unit.
[0103] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0104] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0105] The device of the above embodiment is used to implement the corresponding material distribution method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0106] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the material distribution method described in any of the above embodiments is implemented.
[0107] Fig.10 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.
[0108] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0109] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0110] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0111] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0112] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010 , the memory 1020 , the input / output interface 1030 , and the communication interface 1040 ).
[0113] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0114] The electronic device of the above embodiment is used to implement the corresponding material distribution method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0115] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the material distribution method described in any of the above embodiments.
[0116] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0117] The computer instructions stored in the storage medium of the above embodiments are used to enable the computer to execute the material distribution method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0118] A person skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
[0119] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power / ground connections to the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device may be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present application are to be implemented (that is, these details should be fully within the scope of understanding of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or with changes in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.
[0120] Although the present application has been described in conjunction with specific embodiments of the present application, many alternatives, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the discussed embodiments.
[0121] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.
Claims
1. A material distribution method, characterized in that: include: When the total material supply of the current time unit is less than the total material demand of the current time unit, the material allocation ratio of the current time unit is calculated according to the material procurement lead time and historical forecast data to obtain the first material allocation ratio information; wherein, the historical forecast data includes multiple historical time units and their corresponding material demand forecast information; the historical time unit is the time unit before the current time unit, the time unit is the minimum time period for material allocation, and a time unit has multiple time points; the material demand forecast information includes the material demand forecast value of each demander corresponding to each time point in the current time unit, and the material demand forecast value is predicted in the historical time unit; the material allocation ratio of the current time unit is calculated according to the material procurement lead time and historical forecast data to obtain The first material allocation ratio information includes: determining the target historical time unit corresponding to the current time unit according to the material procurement lead time and the first preset rule; filtering out the target forecast information in the historical forecast data according to the target historical time unit, the target forecast information being the material demand forecast information corresponding to the target historical time unit; performing weighted calculation on the material demand forecast value of each demander based on the weight of the target historical time unit and the target forecast information to obtain the material demand evaluation value of each demander; calculating the ratio of the material demand evaluation value of each demander to the sum of the material demand evaluation values of each demander to obtain the first material allocation ratio information, the first material allocation ratio information including the material allocation ratio of each demander corresponding to the current time unit; Performing material allocation according to material supply information, material demand information and the first material allocation ratio information to obtain a material allocation result; wherein the material supply information includes the material supply quantity corresponding to each time point in the current time unit, the material demand information includes the material demand of each demander corresponding to each time point in the current time unit, and the material allocation result is used to indicate the material quantity allocated to each demander at each time point in the current time unit; performing material allocation according to the material supply information, the material demand information and the first material allocation ratio information to obtain a material allocation result includes: calculating the material quota of each demander in the current time unit according to the total material supply of the current time unit and the first material allocation ratio information to obtain the first material quota information; Based on the total material supply of the current time unit, the material demand information and the first material quota information, materials are allocated to obtain first material allocation information; the first material allocation information includes the material allocation amount of each demander in the current time unit; based on the material demand information and the first material allocation ratio information, the material allocation ratio of each demander corresponding to each time point in the current time unit is calculated to obtain second material allocation ratio information; according to the material supply information and the second material allocation ratio information, the material quota of each demander at each time point in the current time unit is calculated to obtain second material quota information; based on the material supply information, the material demand information, the first material quota information and the second material quota information, materials are allocated to obtain the material allocation result.
2. The material distribution method according to claim 1, characterized in that: The sum of the material quotas of each demander in the first material quota is equal to the total material supply in the current time unit; the material quota of each demander in the current time unit is calculated according to the total material supply in the current time unit and the first material allocation ratio information to obtain the first material quota information, including: Calculate the material quota of each demander in the current time unit according to the total material supply in the current time unit and the first material allocation ratio information to obtain a first quota calculation result; Based on the first quota calculation result, the minimum packaging quantity is taken from the material quota of each demander in the current time unit to obtain a second quota calculation result; Determining whether the sum of the material quotas of each demander in the second quota calculation result is equal to the total material supply in the current time unit; If not, adjust the second quota calculation result according to the total material supply of the current time unit, the first material allocation ratio information and the preset allocation order, until the sum of the material quotas of each demander in the adjusted second quota calculation result is equal to the total material supply of the current time unit, and use the adjusted second quota calculation result as the first material quota information; If yes, the second quota calculation result is used as the first material quota information.
3. The material distribution method according to claim 1, characterized in that: The performing of material allocation based on the total material supply of the current time unit, the material demand information and the first material quota information to obtain first material allocation information includes: When the material quota of each demander in the current time unit is at least partially greater than its material demand, determining the smaller value between the material quota and the material demand corresponding to each demander in the current time unit based on the first material quota information and the material demand information; The smaller value is used as the material quantity allocated to each demander in the current time unit to perform initial material allocation, and a first initial material allocation result is obtained; Calculating the remaining material supply quantity after the initial material allocation according to the total material supply quantity of the current time unit and the first initial material allocation result; Allocate the remaining material supply quantity to the demander whose demand is not met, and obtain the first and second material allocation results; the material quota corresponding to the demander whose demand is not met in the current time unit is less than the material demand; Based on the first primary material allocation result and the first secondary material allocation result, the material quantities allocated to each demander in the current time unit are summed to obtain the first material allocation information.
4. The material distribution method according to claim 1, characterized in that: The calculating the material allocation ratio of each demander corresponding to each time point in the current time unit based on the material demand information and the first material allocation ratio information to obtain the second material allocation ratio information includes: Determine the demand party participating in the allocation corresponding to each time point in the current time unit according to the material demand information; the demand party participating in the allocation has material demand at the time point when it participates in the allocation; Obtaining the material allocation ratio corresponding to the demander participating in the allocation based on the first material allocation ratio information; The ratio of the material allocation ratio corresponding to each demand party participating in the allocation to the sum of the material allocation ratios of all demand parties participating in the allocation is calculated, and the ratio is used as the material allocation ratio of the demand party participating in the allocation.
5. The material distribution method according to claim 1, characterized in that: The performing material allocation based on the material supply information, the material demand information, the first material quota information and the second material quota information to obtain the material allocation result includes: Based on the material demand information, obtain the material demand quantity corresponding to each demander at the current time point; Based on the first material quota, obtain the material quota of the current time unit corresponding to each demander; Based on the second material quota, the material quota corresponding to each demander at the current time point is obtained; Determine the minimum value among the material demand at the current time point, the material quota of the current time unit and the material quota at the current time point corresponding to each demander; The minimum value is used as the material allocation amount of each demander at the current time point to perform initial material allocation, and obtain a second initial material allocation result; Calculating the remaining material supply quantity after the initial material allocation according to the material supply quantity at the current time point and the second initial material allocation result; Allocating the remaining material supply quantity to the demander whose demand is not met, to obtain a second secondary material allocation result; Based on the second primary material allocation result and the second secondary material allocation result, the material quantities allocated to each demander at the current time point are summed to obtain the second material allocation information.
6. The material distribution method according to claim 1, characterized in that: The method of performing material allocation according to the material supply information, the material demand information and the first material allocation ratio information to obtain the material allocation result includes: Calculate the material gap of each demander corresponding to the current time unit based on the material demand information and the material allocation result; wherein the material gap is the difference between the material demand and the material allocation when the material demand is greater than the material allocation; The material gap of each demander corresponding to the current time unit is transferred to the next time unit; the material gap can be at least partially satisfied when the total material supply of the next time unit is greater than the total material demand, and can be transferred to the next time unit of the next time unit when the total material supply of the next time unit is less than or equal to the material demand information.
7. A material distribution device, characterized in that: include: The allocation ratio calculation module is used to calculate the material allocation ratio of the current time unit according to the material procurement lead time and historical forecast data when the total material supply of the current time unit is less than the total material demand of the current time unit, and obtain the first material allocation ratio information; wherein, the historical forecast data includes multiple historical time units and their corresponding material demand forecast information; the historical time unit is the time unit before the current time unit, the time unit is the minimum time period for material allocation, and a time unit has multiple time points; the material demand forecast information includes the material demand forecast value of each demander corresponding to each time point in the current time unit, and the material demand forecast value is predicted in the historical time unit; the material allocation ratio calculation module is used to calculate the material allocation ratio of the current time unit according to the material procurement lead time and historical forecast data ... The first material allocation ratio information is obtained by calculating the material allocation ratio, including: determining the target historical time unit corresponding to the current time unit according to the material procurement lead time and the first preset rule; filtering out the target forecast information in the historical forecast data according to the target historical time unit, and the target forecast information is the material demand forecast information corresponding to the target historical time unit; performing weighted calculation on the material demand forecast value of each demander based on the weight of the target historical time unit and the target forecast information to obtain the material demand evaluation value of each demander; calculating the ratio of the material demand evaluation value of each demander to the sum of the material demand evaluation values of each demander to obtain the first material allocation ratio information, and the first material allocation ratio information includes the material allocation ratio of each demander corresponding to the current time unit; an allocation result calculation module, configured to perform material allocation according to material supply information, material demand information and the first material allocation ratio information, and obtain a material allocation result; wherein the material supply information includes the material supply quantity corresponding to each time point in the current time unit, the material demand information includes the material demand of each demander corresponding to each time point in the current time unit, and the material allocation result is used to indicate the material quantity allocated to each demander at each time point in the current time unit; performing material allocation according to the material supply information, the material demand information and the first material allocation ratio information to obtain a material allocation result includes: calculating the material quota of each demander in the current time unit according to the total material supply of the current time unit and the first material allocation ratio information, and obtaining the first material material quota information; performing material allocation based on the total material supply of the current time unit, the material demand information and the first material quota information to obtain first material allocation information; the first material allocation information includes the material allocation amount of each demander in the current time unit; calculating the material allocation ratio of each demander corresponding to each time point in the current time unit based on the material demand information and the first material allocation ratio information to obtain second material allocation ratio information; calculating the material quota of each demander at each time point in the current time unit according to the material supply information and the second material allocation ratio information to obtain second material quota information; performing material allocation based on the material supply information, the material demand information, the first material quota information and the second material quota information to obtain the material allocation result.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 6 when executing the program.
9. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute the material distribution method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Material demand weighted prediction method based on enterprise MRP
CN109741083A
Article storage information generation method and device
CN109961247A