Material distribution method and device, electronic equipment and computer readable storage medium

By obtaining and processing the composition and supply and demand information of product identification, the material distribution is automated, which solves the problem of inefficient material distribution in manufacturing factories, and realizes efficient material deficiencies and smooth production.

CN120258682APending Publication Date: 2025-07-04BOE TECHNOLOGY GROUP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410012798.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-03
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

In the prior art, manufacturing factories are time-consuming and labor-intensive to perform product collection calculations and material accounting before producing products, resulting in inefficient material distribution.

Method used

By obtaining the composition information set and supply and demand information set of product identification, processing this information to obtain product defect information, and material allocation is carried out based on defect information, and automatic material allocation and defect accounting are realized.

Benefits of technology

It improves material distribution efficiency, ensures the smooth progress of production, and improves capacity utilization, reducing the problem of shutting down and waiting for materials during the production process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120258682A_ABST
    Figure CN120258682A_ABST
Patent Text Reader

Abstract

The invention provides a material distribution method and device, electronic equipment and a computer readable storage medium, and can be applied to the technical field of material distribution. The material distribution method comprises the steps that a composition information set and a supply and demand information set corresponding to at least one product identifier are obtained, the composition information set comprises at least one material identifier group, and each material identifier group comprises at least one material identifier; according to the supply and demand information set, processing the composition information set to obtain product defect information corresponding to the at least one product identifier; and performing material distribution on at least one target material corresponding to each product identifier in the at least one product identifier according to the product defect information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of material distribution, and more specifically, to a material distribution method, device, electronic device, computer-readable storage medium, and a computer program product. Background Art

[0002] Before manufacturing factories produce products, they need to calculate the product kit according to production requirements, formulate a production schedule plan, and at the same time, based on the available materials in the warehouse, calculate the shortage status of materials for material replenishment and procurement. Product kit completion can mean that all the materials required for a product are available. Currently, there are problems of time-consuming and laborious calculations for product kit completion and material accounting for product production, which reduces the efficiency of material distribution. Summary of the Invention

[0003] In view of this, the present disclosure provides a material distribution method, device, electronic device, computer-readable storage medium, and computer program product.

[0004] One aspect of the present disclosure provides a material distribution method, including: obtaining a set of composition information and a set of supply and demand information respectively corresponding to at least one product identifier, wherein the set of composition information includes at least one group of material identifiers, and each group of material identifiers includes at least one material identifier; processing the set of composition information according to the set of supply and demand information to obtain product shortage information respectively corresponding to the at least one product identifier; and performing material distribution on at least one target material respectively corresponding to each product identifier among the at least one product identifier according to the product shortage information.

[0005] Another aspect of the present disclosure further provides a material distribution device, including: an obtaining module, configured to obtain a set of composition information and a set of supply and demand information respectively corresponding to at least one product identifier, wherein the set of composition information includes at least one group of material identifiers, and each group of material identifiers includes at least one material identifier; a processing module, configured to process the set of composition information according to the set of supply and demand information to obtain product shortage information respectively corresponding to the at least one product identifier; and a material distribution module, configured to perform material distribution on at least one target material respectively corresponding to each product identifier among the at least one product identifier according to the product shortage information.

[0006] Another aspect of the present disclosure further provides an electronic device, including: one or more processors; a memory, configured to store one or more instructions, wherein when the one or more instructions are executed by the one or more processors, the one or more processors implement the above-mentioned material distribution method.

[0007] Another aspect of the present disclosure also provides a computer-readable storage medium, on which executable instructions are stored. When the executable instructions are executed by a processor, the processor implements the above-mentioned material distribution method.

[0008] Another aspect of the present disclosure also provides a computer program product, which includes computer-executable instructions. When the computer-executable instructions are executed, they are used to implement the above-mentioned material distribution method. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Through the following description of the embodiments of the present disclosure with reference to the drawings, the above and other objects, features, and advantages of the present disclosure will become clearer. In the drawings:

[0010] Figure 1 Schematically shows a system architecture to which the material distribution method according to an embodiment of the present disclosure can be applied;

[0011] Figure 2 Schematically shows a flowchart of the material distribution method according to an embodiment of the present disclosure;

[0012] Figure 3 Schematically shows a structural schematic diagram of a bill of materials according to an embodiment of the present disclosure;

[0013] Figure 4 Schematically shows a tree structure schematic diagram of product materials according to an embodiment of the present disclosure;

[0014] Figure 5 Schematically shows a product structure schematic diagram according to an embodiment of the present disclosure;

[0015] Figure 6 Schematically shows a flowchart for determining bottleneck materials according to an embodiment of the present disclosure;

[0016] Figure 7 Schematically shows a material hierarchy diagram according to another embodiment of the present disclosure;

[0017] Figure 8 Schematically shows a flowchart of the material distribution method according to another embodiment of the present disclosure;

[0018] Figure 9 Schematically shows a block diagram of a material distribution device according to an embodiment of the present disclosure; and

[0019] Figure 10 Schematically shows a block diagram of an electronic device suitable for implementing the material distribution method according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0020] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present disclosure. In the following detailed description, for the sake of explanation, numerous specific details are set forth in order to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is obvious that one or more embodiments can also be implemented without these specific details. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessarily confusing the concepts of the present disclosure.

[0021] The terms used herein are merely for describing specific embodiments and are not intended to limit the present disclosure. The terms "including", "comprising", etc. used herein indicate the presence of the described features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0022] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0023] In the case of using expressions such as "at least one of A, B, and C, etc.", generally, it should be interpreted according to the meaning commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include, but not be limited to, a system having only A, only B, only C, having A and B, having A and C, having B and C, and / or having A, B, and C, etc.).

[0024] In the technical solution of the present disclosure, the acquisition, storage, and application of the user's personal information involved, etc., all comply with the provisions of relevant laws and regulations, take necessary confidentiality measures, and do not violate public order and good customs.

[0025] In the technical solution of the present disclosure, before obtaining or collecting the user's personal information, the authorization or consent of the user is obtained.

[0026] Before a manufacturing factory conducts production, it is necessary to perform product kit calculation according to production orders, sales plans, or minimum inventory, etc., such as calculating the production quantity of the required products and the usage quantity of raw materials, etc., and formulating a production schedule plan; at the same time, based on the available materials in the warehouse, the shortage status of materials is calculated to carry out material replenishment and procurement. The current product kit calculation and material accounting are time-consuming and laborious, which in turn leads to low material allocation efficiency.

[0027] In view of this, embodiments of the present disclosure provide a material distribution method, apparatus, electronic device, computer-readable storage medium, and program product, which are used to at least partially overcome the problem that product kit calculation and material accounting are time-consuming and laborious in complex material situations, so as to achieve automated processing of material distribution and material shortage accounting, thereby ensuring the smooth progress of production. For example, the material distribution method includes: obtaining a set of composition information and a set of supply and demand information corresponding to each of at least one product identifier, where the set of composition information includes at least one material identifier group, and each material identifier group includes at least one material identifier; processing the set of composition information according to the set of supply and demand information to obtain product shortage information corresponding to each of at least one product identifier; and performing material distribution on at least one target material corresponding to each of at least one product identifier according to the product shortage information.

[0028] Figure 1 Schematically shows a system architecture to which the material distribution method according to an embodiment of the present disclosure can be applied. It should be noted that Figure 1 The shown is only an example of a system architecture to which the embodiments of the present disclosure can be applied, to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.

[0029] As Figure 1 shown, the system architecture 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is used to provide a medium for communication links between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, etc.

