Data processing method and device, electronic equipment and readable storage medium

By considering the substitution relationship between materials and expected procurement quotas in the material demand planning system, the material procurement plan for equipment to be produced is solved, and the problem of inaccurate procurement plans in the existing system is improved, and the accuracy and economicality of the plan is improved. .

CN119477156APending Publication Date: 2025-02-18BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311000072.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-09
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

When generating procurement plans, the existing material requirements planning system fails to fully consider the substitution relationship between materials, resulting in inaccurate procurement plans.

Method used

By obtaining the expected procurement quota for multiple materials and material replacement information for different types of equipment to be produced, the target procurement quota for multiple materials corresponding to each equipment to be produced is determined, and the target procurement volume of materials is optimized based on the demand and inventory volume.

Benefits of technology

Improve the accuracy of the material demand planning system and ensure that the procurement plan can fully consider the alternative relationships and actual needs between materials, thereby reducing procurement costs and inventory risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119477156A_ABST
    Figure CN119477156A_ABST
Patent Text Reader

Abstract

The invention relates to a data processing method and device, electronic equipment and a readable storage medium. The data processing method comprises the steps that expected purchase quotas of multiple materials are acquired; based on a plurality of different types of to-be-produced equipment, determining material replacement information corresponding to each to-be-produced equipment; wherein the material replacement information indicates whether a replacement relation exists among the multiple materials or not; the material replacement information corresponding to different types of to-be-produced equipment is different; based on the material replacement information of each piece of to-be-produced equipment and the expected purchase quota of the multiple materials, determining a target purchase quota of the multiple materials corresponding to each piece of to-be-produced equipment; and based on the target purchase quota of the plurality of materials corresponding to each of the plurality of to-be-produced devices and the demand quantity of the to-be-produced devices, determining the target purchase quantity of the plurality of materials.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing, and in particular to a data processing method, device, electronic device and readable storage medium. Background Art

[0002] Material Requirements Planning is used to manage production planning, scheduling and inventory in the manufacturing process, providing strong support for the electronics manufacturing industry.

[0003] In the related art, material requirement planning can only generate a procurement plan that matches the demand based on each target supplier and the material quota corresponding to each target supplier. However, when it comes to a specific material, since there is an available material group for the material and the available material group affects the demand for the material, it is easy to make the obtained procurement plan inaccurate. Summary of the invention

[0004] In order to overcome the problems existing in the related art, the present disclosure provides a data processing method, device, electronic device and readable storage medium.

[0005] A first aspect of the present disclosure provides a data processing method, comprising:

[0006] Get the expected purchase quotas for multiple materials;

[0007] Based on multiple different types of equipment to be produced, determine the material replacement information corresponding to each of the equipment to be produced; wherein the material replacement information indicates whether there is a substitution relationship between the multiple materials; different types of equipment to be produced correspond to different material replacement information;

[0008] Determine, based on the material replacement information of each of the equipment to be produced and the expected purchase quotas of the multiple materials, the target purchase quotas of the multiple materials corresponding to each of the equipment to be produced;

[0009] Based on the target purchase quotas of the multiple materials corresponding to each of the multiple equipment to be produced and the demand quantity of the equipment to be produced, the target purchase quantity of the multiple materials is determined.

[0010] Optionally, determining the target procurement quota of the multiple materials corresponding to each of the equipment to be produced based on the material replacement information of each of the equipment to be produced and the expected procurement quotas of the multiple materials includes:

[0011] Based on the material replacement information of each of the equipment to be produced, determining at least one available material of the equipment to be produced from a plurality of materials;

[0012] The expected purchase quota of the at least one available material of each of the equipment to be produced is normalized respectively to determine the target purchase quota of the multiple materials corresponding to each of the equipment to be produced.

[0013] Optionally, determining the target purchase quantity of the multiple materials based on the target purchase quota of the multiple materials corresponding to each of the multiple equipment to be produced and the demand quantity of the equipment to be produced includes:

[0014] Obtaining the remaining inventory of each of the multiple materials;

[0015] Under the condition that the demand for the equipment to be produced is met, the target purchase quantity of the multiple materials is determined based on the target purchase quota of the multiple materials corresponding to each of the equipment to be produced and the remaining inventory of each of the materials.

[0016] Optionally, in the case where the demand for the equipment to be produced is met, determining the target purchase quantity of the multiple materials based on the target purchase quota of the multiple materials corresponding to each of the equipment to be produced and the remaining inventory of each of the materials, includes:

[0017] Based on the demand of each of the equipment to be produced, constructing a procurement constraint condition of at least one of the materials corresponding to the equipment to be produced;

[0018] Determine the objective function according to the target purchase quota of the multiple materials corresponding to each of the equipment to be produced, the remaining inventory and the purchase quantity of each of the materials;

[0019] Under the condition that the procurement constraints are met, the procurement quantities of the multiple materials are optimized with minimization of the objective function as the optimization goal, and the target procurement quantities of the multiple materials are determined.

[0020] Optionally, the procurement constraint condition of at least one of the materials corresponding to the equipment to be produced is used to indicate that the sum of the target procurement quantities of at least one of the materials corresponding to the equipment to be produced is less than or equal to the demand quantity corresponding to the equipment to be produced.

[0021] Optionally, determining the objective function according to the target purchase quota of the multiple materials corresponding to each of the equipment to be produced, the remaining inventory and the purchase quantity of each of the materials, includes:

[0022] Determine the demand for each of the materials based on the purchase quantity of each of the materials and the remaining inventory of each of the materials;

[0023] Based on the target purchase quota of each material in the plurality of equipment to be produced and the demand quantity of each material, determine the expected purchase quantity of each material to meet the target purchase quota of the equipment to be produced;

[0024] The objective function is determined based on the difference between the purchase quantity of each of the materials and the expected purchase quantity.

[0025] Optionally, determining the demand quantity of each material based on the purchase quantity of each material and the remaining inventory quantity of each material includes:

[0026] Get historical purchase orders for multiple materials;

[0027] Based on the historical purchase orders, obtaining the standby inventory quantity of each of the materials;

[0028] The demand quantity of each material is determined based on the candidate inventory quantity of each material, the purchase quantity of each material and the remaining inventory quantity of each material.

[0029] According to a second aspect of the present disclosure, there is provided a data processing device, comprising:

[0030] The acquisition module is used to obtain the expected purchase quotas of multiple materials;

[0031] A first determination module is used to determine material replacement information corresponding to each of the equipment to be produced based on multiple different types of equipment to be produced; wherein the material replacement information indicates whether there is a substitution relationship between the multiple materials; different types of equipment to be produced have different corresponding material replacement information;

[0032] A second determination module is used to determine the target procurement quota of the multiple materials corresponding to each of the equipment to be produced based on the material replacement information of each of the equipment to be produced and the expected procurement quota of the multiple materials;

[0033] The third determination module is used to determine the target purchase quantity of multiple materials based on the target purchase quota of the multiple materials corresponding to each of the multiple equipment to be produced and the demand quantity of the equipment to be produced.

