Material distribution method and device, equipment, storage medium and chip
By obtaining material information for component manufacturing requirements and optimizing the inventory allocation and quota balance model, the problem of poor material allocation in pre-component scenarios is solved, and lower procurement costs and higher allocation reliability are achieved.
Patent Information
- Application Number
- CN202311070386.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-23
- Publication Date
- 2025-02-25
AI Technical Summary
In the pre-component allocation scenario, the binding relationship between materials leads to the inability to effectively adjust the procurement volume, the inability to achieve better material allocation, and thus the procurement cost cannot be reduced.
By obtaining the material information required for component manufacturing needs, including the correlation between materials, input the pre-built inventory allocation model for material allocation processing, obtaining the initial allocation information, and inputting it into the quota balance model for optimization processing, obtaining the target allocation information.
It realizes better material distribution in pre-component scenarios, reduces procurement costs, and improves the reliability and practicality of material distribution.
Smart Images

Figure CN119514902A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of material management, and in particular to a material distribution method, device, equipment, storage medium and chip. Background Art
[0002] With the popularization of informatization in the manufacturing industry, how to reasonably allocate resources and materials and reduce procurement costs has become an important issue discussed in the industry. At present, in the implementation of material requirements planning, in order to reduce procurement costs, corresponding procurement quotas are usually set in advance for each material in a group of alternative materials to control the procurement volume of each material and achieve the purpose of saving procurement costs.
[0003] However, the above solution is not applicable to all material allocation scenarios, such as pre-assembly allocation scenarios. In this component allocation scenario, there are some special material binding relationships, such as mutual binding between the substitute materials required to generate the component. If the quota ratio between the corresponding materials is set for the component in advance, the purchase quantity cannot be adjusted due to the binding relationship between the materials, thus failing to achieve better material allocation, which is not conducive to reducing procurement costs. Summary of the invention
[0004] In order to overcome the problems existing in the related technologies, the present disclosure provides a material allocation method, device, equipment, storage medium and chip to solve the technical problems existing in the above-mentioned related technologies such as the inability to achieve better material allocation and the inability to reduce procurement costs.
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a material distribution method, comprising:
[0006] Acquire material information required for component manufacturing needs, wherein the material information at least includes an association relationship between various materials for manufacturing the component, and the association relationship includes a combination relationship or a substitution relationship;
[0007] Inputting the material information into a pre-built inventory allocation model for material allocation processing to obtain initial allocation information of each of the materials, wherein the inventory allocation model is used to indicate that the inventory usage and in-transit inventory usage of the material are greater than the corresponding preset inventory threshold;
[0008] The initial allocation information of each of the materials is input into a pre-built quota balance model for material optimization processing to obtain the target allocation information of each of the materials. The quota balance model is used to indicate that the difference between the ratio between the actual purchase quantity of each of the materials and the pre-allocated global quota ratio is less than a preset ratio threshold.
[0009] In some embodiments, the material information also includes at least one of the following: the demand for the component, the total inventory of the material, the total in-transit inventory of the material, key materials, the quota ratio of the material and the historical order quantity of the material.
[0010] In some embodiments, before inputting the material information into a pre-built inventory allocation model for material allocation processing to obtain initial allocation information of each material, the method further includes:
[0011] Acquire a first constraint condition of the inventory allocation model, where the first constraint condition is determined according to the material information;
[0012] The step of inputting the material information into a pre-built inventory allocation model to perform material allocation processing to obtain initial allocation information of each material includes:
[0013] The first constraint condition is brought into the inventory allocation model for optimal solution to obtain initial allocation information of each of the materials, wherein the initial allocation information at least includes the inventory usage and in-transit inventory usage of the material.
[0014] In some embodiments, the first target expression of the inventory allocation model is used to indicate the sum of the actual purchase quantity and the in-transit inventory usage of the key material in the material information, and the bringing the first constraint condition into the inventory allocation model for optimal solution includes:
[0015] The first constraint condition is brought into the first objective expression of the inventory allocation model for minimization.
[0016] In some embodiments, the material information is stored in a tree structure, the tree structure includes a root node and child nodes, the root node is the component, the child nodes are the materials in the material information, and the first constraint condition includes at least one of the following:
[0017] The demand of the root node is the sum of the inventory usage of the root node and the manufacturing volume of the root node;
[0018] The inventory usage of the material is less than or equal to the total inventory of the material;
[0019] If the association relationship between the materials is a substitution relationship, the manufacturing quantity of the parent node corresponding to the material is obtained by summing the quotient between the inventory usage and the manufacturing usage of each material in the substitution relationship;
[0020] If the association relationship between the materials is a combination relationship, the manufacturing quantity of the parent node corresponding to the material is the quotient between the inventory usage and the manufacturing usage of at least one of the materials with the combination relationship;
[0021] If the total inventory of the material is prohibited from being used, the inventory usage of the material will be 0;
[0022] If the total amount of in-transit inventory of the material is prohibited from being used, the in-transit inventory usage of the material will be 0.
[0023] In some embodiments, before inputting the initial allocation information of each material into a pre-built quota balancing model for material optimization processing to obtain the target allocation information of each material, the method further includes:
[0024] Acquire a second constraint condition of the quota balancing model, where the second constraint condition is determined according to initial allocation information of each of the materials;
[0025] The initial allocation information of each material is input into the pre-built quota balance model for material optimization processing to obtain the target allocation information of each material, including:
[0026] The second constraint condition is brought into the quota balance model for solution calculation to obtain the target allocation information of each of the materials.
[0027] In some embodiments, the second objective expression of the quota balance model is used to indicate the sum of the error purchase quantity of each material having a substitution relationship, and the error purchase quantity is the difference between the actual purchase quantity of the material and the pre-allocated ideal purchase quantity. The second constraint condition is brought into the quota balance model for solution calculation, including:
[0028] The second constraint condition is brought into the second objective expression of the quota balancing model for minimization.
[0029] In some embodiments, the second constraint includes at least one of the following:
[0030] The inventory usage or in-transit inventory usage of the material is the corresponding usage in the initial allocation information of the material;
[0031] If the material does not support purchase, the actual purchase quantity of the material is 0;
[0032] If the association relationship between the materials is a substitution relationship, and there is no historical order quantity for the materials, the first value is less than or equal to the second value, the first value is the absolute value of the difference between the actual purchase quantity of any one of the materials in the substitution relationship and the corresponding quota purchase quantity, the second value is the error purchase quantity of any one of the materials, and the quota purchase quantity is the product of the sum of the actual purchase quantity of each of the materials in the substitution relationship and the quota ratio of the material;
[0033] If the association relationship between the materials is a substitution relationship, and the materials have historical order quantities, the third value is less than or equal to the fourth value, the third value is the absolute value of the difference between the actual purchase quantity of any material in the substitution relationship and the corresponding quota purchase quantity of correction, the fourth value is the error purchase quantity of any material, the actual purchase quantity of correction is the sum of the actual purchase quantity of any material and the historical order quantity of the material, and the quota purchase quantity of correction is the product of the sum of the actual purchase quantity and the historical order quantity of each material in the substitution relationship and the quota ratio of the material.
[0034] In some embodiments, the target allocation information includes at least one of the following: the actual purchase quantity, the actual manufacturing quantity, the inventory usage quantity and the in-transit inventory usage quantity of the material.
[0035] According to a second aspect of an embodiment of the present disclosure, there is provided a material dispensing device, comprising:
[0036] An acquisition module is configured to acquire material information required for component manufacturing requirements, wherein the material information at least includes an association relationship between various materials for manufacturing the component, wherein the association relationship includes a combination relationship or a substitution relationship;
[0037] a processing module configured to input the material information into a pre-built inventory allocation model for material allocation processing to obtain initial allocation information of each of the materials, wherein the inventory allocation model is used to indicate that the inventory usage and the in-transit inventory usage of the material are greater than a corresponding preset inventory threshold;
[0038] The processing module is further configured to input the initial allocation information of each of the materials into a pre-built quota balancing model for material optimization processing to obtain target allocation information of each of the materials. The quota balancing model is used to indicate that the difference between the ratio between the actual purchase quantity of each of the materials and the pre-allocated global quota ratio is less than a preset ratio threshold.
[0039] For the contents not introduced or described in the embodiments of the present disclosure, please refer to the relevant introduction in the aforementioned method embodiments, and the embodiments of the present disclosure are not limited thereto.
[0040] According to a third aspect of an embodiment of the present disclosure, there is provided a terminal device, comprising: a processor; and a memory for storing processor executable instructions; wherein the processor is configured to execute the executable instructions to implement the steps of the above-mentioned material distribution method.
[0041] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the material distribution method provided in the first aspect of the present disclosure are implemented.
[0042] According to a fifth aspect of an embodiment of the present disclosure, a chip is provided, comprising: a processor and an interface; the processor is used to read instructions to execute the steps of the above-mentioned material distribution method.
[0043] The technical solution provided by the embodiment of the present disclosure may include the following beneficial effects: the terminal device obtains the material information required for the component manufacturing demand, the material information at least includes the association relationship between the various materials for manufacturing the component, and the association relationship includes a combination relationship or a substitution relationship; the material information is input into the pre-built inventory allocation model for material allocation processing, and the initial allocation information of each of the materials is obtained, and the inventory allocation model is used to indicate that the inventory usage and the in-transit inventory usage of the material are greater than the corresponding preset inventory threshold; the initial allocation information of each of the materials is input into the pre-built quota balance model for material optimization processing, and the target allocation information of each of the materials is obtained, and the quota balance model is used to indicate that the difference between the ratio between the actual purchase quantity of each of the materials and the pre-allocated global quota ratio is less than the preset ratio threshold. It can be seen that the present disclosure can perform material allocation and optimization adjustment processing according to the material information required for component manufacturing demand, the pre-built inventory allocation model and the quota balance model, so as to obtain the target allocation information of each material that meets the pre-assembly scenario, so as to solve the problems that the pre-assembly scenario in the related technology cannot achieve good material allocation and cannot reduce the material procurement cost, which is conducive to improving the reliability and practicality of material allocation, and is also conducive to reducing the material procurement cost.
[0044] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0046] Figure 1 The figure is a schematic diagram of a possible component scenario according to an exemplary embodiment.
[0047] Figure 2It is a flow chart of a material distribution method according to an exemplary embodiment.
[0048] Figure 3 is a schematic diagram of another possible component scenario according to an exemplary embodiment.
[0049] Figure 4 It is a schematic diagram of a flow chart of a material distribution process according to an exemplary embodiment.
[0050] Figure 5 It is a schematic diagram of a process of material optimization processing according to an exemplary embodiment.
[0051] Figure 6 It is a schematic structural diagram of a material distribution device according to an exemplary embodiment.
[0052] Figure 7 The diagram is a schematic structural diagram of a terminal device according to an exemplary embodiment.
[0053] Figure 8 The figure is a schematic diagram showing the structure of a chip according to an exemplary embodiment. DETAILED DESCRIPTION
[0054] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0055] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the device is located and with the authorization given by the owner of the corresponding device.
[0056] In the execution of material requirement planning, in order to effectively reduce the procurement cost, a corresponding procurement quota will be set for each material in a group of alternative materials in advance. The quota is related to the price, and the higher the price, the lower the quota. The execution of the quota can control the purchase quantity of each alternative material, so that the proportion of the purchase quantity of the alternative material in the same group of alternative materials is close to the set quota ratio. It can effectively reduce the procurement cost and is an important part of the execution of material requirement planning. However, there are some special application scenarios, such as pre-assembly scenarios (also referred to as component scenarios). In this scenario, there will be a binding relationship between the alternative materials required to produce the components, which can also be called an association relationship, but the association relationship is a replacement relationship, that is, there is a replacement relationship between the alternative materials). The component involved in the present disclosure refers to a part or device that constitutes a product, and generally refers to a special type of semi-finished product. For example, taking the component as a camera of a mobile phone as an example, the component can include three parts: front camera, rear camera and depth of field. Due to compatibility issues, the front camera of brand A is matched with the rear camera and depth of field of the same brand; the front camera of brand B is matched with the rear camera and depth of field of the same brand. In this way, by bundling materials of the same brand, two mutually substitutable components of brand A and brand B can be manufactured. In other words, the substitution relationship of some substitutable materials used to manufacture components will be indirectly reflected through the manufactured components.
[0057] In the component scenario, quota execution will face great challenges. Because in the execution of material requirement planning, material requirements are obtained by disassembling the finished product requirements along the Bill of Materials (BOM) layer by layer. When disassembling the above components, it is difficult to artificially set a reasonable quota ratio for their usage, so as to ensure that the material purchase ratio is as close to the quota ratio as possible on the basis of maximizing the use of the inventory of each material included in the component. When the quota ratio between components is set manually, it is impossible to make any adjustments to their purchase volume due to the binding relationship between materials. Therefore, for the component scenario, the challenge of quota execution lies in how to plan the optimal material allocation plan based on the inventory and quota information of each material that makes up the component without manually setting the component usage (quota) ratio, such as planning the optimal inventory usage and purchase volume.
[0058] At present, the existing material allocation scheme can adjust the calculation structure according to the real-time inventory resource situation to respond to urgent or high-priority needs in a timely manner; or based on the hierarchical analysis method, comprehensively consider a series of objective factors such as expected supplier attributes, expected material attributes, historical procurement data, demand and supply limits, and generate purchase orders that are not affected by human subjective factors as much as possible. However, in practice, it is found that although the above scheme is applicable to the usual material demand scenario, it is not applicable to the component scenario and cannot solve the problem of difficult quota execution in the component scenario.
[0059] To solve the above problems, the present disclosure provides a material distribution method, device, equipment, storage medium and chip. Figure 1 FIG. 1 is a schematic diagram of a possible component scenario according to an exemplary embodiment. Figure 1 A simple component scenario is shown. For example, component 1 and component 2 belong to two different brands of components, for example, component 1 is brand A and component 2 is brand B. The manufacture of component 1 requires materials A1 and B1, and the manufacture of component 2 requires materials A2 and B2. Among them, materials A1 and A2 are substitute materials, and materials B1 and B2 are substitute materials. However, due to the binding of materials under the component, material A1 can only be combined with material B1, and material A2 can only be combined with material B2 to form a component. In the figure, the substitution of materials A1 and A2, and materials B1 and B2 is indirectly reflected through component 1 and component 2. It should be noted that the above Figure 1 The component scenarios shown are only examples and are not intended to be limiting; actual scenarios may include more complex content. For example, in addition to material binding, component generation may also require other materials that do not have bindings; components may have other semi-substitute components, such as the production of product 1 can use Figure 1 The component 1 or the component 2 shown is used, but only the component 1 is used to generate the product 2, or the component 2 cannot be adapted for some reason.
[0060] In the component scenarios to which the present disclosure is applicable, for example, for all component material requirements at the same material requirement date and the same requirement location, it can solve the following two problems: maximize the use of material inventory; under the premise of maximizing the use of material inventory, the purchase volume ratio between each alternative material (i.e., materials with a substitution relationship) is close to the quota ratio. When solving the above two problems, the following two conditions need to be met: material inventory is used more preferentially than in-transit inventory, that is, the priority of material inventory is higher than the priority of in-transit inventory; consider the restrictions on the use and purchase of material inventory, such as a certain material cannot use material inventory, cannot use in-transit inventory, or cannot be purchased due to special reasons.
[0061] Based on the above examples, see Figure 2 FIG. 1 is a flow chart of a material distribution method according to an exemplary embodiment. Figure 2 The method shown is applied to a terminal device, and the method may include the following implementation steps:
[0062] S201. Obtain material information required for component manufacturing requirements, where the material information at least includes an association relationship between various materials for manufacturing the component, and the association relationship includes a combination relationship or a substitution relationship.
[0063] The above-mentioned component manufacturing demand disclosed in the present invention refers to the manufacturing demand for components under certain conditions (such as the demand date, the demand location), such as the demand quantity of components, etc. The above-mentioned material information refers to the information of each material required for manufacturing the component, which may at least include the association relationship between materials, and optionally may also include but is not limited to any one or more of the following combinations, such as: the demand quantity of components, the total inventory of materials, the total inventory of materials in transit, key materials for manufacturing components, the quota ratio of materials, the historical order quantity of materials, or other customized material information, etc. Among them, the above-mentioned association relationship may include a combination relationship or a substitution relationship, the combination relationship refers to the combination of materials to manufacture the above-mentioned components, and the substitution relationship refers to the selection of materials to replace each other to manufacture the above-mentioned components. The above-mentioned material information can be stored in a tree structure, and the tree structure includes a root node and at least one child node. The root node can be the above-mentioned component to be manufactured, and the child node can be the material in the material information required to manufacture the above-mentioned component.
[0064] For example, see Figure 3 FIG. 1 is a schematic diagram of another possible component scenario according to an exemplary embodiment. Figure 3 The tree structure shown represents the material information required to manufacture the product / material DD1_AA. Each node in the tree structure represents the component or material required to manufacture DD1_AA, and the value on each node represents the manufacturing amount required for the node, that is, the usage amount. The number of each node represents the sequence number of the node. In addition, the diagram also indicates the association relationship between the nodes, such as the combination relationship or the replacement relationship. As can be seen in the figure, there is a root node (node 1, where the material DD1_AA is located) corresponding to the manufacturing demand of a single component, and this demand can be met by component S1 or component S2. A total of 8 raw materials, M1 to M8, are required to produce these two components. The raw materials here refer to materials that have no lower-level (or lower-order) materials.
[0065] DD1_AA, DS1_AA and DS2_AA in the diagram are virtual materials defined in the tree structure. The virtual materials have no inventory resources and cannot be purchased. They can only be obtained through the manufacture of lower-level materials. Among them, the association relationship between the materials used to manufacture virtual materials in the diagram is a substitution relationship, and the association relationship between other materials is a combination relationship. For example, one material DS1_AA is manufactured through three materials M3 or three materials M4, that is, the association relationship between the above materials M3 and M4 is a substitution relationship; one material / component S1 is manufactured through one material M1, one material M2 and one material DS1_AA, that is, the association relationship between these materials is a combination relationship. The materials connected by dotted lines in the diagram are the same group of substitute materials, that is, the association relationship between the materials is a substitution relationship. There are 4 groups of substitute materials in the diagram, as shown by the dotted lines. Among them, there is a binding relationship between the substitute material groups C1 and C2, which means that the generated component S1 can only be made by combining material M1 with material M2; the generated component S2 can only be made by combining material M5 with material M6.
[0066] From above Figure 3 The tree structure shown can be used to obtain the following material information: all child (or lower) nodes of each node, manufacturing usage, the relationship between materials is a substitution relationship or a combination relationship, etc.; for example, for node 6, its child nodes are nodes 10 and 11, and the relationship between them is a substitution relationship, etc. The total inventory and the total inventory in transit of each material. Whether each node (i.e. material) has the total inventory available, the total inventory in transit, and whether it can be purchased. The demand for the manufacturing demand of the component, such as Figure 2 The demand for material DD1_AA, etc. may be shown. In each group of alternative materials, each material corresponds to the global quota ratio, historical order quantity, etc.; in the component manufacturing requirements, the historical order quantity can be selected to correct the material procurement quantity, that is, the historical order quantity of each material plus the current procurement quantity accounts for a ratio close to the preset quota ratio. The nodes or node numbers corresponding to all key materials should have the smallest possible procurement quantity for the business, and the smallest possible amount of in-transit inventory; the key materials are usually raw materials with a higher purchase price, such as the front camera, rear camera, and depth of field in camera components. Among them, the purpose of determining the key materials is to prevent the inventory usage of materials other than the key materials from affecting the quota ratio between the alternative materials, thereby affecting the effect of quota execution.
[0067] S202. Input the material information into a pre-built inventory allocation model for material allocation processing to obtain initial allocation information of each material for manufacturing the component, wherein the inventory allocation model is used to indicate that the inventory usage and in-transit inventory usage of the material are greater than the corresponding preset inventory threshold.
[0068] The inventory allocation model disclosed in the present invention is pre-created and is used to reflect / indicate that the inventory usage and in-transit inventory usage of a material must be greater than the corresponding preset inventory threshold. The preset inventory threshold is custom-set by the user or terminal device according to actual needs; generally, the larger the preset inventory threshold, the greater or maximizes the inventory usage and in-transit inventory usage of the material in the above inventory allocation model.
[0069] The present disclosure does not limit the specific implementation of the above-mentioned material distribution process. For example, see Figure 4 FIG. 1 is a schematic diagram of a material distribution process according to an exemplary embodiment. Figure 4 The process shown includes the following implementation steps:
[0070] S401. Obtain a first constraint condition of the inventory allocation model, where the first constraint condition is associated with the material information.
[0071] Before performing material allocation processing based on the above inventory allocation model, the present disclosure may also obtain the first constraint condition of the inventory allocation model, which is a model constraint condition customized by the user or terminal device according to actual needs. In practical applications, the above first constraint condition is related to or associated with the above material information, and may be specifically determined based on the above material information. For example, it may include but is not limited to any one or more of the following combinations: (1) Meeting component manufacturing requirements: For each root node, the demand for the root node is equal to / is the sum of the inventory usage and manufacturing volume of the root node. Among them, the root node is usually a component or its substitute component (such as Figure 3DD1_AA) corresponds to the node, each root node corresponds to a component manufacturing demand. The root node does not have in-transit inventory and procurement, so the demand of the root node is equal to its own inventory usage plus the manufacturing volume. (2) The inventory usage of the material is less than or equal to (not exceeding) the total inventory: for each material, the inventory usage of all nodes corresponding to it does not exceed its total inventory; for each raw material, the in-transit inventory usage on all nodes corresponding to it does not exceed its total in-transit inventory. (3) Satisfy the production relationship: for each non-raw material node, its manufacturing volume and the inventory usage of the child nodes satisfy the following relationship. If the association relationship between the child nodes (i.e., materials) is a substitution relationship, then the manufacturing volume of this node (i.e., the parent node corresponding to the child node) is equal to / is the sum of the quotient of the inventory usage and manufacturing usage of all child nodes with substitution relationships. On the contrary, if the association relationship between the child nodes (materials) is a combination relationship, the manufacturing volume of the node (the parent node corresponding to the child node) is equal to / is the quotient of the inventory usage and manufacturing volume of at least one child node in the combination relationship. In this case, the quotient between the inventory usage and manufacturing volume of each child node in the combination relationship is the same. Among them, for any child node, its manufacturing volume is equal to the sum of its own inventory usage, in-transit inventory usage, manufacturing volume and purchase volume. For the node of raw materials, it has no manufacturing volume; for the node of non-raw materials, it has no purchase volume and in-transit usage. (4) Satisfy usage restrictions: For each node (i.e., material), if the material cannot use (prohibited from using) its own total inventory, the inventory usage of the material is equal to / is 0. Similarly, if the material cannot use its own in-transit inventory, the in-transit inventory of the material is equal to / is 0. If the material does not support procurement, the procurement volume of the material is equal to / is 0; or it supports other custom-set material procurement / usage restrictions, etc., and this disclosure does not make too many restrictions and explanations.
[0072] S402: Bring the first constraint condition into the inventory allocation model for optimal solution to obtain initial allocation information of each of the materials, wherein the initial allocation information at least includes the inventory usage and in-transit inventory usage of the material.
[0073] The present disclosure can use the above-mentioned first constraint condition to solve the above-mentioned inventory allocation model to obtain the initial allocation information of each material required for manufacturing components, and the initial allocation information at least includes the inventory usage and in-transit inventory usage of the material, and optionally may also include but is not limited to the allocation information such as the initial purchase quantity and initial manufacturing quantity of the material. Regarding the specific implementation process of the above-mentioned inventory allocation model, the present disclosure will not go into too much detail and limitation here. Among them, the inventory usage of the above-mentioned materials involved in the present disclosure refers to the amount of materials in the (existing) inventory that supports the use, and the in-transit inventory usage refers to the amount of materials in the in-transit inventory that supports the use.
[0074] The present disclosure does not limit the above inventory allocation model, which can be customized according to actual needs. For example, the mathematical expression of the above inventory allocation model in the present disclosure (also referred to as the first target expression) can be used to indicate the sum of the actual purchase quantity and the in-transit inventory usage of the key materials in the material information. The present disclosure can minimize the first target expression of the inventory allocation model based on the above first constraint condition. The specific expression is shown in the following formula (1):
[0075]
[0076] Among them, p i represents the actual purchase quantity of key material i, e i represents the in-transit inventory usage of key material i, and i represents the node number corresponding to the key material. The meaning of the above formula (1) is to minimize the actual purchase quantity and in-transit inventory usage of key materials, which is equivalent to maximizing the total inventory and in-transit inventory of key materials and components. In the formula, the purchase quantity is multiplied by 2, so that the model is prioritized to minimize the purchase quantity of key materials and then minimize the total in-transit inventory, which ensures that the inventory usage priority of key materials is greater than or takes precedence over the in-transit inventory.
[0077] S203. Input the initial allocation information of each of the materials into a pre-built quota balancing model for material optimization processing to obtain target allocation information of each of the materials. The quota balancing model is used to indicate that the difference between the ratio between the actual purchase quantity of each of the materials and the pre-allocated global quota ratio is less than a preset ratio threshold.
[0078] The quota balancing model disclosed in the present invention is pre-created and is used to reflect / indicate that the difference between the ratio between the actual purchase quantity of each material and the pre-allocated global quota ratio is less than a preset ratio threshold. The preset ratio threshold is custom-set by the user or terminal device according to actual needs; generally, the smaller or closer to 0 the preset ratio threshold is, the closer the ratio between the actual purchase quantity of each material is to the pre-set global quota ratio.
[0079] The present disclosure can use the initial allocation information of each material output by the above inventory allocation model, and then combine it with the quota balance model to adjust / optimize the actual purchase quantity of each material, so that the ratio between the actual purchase quantities of each material is close to the global quota ratio. The present disclosure does not limit the specific implementation method of the above material optimization processing, please refer to Figure 5 FIG. 1 is a schematic diagram of a material optimization process according to an exemplary embodiment. Figure 5 The process shown includes the following implementation steps:
[0080] S501. Obtain a second constraint condition of the quota balancing model, where the second constraint condition is associated with initial allocation information of each of the materials.
[0081] Before the material optimization process is performed based on the quota balance model, the present disclosure may also obtain the second constraint of the quota balance model, which is a model constraint customized by the user or terminal device according to actual needs. In practical applications, the second constraint is related to or associated with the initial allocation information of each material, which may be determined based on the initial allocation information of each material, for example, it may include but is not limited to any one or more of the following combinations: (1) Meeting component manufacturing requirements: using the output result of the inventory allocation model, the inventory usage of the material is set to the inventory usage in the initial allocation information of the material. (2) Meeting production relations: using the output result of the inventory allocation model, the inventory usage and in-transit inventory usage of the material are set to the corresponding usage in the initial allocation information of the material. (3) Meeting usage restrictions: for each node (i.e., material), if the material cannot be purchased (purchase is not supported), the actual purchase quantity of the material is equal to / is 0; or other customized material purchase / use restriction conditions are supported, etc., which are not excessively limited and elaborated in the present disclosure. (4) The ratio between the actual purchase quantity of the materials is close to the pre-allocated global quota ratio: For the same group of alternative materials, that is, the relationship between the materials is a substitution relationship, if the materials do not use the historical order quantity correction, the first value must be less than or equal to the second value. The first value is the absolute value of the difference between the actual purchase quantity of any material in the substitution relationship and the corresponding quota purchase quantity. The second value is the error purchase quantity of any material. The error purchase quantity is the difference between the actual purchase quantity of the material and the pre-allocated ideal purchase quantity. The quota purchase quantity is the product of the sum of the actual purchase quantity of each material in the substitution relationship and the quota ratio of the material. Taking the same group of material i with a substitution relationship as an example, the following constraints must be met: Where i represents a group of materials with a substitution relationship, and j represents the jth material in the group of materials (i.e., the jth material in the substitution relationship). ij represents the actual purchase quantity corresponding to the jth material in the i-th group, Q ijIndicates the quota ratio corresponding to the jth material in the i-th group. ij Represents the error purchase quantity corresponding to the j-th material in the i-th group.
[0082] On the contrary, if the material uses the historical order quantity correction, the third value must be less than or equal to the fourth value. The third value is the absolute value of the difference between the actual purchase quantity of any material in the substitution relationship and the corresponding correction quota purchase quantity. The fourth value is the error purchase quantity of any material. The actual purchase quantity of the correction is the sum of the actual purchase quantity of any material and the historical order quantity of the material. The above correction quota purchase quantity is the sum of the actual purchase quantity and the historical order quantity of each material in the substitution relationship multiplied by the quota ratio of the material. Taking the same group of materials i in the substitution relationship as an example, the following constraints must be met: Among them, O ij It represents the historical order quantity corresponding to the jth material in the i-th group. The meanings of other parameters in this constraint can be referred to the relevant introduction in the aforementioned embodiment, which will not be repeated here.
[0083] S502: Bring the second constraint condition into the quota balance model for solution and calculation to obtain target allocation information of each material.
[0084] The present disclosure can use the above-mentioned second constraint condition to solve the above-mentioned quota balance model. Specifically, the purchase quantity of each material in the above-mentioned initial allocation information can be adjusted or optimized based on the second constraint condition, so that the ratio between the actual purchase quantities of each material is close to the global quota ratio, thereby obtaining the target allocation information of each material required for manufacturing components. The target allocation information may include but is not limited to information such as the actual purchase quantity, actual manufacturing quantity, inventory usage, and in-transit inventory usage of each material. Regarding the specific solution process of the above-mentioned quota balance model, the present disclosure does not make too many details and limitations here.
[0085] The present disclosure does not limit the above quota balance model, which can be customized according to actual conditions. For example, the mathematical expression of the above quota balance model in the present disclosure (also referred to as the second target expression) can be used to indicate the sum of the error purchase quantity of each material with a substitution relationship in the above material information, and the error purchase quantity is the difference between the actual purchase quantity of the material and the pre-allocated ideal purchase quantity. The present disclosure can minimize the second target expression of the above quota balance model based on the above second constraint condition, and its specific expression is shown in the following formula (2):
[0086]
[0087] Among them, Z ij It represents the error purchase quantity corresponding to the j-th material in the i-th group (i.e. the j-th material in the substitution relationship).
[0088] It should be noted that the present disclosure can use the inventory allocation model to allocate materials to the material information of each material that has an associated relationship (combination relationship or substitution relationship), so as to allocate initial information to each material that is required to manufacture a component and has a combination relationship or substitution relationship, thereby obtaining the initial allocation information of each material, such as the inventory usage of the material and the in-transit inventory usage, etc. Then, the quota balance model and the initial allocation information of each material are used to optimize the material, so that the ratio between the actual purchase quantity of each material is close to the pre-configured global quota ratio, so that the material resources can be better allocated in the component scenario and the material procurement cost can be reduced.
[0089] By implementing the embodiment of the present disclosure, the terminal device obtains the material information required for the component manufacturing demand, the material information at least includes the association relationship between the various materials for manufacturing the component, and the association relationship includes a combination relationship or a substitution relationship; the material information is input into the pre-built inventory allocation model for material allocation processing, and the initial allocation information of each of the materials is obtained, and the inventory allocation model is used to indicate that the inventory usage and the in-transit inventory usage of the material are greater than the corresponding preset inventory threshold; the initial allocation information of each of the materials is input into the pre-built quota balance model for material optimization processing, and the target allocation information of each of the materials is obtained, and the quota balance model is used to indicate that the difference between the ratio between the actual purchase quantity of each of the materials and the pre-allocated global quota ratio is less than the preset ratio threshold. It can be seen that the present disclosure can perform material allocation and optimization adjustment processing according to the material information required for component manufacturing demand, the pre-built inventory allocation model and the quota balance model, so as to obtain the target allocation information of each material that meets the pre-assembly scenario, so as to solve the problems that the pre-assembly scenario in the related technology cannot achieve good material allocation and cannot reduce the material procurement cost, which is conducive to improving the reliability and practicality of material allocation, and also conducive to reducing the material procurement cost.
[0090] To help better understand the present disclosure, Figure 3 In the example shown, it is assumed that the demand for component / material DD1_AA is 100, all materials have no inventory, in-transit inventory and historical order quantity, and the key materials are materials M1, M2, M5 and M6; and there is no restriction on the use of inventory or in-transit inventory, and there is no restriction on the purchase of materials. The quota ratio between the various materials with substitution relationships (that is, the quota ratio between the same group of substitution materials) is shown in Table 1 below:
[0091] Table 1
[0092]
[0093] Based on the above assumptions, the following examples illustrate target allocation information of corresponding materials obtained by using the above embodiments of the present disclosure under different conditions.
[0094] First: The actual purchase volume of materials is close to the pre-allocated quota ratio.
[0095] Based on the above-mentioned initial settings, the following results (i.e., target allocation information of each material) can be calculated by using the embodiments of the present disclosure, which are specifically shown in Table 2 below:
[0096] Table 2
[0097]
[0098] It can be seen from Table 2 above that the manufacturing volume ratio between component S1 and component S2 is 7:3, and the actual purchase volume of each group of alternative materials can also be clearly known. For example, the purchase volume of M1 in group C1 alternative materials is 70, the purchase volume of M5 is 30, etc., and it can be seen from Table 2 above that the ratio between the actual purchase volumes of each material meets / complies with the pre-set quota ratio.
[0099] Second: Use the historical order quantity of the material to correct the deviation.
[0100] Based on the above-assuming initial setting, the historical order quantity of each of the materials M1 and M2 is updated to 20; based on this, the above-mentioned embodiment of the present disclosure can be used to calculate the following results (i.e., the target allocation information of each material), which are specifically shown in the following Table 3:
[0101] Table 3
[0102]
[0103] It can be seen from Table 3 above that the manufacturing volume ratio between component S1 and component S2 is 64:36, and the actual purchase volume of each group of alternative materials can also be clearly known. For example, the current purchase volume of M1 in group C1 alternative materials is 64, and the current purchase volume of M5 is 36, etc. Adding the historical order volume of M1 corresponding to 20, it can be obtained that the final purchase volume of M1 is 84 and the final purchase volume of M5 is 36. The purchase volume ratio is 7:3, which meets / conforms to the pre-set quota ratio.
[0104] Third: maximize the use of inventory.
[0105] Based on the above-mentioned assumed initial setting, it is updated that the total inventory of materials S2 and M5 is 10 respectively; based on this, the following results (i.e., target allocation information of each material) can be calculated by using the above-mentioned embodiment of the present disclosure, which are specifically shown in the following Table 4:
[0106] Table 4
[0107]
[0108]
[0109] It can be seen from Table 4 above that the manufacturing volume ratio between component S1 and component S2 is 63:(27+10), that is, 63:37; and the total inventory of S2 and M5 shown in Table 4 above has been completely consumed.
[0110] Fourth: Inventory usage has a higher priority than inventory in transit.
[0111] Based on the above-mentioned assumed initial setting, it is updated that materials S2 and M5 each have a total inventory of 10, and M5 has a total in-transit inventory of 100; based on this, the above-mentioned embodiment of the present disclosure can be used to calculate the following results (i.e., the target allocation information of each material), which are specifically shown in the following Table 5:
[0112] Table 5
[0113]
[0114] It can be seen from Table 5 above that the manufacturing volume ratio between component S1 and component S2 is 0:1; and the total inventory of S2 and M5 shown in Table 5 above has been completely consumed, and the in-transit inventory consumption / usage of M5 is 80, and there are 100 of them in total.
[0115] Fifth: Meet material usage restrictions.
[0116] Based on the above-mentioned assumed initial setting, the updated setting is that the total inventory of materials S2 and M5 is 10 respectively, and the total inventory of M5 is not available; based on this, the above-mentioned embodiment of the present disclosure can be used to calculate the following results (i.e., the target allocation information of each material), which is specifically shown in the following Table 6:
[0117] Table 6
[0118]
[0119]
[0120] The difference between this embodiment and the third embodiment is that the total unusable inventory of material M5 is newly added. It can be seen from Table 6 above that the manufacturing volume ratio between component S1 and component S2 is 63:(27+10), that is, 63:37; and the total inventory of S2 shown in Table 6 above has been completely consumed, while the total inventory of M5 has not been consumed, which meets the restriction that the total inventory of M5 is not used.
[0121] By implementing the disclosed embodiments, the present disclosure can perform material allocation and optimization adjustment processing according to the material information required for component manufacturing needs, the pre-built inventory allocation model and the quota balance model, so as to obtain the target allocation information of each material in the pre-assembly scenario, thereby solving the problems existing in the related technologies such as the inability to achieve better material allocation and the inability to reduce material procurement costs in the pre-assembly scenario, which is beneficial to improving the reliability and practicality of material allocation and also beneficial to reducing material procurement costs.
[0122] Based on the above examples, see Figure 6 FIG. 1 is a schematic diagram showing a material distribution device according to an exemplary embodiment. Figure 6 The device shown can be applied to a terminal device, and the device may include an acquisition module 601 and a processing module 602. Among them:
[0123] The acquisition module 601 is configured to acquire material information required for component manufacturing requirements, wherein the material information at least includes an association relationship between various materials for manufacturing the component, and the association relationship includes a combination relationship or a substitution relationship;
[0124] The processing module 602 is configured to input the material information into a pre-built inventory allocation model for material allocation processing to obtain initial allocation information of each of the materials, wherein the inventory allocation model is used to indicate that the inventory usage and in-transit inventory usage of the material are greater than the corresponding preset inventory threshold;
[0125] The processing module 602 is further configured to input the initial allocation information of each of the materials into a pre-built quota balancing model for material optimization processing to obtain target allocation information of each of the materials. The quota balancing model is used to indicate that the difference between the ratio between the actual purchase quantity of each of the materials and the pre-allocated global quota ratio is less than a preset ratio threshold.
[0126] In some embodiments, the material information also includes at least one of the following: the demand for the component, the total inventory of the material, the total in-transit inventory of the material, key materials, the quota ratio of the material and the historical order quantity of the material.
[0127] In some embodiments, the acquisition module 601 is further configured to acquire a first constraint condition of the inventory allocation model, where the first constraint condition is determined based on the material information;
[0128] The processing module 602 is configured to bring the first constraint condition into the inventory allocation model for optimal solution to obtain initial allocation information of each of the materials, wherein the initial allocation information at least includes the inventory usage and in-transit inventory usage of the material.
[0129] In some embodiments, the first objective expression of the inventory allocation model is used to indicate the sum of the actual purchase quantity and the in-transit inventory usage of the key materials in the material information, and the processing module 602 is configured to bring the first constraint condition into the first objective expression of the inventory allocation model for minimization solution.
[0130] In some embodiments, the material information is stored in a tree structure, the tree structure includes a root node and child nodes, the root node is the component, the child nodes are the materials in the material information, and the first constraint condition includes at least one of the following:
[0131] The demand of the root node is the sum of the inventory usage of the root node and the manufacturing volume of the root node;
[0132] The inventory usage of the material is less than or equal to the total inventory of the material;
[0133] If the association relationship between the materials is a substitution relationship, the manufacturing quantity of the parent node corresponding to the material is obtained by summing the quotient between the inventory usage and the manufacturing usage of each material in the substitution relationship;
[0134] If the association relationship between the materials is a combination relationship, the manufacturing quantity of the parent node corresponding to the material is the quotient between the inventory usage and the manufacturing usage of at least one of the materials with the combination relationship;
[0135] If the total inventory of the material is prohibited from being used, the inventory usage of the material will be 0;
[0136] If the total amount of in-transit inventory of the material is prohibited from being used, the in-transit inventory usage of the material will be 0.
[0137] In some embodiments, the acquisition module 601 is further configured to acquire a second constraint condition of the quota balancing model, where the second constraint condition is determined according to initial allocation information of each of the materials;
[0138] The processing module 602 is configured to bring the second constraint condition into the quota balance model for solution calculation to obtain target allocation information of each of the materials.
[0139] In some embodiments, the second objective expression of the quota balance model is used to indicate the sum of the error purchase quantity of each material with a substitution relationship, and the error purchase quantity is the difference between the actual purchase quantity of the material and the pre-allocated ideal purchase quantity. The processing module 602 is configured to bring the second constraint condition into the second objective expression of the quota balance model for minimization solution.
[0140] In some embodiments, the second constraint includes at least one of the following:
[0141] The inventory usage or in-transit inventory usage of the material is the corresponding usage in the initial allocation information of the material;
[0142] If the material does not support purchase, the actual purchase quantity of the material is 0;
[0143] If the association relationship between the materials is a substitution relationship, and there is no historical order quantity for the materials, the first value is less than or equal to the second value, the first value is the absolute value of the difference between the actual purchase quantity of any one of the materials in the substitution relationship and the corresponding quota purchase quantity, the second value is the error purchase quantity of any one of the materials, and the quota purchase quantity is the product of the sum of the actual purchase quantity of each of the materials in the substitution relationship and the quota ratio of the material;
[0144] If the association relationship between the materials is a substitution relationship, and the materials have historical order quantities, the third value is less than or equal to the fourth value, the third value is the absolute value of the difference between the actual purchase quantity of any material in the substitution relationship and the corresponding quota purchase quantity of correction, the fourth value is the error purchase quantity of any material, the actual purchase quantity of correction is the sum of the actual purchase quantity of any material and the historical order quantity of the material, and the quota purchase quantity of correction is the product of the sum of the actual purchase quantity and the historical order quantity of each material in the substitution relationship and the quota ratio of the material.
[0145] In some embodiments, the target allocation information includes at least one of the following: the actual purchase quantity, the actual manufacturing quantity, the inventory usage quantity and the in-transit inventory usage quantity of the material.
[0146] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0147] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, and the program instructions, when executed by a processor, implement the steps of the material distribution method provided by the present disclosure.
[0148] Figure 7 7 is a schematic diagram of a terminal device according to an exemplary embodiment. For example, the terminal device 700 may be a mobile phone, a computer, a digital broadcast terminal, a message transceiver, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
[0149] Reference Figure 7The terminal device 700 may include one or more of the following components: a processing component 702 , a memory 704 , a power component 706 , a multimedia component 708 , an audio component 710 , an input / output interface 712 , a sensor component 714 , and a communication component 716 .
[0150] The processing component 702 generally controls the overall operation of the device 700, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the material distribution method described above. In addition, the processing component 702 may include one or more modules to facilitate the interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate the interaction between the multimedia component 708 and the processing component 702.
[0151] The memory 704 is configured to store various types of data to support operations on the device 700. Examples of such data include instructions for any application or method operating on the device 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0152] The power supply component 706 provides power to the various components of the device 700. The power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 700.
[0153] The multimedia component 708 includes a screen that provides an output interface between the device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front camera and / or a rear camera. When the terminal device 700 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0154] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC), and when the device 700 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 704 or sent via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.
[0155] The input / output interface 712 provides an interface between the processing component 702 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0156] The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the device 700. For example, the sensor assembly 714 can detect the open / closed state of the device 700, the relative positioning of components, such as the display and keypad of the device 700, and the sensor assembly 714 can also detect the position change of the device 700 or a component of the device 700, the presence or absence of user contact with the device 700, the orientation or acceleration / deceleration of the device 700, and the temperature change of the device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0157] The communication component 716 is configured to facilitate wired or wireless communication between the device 700 and other devices. The device 700 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0158] In an exemplary embodiment, the device 700 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above-mentioned material distribution method.
[0159] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, and the instructions can be executed by the processor 720 of the device 700 to complete the above-mentioned upper-level material allocation method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0160] In addition to being an independent electronic device, the above-mentioned device can also be a part of an independent electronic device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be an IC or a collection of multiple ICs; the chip can include but is not limited to the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip, SoC), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or codes) to implement the above-mentioned material distribution method. The executable instructions can be stored in the integrated circuit or chip, or can be obtained from other devices or equipment, for example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instruction may be stored in the memory, and when the executable instruction is executed by the processor, the above-mentioned material allocation method may be implemented; alternatively, the integrated circuit or chip may receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned material allocation method.
[0161] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program executable by a programmable device, and the computer program has a code portion for executing the above-mentioned material distribution method when executed by the programmable device.
[0162] See also Figure 8 FIG. 1 is a schematic diagram showing the structure of a chip according to an exemplary embodiment. Figure 8 The chip 800 shown includes a processor 801 and an interface 802. Optionally, it may also include a memory 803. The number of the processor 801 may be one or more, and the number of the interface 802 may be multiple.
[0163] In one embodiment, for a case where a chip is used to implement the method embodiment of the present disclosure:
[0164] The interface 802 is used to receive or output signals;
[0165] The processor 801 is used to execute part or all of the contents in the material allocation method embodiment.
[0166] Understandably, the processor in the embodiment of the present disclosure may be an integrated circuit chip having signal processing capabilities. In the implementation process, each step of the above method embodiment may be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0167] It is understandable that the memory in the embodiments of the present disclosure may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0168] It should be noted here that the description of the above storage medium, device and chip embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium, storage medium and device embodiments of the present disclosure, please refer to the description of the method embodiments of the present disclosure for understanding.
[0169] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0170] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A material distribution method, characterized in that: include: Acquire material information required for component manufacturing needs, wherein the material information at least includes an association relationship between various materials for manufacturing the component, and the association relationship includes a combination relationship or a substitution relationship; Inputting the material information into a pre-built inventory allocation model for material allocation processing to obtain initial allocation information of each of the materials, wherein the inventory allocation model is used to indicate that the inventory usage and in-transit inventory usage of the material are greater than the corresponding preset inventory threshold; The initial allocation information of each of the materials is input into a pre-built quota balance model for material optimization processing to obtain the target allocation information of each of the materials. The quota balance model is used to indicate that the difference between the ratio between the actual purchase quantity of each of the materials and the pre-allocated global quota ratio is less than a preset ratio threshold.
2. The method according to claim 1, characterized in that Before inputting the material information into the pre-built inventory allocation model for material allocation processing to obtain initial allocation information of each material, the method further includes: Acquire a first constraint condition of the inventory allocation model, where the first constraint condition is determined according to the material information; The step of inputting the material information into a pre-built inventory allocation model to perform material allocation processing to obtain initial allocation information of each material includes: The first constraint condition is brought into the inventory allocation model for optimal solution to obtain initial allocation information of each of the materials, wherein the initial allocation information at least includes the inventory usage and in-transit inventory usage of the material.
3. The method according to claim 2, characterized in that The first objective expression of the inventory allocation model is used to indicate the sum of the actual purchase quantity and the in-transit inventory usage of the key material in the material information. The first constraint condition is brought into the inventory allocation model for optimal solution, including: The first constraint condition is brought into the first objective expression of the inventory allocation model for minimization.
4. The method according to claim 2, characterized in that: The material information is stored in a tree structure, the tree structure includes a root node and child nodes, the root node is the component, the child nodes are the materials in the material information, and the first constraint condition includes at least one of the following: The demand of the root node is the sum of the inventory usage of the root node and the manufacturing volume of the root node; The inventory usage of the material is less than or equal to the total inventory of the material; If the association relationship between the materials is a substitution relationship, the manufacturing quantity of the parent node corresponding to the material is obtained by summing the quotient between the inventory usage and the manufacturing usage of each material in the substitution relationship; If the association relationship between the materials is a combination relationship, the manufacturing quantity of the parent node corresponding to the material is the quotient between the inventory usage and the manufacturing usage of at least one of the materials with the combination relationship; If the total inventory of the material is prohibited from being used, the inventory usage of the material will be 0; If the total amount of in-transit inventory of the material is prohibited from being used, the in-transit inventory usage of the material will be 0.
5. The method according to claim 1, characterized in that: Before inputting the initial allocation information of each material into the pre-built quota balance model for material optimization processing to obtain the target allocation information of each material, the method further includes: Acquire a second constraint condition of the quota balancing model, where the second constraint condition is determined according to initial allocation information of each of the materials; The initial allocation information of each material is input into the pre-built quota balance model for material optimization processing to obtain the target allocation information of each material, including: The second constraint condition is brought into the quota balance model for solution calculation to obtain target allocation information of each of the materials.
6. The method according to claim 5, characterized in that The second objective expression of the quota equilibrium model is used to indicate the sum of the error purchase quantity of each material having a substitution relationship, and the error purchase quantity is the difference between the actual purchase quantity of the material and the pre-allocated ideal purchase quantity. The second constraint condition is brought into the quota equilibrium model for solution calculation, including: The second constraint condition is brought into the second objective expression of the quota balancing model for minimization.
7. The method according to claim 5, characterized in that The second constraint condition includes at least one of the following: The inventory usage or in-transit inventory usage of the material is the corresponding usage in the initial allocation information of the material; If the material does not support purchase, the actual purchase quantity of the material is 0; If the association relationship between the materials is a substitution relationship, and there is no historical order quantity for the materials, the first value is less than or equal to the second value, the first value is the absolute value of the difference between the actual purchase quantity of any one of the materials in the substitution relationship and the corresponding quota purchase quantity, the second value is the error purchase quantity of any one of the materials, and the quota purchase quantity is the product of the sum of the actual purchase quantity of each of the materials in the substitution relationship and the quota ratio of the material; If the association relationship between the materials is a substitution relationship, and the materials have historical order quantities, the third value is less than or equal to the fourth value, the third value is the absolute value of the difference between the actual purchase quantity of any material in the substitution relationship and the corresponding quota purchase quantity of correction, the fourth value is the error purchase quantity of any material, the actual purchase quantity of correction is the sum of the actual purchase quantity of any material and the historical order quantity of the material, and the quota purchase quantity of correction is the product of the sum of the actual purchase quantity and the historical order quantity of each material in the substitution relationship and the quota ratio of the material.
8. The method according to any one of claims 1 to 7, characterized in that The target allocation information includes at least one of the following: the actual purchase quantity, the actual manufacturing quantity, the inventory usage quantity and the in-transit inventory usage quantity of the material.
9. A material distribution device, characterized in that: include: An acquisition module is configured to acquire material information required for component manufacturing requirements, wherein the material information at least includes an association relationship between various materials for manufacturing the component, wherein the association relationship includes a combination relationship or a substitution relationship; a processing module configured to input the material information into a pre-built inventory allocation model for material allocation processing to obtain initial allocation information of each of the materials, wherein the inventory allocation model is used to indicate that the inventory usage and the in-transit inventory usage of the material are greater than a corresponding preset inventory threshold; The processing module is further configured to input the initial allocation information of each of the materials into a pre-built quota balancing model for material optimization processing to obtain target allocation information of each of the materials. The quota balancing model is used to indicate that the difference between the ratio between the actual purchase quantity of each of the materials and the pre-allocated global quota ratio is less than a preset ratio threshold.
10. A terminal device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the executable instructions to implement the steps of the method according to any one of claims 1 to 8.
11. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
12. A chip, characterized in that: The method comprises a processor and an interface; the processor is used to read instructions to execute the method according to any one of claims 1 to 8.
Citation Information
Cited By
Material demand planning method and system, electronic equipment and storage medium
CN120046948A