[0030] Users can use at least one of the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 through the network 104 to receive or send messages, etc., such as receiving material distribution results and sending information that requires material distribution, etc. Various communication client applications may be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).

[0031] The first terminal device 101, the second terminal device 102, and the third terminal device 103 may be various electronic devices with a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, and desktop computers, etc.

[0032] Server 105 may be a server that provides various services. For example, it may be a background management server (for example only) that supports the material distribution information sent by the user using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process data such as the received material distribution information, and feedback the processing results (such as the material distribution results obtained according to the material distribution information, the web pages, information, or data obtained or generated, etc.) to the terminal device.

[0033] It should be noted that the material distribution method provided by the embodiments of the present disclosure can generally be executed by the server 105. Correspondingly, the material distribution device provided by the embodiments of the present disclosure can generally be set in the server 105. The material distribution method provided by the embodiments of the present disclosure can also be executed by a server or a server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103, and / or the server 105. Correspondingly, the material distribution device provided by the embodiments of the present disclosure can also be set in a server or a server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103, and / or the server 105.

[0034] Alternatively, the material distribution method provided by the embodiments of the present disclosure can also be executed by the first terminal device 101, the second terminal device 102, or the third terminal device 103, or can also be executed by other terminal devices that are different from the first terminal device 101, the second terminal device 102, or the third terminal device 103. Correspondingly, the material distribution device provided by the embodiments of the present disclosure can also be set in the first terminal device 101, the second terminal device 102, or the third terminal device 103, or can be set in other terminal devices that are different from the first terminal device 101, the second terminal device 102, or the third terminal device 103.

[0035] It should be understood that Figure 1 the numbers of the terminal devices, networks, and servers in

[0036] are merely illustrative. According to the implementation requirements, there can be any number of terminal devices, networks, and servers.

[0037] Figure 2 Schematically shows a flowchart of the material distribution method according to an embodiment of the present disclosure.

[0038] As Figure 2As shown, the material distribution method includes operations S210 to S230.

[0039] In operation S210, obtain a set of composition information and a set of supply and demand information respectively corresponding to at least one product identifier, wherein the set of composition information includes at least one material identifier group, and each material identifier group includes at least one material identifier.

[0040] In operation S220, process the set of composition information according to the set of supply and demand information to obtain product shortage information respectively corresponding to at least one product identifier.

[0041] In operation S230, perform material distribution on at least one target material respectively corresponding to each product identifier among at least one product identifier according to the product shortage information.

[0042] The composition information in the set of composition information can be information used to describe material relationships, and these materials can be the materials used in the process of producing products. The set of composition information can be determined based on a bill of materials. The bill of materials can include at least one product identifier (such as a product number), and for each product identifier, the material information required to produce the product. In the material information of the product, it can include the material identifier of each material (such as a material number) and the hierarchical relationship between materials. Each level of materials can form a material group, and the material identifier group can be the material identifiers of all materials in the material group.

[0043] The supply and demand information in the set of supply and demand information can be information used to describe the demand situation of products and the inventory situation of materials. The set of supply and demand information can be determined based on product demand information and material inventory information. The product demand information can include the demand quantity of products, and the material inventory information can include the inventory quantity of materials.

[0044] Product shortage can refer to a product with a shortage of materials, and product shortage information can include the shortage quantity of the product. Exemplarily, the demand quantity of the product is a, and after processing the set of composition information through the set of supply and demand information, it can be obtained that the current materials can only complete b products. Then the product shortage information can be a - b products, and both a and b can be positive integers, and a > b.

[0045] According to an embodiment of the present disclosure, since product shortage can refer to a product with a shortage of materials, the shortage information of materials can be determined according to the product shortage information, and material distribution can be realized based on the shortage information of materials. Among them, the target material can refer to the material to be distributed.

[0046] By obtaining the set of component information and the set of supply and demand information corresponding to each product identifier respectively; and processing the set of component information according to the set of supply and demand information to obtain the product shortage information corresponding to the product identifier; and allocating the target materials corresponding to the product identifier according to the product shortage information. Since the factory can automatically analyze and process the product component information according to the supply and demand information, thereby realizing the automatic analysis of the complete set number and shortage number of each product, achieving the technical effect of improving the material allocation efficiency, thus ensuring the smooth progress of production and improving the utilization rate of production capacity.

[0047] According to an embodiment of the present disclosure, as described above, when performing material allocation in the embodiments of the present disclosure, it is necessary to utilize the set of component information and the set of supply and demand information. Among them, the set of component information can be determined based on the bill of materials, and the set of supply and demand information can be determined based on the product demand information and the material inventory information. The determination processes of the set of component information and the set of supply and demand information will be described in detail below.

[0048] According to an embodiment of the present disclosure, before obtaining the set of component information and the set of supply and demand information corresponding to each of at least one product identifier, the following operations can be performed: obtaining the bill of materials, the product demand information, and the material inventory information; determining the set of component information corresponding to each of at least one product identifier according to the bill of materials; and determining the set of supply and demand information corresponding to each of at least one product identifier according to the product demand information and the material inventory information.

[0049] The bill of materials may include at least one product identifier and at least one material identifier having a hierarchical relationship corresponding to each product identifier respectively. For example, the bill of materials (Bill Of Material, BOM) can detail all the materials used in a project, the hierarchical relationship between the materials, and the relevant attributes of the materials. Exemplarily, the bill of materials may include content such as material identifier (such as material number), material name, material specification, material usage amount, material unit, material unit price, material currency, material process level, material production attribute, material substitution relationship, and material usage priority attribute, etc. The embodiments of the present disclosure can use the material identifier, material usage amount, material process level, material substitution relationship, and material usage priority attribute for product complete set calculation.

[0050] Figure 3 Schematically shows a structural diagram of a bill of materials according to an embodiment of the present disclosure.

[0051] As Figure 3 shown, Figure 3 Schematically shows a bill of materials relationship diagram with a 4-layer structure. For example, the product identifier 301 at the first level, the first-level material identifier 302 at the second level, the second-level material identifier 303 at the third level, and the bottom-level material identifier 304 at the fourth level. TakingFigure 3 For example, the set of composition information determined according to a product identifier may include 3 material identifier groups. For example, a first-level material identifier group composed of material identifiers of multiple first-level materials, a second-level material identifier group composed of material identifiers of multiple second-level materials, and a bottom-level material identifier group composed of material identifiers of multiple bottom-level materials. Each material identifier group includes multiple material identifiers.

[0052] According to Figure 3 As shown in the structure of the bill of materials, it can be understood that the materials in the bill of materials are relatively complex. For example, a product involves multi-level materials; for another example, the same material can be used in the production of multiple products, and for different products, the unit consumption of the materials required for producing the product is different; for another example, for a product, there may be a group of alternative materials for its subordinate materials. The group of alternative materials can be one group or multiple groups, and there can also be a priority relationship in the use of materials within the same group of alternative materials. The following takes Table 1 as an example to describe these complex situations.

[0053] Table 1

[0054]

[0055] As shown in Table 1, taking the product with the product identifier PRO-1 as an example, at least one of the five materials, namely material 1 (i.e., mat-1), material 2 (i.e., mat-2), material 3 (i.e., mat-3), material 4 (i.e., mat-4), and material 5 (i.e., mat-5), can be used to produce this product.

[0056] Taking material 1 (i.e., mat-1) in PRO-1 as an example, the unit consumption can represent that if material 1 (i.e., mat-1) is used to produce the product PRO-1, 1 portion of material 1 (i.e., mat-1) is required.

