Method and device for determining priority of substitute material, electronic equipment and storage medium
By calculating the consumption deviation ratio of alternative materials and adjusting their priorities, the sluggish problem caused by random consumption of alternative materials is solved, and the maximum utilization of inventory resources and the achievement of order delivery goals are achieved.
Patent Information
- Application Number
- CN202411864932.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-17
- Publication Date
- 2025-05-13
AI Technical Summary
During the factory production process, there is a great randomness in the consumption of substitute materials, resulting in poorly versatile substitute materials that are not versatile will become dull due to usage restrictions, affecting the goal of order delivery.
By obtaining the expected consumption values and actual consumption values of each substitute for historical production products, calculate the consumption deviation ratio of each substitute material, determine the initial consumption priority, and adjust the target consumption priority based on the reference material information and inventory information of the product to be produced.
It effectively avoids material sluggishness, maximizes inventory resource utilization, and improves the achievement rate of order delivery targets and customer satisfaction.
Smart Images

Figure CN119990967A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method, device, electronic device and storage medium for determining the priority of alternative materials. Background Art
[0002] In the process of factory production, there are a lot of substitute materials used, most of which are incomplete substitutes. Due to the intricate relationship between incomplete substitute materials, there is a lot of randomness in the consumption of substitute materials in actual business. For example, substitute materials with good versatility (or low inventory level) are consumed first, and those with poor versatility (or high inventory level) are left to the end, which can easily cause the substitute materials with poor versatility to become stagnant due to usage restrictions. At the same time, since materials with good versatility are consumed in advance, the material completeness of subsequent orders becomes worse, which will affect the achievement of order delivery goals to a certain extent. Summary of the invention
[0003] The present application provides a method, device, electronic device and storage medium for determining the priority of alternative materials, so as to at least solve the above technical problems existing in the prior art.
[0004] According to a first aspect of the present application, a method for determining a priority of a substitute material is provided, the method comprising:
[0005] Obtain the expected consumption value of each alternative material for historical production products;
[0006] Based on the expected consumption value of each substitute material of the historical production product and the actual consumption value of each substitute material, the consumption deviation ratio of each substitute material is obtained;
[0007] Determining the initial consumption priority of each substitute material based on the consumption deviation ratio of each substitute material;
[0008] Obtain reference material information for products to be produced;
[0009] Based on the reference material information of the product to be produced and the initial consumption priority of each substitute material, the target consumption priority of each substitute material is determined.
[0010] In one possible implementation, the reference material information of the product to be produced includes the quantity of the product to be produced and the saturated usage ratio of each substitute material of the product to be produced; the determining the target consumption priority of each substitute material based on the reference material information of the product to be produced and the initial consumption priority of each substitute material includes:
[0011] Based on the number of products to be produced and the saturated usage ratio of each substitute material of the products to be produced, the saturated usage amount of each substitute material of the products to be produced is obtained;
[0012] Based on the saturated usage of each substitute material for the product to be produced and the initial consumption priority of each substitute material, the target consumption priority of each substitute material is determined.
[0013] In one possible implementation, the determining of the target consumption priority of each substitute material based on the saturated usage of each substitute material of the product to be produced and the initial consumption priority of each substitute material includes:
[0014] Obtain inventory information of each substitute material for the product to be produced;
[0015] Based on the inventory information of each substitute material and the saturated usage of each substitute material, the inventory coefficient of each substitute material is obtained;
[0016] Based on the inventory coefficient of each substitute material and the initial consumption priority of each substitute material, the target consumption priority of each substitute material is determined.
[0017] In one possible implementation, the step of determining the target consumption priority of each substitute material based on the inventory coefficient of each substitute material and the initial consumption priority of each substitute material includes:
[0018] For any alternative material,
[0019] When the inventory coefficient of the substitute material meets the first preset condition, the material identifier of the substitute material is determined as the first identifier;
[0020] When the inventory coefficient of the substitute material meets the second preset condition, the material identifier of the substitute material is determined as the second identifier;
[0021] When the inventory coefficient of the substitute material meets the third preset condition, the material identifier of the substitute material is determined as the third identifier;
[0022] Based on the material identification of each substitute material and the initial consumption priority of each substitute material, the target consumption priority of each substitute material is determined.
[0023] In one possible implementation manner, obtaining the expected consumption value of each substitute material of the historical production product includes:
[0024] Obtaining reference material information of historical production products; the reference material information includes the quantity of historical production products and the expected usage ratio of each substitute material of the historical production products;
[0025] Based on the quantity of historically produced products and the expected usage ratio of each substitute material of the historically produced products, the expected consumption value of each substitute material of the historically produced products is obtained.
[0026] In one embodiment, the priority of the substitute material with the first material identifier is higher than the priority of the substitute material with the second material identifier, and the priority of the substitute material with the second material identifier is higher than the priority of the substitute material with the third material identifier.
[0027] In one embodiment, after determining the target consumption priority of each substitute material, the method further includes:
[0028] Based on the target consumption priority of each substitute material, the products to be produced are produced.
[0029] According to a second aspect of the present application, a device for determining a priority of a substitute material is provided, the device comprising:
[0030] A first acquisition unit is used to acquire the expected consumption value of each substitute material of the historical production product;
[0031] A second acquisition unit is used to obtain the consumption deviation ratio of each substitute material based on the expected consumption value of each substitute material of the historical production product and the actual consumption value of each substitute material;
[0032] A first determining unit, configured to determine an initial consumption priority of each substitute material based on the consumption deviation ratio of each substitute material;
[0033] A third acquisition unit is used to acquire reference material information of the product to be produced;
[0034] The second determining unit is used to determine the target consumption priority of each substitute material based on the reference material information of the product to be produced and the initial consumption priority of each substitute material.
[0035] According to a third aspect of the present application, an electronic device is provided, including:
[0036] at least one processor; and
[0037] a memory communicatively connected to the at least one processor; wherein,
[0038] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the present application.
[0039] According to a fourth aspect of the present application, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to execute the method described in the present application.
[0040] In this application, the expected consumption value of each substitute material of the historical production product is obtained; based on the expected consumption value of each substitute material of the historical production product and the actual consumption value of each substitute material, the consumption deviation ratio of each substitute material is obtained; based on the consumption deviation ratio of each substitute material, the initial consumption priority of each substitute material is determined; the reference material information of the product to be produced is obtained; based on the reference material information of the product to be produced and the initial consumption priority of each substitute material, the target consumption priority of each substitute material is determined. It can effectively avoid material stagnation and maximize the utilization of inventory resources.
[0041] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become easily understood. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-limiting manner, wherein:
[0043] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.
[0044] Figure 1 A schematic diagram of the implementation process of the method for determining the priority of alternative materials in an embodiment of the present application is shown;
[0045] Figure 2 The following is an example of the application of the method for determining the priority of the substitute material in the embodiment of the present application. Figure 1 ;
[0046] Figure 3 The following is an example of the application of the method for determining the priority of the substitute material in the embodiment of the present application. Figure 2 ;
[0047] Figure 4 The following is an example of the application of the method for determining the priority of the substitute material in the embodiment of the present application. Figure 3 ;
[0048] Figure 5 The following is an example of the application of the method for determining the priority of the substitute material in the embodiment of the present application. Figure 4 ;
[0049] Figure 6 The following is an example of the application of the method for determining the priority of the substitute material in the embodiment of the present application. Figure 5 ;
[0050] Figure 7 The following is an example of the application of the method for determining the priority of the substitute material in the embodiment of the present application. Figure 6 ;
[0051] Figure 8 The following is an example of the application of the method for determining the priority of the substitute material in the embodiment of the present application. Figure 7 ;
[0052] Fig. 9 A schematic diagram showing the composition structure of a device for determining the priority of alternative materials according to an embodiment of the present application is shown;
[0053] Fig.10 A schematic diagram of the structure of an electronic device according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0054] In order to make the purpose, features, and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0055] The present application embodiment provides a method for determining the priority of alternative materials, such as Figure 1 As shown, the method includes:
[0056] S101: Obtain the expected consumption value of each substitute material of the historical production product.
[0057] In this step, the historical production products are the historical finished products, that is, the finished products that have been produced. A finished product may have multiple substitute materials, and the substitute materials corresponding to different finished products may be the same or different. The expected consumption value of each substitute material is the theoretical consumption value of each substitute material, which is calculated based on the reference material information of the historical production products. For details, refer to Figure 2 As shown, assume that there are three historical production products FG-1, FG-2 and FG-3. The production quantity of FG-1 is 100 pieces, and there are two alternative materials A and B, where the expected usage ratio of A is 100% and the expected usage ratio of B is 0%. For FG-1, the expected consumption value of alternative material A is 100, and the expected consumption value of alternative material B is 0. The production quantity of FG-2 is 200 pieces, and there are two alternative materials A and C, where the expected usage ratio of A is 70% and the expected usage ratio of C is 30%. For FG-2, the expected consumption value of alternative material A is 140, and the expected consumption value of alternative material C is 60. The production quantity of FG-3 is 100 pieces, and there are two alternative materials C and D, where the expected usage ratio of C is 50% and the expected usage ratio of D is 50%. For FG-3, the expected consumption value of alternative material C is 50, and the expected consumption value of alternative material D is 50.
[0058] S102: Based on the expected consumption value of each substitute material of the historical production product and the actual consumption value of each substitute material, the consumption deviation ratio of each substitute material is obtained.
[0059] In this step, the actual consumption value of each substitute material can be obtained through the production records of historical production products. Figure 3 As shown, combined with the above Figure 2 As shown in the figure, for FG-1, the actual consumption value of substitute material A is 83, and the actual consumption value of substitute material B is 17. For FG-2, the actual consumption value of substitute material A is 200, and the actual consumption value of substitute material C is 0. For FG-3, the actual consumption value of substitute material C is 55, and the expected consumption value of substitute material D is 45. Figure 4 As shown, the total expected consumption value of substitute material A is 100+140=240 pieces, and the actual consumption value is 283 pieces. The consumption deviation ratio of substitute material A is (283-240) / 240=18%. The total expected consumption value of substitute material B is 0 pieces, and the actual consumption value is 17 pieces. The consumption deviation ratio of substitute material B is (17-0) / 0=9999 (because the denominator is not equal to 0 under normal circumstances, this number is represented as an error output identifier and has no practical meaning). The total expected consumption value of substitute material C is 60+50=110 pieces, and the actual consumption value is 55 pieces. The consumption deviation ratio of substitute material C is (55-110) / 110=-50%. The total expected consumption value of substitute material D is 50 pieces, and the actual consumption value is 45 pieces. The consumption deviation ratio of substitute material D is (45-50) / 50=-10%.
[0060] S103: Determine the initial consumption priority of each substitute material based on the consumption deviation ratio of each substitute material.
[0061] In this step, the lower the consumption deviation ratio, the greater the expected consumption value is than the actual consumption value. This is equivalent to preparing the expected consumption value for a substitute material for consumption, but in fact the expected consumption value is not fully consumed, which will easily cause stagnation of individual materials. Therefore, the principle for determining the initial consumption priority of the embodiment of the present application is: determine the initial consumption priority of each substitute material from low to high according to the consumption deviation ratio. Figure 5 As shown, combined with the above Figure 2 to Figure 4 , the initial consumption priority of alternative material A is 3, the initial consumption priority of alternative material B is 4, the initial consumption priority of alternative material C is 1, and the initial consumption priority of alternative material D is 2.
[0062] S104: Obtain reference material information of the product to be produced.
[0063] In this step, the product to be produced is the product currently being prepared for production, and the reference material information of the product to be produced is read.
[0064] S105: Based on the reference material information of the product to be produced and the initial consumption priority of each substitute material, determine the target consumption priority of each substitute material.
[0065] In this step, in order to further ensure the accuracy of the consumption priority of each substitute material and realize resource utilization to a greater extent, after obtaining the initial consumption priority of each substitute material, the initial consumption priority is adjusted based on the reference material information of the product to be produced to obtain the target consumption priority of each substitute material.
[0066] In the scheme shown in step S101 to step S105, the expected consumption value of each substitute material of the historical production product is obtained; based on the expected consumption value of each substitute material of the historical production product and the actual consumption value of each substitute material, the consumption deviation ratio of each substitute material is obtained; based on the consumption deviation ratio of each substitute material, the initial consumption priority of each substitute material is determined; the reference material information of the product to be produced is obtained; based on the reference material information of the product to be produced and the initial consumption priority of each substitute material, the target consumption priority of each substitute material is determined. It can effectively avoid material stagnation and maximize the utilization of inventory resources.
[0067] In an optional solution, the reference material information of the product to be produced includes the quantity of the product to be produced and the saturated usage ratio of each substitute material of the product to be produced; the target consumption priority of each substitute material is determined based on the reference material information of the product to be produced and the initial consumption priority of each substitute material, including:
[0068] Based on the number of products to be produced and the saturated usage ratio of each substitute material of the products to be produced, the saturated usage amount of each substitute material of the products to be produced is obtained;
[0069] Based on the saturated usage of each substitute material for the product to be produced and the initial consumption priority of each substitute material, the target consumption priority of each substitute material is determined.
[0070] In the present application, the reference material information of the product to be produced includes the number of products to be produced and the saturated usage ratio of each substitute material of the product to be produced. Exemplarily, the product FG-1 to be produced requires the production of 100, and there are two materials A and B that are substitutes for each other. Under standard conditions, the usage ratio of material A is 100%, and the usage ratio of material B is 0%. That is, only material A is used when producing product FG-1, and material B is not used. The product FG-2 to be produced requires the production of 30, and there are two materials A and C that are substitutes for each other. Under standard conditions, the usage ratio of material A is 70%, and the usage ratio of material B is 30%. The product FG-3 to be produced requires the production of 20, and there are two materials C and D that are substitutes for each other. Under standard conditions, the usage ratio of material C is 50%, and the usage ratio of material D is 50%. In the embodiment of the present application, in order to accurately determine the target consumption priority of each substitute material, the usage ratio of each substitute material is calculated based on the usage when the usage ratio reaches saturation, so as to achieve the scientific consumption of each substitute material. Specifically, the saturated usage ratio of each material is the maximum usage ratio, which is 100%. That is, when producing product FG-1, only material A is used without material B, or only material B is used without material A. When producing product FG-2, only material A is used without material C, or only material C is used without material A. When producing product FG-3, only material C is used without material D, or only material D is used without material C. Then for product FG-1, the saturated usage of material A is 100×100%=100, and the saturated usage of material B is 100×100%=100. For product FG-2, the saturated usage of material A is 30×100%=30, and the saturated usage of material C is 30×100%=30. For product FG-3, the saturated usage of material C is 20×100%=20, and the saturated usage of material D is 20×100%=20. Then Figure 6 As shown, the total saturated usage of material A is 100+30=130. The total saturated usage of material B is 100. The total saturated usage of material C is 30+20=50. The total saturated usage of material D is 20. Based on the saturated usage of each substitute material of the product to be produced and the initial consumption priority of each substitute material, the target consumption priority of each substitute material can be determined. For the specific process, please refer to the detailed description of the relevant parts below, which will not be repeated here.
[0071] In an optional solution, the target consumption priority of each substitute material is determined based on the saturated usage of each substitute material of the product to be produced and the initial consumption priority of each substitute material, including:
[0072] Obtain inventory information of each substitute material for the product to be produced;
[0073] Based on the inventory information of each substitute material and the saturated usage of each substitute material, the inventory coefficient of each substitute material is obtained;
[0074] Based on the inventory coefficient of each substitute material and the initial consumption priority of each substitute material, the target consumption priority of each substitute material is determined.
[0075] In this application, the inventory information of each substitute material of the product to be produced includes the inventory of each substitute material in the warehouse. Based on the inventory and saturated usage of each substitute material, the inventory coefficient (also called inventory water level) of each substitute material is calculated. Figure 7 As shown, the inventory of substitute material A is 60, the inventory of substitute material B is 73, the inventory of substitute material C is 27, and the inventory of substitute material D is 25. Since the saturated usage of substitute material A is 130, the inventory coefficient of substitute material A is 60 / 130=46%. Since the saturated usage of substitute material B is 100, the inventory coefficient of substitute material B is 73 / 100=73%. Since the saturated usage of substitute material C is 50, the inventory coefficient of substitute material C is 27 / 50=54%. Since the saturated usage of substitute material D is 20, the inventory coefficient of substitute material D is 25 / 20=125%.
[0076] Based on the inventory coefficient of each substitute material and the initial consumption priority of each substitute material, the target consumption priority of each substitute material can be accurately and scientifically determined. For the specific process, please refer to the detailed description in the following relevant places and will not be repeated here.
[0077] In an optional solution, determining the target consumption priority of each substitute material based on the inventory coefficient of each substitute material and the initial consumption priority of each substitute material includes:
[0078] For any alternative material,
[0079] When the inventory coefficient of the substitute material meets the first preset condition, the material identifier of the substitute material is determined as the first identifier;
[0080] When the inventory coefficient of the substitute material meets the second preset condition, the material identifier of the substitute material is determined as the second identifier;
[0081] When the inventory coefficient of the substitute material meets the third preset condition, the material identifier of the substitute material is determined as the third identifier;
[0082] Based on the material identification of each substitute material and the initial consumption priority of each substitute material, the target consumption priority of each substitute material is determined.
[0083] In this application, a warning threshold for the inventory coefficient is set. The first preset condition is that the inventory coefficient is ≥ 1, the second preset condition is that the warning value is ≤ the inventory coefficient is < 1, and the third preset condition is that the inventory coefficient is < the warning value. When the inventory coefficient meets the first preset condition, the material identification of the substitute material is determined to be the first identification; when the inventory coefficient meets the second preset condition, the material identification of the substitute material is determined to be the second identification; when the inventory coefficient meets the third preset condition, the material identification of the substitute material is determined to be the third identification. Among them, the risk level of the first identification is greater than that of the second identification, and the risk level of the second identification is greater than that of the third identification.
[0084] In the embodiment of the present application, based on the initial consumption priority of each substitute material, only the priority of the substitute material with a negative consumption deviation rate is adjusted. Assuming that the warning value is 70%, then combined with Figure 5 , Figure 7 and Figure 8 As shown, the material identification of material A is the third identification, the material identification of material B is the second identification, the material identification of material C is the third identification, and the material identification of material D is the first identification. Since only the consumption deviation rates of materials C and D are negative, only the initial consumption priorities of materials C and D are adjusted. Considering that the risk level of the material identification (third identification) of material C is lower than that of the material identification (first identification) of material D, the priorities of materials C and D are swapped. The target consumption priority of material A is finally determined to be 3, the target consumption priority of material B is 4, the target consumption priority of material C is 2, and the target consumption priority of material D is 1.
[0085] In the present application, by adjusting the priority of only the substitute materials with negative consumption deviation rates, it is possible to avoid inventory stagnation caused by the accumulation of materials whose actual consumption is less than the expected consumption, thereby improving the utilization rate of material resources.
[0086] In an optional solution, obtaining the expected consumption value of each substitute material of the historical production product includes:
[0087] Obtaining reference material information of historical production products; the reference material information includes the quantity of historical production products and the expected usage ratio of each substitute material of the historical production products;
[0088] Based on the quantity of historically produced products and the expected usage ratio of each substitute material of the historically produced products, the expected consumption value of each substitute material of the historically produced products is obtained.
[0089] In this application, combined Figure 2As shown, among the three historical production products FG-1, FG-2 and FG-3, the production quantity of FG-1 is 100 pieces, and there are two alternative materials A and B, where the expected usage ratio of A is 100% and the expected usage ratio of B is 0%. For FG-1, the expected consumption value of alternative material A is 100, and the expected consumption value of alternative material B is 0. The production quantity of FG-2 is 200 pieces, and there are two alternative materials A and C, where the expected usage ratio of A is 70% and the expected usage ratio of C is 30%. For FG-2, the expected consumption value of alternative material A is 140, and the expected consumption value of alternative material C is 60. The production quantity of FG-3 is 100 pieces, and there are two alternative materials C and D, where the expected usage ratio of C is 50% and the expected usage ratio of D is 50%. For FG-3, the expected consumption value of alternative material C is 50, and the expected consumption value of alternative material D is 50. The overall expected consumption value of substitute material A is 100+140=240, and the overall expected consumption value of substitute material B is 0. The overall expected consumption value of substitute material C is 60+50=110, and the overall expected consumption value of substitute material D is 50. The scheme is simple and easy to implement, and provides a data basis for accurately determining the target consumption priority of each substitute material.
[0090] In an optional solution, the priority of the substitute material with the first material identifier is higher than the priority of the substitute material with the second material identifier, and the priority of the substitute material with the second material identifier is higher than the priority of the substitute material with the third material identifier.
[0091] In this application, the first mark is "sluggish", the second mark is "risk", and the third mark is "normal". The priority order of the three marks is "sluggish" > "risk" > "normal". A more accurate target consumption priority can be further determined based on the marks of each substitute material.
[0092] In an optional solution, after determining the target consumption priority of each substitute material, the method further includes:
[0093] Based on the target consumption priority of each substitute material, the products to be produced are produced.
[0094] In this application, after determining the target consumption priority of each substitute material, the target consumption priority order of the substitute material will be called in the material set calculation process during production, and substitute materials with poor versatility and high risk of obsolescence will be given priority. After that, a production order is opened, and an order BOM (Bill of Materials) is generated, which inherits the material set calculation results to allocate the required quantity of order components. The material picking calculation is performed according to the required quantity of order components, and the manufacturing site pulls and production execution loads materials according to the target consumption priority of each substitute material, and produces the products to be produced. It can reduce the risk of inaccurate temporary delivery response caused by biased use of substitute materials in incomplete substitution scenarios, while improving the level of "maximizing inventory resource utilization" in the production process, and improving the achievement rate of order delivery targets and customer satisfaction.
[0095] The present application also provides a device for determining the priority of alternative materials, such as Fig. 9 As shown, the device comprises:
[0096] The first acquisition unit 901 is used to acquire the expected consumption value of each substitute material of the historical production product;
[0097] The second acquisition unit 902 is used to obtain the consumption deviation ratio of each substitute material based on the expected consumption value of each substitute material of the historical production product and the actual consumption value of each substitute material;
[0098] A first determining unit 903 is used to determine the initial consumption priority of each substitute material based on the consumption deviation ratio of each substitute material;
[0099] The third acquisition unit 904 is used to acquire reference material information of the product to be produced;
[0100] The second determining unit 905 is used to determine the target consumption priority of each substitute material based on the reference material information of the product to be produced and the initial consumption priority of each substitute material.
[0101] In an optional scheme, the reference material information of the product to be produced includes the quantity of the product to be produced and the saturated usage ratio of each substitute material for the product to be produced; the second determination unit 905 is used to obtain the saturated usage amount of each substitute material for the product to be produced based on the quantity of the product to be produced and the saturated usage ratio of each substitute material for the product to be produced; based on the saturated usage amount of each substitute material for the product to be produced and the initial consumption priority of each substitute material, determine the target consumption priority of each substitute material.
[0102] In an optional scheme, the second determination unit 905 is used to obtain the inventory information of each substitute material for the product to be produced; obtain the inventory coefficient of each substitute material based on the inventory information of each substitute material and the saturated usage of each substitute material; determine the target consumption priority of each substitute material based on the inventory coefficient of each substitute material and the initial consumption priority of each substitute material.
[0103] In an optional scheme, the second determination unit 905 is used to, for any substitute material, determine the material identification of the substitute material as the first identification when the inventory coefficient of the substitute material meets the first preset condition; determine the material identification of the substitute material as the second identification when the inventory coefficient of the substitute material meets the second preset condition; determine the material identification of the substitute material as the third identification when the inventory coefficient of the substitute material meets the third preset condition; and determine the target consumption priority of each substitute material based on the material identification of each substitute material and the initial consumption priority of each substitute material.
[0104] In an optional scheme, the first acquisition unit 901 is used to obtain reference material information of historical production products; the reference material information includes the quantity of historical production products and the expected usage ratio of each substitute material of the historical production products; based on the quantity of historical production products and the expected usage ratio of each substitute material of the historical production products, the expected consumption value of each substitute material of the historical production products is obtained.
[0105] In an optional solution, the priority of the substitute material with the first material identifier is higher than the priority of the substitute material with the second material identifier, and the priority of the substitute material with the second material identifier is higher than the priority of the substitute material with the third material identifier.
[0106] In an optional solution, the device further includes:
[0107] The production unit is used to produce the product to be produced based on the target consumption priority of each substitute material.
[0108] It should be noted that the device for determining the priority of alternative materials in the embodiment of the present application solves the problem on a principle similar to that of the aforementioned method for determining the priority of alternative materials. Therefore, the implementation process, implementation principle, and beneficial effects of the device for determining the priority of alternative materials can all be referred to the description of the implementation process, implementation principle, and beneficial effects of the aforementioned method, and the repeated parts will not be repeated here.
[0109] According to an embodiment of the present application, the present application also provides an electronic device and a readable storage medium.
[0110] Fig.10A schematic block diagram of an example electronic device 1000 that can be used to implement an embodiment of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.
[0111] like Fig.10 As shown, the device 1000 includes a computing unit 1001, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1002 or a computer program loaded from a storage unit 1008 into a random access memory (RAM) 1003. In the RAM 1003, various programs and data required for the operation of the device 1000 can also be stored. The computing unit 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0112] A number of components in the device 1000 are connected to the I / O interface 1005, including: an input unit 1006, such as a keyboard, a mouse, etc.; an output unit 1007, such as various types of displays, speakers, etc.; a storage unit 1008, such as a disk, an optical disk, etc.; and a communication unit 1009, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1009 allows the device 1000 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0113] The computing unit 1001 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1001 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1001 performs the various methods and processes described above, such as a method for determining the priority of alternative materials. For example, in some embodiments, the method for determining the priority of alternative materials may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 1008. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 1000 via the ROM 1002 and / or the communication unit 1009. When the computer program is loaded into the RAM 1003 and executed by the computing unit 1001, one or more steps of the method for determining the priority of alternative materials described above may be performed. Alternatively, in other embodiments, the computing unit 1001 may be configured to execute the method for determining the priority of substitute materials in any other appropriate manner (for example, by means of firmware).
[0114] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0115] The program code for implementing the method of the present application can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, implements the functions / operations specified in the flow chart and / or block diagram. The program code can be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0116] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0117] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0118] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0119] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0120] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution disclosed in this application can be achieved, and this document is not limited here.
[0121] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0122] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for determining the priority of alternative materials, characterized in that: The method comprises: Obtain the expected consumption value of each alternative material for historical production products; Based on the expected consumption value of each substitute material of the historical production product and the actual consumption value of each substitute material, the consumption deviation ratio of each substitute material is obtained; Determining the initial consumption priority of each substitute material based on the consumption deviation ratio of each substitute material; Obtain reference material information for products to be produced; Based on the reference material information of the product to be produced and the initial consumption priority of each substitute material, the target consumption priority of each substitute material is determined.
2. The method according to claim 1, characterized in that The reference material information of the product to be produced includes the quantity of the product to be produced and the saturated usage ratio of each substitute material of the product to be produced; the target consumption priority of each substitute material is determined based on the reference material information of the product to be produced and the initial consumption priority of each substitute material, including: Based on the number of products to be produced and the saturated usage ratio of each substitute material of the products to be produced, the saturated usage amount of each substitute material of the products to be produced is obtained; Based on the saturated usage of each substitute material for the product to be produced and the initial consumption priority of each substitute material, the target consumption priority of each substitute material is determined.
3. The method according to claim 2, characterized in that The step of determining the target consumption priority of each substitute material based on the saturated usage of each substitute material of the product to be produced and the initial consumption priority of each substitute material comprises: Obtain inventory information of each substitute material for the product to be produced; Based on the inventory information of each substitute material and the saturated usage of each substitute material, the inventory coefficient of each substitute material is obtained; Based on the inventory coefficient of each substitute material and the initial consumption priority of each substitute material, the target consumption priority of each substitute material is determined.
4. The method according to claim 3, characterized in that The step of determining the target consumption priority of each substitute material based on the inventory coefficient of each substitute material and the initial consumption priority of each substitute material includes: For any alternative material, When the inventory coefficient of the substitute material meets the first preset condition, the material identifier of the substitute material is determined as the first identifier; When the inventory coefficient of the substitute material meets the second preset condition, the material identifier of the substitute material is determined as the second identifier; When the inventory coefficient of the substitute material meets the third preset condition, the material identifier of the substitute material is determined as the third identifier; Based on the material identification of each substitute material and the initial consumption priority of each substitute material, the target consumption priority of each substitute material is determined.
5. The method according to any one of claims 1 to 4, characterized in that: The obtaining of the expected consumption value of each substitute material of the historical production product includes: Obtaining reference material information of historical production products; the reference material information includes the quantity of historical production products and the expected usage ratio of each substitute material of the historical production products; Based on the quantity of historically produced products and the expected usage ratio of each substitute material of the historically produced products, the expected consumption value of each substitute material of the historically produced products is obtained.
6. The method according to claim 4, characterized in that The priority of the substitute material with the first material identifier is higher than the priority of the substitute material with the second material identifier, and the priority of the substitute material with the second material identifier is higher than the priority of the substitute material with the third material identifier.
7. The method according to claim 1, characterized in that After determining the target consumption priority of each substitute material, the method further includes: Based on the target consumption priority of each substitute material, the products to be produced are produced.
8. A device for determining the priority of alternative materials, characterized in that: The device comprises: A first acquisition unit is used to acquire the expected consumption value of each substitute material of the historical production product; A second acquisition unit is used to obtain the consumption deviation ratio of each substitute material based on the expected consumption value of each substitute material of the historical production product and the actual consumption value of each substitute material; A first determining unit, configured to determine an initial consumption priority of each substitute material based on the consumption deviation ratio of each substitute material; A third acquisition unit is used to acquire reference material information of the product to be produced; The second determining unit is used to determine the target consumption priority of each substitute material based on the reference material information of the product to be produced and the initial consumption priority of each substitute material.
9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to make a computer execute the method according to any one of claims 1-7.