[0034] Optionally, the second determining module is further used to:

[0035] Based on the material replacement information of each of the equipment to be produced, determining at least one available material of the equipment to be produced from a plurality of materials;

[0036] The expected purchase quota of the at least one available material of each of the equipment to be produced is normalized respectively to determine the target purchase quota of the multiple materials corresponding to each of the equipment to be produced.

[0037] Optionally, the third determining module is further used to:

[0038] Obtaining the remaining inventory of each of the multiple materials;

[0039] Under the condition that the demand for the equipment to be produced is met, the target purchase quantity of the multiple materials is determined based on the target purchase quota of the multiple materials corresponding to each of the equipment to be produced and the remaining inventory of each of the materials.

[0040] Optionally, the third determining module is further used to:

[0041] Based on the demand of each of the equipment to be produced, constructing a procurement constraint condition of at least one of the materials corresponding to the equipment to be produced;

[0042] Determine the objective function according to the target purchase quota of the multiple materials corresponding to each of the equipment to be produced, the remaining inventory and the purchase quantity of each of the materials;

[0043] Under the condition that the procurement constraints are met, the procurement quantities of the multiple materials are optimized with minimization of the objective function as the optimization goal, and the target procurement quantities of the multiple materials are determined.

[0044] Optionally, the procurement constraint condition of at least one of the materials corresponding to the equipment to be produced is used to indicate that the sum of the target procurement quantities of at least one of the materials corresponding to the equipment to be produced is less than or equal to the demand quantity corresponding to the equipment to be produced.

[0045] Optionally, the third determining module is further used to:

[0046] Determine the demand for each of the materials based on the purchase quantity of each of the materials and the remaining inventory of each of the materials;

[0047] Based on the target purchase quota of each material in the plurality of equipment to be produced and the demand quantity of each material, determine the expected purchase quantity of each material to meet the target purchase quota of the equipment to be produced;

[0048] The objective function is determined based on the difference between the purchase quantity of each of the materials and the expected purchase quantity.

[0049] Optionally, the third determining module is further used to:

[0050] Get historical purchase orders for multiple materials;

[0051] Based on the historical purchase orders, obtaining the standby inventory quantity of each of the materials;

[0052] The demand quantity of each material is determined based on the candidate inventory quantity of each material, the purchase quantity of each material and the remaining inventory quantity of each material.

[0053] According to a third aspect of the present disclosure, an electronic device is provided, including:

[0054] a memory for storing processor-executable instructions;

[0055] A processor connected to the memory;

[0056] Wherein, the processor is configured to execute the data processing method as described in any embodiment of the first aspect of the present disclosure.

[0057] A fourth aspect of the present disclosure provides a non-temporary computer-readable storage medium. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the data processing method as described in any embodiment of the first aspect of the present disclosure.

[0058] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0059] In the disclosed embodiment, through multiple different types of equipment to be produced, the substitution relationship between the multiple materials corresponding to each of the equipment to be produced can be determined, and then based on the expected procurement quotas between the multiple materials and the substitution relationship between the multiple materials in each equipment to be produced, the target procurement quotas corresponding to the multiple materials and each equipment to be produced can be determined, that is, the procurement quotas of the multiple materials in each equipment to be produced, and then according to the demand of each equipment to be produced and the procurement quotas of the multiple materials in the equipment to be produced, the procurement quantity of the multiple materials in each equipment to be produced is determined, so as to determine the target procurement quantity of each of the multiple materials when the demand of the multiple equipment to be produced is met. The disclosed embodiment can fully consider the substitution relationship between materials, and combine the expected procurement quotas of the materials themselves to give the best procurement suggestions, which greatly increases the accuracy of the material requirement planning system.

[0060] 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

[0061] 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.

[0062] Figure 1 A data processing method according to an exemplary embodiment of the present disclosure is shown in FIG. Figure 1 .

[0063] Figure 2 A data processing method according to an exemplary embodiment of the present disclosure is shown in FIG. Figure 2 .

[0064] Figure 3 A data processing method according to an exemplary embodiment of the present disclosure is shown in FIG. Figure 3 .

[0065] Figure 4 A data processing method according to an exemplary embodiment of the present disclosure is shown in FIG. Figure 4 .

[0066] Figure 5 A data processing method according to an exemplary embodiment of the present disclosure is shown in FIG. Figure 5 .

[0067] Figure 6 It is a structural diagram of a data processing device according to an exemplary embodiment of the present disclosure.

[0068] Figure 7 It is a block diagram of an electronic device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0069] 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 consistent with some aspects of the present disclosure as detailed in the appended claims.

[0070] In the electronics manufacturing industry, electronic products need to be assembled from pre-assembled semi-finished products and other finished components that can be sold separately. Similarly, pre-assembled semi-finished products / finished products require multiple materials to be assembled. Since there are many types of electronic products, and the multiple materials used in different types of electronic products can be different or the same, multiple materials will have different substitution relationships for different types of electronic equipment. Therefore, when making material procurement plans, it is also necessary to consider the substitution relationship between materials to improve the accuracy of procurement plans.

[0071] In the related art, by obtaining the target supplier and the supply limit of the target supplier, a corresponding material quota is configured for each target supplier, and then based on the material quota of each target supplier, a purchase order corresponding to the demand for the equipment to be produced is generated.

[0072] Among them, there are currently two methods for generating purchase orders based on material quotas.

[0073] The first method is to directly split the total material purchase quota into each purchase order in proportion.

[0074] It is understandable that the total material purchase quota can be obtained based on the material quotas of multiple target suppliers. If the material purchase ratio in each purchase order is split according to the total material purchase quota, the problem of asymmetric material substitution relationship is completely ignored.

[0075] For example, the sub-material of material A is a, and the sub-material a replaces the sub-material b; the sub-material of material B is only b. If the total purchase quota of sub-material a and sub-material b obtained by the target supplier's material quota is 7:3. Assuming that sub-material a and sub-material b have never been purchased, if a quantity of 100 of material A and a quantity of 20 of material B are to be produced, and the first method of directly splitting the total purchase quota in proportion is used, when the production quantity of material A is 100, sub-material a=100 / (7+3)*7=70, sub-material b=100 / (7+3)*3=30; when the production quantity of material B is 20, sub-material b=20. At this time, the total purchase quantity of sub-material a indicated by the purchase order is 70, and the total purchase quantity of sub-material b is 50. The total purchase quantity ratio of sub-material a and sub-material b is 7:5, which is far from the total purchase quota of 7:3.

[0076] The second method is to sort the materials according to their quota size in the total purchase quota. The purchase order for the material with the largest quota is placed first. After the purchase volume of the material reaches a certain requirement, the purchase order is placed for the material with the quota next to it.

[0077] Understandably, the above method does not take into account the asymmetric material substitution relationship, and the proportion corresponding to the total purchase quantity is particularly uncontrollable. At the same time, when placing a purchase order for a material, it is impossible to check the real-time quota situation at the time when all materials have not been purchased.