[0057] In the group of alternative materials, multiple materials with the same alternative material group identifier can be substituted for each other. For example, in PRO-1, the alternative material group identifiers of material 1 (i.e., mat-1) and material 2 (i.e., mat-2) are the same, both being DA. Then material 1 (i.e., mat-1) and material 2 (i.e., mat-2) can be substituted for each other to produce PRO-1.

[0058] The priority can represent the priority degree of material use. For example, the priority of material 1 (i.e., mat-1) is 1, and the priority of material 2 (i.e., mat-2) is 2. Then, in the process of producing PRO-1, material 1 (i.e., mat-1) can be used preferentially.

[0059] The secondary material identifier is used to characterize the subordinate materials of the primary material. For example, Material 3 (i.e., mat-3) has an associated secondary material, which can be a sub-material (i.e., submat-1).

[0060] Taking Material 3 (i.e., mat-3) and the sub-material (i.e., submat-1) as an example, the unit consumption of the primary material for the secondary material can characterize that 2 portions of the sub-material (i.e., submat-1) can be used to replace 1 portion of Material 3 (i.e., mat-3). Optionally, the identification method of products and materials can be adaptively adjusted according to actual needs, and Table 1 is only an example.

[0061] Continue to refer to Figure 3 , according to multiple materials and complex material hierarchical relationships, multiple possible composition information sets (such as product formulas) of the product can be generated. Combining with the hierarchical relationship of materials, there can be at least one of the following composition information sets: a composition information set that uses all bottom-layer materials, a composition information set that uses primary materials and bottom-layer essential materials (for example, uses a single intermediate-level material and bottom-layer essential materials), a composition information set that uses secondary materials and bottom-layer essential materials (for example, uses a single intermediate-level material and bottom-layer essential materials), and a composition information set that cross-uses multi-level materials. For the composition information sets that use all bottom-layer materials, use primary materials and bottom-layer essential materials, and use secondary materials and bottom-layer essential materials, they are relatively simple. For the composition information set that cross-uses multi-level materials, there will be more diverse combination possibilities.

[0062] In the actual use process of the embodiments of the present disclosure, not only can the flexibility and complexity in the material distribution process be comprehensively managed, but also the strategy of customizing the material composition is supported. The algorithm used to extract the composition information set from the bill of materials can automatically extract all eligible composition information sets from the bill of materials according to the customized material composition strategy, and can also convert all unit consumptions to the unit consumption of the product for any one material. The following is illustrated with an example.

[0063] Taking the primary material of PRO-1 as an example, to produce PRO-1, one material from the alternative material group DA is required, and at the same time, one material from the alternative material group DB is also required. Then, there can be 6 composition information sets for this product: (mat-1, mat-3), (mat-1, mat-4), (mat-1, mat-5), (mat-2, mat-3), (mat-2, mat-4), (mat-2, mat-5).

[0064] In the actual production process, when there are no preset conditions for the relationship of the composition information set of materials, any one of the above 6 composition information sets can be used.

[0065] When there are preset conditions for the set relationship of the composition information of materials in actual production, for example, the preset condition is that there are materials in the alternative material group DA and materials in the alternative material group DB in the composition information set at the same time. That is, it is necessary to produce products through the cooperation of materials in the alternative material group DA and materials in the alternative material group DB to ensure the adaptability of the products. In this regard, the same priority needs to be specified when combining materials. That is, in this case, only the two product composition information sets (mat-1, mat-3) and (mat-2, mat-4) meet the preset conditions, and the composition information sets formed by other material combinations are invalid. These composition information sets should be excluded when extracting the composition information set from the bill of materials using the preset algorithm.

[0066] The preset algorithm can be configured according to actual business requirements and is not limited here. In one example, the preset algorithm can be a method based on the Cartesian product. The following combines Figure 3 to further describe the process of using the Cartesian product method to process at least one material identifier according to the hierarchical relationship to obtain the composition information set.

[0067] For a product with at least one alternative material group, a Cartesian product operation can be performed on at least one alternative material group corresponding to the product to generate all assembly combinations. The Cartesian product operation is a method for processing sets to generate ordered pairs. In the embodiments of the present disclosure, the set can refer to the alternative material group, and the ordered pair can refer to the result obtained by performing a Cartesian product operation on at least one material identifier in different alternative material groups.

[0068] For example, the method of Cartesian product can be used to process at least one material identifier corresponding to different alternative material groups respectively to perform material combination and obtain multiple initial composition information sets. On this basis, the composition information sets that do not meet the preset conditions in the multiple initial composition information sets can be deleted and merged with the necessary materials for producing the product to obtain multiple composition information sets of the product.

[0069] Exemplarily, for product M, it has 3 alternative material groups (i.e., sets). For example, alternative material group A: {1, 2, 3}, alternative material group B: {4, 5, 6}, and alternative material group C: {7, 8}. After performing the Cartesian product operation on the above 3 alternative material groups corresponding to product M, the obtained ordered pairs are: {1, 4, 7}, {1, 4, 8}, {1, 5, 7}, {1, 5, 8}, {1, 6, 7}, {1, 6, 8}, {2, 4, 7}, {2, 4, 8}, {2, 5, 7}, {2, 5, 8}, {2, 6, 7}, {2, 6, 8}, {3, 4, 7}, {3, 4, 8}, {3, 5, 7}, {3, 5, 8}, {3, 6, 7}, {3, 6, 8}, where the first element in each result comes from alternative material group A, the second element comes from alternative material group B, and the third element comes from alternative material group C.

[0070] In one example, the preset algorithm can be a tree-generation-based method. The following further describes the process of using the tree-generation method to process at least one material identifier according to the hierarchical relationship to obtain a set of composition information. Figure 4 Figure 4 Schematically shows a schematic diagram of the tree structure of product materials according to an embodiment of the present disclosure.

[0071] As Figure 4 shown, for a product with a multi-level material structure, a tree-generation method can be adopted. Each product and material is regarded as a node to generate a tree structure, perform node fusion, pruning, or branch generation on the tree, and integrate all leaf nodes to form the material recipe of the product. Exemplarily, in Figure 4 , product N can be used as the root node n_401. The primary materials for producing this product N can include primary material n_402, the secondary materials for producing this product N can include secondary materials n_403 and n_404, and the underlying materials for producing this product N can include underlying materials n_405, n_406, n_407, n_408, and n_409. Each of the above primary materials, secondary materials, and underlying materials can be used as leaf nodes.

[0072] In one example, in the front-end page, the methods for determining the composition information set can be classified, and filtering conditions can be set to screen and view the specific compositions of all possible materials under different classification methods. For complex product structures, they can be displayed in the front-end in the form of a tree diagram, and when displaying, the function of grayscale display or hiding the materials not used in the current composition information set of the product can also be supported. In addition, by clicking on the nodes, the attribute information of the materials can also be displayed, such as inventory, process stage, etc. The display of the composition information set on the front-end page can be adaptively adjusted according to actual needs.

[0073] The process of determining the composition information set has been described above, but in the process of material allocation, the existence of the supply and demand information set is also required. Therefore, the following content further describes the process of determining the supply and demand information set.

[0074] Optionally, the process of determining the supply and demand information set corresponding to each of at least one product identifier according to the product demand information and the material inventory information may include the following operations: determining at least one intermediate material identifier corresponding to the product identifier from among at least one material identifier according to the composition information set; and determining the supply and demand information set according to the demand information corresponding to the product identifier and the inventory information corresponding to each of at least one intermediate material identifier. Among them, the product demand information includes at least one product identifier and the demand information corresponding to each product identifier, and the material inventory information includes at least one material identifier and the inventory information corresponding to each material identifier.

[0075] The product demand information may be a product demand list formed by comprehensively considering the user's needs and the factory's production capacity, etc. according to the sales and production plans. Table 2 can be used as a schematic table of a kind of product demand information. As shown in Table 2, the product demand information may include the product identifiers, demand quantities, and importance levels of each product, etc.

[0076] Table 2

[0077] Product Identification Product Requirements Importance Information PRO-1 10000 100 PRO-2 20000 50

[0078] In Table 2, the importance information represents the product importance, and the importance can be a value between 0 and 100. The more important the product, the larger the value of the importance. For example, since product PRO-1 is more important than product PRO-2, the importance information of product PRO-1 can be set to 100, and the importance information of PRO-2 can be set to 50.

[0079] The material inventory information may be the quantity of materials available for production obtained by integrating the actual in-stock inventory and in-transit transportation data of the current materials. Table 3 can be used as a schematic table of a kind of material inventory information. As shown in Table 3, the material inventory information may include the material identifiers and inventory quantities of each material.

[0080] Table 3

[0081] Material Identification Material Inventory mat-1 10000 mat-2 20000

[0082] By according to the composition information set, the intermediate material identifier corresponding to the material identifier in the composition information set can be determined. Then, by integrating the product demand information and the material inventory information based on the product information corresponding to the product identifier and the inventory information corresponding to the intermediate material identifier, a supply-demand information set can be obtained.

[0083] In one embodiment, the supply-demand information set can be as shown in Table 4. Among them, the intermediate material identifier can be an identifier used to associate the composition information set with the material inventory information, aiming to determine the inventory situation of the materials in the composition information set according to this intermediate material identifier. Optionally, the intermediate material identifier can be the same as the material identifier in the composition information set, or it can be a custom identifier. Generally, it is necessary to realize that the inventory situation of the materials in the composition information set can be determined according to this intermediate material identifier.

[0084] Table 4

[0085]

[0086] By determining the composition information set from the bill of materials and determining the supply-demand information set according to the product demand information and the material inventory information, the information required for material allocation can be obtained from multiple dimensions, improving the accuracy of material allocation. Moreover, since the material hierarchy relationship in the bill of materials is relatively complex, and the embodiments of the present disclosure not only adopt the material hierarchy relationship in the bill of materials during the material allocation process, but also can analyze the complex hierarchical materials to realize material allocation in the case of complex materials.

[0087] The above describes the process of operating S210 to determine the composition information set and the supply-demand information set. The obtained supply-demand information set can process the composition information set to obtain the product shortage information corresponding to each of at least one product identifier. For example, this process can include the following operations: according to the composition information set, determine at least one virtual product identifier corresponding to the product identifier and the virtual product completeness information and importance information corresponding to each virtual product identifier, where the virtual product completeness information is used to represent the quantity of the virtual product to be generated, and the importance information is used to represent the importance degree of the virtual product; construct an objective function according to the virtual product completeness information and importance information corresponding to each virtual product identifier; and solve the objective function according to the supply-demand information set and the virtual product completeness information corresponding to each virtual product identifier to obtain the product shortage information.

[0088] Figure 5 Schematically shows a product structure diagram according to an embodiment of the present disclosure. The following is based onFigure 5 and Table 4 describe the process of determining at least one virtual product identifier corresponding to the product identifier, and the virtual product kit information and importance information respectively corresponding to each virtual product identifier according to the composition information set.

[0089] As Figure 5 shown, the first-level materials include Material 1 (i.e., mat-1) and Material 2 (i.e., mat-2), the second-level materials include Material 3 (i.e., mat-3) and Material 4 (i.e., mat-4), and the third-level materials include Material 3 (i.e., mat-3) and Material 5 (i.e., mat-5). Among them, Material 1 and Material 2 are in a relationship of substitute materials for each other.

[0090] In one embodiment, the product production methods based on materials at different levels may include at least one of the following: the product production method based on the first-level materials, the product production method based on the second-level materials, and the product production method based on the third-level materials.

[0091] For example, in the case of adopting the product production method based on the first-level materials, since Material 1 (i.e., mat-1) and Material 2 (i.e., mat-2) are a substitute group, the product can be produced by only using Material 1, or only using Material 2. For example, the virtual product identifier of the virtual product obtained by only using Material 1 for production can be set as PRO-1-1, and the virtual product kit information corresponding to PRO-1-1 can be set as x1; the virtual product identifier of the virtual product obtained by only using Material 2 for production can be set as PRO-1-2, and the virtual product kit information corresponding to PRO-1-2 can be set as x2. Since the preset priority of Material 1 (i.e., mat-1) is higher than that of Material 2 (i.e., mat-2), the virtual product identifier PRO-1-1 corresponding to Material 1 (i.e., mat-1) can be located before PRO-1-2. It can be understood that the virtual product can refer to a product planned and produced in advance according to the material information, aiming to obtain the shortage information of the product according to the information of the virtual product, obtain the material shortage information according to the product shortage information, and thus allocate materials according to the material shortage information to ensure the completion of the product demand.

[0092] Alternatively, in the case of adopting the product production method based on the second-level materials, the virtual product identifier obtained by using Material 3 (i.e., mat-3) and Material 4 (i.e., mat-4) for production can be set as PRO-1-3, and the corresponding virtual product kit information can be set as x3. Alternatively, in the case of adopting the product production method based on the third-level materials, the virtual product identifier obtained by using Material 3 (i.e., mat-3) and Material 5 (i.e., mat-5) for production can be set as PRO-1-4, and the corresponding virtual product kit information can be set as x4. Thus, the above various information can be integrated into the form shown in Table 5.

[0093] Table 5

[0094]

[0095] According to the virtual product kit information and importance information corresponding to each virtual product identifier described above, an objective function can be constructed, and the objective function can be as shown in formula (1).

[0096]

[0097] Among them, n1, n2, and n3 can be derived virtual products.

[0098] For example, in one embodiment, L products can derive n virtual products, including n1 first-round virtual products (products using first-level materials), n2 second-round virtual products (products using second-level materials), and n3 third-round virtual products (products using bottom-level materials). x represents the kit information of the virtual product to be solved, w represents the product importance, w is predetermined by the business, w can be a value between 0 and 100, and the more important the product, the larger the w value of the product. can represent the quantity of the virtual product kit at the stage of using first-level materials can represent the quantity of the virtual product kit at the stage of using second-level materials can represent the quantity of the virtual product kit at the stage of using bottom-level materials. Add the quantities of the virtual product kits at each stage as the quantity of the virtual product kit that these materials can finally satisfy.

[0099] Exemplarily, the objective function constructed according to Table 5 can be as shown in formula (2).

[0100] obj = max(100 * x1 + 100 * x2) + max(100 * x3) + max(100 * x4) (2)

[0101] To consider the processing time and cost, first-level materials can be preferentially used when producing products, followed by second-level materials, and bottom-level materials are used. In this regard, the problem of material allocation can be processed in three stages, that is, and these three stages. By processing the problem of material allocation in stages, the quantity of the virtual product kit at each stage is obtained, and then the quantities of the virtual product kits at each stage are added as the quantity of the product kit that these materials can finally satisfy.

[0102] If the hierarchical relationship of materials is more complex, with not only first-level materials, second-level materials, and bottom-level materials, then based on the same concept, each additional level can be regarded as a stage. The sum of the complete set quantities of virtual products in each stage is used as the final complete set quantity of virtual products that these materials can satisfy. It should be noted that for a single product, the number of virtual products in each stage can be determined by multiplying the complete set quantity of virtual products by the importance of the product. Summing up the number of virtual products in each stage gives the total number of virtual products. That is, the total number of virtual products comprehensively considers the number of virtual products and the importance of virtual products.