[0078] For example, the sub-material of material A is a, and the sub-material a replaces the sub-material b; the sub-material of material B is only b. If the target supplier's material quota obtains the total purchase quota of sub-material a and sub-material b is 7:3. Assuming that sub-material a and sub-material b have never been purchased, if you want to produce 100 quantities of material A and 20 quantities of material B, and through the second method of placing orders according to quota size, when the production quantity of material A is 100, the quota of sub-material a is the largest, sub-material a = 100, sub-material b = 100 / (7+3)*3 = 30; when the production quantity of material B is 20, sub-material b = 20. At this time, the total purchase quantity of sub-material a indicated by the purchase order is 100, and the total purchase quantity of sub-material b is 50. The purchase quantity ratio of sub-material a and sub-material b is 2:1, which is far from the total purchase quota of 7:3.

[0079] It can be seen that the existing technology does not take into account the asymmetry of material substitution relationships, which results in the purchase quantity of each of the multiple materials being inaccurate and not meeting the total material purchase quota.

[0080] The present invention provides a data processing method. Figure 1 A data processing method according to an exemplary embodiment of the present disclosure is shown in FIG. Figure 1 ,like Figure 1 As shown, the data processing method includes:

[0081] Step S101, obtaining expected purchase quotas for multiple materials;

[0082] Step S102, based on multiple different types of equipment to be produced, determining material replacement information corresponding to each of the equipment to be produced; wherein the material replacement information indicates whether there is a substitution relationship between the multiple materials; different types of equipment to be produced have different corresponding material replacement information;

[0083] Step S103, based on the material replacement information of each of the equipment to be produced and the expected procurement quotas of the multiple materials, determining the target procurement quotas of the multiple materials corresponding to each of the equipment to be produced;

[0084] Step S104: determining target purchase quantities of the multiple materials based on the target purchase quotas of the multiple materials corresponding to each of the multiple equipment to be produced and the demand quantity of the equipment to be produced.

[0085] In the embodiment of the present disclosure, the multiple materials in step S101 (which can be recorded as material A, material B,..., material N) can be a set of materials that at least include multiple materials that have a substitution relationship with each other. For example, the multiple materials can include material A, material B and material C, where material A and material B are mutually substitutable materials.

[0086] In some embodiments, the expected purchase quota may be set based on actual demand.

[0087] In some embodiments, the expected purchase quota may be the optimal quota between multiple materials that have a substitution relationship with each other, or the optimal purchase ratio between multiple materials that have a substitution relationship with each other. For example, the expected purchase quota of material A and material B may be 7:3, which means that when purchasing material A and material B, the optimal total purchase ratio between material A and material B is 7:3.

[0088] In one embodiment, the desired purchase quota may be obtained by at least acquiring a target supplier and a supply limit of the target supplier.

[0089] It can be understood that by obtaining evaluation data in multiple dimensions, the target suppliers can be obtained; then based on the historical procurement data and the supply limit of each target supplier, the material quota index of each supplier can be obtained; finally, based on the material quota index of each supplier and the material information corresponding to each target supplier, the expected procurement quota between multiple materials can be obtained.

[0090] The evaluation data of multiple dimensions can be set according to actual needs, and the embodiments of the present disclosure do not specifically limit this. For example, the evaluation data of multiple dimensions can include the grade data of the supplier, the cost data corresponding to the supplier, and the like.

[0091] In one embodiment, the expected purchase quota may be obtained by at least acquiring production information of multiple different types of equipment to be produced within a past period of time.

[0092] It can be understood that by obtaining the output of multiple different types of equipment to be produced within a period of time in the past (such as a week, a month or a year), and the consumption of all materials corresponding to the output, the consumption of each material can be obtained; based on the consumption of each material and the initial purchase quota of each material, the expected purchase quota between multiple materials with mutual substitution relationship can be obtained.

[0093] The initial purchase quota may only consider the supply limit of each target supplier. By obtaining the actual material consumption over a period of time, the initial purchase quota may be adjusted so that the expected purchase quota obtained is more consistent with the consumption in the actual production process.

[0094] It should be noted that the expected procurement quotas in the above two embodiments are at least related to the supply limit of the target supplier, so that the target procurement quantities of multiple materials obtained in the subsequent steps of the embodiment of the present disclosure are compatible with the supply limit of the target supplier, thereby avoiding the phenomenon of insufficient supplier supply and affecting production progress.

[0095] It should be noted that other methods may also be used to obtain the desired procurement quota, and there is no specific limitation on this.

[0096] In step S102, by obtaining the equipment to be produced and the type of the equipment to be produced (which can be recorded as equipment A to be produced, equipment B to be produced,..., equipment N to be produced), the production information of different types of equipment to be produced can be determined; based on the production information, the material replacement information corresponding to each of the equipment to be produced can be obtained.

[0097] The different types of equipment to be produced may be equipment to be produced of different varieties or models. The equipment to be produced of different varieties or models may be composed of multiple materials that are not completely the same.

[0098] The production information is necessary information required to produce the equipment to be produced, and at least includes material information and material usage information corresponding to the equipment to be produced.

[0099] The material replacement information may indicate whether there is a replacement relationship between the multiple materials corresponding to each of the equipment to be produced. For different types of equipment to be produced, the corresponding material replacement information is different.

[0100] It can be understood that different types of equipment to be produced have different production information, that is, the substitution relationship between the materials corresponding to different equipment to be produced and the alternative materials is different. Therefore, based on the different substitution relationship between the materials corresponding to each equipment to be produced and the alternative materials, different material replacement information corresponding to each equipment to be produced can be obtained.

[0101] Exemplarily, the production information indication of the equipment A to be produced may be composed of material A and material B, wherein material A may be replaced by material C, and material B may be replaced by material D. Therefore, the equipment A to be produced may correspond to material A, material B, material C, and material D, and the material replacement information corresponding to the equipment A to be produced is that material A can be replaced by material C, and material B and material D can be replaced by each other.

[0102] The production information of the equipment B to be produced indicates that it can be composed of material A and material B, where material A can be replaced by material C. Therefore, the equipment B to be produced can correspond to material A, material B and material C, and the material replacement information corresponding to the equipment B to be produced is that material A can be replaced by material C. It can be seen that the replacement relationship between the equipment A to be produced and the equipment B to be produced is different.

[0103] In one embodiment, determining the production information of different types of equipment to be produced by acquiring the equipment to be produced and the types of the equipment to be produced may include:

[0104] By acquiring the demand data, the equipment to be produced and the type of equipment to be produced can be obtained; based on the type of equipment to be produced, the bill of materials and the material interchangeability status table corresponding to the equipment to be produced can be obtained; based on the bill of materials and the material interchangeability status table, the materials required for each of the equipment to be produced and the quantity required for each material can be obtained.