[0103] According to an embodiment of the present disclosure, after constructing the objective function, the process of solving the objective function may include the following operations: determining product constraint conditions based on demand information and virtual product complete set information corresponding to each virtual product identifier; determining material constraint conditions based on material demand information and inventory information corresponding to at least one material identifier; and solving the objective function according to the product constraint conditions and material constraint conditions to obtain product shortage information. Among them, the supply and demand information set includes demand information corresponding to product identifiers, material demand information and inventory information corresponding to at least one material identifier.

[0104] Product constraint conditions can be determined based on products. For example, from the perspective of products, according to the virtual product complete set information of different virtual products corresponding to the product, product constraint conditions for the product can be constructed. Product constraint conditions may refer to that the sum of the production quantities of each virtual product is less than or equal to the upper limit of the demand of the affiliated product. Product constraint conditions can be shown as formula (3).

[0105]

[0106] Among them, p lmax represents the demand quantity of the first product, and C represents the number of virtual products derived from this product.

[0107] Exemplarily, the virtual products corresponding to product PRO-1 may include virtual product PRO-1-1, virtual product PRO-1-2, virtual product PRO-1-3, and virtual product PRO-1-4. Product constraint conditions can be constructed according to the virtual product complete set information of each of the above virtual products (i.e., x1 + x2 + x3 + x4) and the demand information of product PRO-1 (i.e., 1000), as shown in formula (4):

[0108] 0 ≤ x1 + x2 + x3 + x4 ≤ 1000 (4)

[0109] Material constraints can be determined from the perspective of materials. For example, from the perspective of materials, according to the material requirement information of different materials for each virtual product, the material constraints for each material can be constructed separately. The material constraints can refer to that the usage amount of each material is less than or equal to the material supply amount (inventory). The material constraints can be as shown in formula (5).

[0110]

[0111] Among them, a iq represents the usage amount of the q-th material for a single virtual product x i and m qmax represents the supply amount of the q-th material.

[0112] Exemplarily, material 1 (i.e., mat-1) is only used when producing the virtual product with the virtual product identifier PRO-1-1. Therefore, the material constraints for material 1 can be as shown in formula (6):

[0113] 0 ≤ x1 * 1 ≤ 100 (6)

[0114] Material 2 (i.e., mat-2) is only used when producing the virtual product with the virtual product identifier PRO-1-2. Therefore, the material constraints for material 2 can be as shown in formula (7):

[0115] 0 ≤ x2 * 1 ≤ 100 (7)

[0116] Material 3 (i.e., mat-3) is used when producing both the virtual product with the virtual product identifier PRO-1-3 and the virtual product with the virtual product identifier PRO-1-4. Therefore, the material constraints for material 3 can be as shown in formula (8):

[0117] 0 ≤ x3 * 2 + x4 * 2 ≤ 100 (8)

[0118] Material 4 (i.e., mat-4) is only used when producing the virtual product with the virtual product identifier PRO-1-3. Therefore, the material constraints for material 4 can be as shown in formula (9):

[0119] 0 ≤ x3 * 1 ≤ 100 (9)

[0120] Material 5 (i.e., mat-5) is only used when producing the virtual product with the virtual product identifier PRO-1-4. Therefore, the material constraints for material 5 can be as shown in formula (10):

[0121] 0 ≤ x4 * 1 ≤ 100 (10)

[0122] Further, the process of solving the objective function may further include the following operations: solving the objective function according to the product constraint conditions and the material constraint conditions to obtain the product matching information; and determining the product shortage information according to the demand information and the product matching information.

[0123] In the embodiments of the present disclosure, the objective function shown in formula (1) can be regarded as being constructed by three objective sub-functions, namely and These three sub-functions. Among them, N is a positive integer and n ∈ {1, 2, …, N - 2, N - 1}.

[0124] The process of solving the objective function may include the following operations: processing the objective sub-function for the nth level according to the product constraint conditions and the material constraint conditions to obtain the processing result of the nth level; updating the product constraint conditions and the material constraint conditions according to the processing result of the nth level to obtain the updated product constraint conditions and the updated material constraint conditions; and processing the objective sub-function for the (n + 1)th level according to the updated product constraint conditions and the updated material constraint conditions to obtain the processing result of the (n + 1)th level.

[0125] For example, when solving the objective function, the matching quantity of the virtual product of the first-level material can be calculated first. According to the matching quantity of the virtual product of the first-level material, the product constraint conditions and the material constraint conditions are updated. Then, according to the updated product constraint conditions and the material constraint conditions, the matching quantity of the virtual product of the second-level material is calculated. According to the matching quantity of the virtual product of the second-level material, the product constraint conditions and the material constraint conditions are updated again, and the matching quantity of the virtual product of the bottom-level material is calculated according to the product constraint conditions and the material constraint conditions updated again.

[0126] For example, the above three sub-functions may be constructed in the case of N = 4. In the case of N = 4, n ∈ {1, 2, 3}. Taking n = 1 as an example, the objective sub-function obj_1 for the first level can be as shown in formula (11):

[0127] obj_1 = max(100 * x1 + 100 * x2) (11)

[0128] Since the virtual products corresponding to the first-level materials are virtual product PRO-1-1 and virtual product PRO-1-2, for the objective sub-function obj_1 corresponding to the first level above, the product constraint conditions can be as shown in formula (12):

[0129] 0 ≤ x1 + x2 ≤ 1000 (12)

[0130] From the material constraint conditions for different materials constructed above, the material constraint conditions related to the virtual product PRO-1-1 and the material constraint conditions related to the virtual product PRO-1-2 can be determined. That is, the material constraint conditions can be as shown in formulas (13) and (14):

[0131] 0≤x1*1≤100 (13)

[0132] 0≤x2*1≤100 (14)

[0133] Taking n = 2 as an example, the objective sub-function obj_2 for the second level can be as shown in formula (15):

[0134] obj_2=max(100*x3) (15)

[0135] Since the virtual product corresponding to the materials at the second level is the virtual product PRO-1-3, for the above objective sub-function obj_2 corresponding to the second level, the product constraint conditions can be as shown in (16):

[0136] 0≤x31000-(x1+x2) (16)

[0137] From the material constraint conditions for different materials constructed above, the material constraint conditions related to the virtual product PRO-1-3 can be determined. That is, the material constraint conditions can be as shown in formulas (17) and (18):

[0138] 0≤x3*2+x4*2≤100 (17)

[0139] 0≤x3*1≤100 (18)

[0140] Taking n = 3 as an example, the objective sub-function obj_3 for the third level can be as shown in formula (10):

[0141] obj_3=max(100*x4) (19)

[0142] Since the virtual product corresponding to the materials at the third level is the virtual product PRO-1-4, for the above objective sub-function obj_3 of the third level, the product constraint conditions can be as shown in formula (20):

[0143] 0≤x41000-(x1+x2+x3)(20)

[0144] From the material constraint conditions for different materials constructed above, the material constraint conditions related to the virtual product PRO-1-4 can be determined. That is, the material constraint conditions are:[[]]

[0145] 0 ≤ x4 * 1 ≤ Remaining inventory after the second round (21)

[0146] Based on the information obtained from the above operations, the number of product kits that can be satisfied by each hierarchical structure material can be obtained by using the process shown in formula (22):

[0147]

[0148] Based on the product demand quantity in the product demand information and the number of product kits obtained according to formula (22), product shortage information (such as the product shortage quantity) can be obtained.

[0149] The specific process can be as shown in formula (23):

[0150] Product shortage quantity = Product demand quantity - Q l (23)