[0105] The material replaceable status table may indicate the matching relationship between each material and the equipment to be produced. For example, if the matching relationship between equipment B to be produced and material D is mismatched, then even if material C and material D are replaceable materials, for equipment B to be produced, the corresponding material replacement information still indicates that material C and material D do not have a replacement relationship.

[0106] It should be noted that step S102 may be executed before step S101, after step S101, or simultaneously with step S101.

[0107] In step S103, based on the material replacement information of each equipment to be produced obtained in step S102, the association relationship between multiple materials and the equipment to be produced can be determined based on the material replacement information; based on the expected procurement quotas of multiple materials obtained in step S101, the target procurement quota of at least one material associated with each equipment to be produced is determined.

[0108] Exemplarily, when the materials that have a substitution relationship among multiple materials are material A, material B, material C and material D, and the material replacement information indicates that material A, material B and material D have a matching relationship with the equipment A to be produced, and material C does not have a matching relationship with the equipment A to be produced, the equipment A to be produced can be associated with material A, material B and material D.

[0109] When material A and material B have a substitution relationship among multiple materials, and the material replacement information indicates that material A has a matching relationship with the equipment A to be produced, and material B does not have a matching relationship with the equipment A to be produced, the material A can be associated with the equipment A to be produced alone.

[0110] Based on the expected purchase quotas of the multiple materials, an expected purchase quota of at least one material associated with each of the equipment to be produced may be determined.

[0111] For example, the expected purchasing quotas for material A, material B, material C and material D are 0.5, 0.2, 0.2 and 0.1 respectively; if the materials associated with the equipment A to be produced include: material A, material B and material D, then the expected purchasing quotas for multiple materials associated with the equipment A to be produced may be 0.5 (material A), 0.2 (material B) and 0.1 (material D).

[0112] After determining the expected purchase quota of at least one material associated with each device to be produced, a target purchase quota of at least one material associated with each device to be produced may be determined based on the expected purchase quota of at least one material associated with each device to be produced.

[0113] It should be noted that the ratio between the target purchase quotas of at least one material associated with the equipment to be produced is equal to the ratio between the expected purchase quotas of at least one material associated with the equipment to be produced.

[0114] For example, the materials associated with the equipment A to be produced include material A, material B, and material D; the expected purchase quotas of material A, material B, and material D are 0.5, 0.2, and 0.1, respectively, and the target purchase quotas of material A, material B, and material D associated with the equipment A to be produced are 0.625, 0.25, and 0.125, respectively. It can be seen that the ratio of the target purchase quotas between any two materials associated with the equipment A to be produced is the same as the ratio of the expected purchase quotas between any two materials.

[0115] As another example, the materials associated with the equipment B to be produced include material A; the expected purchase quota of material A is 0.5; then the target purchase quota of material A associated with the equipment B to be produced is 1.

[0116] In step S104, the target procurement quotas of the multiple materials corresponding to each of the equipment to be produced obtained in step S103 can be used to obtain the target procurement quotas of the multiple materials corresponding to the multiple equipment to be produced; based on the target procurement quotas of the multiple materials corresponding to the multiple equipment to be produced and the demand quantities of all materials corresponding to the multiple equipment to be produced, the target procurement quantities of the multiple materials can be determined.

[0117] The demand quantities of all materials corresponding to the multiple equipment to be produced may be obtained according to the production information corresponding to the equipment to be produced, such as the bill of materials corresponding to the equipment to be produced.

[0118] It is understandable that the materials associated with different equipment to be produced may be different, and the target procurement quotas of multiple materials corresponding to different equipment to be produced are also different. Therefore, the procurement quantity of at least one material associated with the equipment to be produced can be determined based on the demand for each equipment to be produced and the target procurement quota of at least one material associated with the equipment to be produced; and the (total) target procurement quantity of each of the multiple materials can be determined based on the procurement quantity of at least one material associated with each equipment to be produced.

[0119] It can be seen that since the ratio of the target purchase quota of at least one material associated with each equipment to be produced is equal to the ratio of the expected purchase quota of at least one material associated with the equipment to be produced, the ratio between the purchase quantities of at least one material associated with each equipment to be produced is also the same as the ratio of the expected purchase quota of at least one material associated with the equipment to be produced. In this way, the total target purchase quantity of multiple materials is as close as possible to the expected purchase quota of multiple materials, and the replacement relationship between multiple materials in each equipment to be produced is considered to determine the target purchase quantity of multiple materials to generate the corresponding purchase order.

[0120] In the disclosed embodiment, through multiple different types of equipment to be produced, the substitution relationship between the multiple materials corresponding to each of the equipment to be produced can be determined, and then based on the expected procurement quotas between the multiple materials and the substitution relationship between the multiple materials in each equipment to be produced, the target procurement quotas corresponding to the multiple materials and each equipment to be produced can be determined, that is, the procurement quotas of the multiple materials in each equipment to be produced, and then according to the demand of each equipment to be produced and the procurement quotas of the multiple materials in the equipment to be produced, the procurement quantity of the multiple materials in each equipment to be produced is determined, so as to determine the target procurement quantity of each of the multiple materials when the demand of the multiple equipment to be produced is met. The disclosed embodiment can fully consider the substitution relationship between materials, and combine the expected procurement quotas of the materials themselves to give the best procurement suggestions, which greatly increases the accuracy of the material requirement planning system.

[0121] Optional, Figure 2 A data processing method according to an exemplary embodiment of the present disclosure is shown in FIG. Figure 2 ,like Figure 2 As shown, the step S103, based on the material replacement information of each of the equipment to be produced and the expected purchase quotas of the multiple materials, determines the target purchase quotas of the multiple materials corresponding to each of the equipment to be produced, including:

[0122] Step S201, based on the material replacement information of each of the equipment to be produced, determining at least one available material of the equipment to be produced from multiple materials;

[0123] Step S202 , respectively normalizing the expected purchase quota of the at least one available material of each of the equipment to be produced, and determining the target purchase quota of the multiple materials corresponding to each of the equipment to be produced.

[0124] In the embodiment of the present disclosure, after obtaining the expected procurement quota and material replacement information through steps S101 and S102, step S201 can be executed to determine at least one available material for the production equipment from multiple materials based on the material replacement information of each of the equipment to be produced.

[0125] It can be understood that the material replacement information of each device to be produced can indicate whether there is an available relationship between the device to be produced and each of the multiple materials; based on the available relationship, at least one available material for the production device can be determined from the multiple materials.

[0126] The available relationship may be obtained based on production information of the equipment to be produced.

[0127] Exemplarily, whether the relationship between the equipment to be produced and each of the multiple materials is available can be abstracted into a table representation, as shown in Table 1, which is a schematic table of material replacement information.

[0128] Equipment A to be produced Equipment to be produced B Material A Y N Material B Y Y

[0129] Table 1

[0130] Among them, Y represents the available relationship indicated by the production demand of the equipment to be produced, and N represents the unavailable relationship indicated by the production demand of the equipment to be produced. Then, from the above Table 1, it can be seen that for the equipment to be produced A, material A and material B are available materials; while for the equipment to be produced B, material A is an unavailable material, and material B is an available material.