[0151] By determining the number of product kits in different stages and continuously updating the product constraint conditions and material constraint conditions, the accuracy of material allocation can be improved.

[0152] The above describes the process of obtaining product shortage information. Based on the product shortage information, analysis of materials can be achieved. For example, the process of analyzing materials may include the process of determining bottleneck materials and the process of analyzing material shortage information. The process of determining bottleneck materials and the process of analyzing material shortage information are separately described below.

[0153] For the process of determining bottleneck materials, since it has been mentioned above that product shortage refers to the products with material shortages, for the products with material shortages, one or more of the required materials must have been completely consumed in terms of inventory. Therefore, for this product, there may be one or more bottleneck materials.

[0154] The embodiments of the present disclosure also provide a process for determining bottleneck materials. By determining and analyzing bottleneck materials, the rationality and efficiency of material allocation can be improved.

[0155] Figure 6 Schematically shows a flowchart for determining bottleneck materials according to an embodiment of the present disclosure.

[0156] For example, after processing the composition information set according to the supply and demand information set to obtain product shortage information corresponding to each of at least one product identifier, operations S610 to S640 can be executed to determine bottleneck materials.

[0157] In operation S610, determine the material type to which the material corresponding to the material identifier belongs.

[0158] Optionally, the material corresponding to the material identifier has a material type, and the material type includes non-replaceable materials or replaceable materials. Non-replaceable materials are, for example, materials that must be used in the process of producing products, and non-replaceable materials can be essential materials.

[0159] In operation S620, it is determined whether the material type is a non-replaceable material or a replaceable material. If the material type is a non-replaceable material, operation S630 is executed; if the material type is a replaceable material, operation S640 is executed.

[0160] In operation S630, when the material type is a non-replaceable material, the bottleneck material is determined according to the inventory information corresponding to the material identifier.

[0161] Optionally, the inventory information may include the inventory quantity, and operation S630 may include operation S631: determining whether the inventory quantity of the material is less than the unit consumption of the product. If the inventory quantity of the material is less than the unit consumption of the product, the material is marked as a bottleneck material; if the inventory quantity of the material is greater than or equal to the unit consumption of the product, the material is marked as a non-bottleneck material.

[0162] In operation S640, when the material type is a replaceable material, the bottleneck material is determined according to the inventory information corresponding to each of at least one alternative material identifier, where the alternative material identifier is used to represent the material that has a substitution relationship with the material.

[0163] Optionally, operation S640 may include operation S641: determining whether the inventory quantities of at least one alternative material of the material are all less than the unit consumption of the corresponding alternative material. If the inventory quantities of all alternative materials of the material are less than the unit consumption of the corresponding alternative materials, the material is marked as a bottleneck material; if there is at least one alternative material among all alternative materials of the material whose inventory quantity is greater than or equal to the unit consumption of the corresponding alternative material, the material is marked as a non-bottleneck material.

[0164] In one embodiment, operation S631 and operation S641 can be applied to the case where the remaining quantity of the material is a minimum value due to floating-point precision problems.

[0165] Optionally, the following process can also be used to determine the bottleneck material: for non-replaceable materials, when the remaining inventory quantity of the material is 0, the material is marked as a bottleneck material. For alternative materials, when the remaining quantities of all materials in the alternative group are all 0, all materials in the alternative group can be marked as bottleneck materials.

[0166] According to the embodiments of the present disclosure, the process of determining the bottleneck material from multiple materials can contribute to production process management and ensure the smooth progress of production.

[0167] The process of analyzing material shortages will be described below. For example, since the kit completeness of a product depends on the shortest board in the product material structure, that is, there may be a rich inventory surplus of some materials, so there is no need to purchase and replenish materials, while the inventory surplus of another part of the materials is insufficient and can only meet the production needs of some products, and there is still a certain shortage. Therefore, according to the current kit analysis logic, it is necessary to further check the situation of material shortages.

[0168] In one embodiment, material allocation can be achieved while analyzing material shortages, so the process of analyzing material shortages can be used as the specific process of material allocation. Furthermore, operation S230 may include the following operations: determining material shortage information corresponding to each of at least one target material identifier according to product shortage information; and performing material allocation on at least one target material according to at least one material shortage information.

[0169] The process of determining material shortage information corresponding to each of at least one target material identifier according to product shortage information may include the following operations: determining at least one material identifier of the Mth level corresponding to the material of the Mth level; and determining material shortage information corresponding to the target material identifier according to product shortage information and inventory information corresponding to each of at least one material identifier of the Mth level.

[0170] By combining the inventory quantity of each material and product shortage information for material reallocation, the virtual product kit quantity that each material can satisfy and the material shortage quantity in the case where the material cannot meet the product demand can be calculated.

[0171] Figure 7 A schematic diagram showing the material hierarchy relationship according to another embodiment of the present disclosure is shown.

[0172] Since intermediate materials can be generated from bottom-level materials, only the shortage situation of bottom-level materials needs to be considered. In addition, when there are alternative materials for the first-level materials of a product, the bottom-level materials of the alternative material with the highest priority can also be selected from the alternative materials for analyzing the material shortage situation.

[0173] In one example, according to the bill of materials, at least one material level for producing a certain product, at least one material identifier corresponding to each material level, the material substitution relationship and the material usage priority attribute corresponding to each material identifier can be determined.

[0174] Specifically, as Figure 7As shown, in the production process of product PRO-1, taking the first-level materials n_701 and n_702 as substitutable materials and the priority of the first-level material n_702 being higher than that of the first-level material n_701 as an example, since the preset priority of the first-level material n_702 is higher than that of the first-level material n_701, and the underlying materials associated with the first-level material n_702 include the underlying materials n_703, n_704, and n_705, and the underlying materials associated with the first-level material n_701 include the underlying materials n_706 and n_707, when conducting material shortage analysis, the material shortage situations of the underlying materials n_703, n_704, and n_705 associated with the first-level material n_702 can be considered first.

[0175] Optionally, for the material shortage allocation of the substitution group, it can be achieved in the following manner. For example, the process of material allocation for at least one target material according to at least one material shortage information may include the following operations: determining the cumulative inventory information of substitute materials according to at least one substitute material identifier corresponding to the material identifier; determining the material information to be allocated corresponding to the material identifier according to the material shortage information corresponding to the material identifier and the cumulative inventory information of substitute materials; and allocating materials to the materials corresponding to the material identifier according to the material information to be allocated.

[0176] According to an embodiment of the present disclosure, for the situation where the total inventory of substitute materials is not enough for the product shortage information (such as the product shortage quantity), the material with the highest priority can be used to calculate the material shortage information. The available quantity for the product can be calculated using the inventory of the material.

[0177] For the situation where the total inventory of substitute materials exceeds the product shortage information (such as the product shortage quantity), the material inventories can be accumulated to calculate the available situation of each material and the material information to be allocated (such as the shortage value of the material).

[0178] For example, when the first value obtained by subtracting the material shortage information from the cumulative inventory information of substitute materials ≤ 0, it indicates that all the materials are applied to the production of the product, and the shortage value of the material is 0 at this time.

[0179] The second value is obtained by subtracting the material shortage information from the cumulative inventory information of substitute materials. When the third value obtained by subtracting the second value from the current material inventory ≥ 0, it means that the current material and the previous materials can meet the product requirements, and the current material can be used as the critical material. At this time, the shortage value of the material can be the fourth value obtained by subtracting the material shortage information from the cumulative inventory information of substitute materials.

[0180] The fifth value is obtained by subtracting the material shortage information from the cumulative inventory information of the alternative material. When the sixth value obtained by subtracting the fifth value from the current material inventory is less than 0, it means that the previous material can meet the product demand, and the material shortage value can be the inventory value.