[0131] In step S202, after executing step S201 to obtain at least one available material for each equipment to be produced, the expected procurement quota of the at least one available material can be obtained from the expected procurement quotas of multiple materials obtained in step S101, and the expected procurement quota of the at least one available material can be normalized to determine the target procurement quota of the at least one available material corresponding to each of the equipment to be produced.

[0132] It can be understood that when the at least one available material is one, the expected procurement quota of the one available material is normalized, and the target procurement quota of the one available material is 1; when the at least one available material is at least two, the expected procurement quota of each of the at least two available materials is normalized; based on the expected procurement quota of each of the at least two available materials, the proportion of the total expected procurement quota of the at least two available materials, the target procurement quota of each of the at least two available materials can be obtained.

[0133] For example, Table 2 is a schematic table of expected purchasing quotas.

[0134] Expected purchase quota Material A 0.7 Material B 0.3

[0135] Table 2

[0136] Among them, 0.7 represents the expected purchase quota of material A, and 0.3 represents the expected purchase quota of material B. According to the material replacement information shown in Table 1 and the expected purchase quota shown in Table 2, Table 3 can be obtained, which is a schematic table of a target purchase quota.

[0137] Equipment A to be produced Equipment to be produced B Material A 0.7 0 Material B 0.3 1

[0138] Table 3

[0139] Among them, the available materials corresponding to the equipment A to be produced are material A and material B. After normalization, the target purchase quota of material A corresponding to the equipment A to be produced is 0.7, and the target purchase quota of material B corresponding to the equipment A to be produced is 0.3. The available material corresponding to the equipment B to be produced is material B. After normalization, the target purchase quota of material A corresponding to the equipment B to be produced is 0, and the target purchase quota of material B corresponding to the equipment B to be produced is 1.

[0140] In the embodiment of the present disclosure, based on the replacement information of available materials corresponding to each device to be produced and the expected procurement quota of the available materials, the target procurement quota of the available materials in each device to be produced can be obtained, so that each device to be produced can obtain the accurate target procurement quota of the multiple materials corresponding to it based on the substitutability relationship of the materials, thereby effectively improving the accuracy of subsequent calculations.

[0141] Optional, Figure 3 A data processing method according to an exemplary embodiment of the present disclosure is shown in FIG. Figure 3 ,like Figure 3 As shown, the step S104, based on the target purchase quota of the multiple materials corresponding to each of the multiple equipment to be produced and the demand of the equipment to be produced, determines the target purchase quantity of the multiple materials, includes:

[0142] Step S301, obtaining the remaining inventory of each of the multiple materials;

[0143] Step S302, when the demand for the equipment to be produced is met, based on the target purchase quota of the multiple materials corresponding to each of the equipment to be produced and the remaining inventory of each of the materials, determine the target purchase quantity of the multiple materials.

[0144] In the embodiment of the present disclosure, step S301 may be executed to obtain the remaining inventory of each of the multiple materials.

[0145] The remaining inventory may be the quantity of materials still remaining in the warehouse at the current moment, or the remaining inventory may be the quantity obtained by deducting the quantity consumed within a period of time from the quantity of materials purchased into the warehouse.

[0146] It can be understood that by acquiring the usage data and purchase data of the material, or the warehouse storage data, the remaining inventory of each of the multiple materials can be obtained.

[0147] In step S302, after obtaining the target purchase quota of multiple materials corresponding to each of the equipment to be produced by executing step S103, or step S201 to step S202, and obtaining the remaining inventory of each of the materials by executing step S301, the production information corresponding to the equipment to be produced can also be obtained to obtain the demand corresponding to the equipment to be produced. Then, when the demand corresponding to the equipment to be produced is met, the target purchase quantity of the multiple materials is determined based on the target purchase quota of multiple materials corresponding to each of the equipment to be produced and the remaining inventory of each of the materials obtained in executing step S301.

[0148] It can be understood that, based on the demand corresponding to the equipment to be produced, the total demand of multiple materials corresponding to the equipment to be produced can be obtained.

[0149] Illustratively, the demand for equipment A to be produced may be 100, and the demand for multiple materials corresponding to equipment A to be produced (assuming that they include material A and material B with a substitution relationship) may be 100; the demand for equipment B to be produced may be 20, and the demand for multiple materials corresponding to equipment B to be produced (assuming that they include material A and material B with a substitution relationship, but the material replacement information may only indicate that material B matches equipment B to be produced) may be 20.

[0150] In the embodiment of the present disclosure, based on the target procurement quotas of multiple materials corresponding to each equipment to be produced and the remaining inventory of each of the materials, the optimal procurement quantity of each material is obtained while satisfying the demand for multiple materials corresponding to the equipment to be produced. Orders are placed based on the optimal procurement quantity, which can not only meet the current demand for the equipment to be produced, but also fully consider the existing inventory of materials, thereby providing a better material procurement plan.

[0151] Optional, Figure 4 A data processing method according to an exemplary embodiment of the present disclosure is shown in FIG. Figure 4 ,like Figure 4 As shown, in step S302, when the demand of the equipment to be produced is met, based on the target purchase quota of the multiple materials corresponding to each of the equipment to be produced and the remaining inventory of each of the materials, determining the target purchase quantity of the multiple materials includes:

[0152] Step S401, based on the demand of each of the equipment to be produced, constructing a procurement constraint condition of at least one of the materials corresponding to the equipment to be produced;

[0153] Step S402, determining an objective function according to the target purchase quota of multiple materials corresponding to each of the equipment to be produced, the remaining inventory and the purchase quantity of each of the materials;

[0154] Step S403, when the procurement constraints are met, the procurement quantities of the multiple materials are optimized with minimization of the objective function as the optimization goal, and the target procurement quantities of the multiple materials are determined.

[0155] In the disclosed embodiment, through step S401, the procurement constraints of the available materials corresponding to the equipment to be produced can be constructed based on the demand of each equipment to be produced, that is, the total procurement demand of multiple materials corresponding to the equipment to be produced.

[0156] The purchasing constraint condition of at least one of the materials corresponding to the equipment to be produced is used to limit the sum of the purchase quantities of at least one material associated with the equipment to be produced.

[0157] It can be understood that by setting procurement constraints, the sum of the procurement quantities of at least one material associated with each production equipment is limited, so that the total target procurement quantity of multiple materials is as close as possible to the expected procurement quota of multiple materials, and the situation where the procurement quantity of materials exceeds the demand is reduced to control procurement costs.

[0158] In some embodiments, the procurement constraint condition of at least one of the materials corresponding to the equipment to be produced is used to indicate that the sum of the target procurement quantities of at least one of the materials corresponding to the equipment to be produced is less than or equal to the demand quantity corresponding to the equipment to be produced.

[0159] It can be understood that by obtaining the total purchase demand quantity of multiple materials corresponding to the equipment to be produced, and setting the total purchase demand quantity as the purchase constraint condition for the available materials corresponding to the equipment to be produced, that is, setting the sum of the target purchase quantities of multiple materials to be no greater than the total purchase demand quantity, it can be ensured that the total target purchase quantity does not exceed the demand quantity of the equipment to be produced, thereby achieving control of procurement costs.

[0160] In step S402, the purchase quantity of multiple materials corresponding to each equipment to be produced can be used as a variable, and an objective function can be constructed based on the target purchase quota, purchase quantity and remaining inventory.

[0161] The objective function can reflect the difference between the ratio between the purchase quantities of the multiple materials and the expected purchase quotas of the multiple materials.

[0162] In step S403, the objective function is solved when the procurement constraint conditions corresponding to each of the equipment to be produced are met. Specifically, the process of solving the objective function may include setting the objective function minimization as the optimization target, that is, minimizing the difference between the ratio between the procurement quantities of multiple materials and the expected procurement quotas of the multiple materials as the optimization target, optimizing the procurement quantities of the multiple materials to determine the target procurement quantities of the multiple materials.

[0163] It is understandable that, since multiple materials are substitutable, the purchase quantity of each of the multiple materials that meet the demand for the equipment to be produced can have a certain purchase quantity range. When the difference between the ratio between the purchase quantities of multiple materials and the expected purchase quotas of the multiple materials is minimized, the target purchase quantity closest to the expected purchase quota can be obtained within the purchase quantity range, so that the obtained target purchase quantity is most consistent with the optimal purchase suggestion, thereby improving the accuracy of the material requirement planning system.

[0164] In the disclosed embodiment, procurement constraints can be constructed based on the demand for each equipment to be produced, and the procurement quantities of multiple materials corresponding to each equipment to be produced are used as variables. An objective function is constructed based on the target procurement quota, procurement quantity and remaining inventory. By improving the solution of the objective function and minimizing the difference between the ratio between the procurement quantities of multiple materials in the objective function and the expected procurement quotas of the multiple materials, an optimal material procurement plan can be obtained.

[0165] Optional, Figure 5A data processing method according to an exemplary embodiment of the present disclosure is shown in FIG. Figure 5 ,like Figure 5 As shown, the objective function is determined in step S402 according to the target purchase quota of the multiple materials corresponding to each of the equipment to be produced, the remaining inventory and the purchase quantity of each of the materials, including:

[0166] Step S501, determining the demand quantity of each material based on the purchase quantity of each material and the remaining inventory quantity of each material;

[0167] Step S502, based on the target purchase quota of each material in the plurality of the equipment to be produced and the demand quantity of each material, determining the expected purchase quantity of each material to meet the target purchase quota of the equipment to be produced;

[0168] Step S503: determining the objective function based on the difference between the purchase quantity of each of the materials and the expected purchase quantity.

[0169] In the disclosed embodiment, the purchase quantity of each material corresponding to each device to be produced and the remaining inventory of each material can be fully considered to obtain a dynamic demand as a variable. The demand changes with the change of the purchase quantity of each material and the remaining inventory of each material.

[0170] For example, assume that the purchase quantity of materials is a matrix X, and the elements in the matrix X are xij, i represents the material, j represents the equipment to be produced, and it can be understood that xij can identify the purchase quantity of material i in the equipment to be produced j; xij is a positive integer. The (total) purchase quantity of material i corresponding to multiple equipment to be produced is ∑ j xij. Assume that the remaining inventory of the material is PO i , i represents the i-th material among multiple materials. Then, the demand for material i can be ∑ j xij+PO i .

[0171] It should be noted that the total purchase amount of at least one available material associated with the production equipment j is ∑ i xij is less than or equal to the demand dmdj of the equipment j to be produced; that is, the procurement constraint condition of the available materials corresponding to the equipment j to be produced.

[0172] In step S502, after obtaining the demand quantity of each of the materials, the target procurement quota of each of the materials in the multiple equipment to be produced can be associated with the demand quantity of each of the materials, so as to determine the expected procurement quantity of each of the materials that meets the target procurement quota of the equipment to be produced.

[0173] Exemplarily, based on the material replacement information of each of the equipment to be produced and the expected purchase quotas of multiple materials, normalization processing is performed to obtain a matrix H of target purchase quotas, and the elements in the matrix H are hij, hij can represent the target purchase quota of material i in equipment j to be produced, i represents the material, and j represents the equipment to be produced. Then, the expected purchase quantity of each material that meets the target purchase quota of the equipment to be produced can be ∑ i ∑ j hij(∑ j xij+POi).

[0174] In step S503, after obtaining the expected purchase quantity of each material that meets the target purchase quota of the equipment to be produced, the objective function may be determined based on the difference between the purchase quantity of each material and the expected purchase quantity.

[0175] Exemplarily, the objective function may be ∑ i |∑ j xij-hij*(∑ j xij+POi)|.

[0176] Finally, taking the minimization of the objective function as the optimization goal, the purchase quantities of the multiple materials are optimized to determine the target purchase quantities of the multiple materials.

[0177] In the disclosed embodiment, by determining the objective function, it is possible to facilitate the calculation of the target purchase quantity of multiple materials, accelerate the system's processing speed for demand, and improve system efficiency.

[0178] Optionally, the step S501 of determining the demand quantity of each material based on the purchase quantity of each material and the remaining inventory quantity of each material includes:

[0179] Get historical purchase orders for multiple materials;

[0180] Based on the historical purchase orders, obtaining the standby inventory quantity of each of the materials;

[0181] The demand quantity of each material is determined based on the candidate inventory quantity of each material, the purchase quantity of each material and the remaining inventory quantity of each material.

[0182] In the embodiment of the present disclosure, the standby inventory may be the quantity of in-transit materials, and the in-transit materials may be put into storage within a certain period of time in the future to constitute the remaining inventory.

[0183] It is understandable that the historical purchase quantities of the multiple materials can be obtained by obtaining the historical purchase orders of the multiple materials; based on the difference between the historical purchase quantity and the actual quantity of the materials put into storage, the standby inventory quantity of each material can be obtained. Finally, based on the standby inventory quantity of each material, the purchase quantity of each material and the remaining inventory quantity of each material, the demand quantity of each material is determined.

[0184] For example, assume that the standby inventory of material i is INi. Then, the demand for each of the materials can be ∑ j xij+POi+INi.

[0185] In the disclosed embodiment, when purchasing materials based on the demand of the equipment to be produced, by considering the standby inventory, the in-transit information of each material can be obtained, thereby making the constructed objective function more accurate.

[0186] The data processing method in the embodiment of the present disclosure is described below with a specific example. The processing process of the data processing method includes:

[0187] Assume that there is a group of materials with substitution relationships, including material A, material B, material C and material D, and the expected purchase quota is shown in Table 4.

[0188] Expected purchase quota Material A 0.55 Material B 0.2 Material C 0.125 Material D 0.125

[0189] Table 4