[0181] According to the embodiments of the present disclosure, by analyzing material shortages, decision makers can be assisted in the management and accounting of materials, ensure the smooth progress of production, and improve the accuracy of material allocation.

[0182] Figure 8 A flow chart of a material distribution method according to another embodiment of the present disclosure is schematically shown.

[0183] like Figure 8 As shown, the material allocation method of another embodiment may include operations S810 to S870.

[0184] In operation S810, material relationships of products are extracted from the bill of materials.

[0185] In operation S820, a composition information set is determined according to the material relationship.

[0186] In operation S830, a supply and demand information set is determined according to the product demand information and the material inventory information.

[0187] In operation S840, the component information set is processed according to the supply and demand information set to obtain the complete set quantity of the virtual product and the product shortage information corresponding to each of the at least one product identification.

[0188] In operation S850, a bottleneck material is determined.

[0189] In operation S860, material shortage analysis is performed.

[0190] The disclosed embodiments address the time-consuming and labor-intensive problems of product completeness calculation and material accounting in complex material situations, and automate product completeness, material allocation, and difference and shortage accounting, which helps to control production progress and ensure the smooth progress of production, thereby effectively improving capacity utilization and at least partially avoiding frequent changes of production lines during the production process, or shutdowns waiting for materials, etc.; at the same time, it helps decision makers to manage materials in a timely manner.

[0191] The above are merely exemplary embodiments, but are not limited thereto, and may also include other material allocation methods as long as they can allocate materials.

[0192] Figure 9 A block diagram of a material dispensing device according to an embodiment of the present disclosure is schematically shown.

[0193] like Figure 9As shown, the material distribution device 900 may include an acquisition module 910, a processing module 920, and a material distribution module 930.

[0194] The acquisition module 910 is configured to acquire a set of composition information and a set of supply and demand information respectively corresponding to at least one product identifier, wherein the set of composition information includes at least one group of material identifiers, and each group of material identifiers includes at least one material identifier.

[0195] The processing module 920 is configured to process the set of composition information according to the set of supply and demand information to obtain product shortage information respectively corresponding to at least one product identifier.

[0196] The material distribution module 930 is configured to perform material distribution on at least one target material respectively corresponding to each product identifier among at least one product identifier according to the product shortage information.

[0197] Any multiple of the modules according to the embodiments of the present disclosure, or at least part of the functions of any of them, may be implemented in one module. Any one or more of the modules according to the embodiments of the present disclosure may be split into multiple modules for implementation. Any one or more of the modules according to the embodiments of the present disclosure may be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on chip, a system on substrate, a system on package, an application specific integrated circuit (ASIC), or may be implemented by any other reasonable way of integrating or packaging circuits in hardware or firmware, or implemented in any one of the three implementation manners of software, hardware, and firmware, or in an appropriate combination of any several of them. Alternatively, one or more of the modules according to the embodiments of the present disclosure may be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding functions may be executed.

[0198] For example, any combination of the obtaining module 910, the processing module 920, and the material distribution module 930 may be integrated into one module, or any one of them may be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules may be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the obtaining module 910, the processing module 920, and the material distribution module 930 may be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on chip, a system on a substrate, a system in a package, an application specific integrated circuit (ASIC), or any other reasonable manner of integrating or packaging circuits, etc., implemented by hardware or firmware, or implemented in any one of the three implementation manners of software, hardware, and firmware, or in an appropriate combination of any several of them. Alternatively, at least one of the obtaining module 910, the processing module 920, and the material distribution module 930 may be at least partially implemented as a computer program module, which can perform corresponding functions when the computer program module is run.

[0199] It should be noted that the part of the material distribution device in the embodiments of the present disclosure corresponds to the part of the material distribution method in the embodiments of the present disclosure. For the description of the material distribution device part, please refer to the material distribution method part for details, and will not be elaborated here.

[0200] Figure 10 A block diagram of an electronic device suitable for implementing the material distribution method according to an embodiment of the present disclosure is schematically shown. Figure 10 The shown electronic device is only an example and should not impose any limitation on the functions and usage scope of the embodiments of the present disclosure.

[0201] As Figure 10 shown, the computer electronic device 1000 according to an embodiment of the present disclosure includes a processor 1001, which can perform various appropriate actions and processes according to the program stored in the read only memory (ROM) 1002 or the program loaded from the storage section 1009 into the random access memory (RAM) 1003. The processor 1001 may include, for example, a general microprocessor (such as a CPU), an instruction set processor, and / or a related chipset, and / or a dedicated microprocessor (such as an application specific integrated circuit (ASIC)), etc. The processor 1001 may also include on board memory for caching purposes. The processor 1001 may include a single processing unit or multiple processing units for performing different actions of the method flow according to the embodiments of the present disclosure.

[0202] In the RAM 1003, various programs and data required for the operation of the electronic device 1000 are stored. The processor 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. The processor 1001 performs various operations of the method flow according to the embodiments of the present disclosure by executing programs in the ROM 1002 and / or the RAM 1003. It should be noted that the programs may also be stored in one or more memories other than the ROM 1002 and the RAM 1003. The processor 1001 may also perform various operations of the method flow according to the embodiments of the present disclosure by executing programs stored in the one or more memories.

[0203] According to an embodiment of the present disclosure, the electronic device 1000 may further include an input / output (I / O) interface 1005, and the input / output (I / O) interface 1005 is also connected to the bus 1004. The electronic device 1000 may further include one or more of the following components connected to the input / output (I / O) interface 1005: an input portion 1006 including a keyboard, a mouse, etc.; an output portion 1007 including, for example, a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 1008 including a hard disk, etc.; and a communication portion 1009 including a network interface card such as a LAN card, a modem, etc. The communication portion 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the input / output (I / O) interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is mounted on the drive 1010 as needed so that a computer program read from it can be installed into the storage portion 1008 as needed.

[0204] According to an embodiment of the present disclosure, the method flow according to the embodiments of the present disclosure may be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program includes program codes for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 1009, and / or installed from the removable medium 1011. When the computer program is executed by the processor 1001, the above-described functions defined in the system according to the embodiments of the present disclosure are performed. According to an embodiment of the present disclosure, the above-described system, device, apparatus, module, unit, etc. may be implemented by computer program modules.

[0205] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the methods according to the embodiments of the present disclosure are implemented.

[0206] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. For example, it may include but is not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system, apparatus, or device.

[0207] For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include one or more memories other than the above-described ROM 1002 and / or RAM 1003 and / or ROM 1002 and RAM 1003.

[0208] Embodiments of the present disclosure also include a computer program product, which includes a computer program. The computer program contains program code for executing the methods provided by the embodiments of the present disclosure. When the computer program product runs on an electronic device, the program code is used to cause the electronic device to implement the material distribution method provided by the embodiments of the present disclosure.

[0209] When the computer program is executed by the processor 1001, the above functions defined in the system / apparatus of the embodiments of the present disclosure are executed. According to an embodiment of the present disclosure, the above-described systems, apparatuses, modules, units, etc. may be implemented by computer program modules.

[0210] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices and magnetic storage devices. In another embodiment, the computer program may also be transmitted and distributed in the form of a signal on a network medium, and is downloaded and installed through the communication part 1009, and / or installed from the removable medium 1011. The program code contained in the computer program may be transmitted by any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0211] According to embodiments of the present disclosure, program code for executing the computer programs provided by the embodiments of the present disclosure may be written in any combination of one or more programming languages. Specifically, these computing programs may be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. The programming languages include, but are not limited to, such as Java, C++, Python, the "C" language, or similar programming languages. The program code may be executed entirely on the user's computing device, partially on the user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user's computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., by connecting through the Internet using an Internet service provider).