[0190] Assume that the material replacement information of multiple different types of equipment to be produced and the corresponding demand quantities of the equipment to be produced are as shown in Table 5.

[0191]

[0192]

[0193] Table 5

[0194] Step 1: Based on the demand of multiple different types of equipment to be produced as shown in Table 5, the purchase quantity is constructed as a matrix X, and the elements in the matrix X are xij, i represents multiple material sets corresponding to the equipment to be produced (including material A, material B, material C and material D), j represents the equipment to be produced, it can be understood that xij can identify the purchase quantity of material i in the equipment to be produced j; xij is a positive integer. The (total) purchase quantity of material i corresponding to multiple equipment to be produced is ∑ j Xij.

[0195] Step 2: Add constraints. Set the total purchase amount of at least one available material associated with multiple equipment to be produced to x1j+x2j+x3j, which is equal to the demand dmdj of equipment j to be produced (where dmd1=500, dmd2=500, dmd3=1000). Where x1j, x2j, and x3j represent the total purchase amount of available materials corresponding to equipment A to be produced, equipment B to be produced, and equipment C to be produced, respectively. dmd1, dmd2, and dmd3 represent the demand (including demand 1, demand 2, and demand 3) of equipment A to be produced, equipment B to be produced, and equipment C to be produced, respectively.

[0196] Step 3: Assume that the remaining inventory of the material is PO i , i represents the i-th material among multiple materials. Then, PO1 = 2000, PO2 = 0, PO3 = 0 and PO4 = 0. Among them, PO1, PO2, PO3 and PO4 correspond to the remaining inventory of material A, material B, material C and material D respectively.

[0197] Step 4: According to the material replacement information corresponding to the equipment to be produced, the expected purchase quotas of material A, material B, material C and material D are normalized respectively. wi is the quota of material i, which is the element in the expected purchase quota array W = (0.55, 0.2, 0.125, 0.125), and is normalized into a matrix H. The elements in the matrix H are hij, hij can identify the target purchase quota of material i in the equipment to be produced j, i represents the material, and j represents the equipment to be produced. Table 6 is obtained.

[0198]

[0199] Table 6

[0200] Step 5: Define the objective function: ∑ i |∑ j xij-hij*(∑ j xij+POi)|.

[0201] Step 6: Taking minimization of the objective function as the optimization goal, solve the objective function and obtain the target purchase quantity of material A corresponding to 200, the target purchase quantity of material B corresponding to 800, the target purchase quantity of material C corresponding to 500, and the target purchase quantity of material D corresponding to 500. The target purchase quantity of this group of materials can be converted into a purchase order.

[0202] In the disclosed embodiment, through multiple different types of equipment to be produced, the substitution relationship between the multiple materials corresponding to each of the equipment to be produced can be determined, and then based on the expected procurement quotas between the multiple materials and the substitution relationship between the multiple materials in each equipment to be produced, the target procurement quotas corresponding to the multiple materials and each equipment to be produced can be determined, that is, the procurement quotas of the multiple materials in each equipment to be produced, and then according to the demand of each equipment to be produced and the procurement quotas of the multiple materials in the equipment to be produced, the procurement quantity of the multiple materials in each equipment to be produced is determined, so as to determine the target procurement quantity of each of the multiple materials when the demand of the multiple equipment to be produced is met. The disclosed embodiment can fully consider the substitution relationship between materials, and combine the expected procurement quotas of the materials themselves to give the best procurement suggestions, which greatly increases the accuracy of the material requirement planning system.

[0203] The present disclosure provides a data processing device. Figure 6 is a structural diagram of a data processing device according to an exemplary embodiment of the present disclosure. Figure 6 As shown, the data processing device 600 includes:

[0204] An acquisition module 601 is used to acquire expected purchase quotas of multiple materials;

[0205] The first determination module 602 is used to determine the material replacement information corresponding to each of the equipment to be produced based on multiple different types of equipment to be produced; wherein the material replacement information indicates whether there is a substitution relationship between the multiple materials; different types of equipment to be produced have different corresponding material replacement information;

[0206] The second determination module 603 is used to determine the target procurement quota of the multiple materials corresponding to each of the equipment to be produced based on the material replacement information of each of the equipment to be produced and the expected procurement quota of the multiple materials;

[0207] The third determination module 604 is used to determine the target purchase quantity of multiple materials based on the target purchase quota of the multiple materials corresponding to each of the multiple equipment to be produced and the demand quantity of the equipment to be produced.

[0208] Optionally, the second determining module 603 is further configured to:

[0209] Based on the material replacement information of each of the equipment to be produced, determining at least one available material of the equipment to be produced from a plurality of materials;

[0210] The expected purchase quota of the at least one available material of each of the equipment to be produced is normalized respectively to determine the target purchase quota of the multiple materials corresponding to each of the equipment to be produced.

[0211] Optionally, the third determining module 604 is further configured to:

[0212] Obtaining the remaining inventory of each of the multiple materials;

[0213] Under the condition that the demand for the equipment to be produced is met, the target purchase quantity of the multiple materials is determined based on the target purchase quota of the multiple materials corresponding to each of the equipment to be produced and the remaining inventory of each of the materials.

[0214] Optionally, the third determining module 604 is further configured to:

[0215] Based on the demand of each of the equipment to be produced, constructing a procurement constraint condition of at least one of the materials corresponding to the equipment to be produced;

[0216] Determine the objective function according to the target purchase quota of the multiple materials corresponding to each of the equipment to be produced, the remaining inventory and the purchase quantity of each of the materials;

[0217] Under the condition that the procurement constraints are met, the procurement quantities of the multiple materials are optimized with minimization of the objective function as the optimization goal, and the target procurement quantities of the multiple materials are determined.

[0218] Optionally, the procurement constraint condition of at least one of the materials corresponding to the equipment to be produced is used to indicate that the sum of the target procurement quantities of at least one of the materials corresponding to the equipment to be produced is less than or equal to the demand quantity corresponding to the equipment to be produced.

[0219] Optionally, the third determining module 604 is further configured to:

[0220] Determine the demand for each of the materials based on the purchase quantity of each of the materials and the remaining inventory of each of the materials;

[0221] Based on the target purchase quota of each material in the plurality of equipment to be produced and the demand quantity of each material, determine the expected purchase quantity of each material to meet the target purchase quota of the equipment to be produced;

[0222] The objective function is determined based on the difference between the purchase quantity of each of the materials and the expected purchase quantity.

[0223] Optionally, the third determining module 604 is further configured to:

[0224] Get historical purchase orders for multiple materials;

[0225] Based on the historical purchase orders, obtaining the standby inventory quantity of each of the materials;

[0226] The demand quantity of each material is determined based on the candidate inventory quantity of each material, the purchase quantity of each material and the remaining inventory quantity of each material.

[0227] Figure 7 1 is a block diagram of an electronic device according to an exemplary embodiment of the present disclosure. For example, the electronic device may be a smart phone, a tablet computer, etc.