[0212] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, and combinations of blocks in the block diagram or flowchart, may be implemented by a dedicated hardware-based system for performing the specified functions or operations, or may be implemented by a combination of dedicated hardware and computer instructions. Those skilled in the art can understand that the features described in the various embodiments and / or claims of the present disclosure can be combined and / or combined in various ways, even if such combinations or combinations are not explicitly described in the present disclosure. In particular, without departing from the spirit and teachings of the present disclosure, the features described in the various embodiments and / or claims of the present disclosure can be combined and / or combined in various ways. All such combinations and / or combinations fall within the scope of the present disclosure.

[0213] The above describes the embodiments of the present disclosure. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in each embodiment cannot be used advantageously in combination. The scope of the present disclosure is defined by the appended claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art can make various substitutions and modifications, and all such substitutions and modifications should fall within the scope of the present disclosure.

Claims

1. A material distribution method, comprising: Obtaining a set of composition information and a set of supply and demand information respectively corresponding to at least one product identifier, wherein the set of composition information includes at least one group of material identifiers, and each group of material identifiers includes at least one material identifier; Processing the set of composition information according to the set of supply and demand information to obtain product shortage information respectively corresponding to the at least one product identifier; and Performing material distribution on at least one target material respectively corresponding to each product identifier among the at least one product identifier according to the product shortage information.

2. The method according to claim 1, wherein, The processing the set of composition information according to the set of supply and demand information to obtain product shortage information respectively corresponding to the at least one product identifier includes: Determining at least one virtual product identifier corresponding to the product identifier and virtual product completeness information and importance information respectively corresponding to each virtual product identifier according to the set of composition information, wherein the virtual product completeness information is used to represent the quantity of the virtual product to be generated, and the importance information is used to represent the importance degree of the virtual product; Constructing an objective function according to the virtual product completeness information and importance information respectively corresponding to each virtual product identifier; and Solving the objective function according to the set of supply and demand information and the virtual product completeness information respectively corresponding to each virtual product identifier to obtain the product shortage information.

3. The method according to claim 2, wherein, The set of supply and demand information includes demand information corresponding to the product identifier, material demand information and inventory information respectively corresponding to the at least one material identifier; The solving the objective function according to the set of supply and demand information and the virtual product completeness information respectively corresponding to each virtual product identifier to obtain the product shortage information includes: Determining product constraint conditions according to the demand information and the virtual product completeness information respectively corresponding to each virtual product identifier; Determining material constraint conditions according to the material demand information and inventory information respectively corresponding to the at least one material identifier; and Solving the objective function according to the product constraint conditions and the material constraint conditions to obtain the product shortage information.

4. The method according to claim 3, wherein The solving the objective function according to the product constraint conditions and the material constraint conditions to obtain the product shortage information includes: Solving the objective function according to the product constraint conditions and the material constraint conditions to obtain product completeness information; and Determining the product shortage information according to the demand information and the product completeness information.

5. The method according to claim 4, wherein, The objective function includes objective sub-functions for N levels, where N is a positive integer; The solving the objective function according to the product constraint conditions and the material constraint conditions to obtain product completeness information includes: Processing the objective sub-function for the nth level according to the product constraint conditions and the material constraint conditions to obtain the processing result for the nth level, where n ∈ {1, 2, …, N - 2, N - 1}; Updating the product constraint condition and the material constraint condition according to the processing result of the n-th level to obtain an updated product constraint condition and an updated material constraint condition; and Processing a target sub-function for the (n + 1)-th level according to the updated product constraint condition and the updated material constraint condition to obtain a processing result of the (n + 1)-th level.

6. The method according to any one of claims 1 to 5, further comprising, before obtaining the set of composition information and the set of supply and demand information corresponding to each of at least one product identifier: Obtaining a bill of materials, product demand information, and material inventory information; Determining a set of composition information corresponding to each of the at least one product identifier according to the bill of materials; and Determining a set of supply and demand information corresponding to each of the at least one product identifier according to the product demand information and the material inventory information.

7. The method according to claim 6, wherein The bill of materials includes the at least one product identifier and at least one material identifier having a hierarchical relationship corresponding to each of the product identifiers; The determining a set of composition information corresponding to each of the at least one product identifier according to the bill of materials includes at least one of the following: Processing the at least one material identifier according to the hierarchical relationship by using a Cartesian product method to obtain the set of composition information; And Processing the at least one material identifier according to the hierarchical relationship by using a tree generation method to obtain the set of composition information.

8. The method according to claim 6, wherein The product demand information includes at least one product identifier and demand information corresponding to each of the product identifiers, and the material inventory information includes at least one material identifier and inventory information corresponding to each of the material identifiers; The determining a set of supply and demand information corresponding to each of the at least one product identifier according to the product demand information and the material inventory information includes: Determining at least one intermediate material identifier corresponding to the product identifier among the at least one material identifier according to the set of composition information; And Determining the set of supply and demand information according to the demand information corresponding to the product identifier and the inventory information corresponding to each of the at least one intermediate material identifier.

9. The method according to any one of claims 1 to 5, wherein The material corresponding to the material identifier has a material type, and the material type includes non-substitutable materials or substitutable materials; The method further comprises, after processing the set of composition information according to the set of supply and demand information to obtain product shortage information corresponding to each of the at least one product identifier: In the case where the material type is non-substitutable materials, determining bottleneck materials according to the inventory information corresponding to the material identifier; and In the case where the material type is substitutable materials, determining the bottleneck materials according to the inventory information corresponding to at least one alternative material identifier, where the alternative material identifier is used to represent a material having a substitution relationship with the material.

10. The method according to any one of claims 1 to 5, wherein The material distribution for at least one target material corresponding to each of the at least one product identifier according to the product shortage information includes: Determine material shortage information corresponding to each of at least one target material identifier according to the product shortage information; and Perform material allocation for the at least one target material according to the at least one material shortage information.

11. The method according to claim 10, wherein The product corresponding to the product identifier has materials at the Mth level, where M is a positive integer; The determining, according to the product shortage information, material shortage information corresponding to each of at least one target material identifier includes: Determine at least one Mth-level material identifier corresponding to the materials at the Mth level; And Determine material shortage information corresponding to the target material identifier according to the product shortage information and the inventory information corresponding to each of the at least one Mth-level material identifier.

12. The method according to claim 10, wherein, The performing, according to the at least one material shortage information, material allocation for the at least one target material includes: Determine the cumulative inventory information of alternative materials according to at least one alternative material identifier corresponding to the material identifier; Determine the material information to be allocated corresponding to the material identifier according to the material shortage information corresponding to the material identifier and the cumulative inventory information of the alternative materials; and Perform material allocation for the material corresponding to the material identifier according to the material information to be allocated.

13. A material allocation device, comprising: An acquisition module, configured to acquire a composition information set and a supply and demand information set corresponding to each of at least one product identifier, wherein the composition information set includes at least one material identifier group, and each of the material identifier groups includes at least one material identifier; A processing module, configured to process the composition information set according to the supply and demand information set to obtain product shortage information corresponding to each of the at least one product identifier; and A material allocation module, configured to perform material allocation for at least one target material corresponding to each of the at least one product identifier according to the product shortage information.

14. An electronic device, comprising: One or more processors; A memory, configured to store one or more instructions, wherein, when the one or more instructions are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 12.

15. A computer-readable storage medium, on which executable instructions are stored, and when the executable instructions are executed by a processor, the processor implements the method according to any one of claims 1 to 12.