[0228] Reference Figure 7 The electronic device 80 may include one or more of the following components: a processing component 83, a memory 84, a power component 85, a multimedia component 86, an audio component 87, an input / output (I / O) interface 88, a sensor component 89, and a communication component 810.

[0229] The processing component 83 generally controls the overall operation of the electronic device 80, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 83 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 83 may include one or more modules to facilitate the interaction between the processing component 83 and other components. For example, the processing component 83 may include a multimedia module to facilitate the interaction between the multimedia component 86 and the processing component 83.

[0230] The memory 84 is configured to store various types of data to support operations on the electronic device 80. Examples of such data include instructions for any application or method operating on the electronic device 80, contact data, phone book data, messages, pictures, videos, etc. The memory 84 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.

[0231] The power supply assembly 85 provides power to the various components of the electronic device 80. The power supply assembly 85 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 80.

[0232] The multimedia component 86 includes a screen that provides an output interface between the electronic device 80 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 86 includes a front camera and / or a rear camera. When the electronic device 80 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.

[0233] The audio component 87 is configured to output and / or input audio signals. For example, the audio component 87 includes a microphone (MIC), and when the electronic device 80 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 84 or sent via the communication component 810. In some embodiments, the audio component 87 also includes a speaker for outputting audio signals.

[0234] I / O interface 88 provides an interface between processing component 83 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button and lock button.

[0235] The sensor assembly 89 includes one or more sensors for providing various aspects of status assessment for the electronic device 80. For example, the sensor assembly 89 can detect the open / closed state of the electronic device 80, the relative positioning of components, such as the display and keypad of the electronic device 80, and the sensor assembly 89 can also detect the position change of the electronic device 80 or a component of the electronic device 80, the presence or absence of user contact with the electronic device 80, the orientation or acceleration / deceleration of the electronic device 80, and the temperature change of the electronic device 80. The sensor assembly 89 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 89 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 89 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0236] The communication component 810 is configured to facilitate wired or wireless communication between the electronic device 80 and other devices. The electronic device 80 can access a wireless network based on a communication standard, such as Wi-Fi, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 810 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 810 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.

[0237] In an exemplary embodiment, the electronic device 80 may 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 methods.

[0238] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 84 including instructions, and the instructions can be executed by the processor 820 of the electronic device 80 to perform the above 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.

[0239] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. 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 exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0240] 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 data processing method, characterized in that: include: Get the expected purchase quotas for multiple materials; Based on multiple different types of equipment to be produced, determine the material replacement information corresponding to each of the equipment to be produced; wherein the material replacement information indicates whether there is a substitution relationship between the multiple materials; different types of equipment to be produced correspond to different material replacement information; Determine, based on the material replacement information of each of the equipment to be produced and the expected purchase quotas of the multiple materials, the target purchase quotas of the multiple materials corresponding to each of the equipment to be produced; Based on the target purchase quotas of the multiple materials corresponding to each of the multiple equipment to be produced and the demand quantity of the equipment to be produced, the target purchase quantity of the multiple materials is determined.

2. The method according to claim 1, characterized in that: The determining, based on the material replacement information of each of the equipment to be produced and the expected procurement quotas of the multiple materials, the target procurement quotas of the multiple materials corresponding to each of the equipment to be produced comprises: Based on the material replacement information of each of the equipment to be produced, determining at least one available material of the equipment to be produced from a plurality of materials; The expected purchase quota of the at least one available material of each of the equipment to be produced is normalized respectively to determine the target purchase quota of the multiple materials corresponding to each of the equipment to be produced.

3. The method according to claim 1, characterized in that The determining the target purchase quantity of the multiple materials based on the target purchase quota of the multiple materials corresponding to each of the multiple equipment to be produced and the demand quantity of the equipment to be produced includes: Obtaining the remaining inventory of each of the multiple materials; Under the condition that the demand for the equipment to be produced is met, the target purchase quantity of the multiple materials is determined based on the target purchase quota of the multiple materials corresponding to each of the equipment to be produced and the remaining inventory of each of the materials.

4. The method according to claim 3, characterized in that: The step of determining the target purchase quantity of the multiple materials based on the target purchase quota of the multiple materials corresponding to each of the multiple materials and the remaining inventory of each of the materials when the demand of the equipment to be produced is met includes: Based on the demand of each of the equipment to be produced, constructing a procurement constraint condition of at least one of the materials corresponding to the equipment to be produced; Determine the objective function according to the target purchase quota of the multiple materials corresponding to each of the equipment to be produced, the remaining inventory and the purchase quantity of each of the materials; Under the condition that the procurement constraints are met, the procurement quantities of the multiple materials are optimized with minimization of the objective function as the optimization goal, and the target procurement quantities of the multiple materials are determined.

5. The method according to claim 4, characterized in that The procurement constraint condition of at least one of the materials corresponding to the equipment to be produced is used to indicate that the sum of the target procurement quantities of at least one of the materials corresponding to the equipment to be produced is less than or equal to the demand quantity corresponding to the equipment to be produced.

6. The method according to claim 4 or 5, characterized in that: The objective function is determined according to the target purchase quota of the multiple materials corresponding to each of the equipment to be produced, the remaining inventory and the purchase quantity of each of the materials, including: Determine the demand for each of the materials based on the purchase quantity of each of the materials and the remaining inventory of each of the materials; Based on the target purchase quota of each material in the plurality of equipment to be produced and the demand quantity of each material, determine the expected purchase quantity of each material to meet the target purchase quota of the equipment to be produced; The objective function is determined based on the difference between the purchase quantity of each of the materials and the expected purchase quantity.

7. The method according to claim 6, characterized in that Determining the demand for each of the materials based on the purchase quantity of each of the materials and the remaining inventory of each of the materials includes: Get historical purchase orders for multiple materials; Based on the historical purchase orders, obtaining the standby inventory quantity of each of the materials; The demand quantity of each material is determined based on the candidate inventory quantity of each material, the purchase quantity of each material and the remaining inventory quantity of each material.

8. A procurement data processing device, characterized in that: include: The acquisition module is used to obtain the expected purchase quotas of multiple materials; A first determination module is used to determine material replacement information corresponding to each of the equipment to be produced based on multiple different types of equipment to be produced; wherein the material replacement information indicates whether there is a substitution relationship between the multiple materials; different types of equipment to be produced have different corresponding material replacement information; A second determination module is used to determine the target procurement quota of the multiple materials corresponding to each of the equipment to be produced based on the material replacement information of each of the equipment to be produced and the expected procurement quota of the multiple materials; The third determination module is used to determine the target purchase quantity of multiple materials based on the target purchase quota of the multiple materials corresponding to each of the multiple equipment to be produced and the demand quantity of the equipment to be produced.

9. An electronic device, characterized in that: include: a memory for storing processor-executable instructions; A processor connected to the memory; The processor is configured to execute the data processing method according to any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of a computer, the computer is enabled to execute the data processing method according to any one of claims 1 to 7.