Data processing method and device, server and medium
By calculating the demand for each option of the server, the problem of material selection and demand determination under complex configurations is solved, accurate and efficient procurement of material requirements is achieved, and procurement errors are avoided.
Patent Information
- Application Number
- CN202410659061.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-26
- Publication Date
- 2024-08-23
AI Technical Summary
In complex server configuration scenarios, how to reasonably select and determine the demand for each material to avoid the problem of excessive or insufficient procurement.
By obtaining each option and its specifications, a list of materials that meets the preset option relationships is calculated, and the material requirements are determined based on the configuration level and the ratio of option specifications, and the computing power of the server is used to automatically perform selection and calculation , to achieve reasonable planning of the bill of materials and accuracy of demand.
It improves the efficiency of material selection and the accuracy of demand calculation, ensures reasonable procurement, avoids insufficient or excessive materials, and improves the accuracy and flexibility of demand through classification and proportion setting at the configuration level. sex.
Smart Images

Figure CN118536902A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a data processing method, device, server and medium. Background Art
[0002] With the rapid development of big data, cloud computing, artificial intelligence and other fields, the configuration of servers in various application scenarios is becoming more and more complex. Therefore, the modular bill of materials (BOM) of server products can support more and more optional configurations, and the types of materials required in the corresponding configurations are also increasing.
[0003] How to select materials and determine the required quantity of each material so that users can reasonably purchase each material is a technical problem that people in this field urgently need to solve. Summary of the invention
[0004] The purpose of the present invention is to provide a data processing method, device, server and medium to solve the technical problems of material selection and determination of the required quantity of each material.
[0005] In order to solve the above technical problems, the present invention provides a data processing method applied to a server, the method comprising:
[0006] Obtain each optional item and the optional specifications corresponding to each optional item; wherein the optional items are the components constituting the server, and the optional specifications corresponding to each optional item are the specifications of the components;
[0007] Each matching value of each matching item is matched with each matching value of other matching items to obtain all bills of materials to be output, and obtain a first target bill of materials in all bills of materials to be output; wherein all matching items in the first target bill of materials satisfy a preset matching relationship;
[0008] Acquire the configuration level to which each of the first target material lists belongs, the first ratio of the configuration level, and the second ratio of the optional specifications corresponding to the optional items of each of the first target material lists;
[0009] Determine the configuration probability of the first target bill of materials according to the product of the first proportion of the configuration level to which the first target bill of materials belongs and the second proportion of all optional specifications of the first target bill of materials; wherein the sum of the first proportions of all configuration levels is 1, and the sum of the second proportions of all optional specifications of the same component is 1;
[0010] The demand quantity of each component in the first target bill of materials is determined according to the number of servers to be sold corresponding to the first target bill of materials, the configuration probability and the single-unit usage of each material.
[0011] On the one hand, obtaining the configuration level to which each of the first target bills of materials belongs includes:
[0012] Obtaining each optional item and the quantity corresponding to each optional item in each of the first target material lists;
[0013] Combining all the optional items in each of the first target material bills and the quantity corresponding to each optional item as the configuration level to which each of the first target material bills belongs;
[0014] After obtaining the configuration level to which each of the first target material lists belongs, the method further includes:
[0015] All the first target material lists with the same configuration level are obtained, and all the first target material lists with the same configuration level are planned as the same target configuration list library, and the target configuration list library is marked according to the configuration level.
[0016] On the other hand, determining the first ratio of the configuration level and the second ratio of the optional specifications of the same component includes:
[0017] Obtain the current product life cycle of the product; wherein the product life cycle includes a trial production stage, a mass production stage, and an after-sales stage;
[0018] When it is detected that the current product life cycle of the product is in the trial production stage, a target configuration level and a target optional specification are obtained, and a sum of a first ratio of all the target configuration levels is determined to be 1, and a sum of a second ratio of all the target optional specifications of the same component is determined to be 1; wherein the target configuration level and the target optional specification are configurations required to form a server;
[0019] When it is detected that the current product life cycle of the product is in the mass production stage, the shipment ratio of the configuration level in the historical sales order is obtained, and the first ratio of each configuration level is determined according to the shipment ratio of the configuration level in the historical sales order; the shipment ratio of each optional specification of the same component in the historical sales order is obtained, and the second ratio of each optional specification of the same component is determined according to the shipment ratio of each optional specification of the same component in the historical sales order;
[0020] When it is detected that the current product life cycle of the product is in the after-sales stage, the proportion of configuration levels in historical after-sales orders is obtained, and a first proportion of configuration levels is determined based on the proportion of configuration levels in historical after-sales orders; the proportion of configuration levels in historical after-sales orders is obtained, and a second proportion of optional specifications of the same component is determined based on the proportion of optional specifications in historical after-sales orders.
[0021] On the other hand, after determining the demand for each component in the first target bill of materials according to the number of servers to be sold corresponding to the first target bill of materials, the configuration probability and the unit usage of each material, the method further includes:
[0022] Get the parts whose demand quantity is to be queried;
[0023] Acquire all second target material lists containing the component with the required quantity to be queried from all the first target material lists;
[0024] The sum of the demand quantities of the component with the demand quantity to be queried in all the second target bills of materials is obtained to determine the total demand quantity of the component with the demand quantity to be queried.
[0025] On the other hand, after obtaining the component whose demand quantity is to be queried, the method further includes:
[0026] Acquire the type of the component of the demand to be queried; wherein the type of the component of the demand to be queried is determined by the purpose of the component of the demand to be queried;
[0027] A preset processing strategy is adopted to perform processing according to the type of the component whose demand quantity is to be queried, so as to determine the demand quantity of the component whose demand quantity is to be queried.
[0028] On the other hand, the type of the component to be queried, which is determined according to the purpose of the type of the component to be queried, is one of the following: a first type, a second type, a third type and a fourth type; wherein the first type of component is a fixed component that is required in all configuration lists; the second type of component is a component that is required in all configuration lists and the optional specifications of the same component in different configuration lists are different; the third type of component is a required component or an optional component in all configuration lists, wherein the required component includes components with multiple optional specifications and a fixed quantity or components with multiple optional specifications and a non-fixed quantity; the fourth type of component is an auxiliary component of the optional component.
[0029] On the other hand, the processing using a preset processing strategy according to the type of the component whose demand quantity is to be queried to determine the demand quantity of the component whose demand quantity is to be queried includes:
[0030] When it is detected that the component with the demand quantity to be queried is a component of the first type, the number of servers to be sold is obtained, and the demand quantity of the component with the demand quantity to be queried is determined according to the number of servers to be sold;
[0031] In the case where it is detected that the component with the demand quantity to be queried is a component of the second type, determining the demand quantity of the component with the demand quantity to be queried according to a first ratio of the configuration level to which the bill of materials of the component of the second type belongs;
[0032] When it is detected that the component with the demand quantity to be queried is a component of the third type with multiple optional specifications and a fixed quantity, determining the demand quantity of the component with the demand quantity to be queried according to the product of the number of servers to be sold and the second ratio of each optional specification;
[0033] When it is detected that the component with the demand quantity to be queried is a component of the third type with multiple optional specifications and non-fixed quantity, or when it is detected that the component with the demand quantity to be queried is the optional component, the demand quantity of the component with the demand quantity to be queried is determined according to the number of servers to be sold that contain the first quantity of components, the sum of the first proportions of the configuration levels to which the bills of materials of all the first quantity of components belong, the product of the first quantity, the sum of the first proportions of the configuration levels to which the bills of materials of all the second quantity of components belong, the number of servers to be sold that contain the second quantity of components, and the product of the second quantity;
[0034] When it is detected that the component with the demand quantity to be queried is the fourth type component, the demand quantity of the component with the demand quantity to be queried is determined according to the number of servers to be sold corresponding to the bill of materials of the fourth type component, the configuration probability and the unit usage of each material.
[0035] In order to solve the above technical problems, the present invention further provides a data processing device, which is applied to a server, and the device comprises:
[0036] A first acquisition module is used to acquire each optional item and the optional specifications corresponding to each optional item; wherein the optional items are the components constituting the server, and the optional specifications corresponding to each optional item are the specifications of each component;
[0037] A matching module, used for matching each matching value of each matching item with each matching value of other matching items respectively, so as to obtain all bills of materials to be output, and obtain a first target bill of materials in all bills of materials to be output; wherein all matching items in the first target bill of materials satisfy a preset matching relationship;
[0038] A second acquisition module is used to acquire the configuration level to which each of the first target material lists belongs, the first ratio of the configuration level, and the second ratio of the optional specifications corresponding to the optional items of each of the first target material lists;
[0039] A first determination module, configured to determine the configuration probability of the first target bill of materials according to the product of a first ratio of the configuration level to which the first target bill of materials belongs and a second ratio of all optional specifications of the first target bill of materials; wherein the sum of the first ratios of all configuration levels is 1, and the sum of the second ratios of all optional specifications of the same component is 1;
[0040] The second determination module is used to determine the demand quantity of each component in the first target bill of materials according to the number of servers to be sold corresponding to the first target bill of materials, the configuration probability and the unit usage of each material.
[0041] In order to solve the above technical problem, the present invention further provides a server, comprising:
[0042] Memory for storing computer programs;
[0043] A processor is used to implement the steps of the above-mentioned data processing method when executing the computer program.
[0044] In order to solve the above technical problem, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above data processing method are implemented.
[0045] The data processing method provided by the present invention selects a first target material list satisfying a preset matching relationship from the selected material list after the material list is matched, and determines the demand quantity of each component in the first target material list.
[0046] The beneficial effects of the present invention are as follows: firstly, in the server, each optional value of each optional item is matched with each optional value of other optional items to obtain all the bills of materials to be output, and the matching relationship between the optional items of the bill of materials is taken into consideration, and the first target bill of materials that meets the matching relationship is screened out from all the bills of materials to be output, so that the matched bill of materials meets the actual demand; secondly, after determining the first target bill of materials, the demand for each component in the first target bill of materials is determined according to the first proportion of the configuration level, the second proportion of the optional specifications, the number of servers to be sold corresponding to the first target bill of materials, and the single unit usage of each material, so that the user can reasonably purchase according to the demand, and avoid the occurrence of excessive purchase of materials or insufficient purchase of materials as much as possible; thirdly, each optional value of each optional item is automatically matched with each optional value of other optional items and the demand is calculated through the server, and the computing power of the server is used to improve the efficiency of matching and the efficiency and accuracy of calculating the demand.
[0047] In addition, all the optional items in each first target bill of materials and the quantity combination corresponding to each optional item are used as the configuration level to which each first target bill of materials belongs, that is, the configuration level to which the bill of materials belongs only includes two parameters, namely, the optional items and the quantity, but does not include the optional specifications, etc., so that the bill of materials can be represented with fewer parameters; and all the first target bills of materials with the same configuration level are planned as the same target configuration list library, and the target configuration list library is marked according to the configuration level, so as to classify the bill of materials and facilitate search;
[0048] Since the proportions of different configuration levels and optional specifications are determined according to the product life cycle of the product, the configuration level proportions and optional specification proportions set are more reasonable, thereby improving the accuracy of determining the demand for components;
[0049] According to the different types of components to be queried, different preset processing strategies are used to determine the demand for the components to be queried, so that the method of obtaining the demand for the components to be queried is more flexible and more targeted, thereby improving the accuracy of obtaining the demand for the components to be queried; and when determining the demand for fixed components (i.e., components of the first type) that must be included in all configuration lists, the demand for the components to be queried is directly determined according to the number of servers to be sold, without the need for a large amount of calculations, thereby improving the efficiency of determining the demand for the first type of components.
[0050] In addition, the present invention also provides a data processing device, a server, and a computer-readable storage medium, which have the same or corresponding technical features as the above-mentioned data processing method and have the same effects as above. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0052] Figure 1 A flowchart of a data processing method provided by an embodiment of the present invention;
[0053] Figure 2 A schematic diagram of part of the content of a matching interface provided by an embodiment of the present invention;
[0054] Figure 3 A flowchart of a matching method provided by an embodiment of the present invention;
[0055] Figure 4A flowchart of a method for setting a planned ratio of optional components provided by an embodiment of the present invention;
[0056] Figure 5 A flow chart of a method for calculating the demand quantity of a queried material provided by an embodiment of the present invention;
[0057] Figure 6 A structural diagram of a data processing device provided by an embodiment of the present invention;
[0058] Figure 7 A structural diagram of a server provided in another embodiment of the present invention. DETAILED DESCRIPTION
[0059] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0060] The core of the present invention is to provide a data processing method, device, server and medium to solve the technical problems of material selection and determination of the required quantity of each material.
[0061] The modular BOM contains all the materials in all the configurations supported by this model. After matching, the configuration is determined and a fixed configuration material list is generated. Procurement is based on this list to purchase and prepare materials. Since different configurations require different materials, the modular BOM cannot directly reflect the demand for various materials. Therefore, the present invention provides an automatic simulation matching modular BOM. After matching, a fixed configuration material list that can be supported by the modular BOM of all models is generated. The system calculates the demand for each material in all fixed configuration material lists, so that users can reasonably purchase materials according to demand.
[0062] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Figure 1 A flowchart of a data processing method provided by an embodiment of the present invention. The method is applied to a server, such as Figure 1 As shown, the method includes:
[0063] S10: Obtaining each optional item and the optional specifications corresponding to each optional item;
[0064] S11: matching each matching value of each matching item with each matching value of other matching items respectively to obtain all the bills of materials to be output, and obtaining the first target bill of materials in all the bills of materials to be output;
[0065] Wherein, all the matching items in the first target material list satisfy the pre-set matching relationship;
[0066] S12: Acquire the configuration level to which each first target material list belongs, the first ratio of the configuration level, and the second ratio of the optional specifications corresponding to the optional items of each first target material list;
[0067] S13: determining the configuration probability of the first target bill of materials according to the product of the first proportion of the configuration level to which the first target bill of materials belongs and the second proportion of all optional specifications of the first target bill of materials;
[0068] S14: Determine the demand for each component in the first target bill of materials according to the number of servers to be sold, the configuration probability, and the unit usage of each material corresponding to the first target bill of materials.
[0069] The modular BOM of the server is defined in a modular way according to the materials used in the product, such as chassis modules, central processing unit (CPU) modules, memory modules, etc. Different specification levels are defined under each module according to the different specifications of the components, and the specification levels contain physical materials. The modular BOM is divided into optional modules and modules that are brought out according to the optional modules. By setting the relationship between different module levels and specification levels, it is possible to determine whether the modules can be brought out or not during selection. Therefore, it is necessary to select the modular BOM to obtain a fixed configuration bill of materials that can be used for procurement and production. A fixed configuration bill of materials is generated by selecting different component (CPU, memory, hard disk, external card, etc.) specification levels and quantities. The optional items of the present invention are the components that make up the server, and the optional specifications corresponding to each optional item are the specifications of each component.
[0070] After obtaining each option and the corresponding option specification of each option, each option value of each option is matched with each option value of other options to obtain all the bills of materials to be output, and the first target bill of materials in all the bills of materials to be output is obtained. There is no limitation on the specific order of matching. In order to prevent the occurrence of omissions in the matching process and the incomplete generated bill of materials, in implementation, matching can be performed from top to bottom on the matching interface. Since there are mutually restrictive relationships between the options, some bills of materials do not conform to the actual situation. Therefore, it is necessary to select bills of materials that conform to the pre-set matching relationship. When the matching is successful or unsuccessful, it can be displayed through the display of the indicating device. For example, based on the current matching interface setting of the modular BOM, after selecting a complete fixed configuration list, a green light will be displayed, if the configuration selection is incomplete, a yellow light will be prompted, and if the unsupported selection is not supported, a red light will be reported. In the matching interface, each option is matched from top to bottom in accordance with the principle logic of not reporting a red light, until a complete green light list is matched and a fixed configuration bill of materials is automatically generated.
[0071] Specifically, modular BOM is an optional BOM, and there are mutual restrictions between the options. For example, you can only select another component after selecting a certain component, and two options cannot be selected at the same time due to structural interference, etc. Only after the selection is completed and there is no conflict with the relationship settings in the BOM, the BOM selection will report the green light status.
[0072] Figure 2 A schematic diagram of part of the content of a matching interface provided by an embodiment of the present invention, such as Figure 2 As shown, the optional items include central processing unit, memory, disk and external card. The optional specifications of the central processing unit include specification 1 and specification 2; the optional specifications of the memory include specification 1 and specification 2; the optional specifications of the disk include specification 1 and specification 2, and the optional specifications of the external card include specification 1 and specification 2; at the same time, the number of central processing units, the number of memories, the number of disks and the number of external cards are also displayed on the optional interface. Figure 3 A flowchart of a matching method provided by an embodiment of the present invention, such as Figure 3 As shown, the method includes:
[0073] S15: Select the current specification level in the current option;
[0074] Among them, the initial value of the current option is the first option, and the initial value of the current specification level is the first specification level;
[0075] S16: configuring each specification level in other options in sequence according to the matching relationship;
[0076] S17: when it is detected that the display state of the indicator light is green, generating a fixed configuration material list;
[0077] S18: Determine whether all specification levels in the current option have been traversed; if not, proceed to step S19; if yes, proceed to step S20;
[0078] S19: taking the next specification level of the current specification level in the matching option 1 as the current specification level, and returning to step S15;
[0079] S20: Take the next option of the current option as the new current option and return to step S15.
[0080] In this matching method, the matching starts from the first option from top to bottom. First, select the first specification level in the first option, then continue to select the first optional quantity of the second option CPU quantity, then select the first specification level of the third option, and so on to select the first optional value of each option. Until all the options that can be selected have matching values. Due to the characteristics of the mutual restriction relationship between the options of the modular BOM, the matching method of selecting the first optional value for all the above options may conflict with the restriction relationship set in the modular BOM, resulting in the configuration of yellow or red lights. Therefore, according to the rule that the list will not be output unless the green light is turned on, the matching system automatically invalidates this time and tries to adjust the matching value of each option from top to bottom again, such as adjusting the first option to select the second specification level, or adjusting more. The BOM configuration list is not output until the matching green light is turned on.
[0081] The rule for re-selecting after non-green light is to change the selection value from the first option in sequence. If all the optional values of the first option are tried and it is still not green, adjust the selection value of the second option. Similarly, if the second option is still not green, adjust the configuration of the options below in sequence until the green light is configured, and output the fixed configuration list after selection. Repeat the above operation until all green light configurations are selected and all green light fixed configuration lists are output.
[0082] The above matching method selects each option from top to bottom in the matching interface in accordance with the principle logic of not reporting a red light, thereby avoiding the occurrence of missed matching as much as possible. After matching according to the matching relationship, the first target material list is obtained.
[0083] There is no limitation on the configuration level to which each first target bill of materials belongs, such as being embodied by each option and its quantity, and specific option specifications. However, in order to simplify the configuration level in the embodiment of the present invention, only each option and its quantity are used to represent the configuration level to which the bill of materials belongs. Obtaining the configuration level to which each first target bill of materials belongs includes:
[0084] Obtain each option item and the quantity corresponding to each option item in each first target material list;
[0085] All optional items in each first target material bill and the quantity combination corresponding to each optional item are used as the configuration level to which each first target material bill belongs;
[0086] After obtaining the configuration level to which each first target bill of materials belongs, the following steps are also included:
[0087] All first target material lists with the same configuration level are obtained, and all first target material lists with the same configuration level are planned as the same target configuration list library, and the target configuration list library is marked according to the configuration level.
[0088] Specifically, after obtaining all the selected fixed configuration material lists, the system summarizes and counts these data. First, distinguish the configuration levels. The so-called configuration level is the approximate classification of configurations. It is reflected in the selection of each option and its quantity after each option is fully selected, and does not reflect the specific option specifications. For example, CPU*2 / Memory*32 / Hard Disk*12 / Network Card*2, no fixed specifications of CPU, hard disk, memory, network card are selected, as long as all fixed configuration lists that meet the above option quantities belong to this configuration level. According to the above rules, the system automatically classifies configuration lists with the same configuration level into one configuration list library, and names them according to the configuration level. In this way, all configuration lists can be automatically divided into configuration list libraries of all configuration levels.
[0089] In order to calculate the demand for each component in the target bill of materials, an embodiment of the present invention determines the configuration probability of the first target bill of materials based on the product of the first proportion of the configuration level to which the first target bill of materials belongs and the second proportion of all optional specifications of the first target bill of materials, wherein the sum of the first proportions of all configuration levels is 1, and the sum of the second proportions of all optional specifications of the same component is 1; then the demand for each component in the first target bill of materials is determined based on the number of servers to be sold corresponding to the first target bill of materials, the configuration probability and the single unit usage of each material.
[0090] When determining the first proportion of the configuration level to which each first target bill of materials belongs, some configuration levels with market demand are identified according to the product market planning. For example, if there are 10 configuration levels with a large market demand, all the fixed configuration list libraries generated by the system can be divided into 11 parts. Among them, the 10 configuration levels with a large market demand are respectively set with an expected demand proportion in the system, and all the remaining configuration levels are equally divided into the demand proportions except the first 10 configuration levels. The sum of the demand proportions of all configuration levels is 1. Table 1 is the data of the configuration level. As shown in Table 1, it includes 10 configuration levels and all other configuration levels. The planned proportions of the 10 configuration levels and all other configuration levels are 20%, 16%, 15%, 11%, 9%, 7%, 6%, 4%, 3%, 3% and 6% respectively.
[0091] Table 1 Configuration level data
[0092] .
[0093] The configuration level demand ratio is set, and the configuration level ratio is automatically refreshed by the system every month according to the following rules. Before the project is launched, the system automatically links to the previous generation product shipment order library, and automatically pushes the previous generation product shipment ratio to the product manager. The product manager can adjust the ratio for the next month based on the new product market research and historical data. After the project is mass-produced, the configuration level demand ratio is set: the system automatically obtains the sales order library of the previous month, and automatically pushes the configuration level ratio to the product manager based on the sales order of the previous month. Similarly, the product manager can readjust the ratio according to the market situation or not adjust it and use the system push ratio completely.
[0094] The planned sales ratio of optional parts is set for each optional part. The planned sales ratio of all the same parts with different specifications is equal to 1. For example, this model has 6 specifications of network cards. Table 2 shows the planned ratio of each specification of network cards. As shown in Table 2, it includes specification 1, specification 2, specification 3, specification 4, specification 5 and specification 6. The corresponding planned ratios of specification 1, specification 2, specification 3, specification 4, specification 5 and specification 6 are 43%, 16%, 14%, 11%, 9% and 7% respectively.
[0095] Table 2 Planned ratio of network cards of different specifications
[0096] .
[0097] Figure 4 A flowchart of a method for setting a planned ratio of optional components provided by an embodiment of the present invention, such as Figure 4 As shown, the method includes:
[0098] S21: The system simulates the selection and outputs a list of all fixed configurations;
[0099] S22: Automatically classify configuration levels according to a fixed configuration list;
[0100] S23: The system obtains the historical sales orders of the previous month;
[0101] S24: The system categorizes the configuration level of sales orders of the previous month;
[0102] S25: The system calculates the configuration level ratio of sales orders in the previous month and pushes it to the maintenance person;
[0103] S26: In the proportion dimension, a dedicated person maintains the relevant proportions based on the system push.
[0104] The planned proportion of optional parts is set. The planned proportion of optional parts is automatically refreshed by the system every month according to the following rules. Before the project is launched, the system automatically links to the previous generation product shipment order library, and automatically pushes the proportion of optional parts shipment to the product manager based on the previous generation product optional parts shipment ratio. The product manager can adjust the proportion for the next month based on the new product market research and historical data. After the project is mass-produced, the optional parts demand ratio is set: the system automatically obtains the sales order library of last month, and automatically pushes the proportion of optional parts shipment to the product manager based on the sales order of last month. Similarly, the product manager can readjust the proportion according to market conditions or not adjust it and use the proportion pushed by the system.
[0105] The determination of fixed configuration is determined by two aspects: one is the configuration level, and the other is the specific specifications of each optional component under the configuration level. Therefore, the probability of the fixed configuration list appearing in reality (referred to as the fixed configuration probability) is equal to the proportion of the configuration level to which it belongs * the product of the planned proportion of all optional components in the configuration. Therefore, the material usage in this fixed configuration list is equal to the total number of units expected for this model * the fixed configuration probability * the single unit usage of each material.
[0106] All the fixed configuration lists obtained through automatic matching in the modular BOM can calculate the estimated demand for each material. The demand for all materials is summarized, and the demand for the same material is combined and added together to get the estimated demand for all materials in the entire modular BOM. In addition, the system automatically pushes the adjustment of the configuration level ratio and the optional component ratio by obtaining the sales order situation of the previous month every month, so as to accurately estimate the material inventory.
[0107] After determining the demand for each component in the first target bill of materials according to the number of servers to be sold, the configuration probability and the unit usage of each material corresponding to the first target bill of materials, the method further includes:
[0108] Get the parts whose demand quantity is to be queried;
[0109] Obtain all second target material lists containing the components with the demand quantity to be queried from all first target material lists;
[0110] The sum of the demand quantities of the component with the demand quantity to be queried in all the second target bills of materials is obtained to determine the total demand quantity of the component with the demand quantity to be queried.
[0111] Figure 5 A flowchart of a method for calculating the demand for a queried material provided by an embodiment of the present invention, such as Figure 5 As shown, the method includes:
[0112] S27: Enter the material whose demand quantity you want to query;
[0113] S28: The system automatically simulates matching and selects a fixed configuration list containing this material;
[0114] S29: The system checks the configuration level to which each fixed configuration list belongs, and outputs all fixed configuration lists;
[0115] S30: The system queries all optional components in the fixed configuration list;
[0116] S31: Calculate the demand for the material being queried.
[0117] The calculation method for a single material is that the system automatically simulates only the fixed configuration list containing the material being searched, and then reversely searches for the configuration levels to which each fixed configuration list belongs, as well as all optional components contained in all configuration lists. The calculation method is also to first calculate the fixed configuration probability of each fixed configuration, which is equal to the ratio of the configuration level to which it belongs * the product of the planned ratio of all optional components in the configuration. Then the demand for this material is equal to the total number of units expected for this model * the probability of fixed configuration * the single unit usage of this material. All fixed configurations containing this material are added together according to the above calculation to obtain the total demand quantity of this material.
[0118] In the method provided in this embodiment, first, each optional value of each optional item is matched with each optional value of other optional items in the server to obtain all the bills of materials to be output, and the matching relationship between the optional items in the bill of materials is taken into consideration, and the first target bill of materials that meets the matching relationship is screened out from all the bills of materials to be output, so that the matched bill of materials meets the actual demand; secondly, after determining the first target bill of materials, the demand for each component in the first target bill of materials is determined according to the first proportion of the configuration level, the second proportion of the matching specifications, the number of servers to be sold corresponding to the first target bill of materials, and the single unit usage of each material, so that the user can reasonably purchase according to the demand, and avoid the occurrence of excessive purchase of materials or insufficient purchase of materials as much as possible; thirdly, each optional value of each optional item is automatically matched with each optional value of other optional items and the demand is calculated through the server, and the computing power of the server is used to improve the efficiency of matching and the efficiency and accuracy of calculating the demand.
[0119] In order to make the determined first ratio and second ratio more reasonable, in some embodiments, determining the first ratio of the configuration level and the second ratio of each optional specification of the same component includes:
[0120] Obtain the current product life cycle of the product; the product life cycle includes the trial production stage, mass production stage and after-sales stage;
[0121] When it is detected that the current product life cycle of the product is in the trial production stage, the target configuration level and the target optional specification are obtained, and the sum of the first ratios of all target configuration levels is determined to be 1 and the sum of the second ratios of all target optional specifications of the same component is determined to be 1; wherein the target configuration level and the target optional specification are configurations required to form the server;
[0122] When it is detected that the current product life cycle of the product is in the mass production stage, the shipment ratio of the configuration level in the historical sales order is obtained, and the first ratio of each configuration level is determined according to the shipment ratio of the configuration level in the historical sales order; the shipment ratio of each optional specification of the same component in the historical sales order is obtained, and the second ratio of each optional specification of the same component is determined according to the shipment ratio of each optional specification of the same component in the historical sales order;
[0123] When it is detected that the current product life cycle of the product is in the after-sales stage, the proportion of configuration levels in historical after-sales orders is obtained, and a first proportion of configuration levels is determined based on the proportion of configuration levels in historical after-sales orders; the proportion of configuration levels in historical after-sales orders is obtained, and a second proportion of optional specifications of the same component is determined based on the proportion of optional specifications in historical after-sales orders.
[0124] Calculation of material plans at different stages: The calculation of this system depends on the total number of units required, the configuration level planning ratio, and the setting of the component planning ratio. After setting, the demand for all or a single material can be calculated automatically. After the modular BOM is created, it is generally applicable to different scenarios according to the product cycle, such as the trial production stage, mass production stage, and after-sales stocking. Therefore, this system allows the setting of multiple application calculation scenarios. The ratio of each application scenario can be customized and does not interfere with each other.
[0125] The material calculation method for each application scenario is the same. The only difference is that each scenario is calculated by controlling the configuration level and the proportion of optional components. 1. The difference between the trial production stage and the mass production stage is that several mainstream configurations will be fixed for trial production verification. Therefore, when setting the configuration level and component ratio, the sum of the required configuration and component demand ratio will be set to 100%, and the sum of other unnecessary configuration levels and component demand ratios will be adjusted to 0. 2. The material preparation in the mass production stage is as described above. The system automatically sets the corresponding ratio by capturing the configuration level and component shipment ratio in the historical sales order data. 3. The setting of the after-sales material preparation ratio is obtained by the system automatically obtaining the configuration level ratio of the historical after-sales order and the after-sales record ratio of the optional components. Specifically, the number of after-sales stocking units, the configuration level ratio and the component ratio are calculated based on the product life cycle and the automatic acquisition of after-sales order data, as well as the number of machines in use by users. According to the product life cycle, the mass production stage calculates the estimated number of after-sales ...
[0126] In the method provided in this embodiment, the proportions of different configuration levels and the proportions of optional specifications are determined according to the product life cycle of the product, so that the set configuration level proportions and the proportions of optional specifications are more reasonable, thereby improving the accuracy of determining component requirements.
[0127] In order to obtain the demand quantity of the component whose demand quantity is to be queried, after obtaining the component whose demand quantity is to be queried, the following is further included:
[0128] Obtaining the type of the component whose demand is to be queried; wherein the type of the component whose demand is to be queried is determined by the purpose of the component whose demand is to be queried;
[0129] A preset processing strategy is used to process the type of the component whose demand quantity is to be queried, so as to determine the demand quantity of the component whose demand quantity is to be queried.
[0130] The type of the component to be queried, which is determined according to the purpose of the type of the component to be queried, is one of the following: a first type, a second type, a third type and a fourth type; wherein the first type of component is a fixed component that is required in all configuration lists; the second type of component is a component that is required in all configuration lists and the optional specifications of the same component in different configuration lists are different; the third type of component is a required component or an optional component in all configuration lists, wherein the required components include components with multiple optional specifications and a fixed quantity or components with multiple optional specifications and a non-fixed quantity; the fourth type of component is an auxiliary component of the optional component.
[0131] According to the material usage in BOM, Table 3 is a material classification table. As shown in Table 3, materials are divided into two categories, namely, mandatory fixed materials, mandatory materials with configuration, mandatory and optional materials, and auxiliary materials of optional materials. Mandatory and optional materials are specifically divided into mandatory fixed quantity materials, mandatory variable quantity materials, and optional materials.
[0132] Table 3 Classification of materials
[0133] .
[0134] The preset processing strategy is used to process the type of the component whose demand quantity is to be queried, so as to determine the demand quantity of the component whose demand quantity is to be queried, including:
[0135] When it is detected that the component whose demand quantity is to be queried is a component of the first type, the number of servers to be sold is obtained, and the demand quantity of the component whose demand quantity is to be queried is determined according to the number of servers to be sold;
[0136] In the case where it is detected that the component whose demand quantity is to be queried is a component of the second type, determining the demand quantity of the component whose demand quantity is to be queried according to a first proportion of the configuration level to which the bill of materials of the component of the second type belongs;
[0137] When it is detected that the component whose demand quantity is to be queried is a component of the third type with multiple optional specifications and a fixed quantity, the demand quantity of the component whose demand quantity is to be queried is determined according to the product of the number of servers to be sold and the second ratio of each optional specification;
[0138] When it is detected that the component with demand quantity to be queried is a component of the third type with multiple optional specifications and non-fixed quantity, or when it is detected that the component with demand quantity to be queried is an optional component, the demand quantity of the component with demand quantity to be queried is determined according to the number of servers to be sold that contain the first quantity of components, the sum of the first proportions of the configuration levels to which the bills of materials of all the first quantity of components belong, the product of the first quantity, the sum of the first proportions of the configuration levels to which the bills of materials of all the second quantity of components belong, the number of servers to be sold that contain the second quantity of components, and the product of the second quantity;
[0139] When it is detected that the component whose demand quantity is to be queried is a fourth type component, the demand quantity of the component to be queried is determined according to the number of servers to be sold, the configuration probability and the unit usage of each material corresponding to the bill of materials of the fourth type component.
[0140] Specifically, 1) Calculation of the demand for essential fixed materials: Essential fixed materials are the fixed materials that are required for all configurations, such as motherboards. The motherboard used in each model is a fixed and unique material. The estimated purchase quantity of such materials can be known through the estimated sales number without calculation.
[0141] 2) Calculation of the demand for materials required for different configurations: Materials required for different configurations are required but have different specifications. For example, different configurations are suitable for chassis with different structures. The demand for such materials is directly calculated only through the planned proportion of each configuration level. For example, there are 3 chassis specifications A, B, and C in the BOM. Chassis A can be adapted to 4 types, chassis at configuration level B can be adapted to 6 types, and chassis C can be adapted to 7 types. Then the required quantity of chassis A is equal to the total number of units required * the sum of the planned proportions of chassis A corresponding to the configuration level.
[0142] 3) Calculation of the demand for mandatory and optional materials. Mandatory and optional materials are divided into mandatory and fixed-quantity components and variable-quantity mandatory and optional materials. For example, if only 1 CPU can be selected for a model, then the usage of each specification of CPU is equal to the expected sales volume * the planned proportion of each CPU specification. For a variable number of mandatory components, such as a model that allows the selection of 1 or 2 CPUs, the demand for each CPU must be calculated based on the number of CPUs. Configurations with different numbers of CPUs belong to different configuration levels, so the calculation of CPU usage must consider the planned proportions of different configuration levels. The demand for a certain CPU is equal to the number of units required * the sum of all single-CPU configuration level proportions * 1 + the number of units required * the sum of all dual-CPU configuration level proportions * 2. The same calculation method applies to optional materials.
[0143] 4) Calculation of auxiliary materials of optional materials. Auxiliary materials of optional materials are materials that are brought out after different optional materials are selected and configured through the mutual restriction relationship between modular BOMs. For example, hard disk backplane cables may need to be matched with different hard disk types and quantities, so the estimated calculation of the demand for such materials is also the most difficult. There are many materials of the same type, such as adapter cards, various cables, various structural parts, etc. The material calculation method is as follows: For example, the market forecast proportion of the configuration level to which a certain fixed configuration belongs is 20%, and the CPU model A, memory model B, hard disk model C, etc. are used. The market forecast proportion of CPU model A is 15%, the market forecast proportion of memory model B is 30%, and the market forecast proportion of hard disk model C is 5%. Then the estimated market shipment proportion of this fixed configuration is equal to 20%*15%*30%*5%=0.45%. If the expected shipment number of this model in a quarter is 10,000 units. Then the expected shipment number of this fixed configuration in a quarter is 10,000*0.45%=45 units. For example, if a certain specification of cable is used for a single unit in this fixed configuration, 5 cables are needed, and the demand for 45 units is 45*5=225 cables. To get the estimated demand for this cable in a quarter, you can filter out all the fixed configuration bills of materials containing this cable through the system, and calculate the total number of this cable required in each fixed configuration in the above way. For example, this cable is used in 3 fixed configuration bills of materials. The estimated number of units shipped for these 3 fixed configurations is 100, 150, and 200, respectively. The number of cables used for each configuration is 5, 4, and 6. Then the estimated demand for this cable is equal to 100*5+150*4+200*6=2300 cables.
[0144] Similarly, the demand for all other optional materials and auxiliary materials can be calculated by the system in the above manner. The procurement plan can be formulated with reference to the estimated material demand output by the present invention. It is more convenient to accurately estimate the demand for each material, avoiding the occurrence of material shortage or over-purchase backlog inventory.
[0145] In practice, BOM changes may occur, and BOM changes are divided into the addition and subtraction of components, and the addition and subtraction of configuration levels. In the case of the addition and subtraction of components (new addition or deletion of a component), the proportion of the configuration level is kept unchanged, and the proportion of the optional specifications is adjusted; when the addition of components is detected, the component plan proportion maintenance process is automatically triggered, and a dedicated person re-maintains the component plan proportion; when the deletion of components is detected, the proportion of the deleted components is divided equally into the proportion of the remaining components; when the addition of configuration levels is detected, the configuration level proportion maintenance process is triggered, and the configuration level plan proportion is manually re-maintained; when the deletion of configuration levels is detected, the proportion of the deleted configuration levels is divided equally into the proportion of the remaining configuration levels.
[0146] In the implementation, for example, if a certain memory is added or deleted, this change will not affect the configuration level. Therefore, the planned proportion setting of the configuration level will not be affected. It will only affect the corresponding component planned proportion. When a material is added, the system automatically triggers the component planned proportion maintenance process, and a dedicated person re-maintains the component planned proportion. When a material is deleted, the system automatically divides the planned proportion of the original material into the remaining component planned proportion, without triggering the manual maintenance process. Similarly, when the BOM changes and causes more configuration levels, the system automatically triggers the configuration level proportion maintenance process, and the configuration level planned proportion is manually re-maintained. When a configuration level is deleted, the system automatically divides the deleted configuration level proportion into the proportion of the remaining configuration levels, without triggering the manual maintenance process. In this method, in the case of BOM changes, the proportion of the configuration level and the proportion of the optional specifications are adjusted according to the changes, so that the proportion of the determined configuration level and the proportion of the optional specifications are more appropriate, thereby improving the accuracy of the determined component demand, so that users can make reasonable purchases based on more accurate demand.
[0147] The above method obtains the green-light fixed configuration material list of all models through the system's automatic matching method. At different stages of the product, the system automatically obtains the configuration level and the proportion of optional components to calculate the demand probability of each fixed configuration list, thereby calculating the demand for materials in each fixed configuration list. And through different stages, as well as the rules for setting the system's monthly refresh ratio, accurate estimation of material planning is achieved.
[0148] The system for matching modular BOM provided in this embodiment uses the powerful computing power of the system to match each option from top to bottom, and according to whether the matching is green, repeat the matching and adjustment to combine all the green light matching methods in all options. After matching, a fixed configuration material list that can be supported by the modular BOM of all models is generated, and all fixed configuration material lists can be divided according to the configuration level, and at different stages of the product, the system automatically sets the configuration level ratio and the optional component ratio in the stocking demand materials by grabbing the configuration level and the proportion of optional components in the historical sales orders and historical after-sales lists. The calculation method of the demand for various types of materials set by this system is the number of units required * the proportion of the configuration level to which the material belongs * the proportion of all optional components. Thus, the demand for each material in the BOM is calculated. In addition, this system can support regular and automatic refresh of the set ratio at different stages of the product, so that it is suitable for different stages, and automatically refreshes the material demand according to the market sales order situation.
[0149] In the above embodiments, the data processing method is described in detail, and the present invention also provides embodiments of the data processing device and server. It should be noted that the present invention describes the embodiments of the device part from two perspectives, one is based on the functional module perspective, and the other is based on the hardware perspective.
[0150] Figure 6 This is a structural diagram of a data processing device provided by an embodiment of the present invention. This embodiment is based on the perspective of functional modules and includes:
[0151] The first acquisition module 11 is used to acquire each optional item and the optional specifications corresponding to each optional item; wherein the optional items are the components constituting the server, and the optional specifications corresponding to each optional item are the specifications of each component;
[0152] The matching module 12 is used to match each matching value of each matching item with each matching value of other matching items to obtain all the bills of materials to be output, and obtain a first target bill of materials in all the bills of materials to be output; wherein all the matching items in the first target bill of materials satisfy a preset matching relationship;
[0153] The second acquisition module 13 is used to acquire the configuration level to which each first target material list belongs, the first ratio of the configuration level, and the second ratio of the optional specifications corresponding to the optional items of each first target material list;
[0154] A first determination module 14 is used to determine the configuration probability of the first target bill of materials according to the product of the first proportion of the configuration level to which the first target bill of materials belongs and the second proportion of all optional specifications of the first target bill of materials; wherein the sum of the first proportions of all configuration levels is 1, and the sum of the second proportions of all optional specifications of the same component is 1;
[0155] The second determination module 15 is used to determine the demand quantity of each component in the first target bill of materials according to the number of servers to be sold, the configuration probability and the unit usage of each material corresponding to the first target bill of materials.
[0156] In some embodiments, the second acquisition module 13 includes a third acquisition module for acquiring the configuration level to which each first target bill of materials belongs;
[0157] The third acquisition module specifically includes:
[0158] A fourth acquisition module is used to acquire each optional item and the quantity corresponding to each optional item in each first target material list;
[0159] As a module, it is used to combine all the optional items in each first target material bill and the quantity corresponding to each optional item as the configuration level to which each first target material bill belongs;
[0160] The data processing device also includes:
[0161] The fifth acquisition module is used to acquire all first target material lists with the same configuration level, and plan all first target material lists with the same configuration level into the same target configuration list library, and mark the target configuration list library according to the configuration level.
[0162] In some embodiments, the second acquisition module 13 includes a third determination module for determining a first ratio of the configuration level and a second ratio of each optional specification of the same component;
[0163] The third determination module specifically includes:
[0164] The sixth acquisition module is used to acquire the current product life cycle of the product; wherein the product life cycle includes the trial production stage, the mass production stage and the after-sales stage;
[0165] The seventh acquisition module is used to acquire the target configuration level and the target optional specification when it is detected that the current product life cycle of the product is in the trial production stage, determine that the sum of the first ratios of all target configuration levels is 1 and determine that the sum of the second ratios of all target optional specifications of the same component is 1; wherein the target configuration level and the target optional specification are configurations required to form the server;
[0166] The eighth acquisition module is used to obtain the shipment ratio of the configuration level in the historical sales order when it is detected that the current product life cycle of the product is in the mass production stage, and determine the first ratio of each configuration level according to the shipment ratio of the configuration level in the historical sales order; obtain the shipment ratio of each optional specification of the same component in the historical sales order, and determine the second ratio of each optional specification of the same component according to the shipment ratio of each optional specification of the same component in the historical sales order;
[0167] The ninth acquisition module is used to obtain the proportion of configuration levels in historical after-sales orders when it is detected that the current product life cycle of the product is in the after-sales stage, and determine the first proportion of configuration levels based on the proportion of configuration levels in the historical after-sales orders; obtain the proportion of configuration levels in historical after-sales orders, and determine the second proportion of optional specifications of the same component based on the proportion of optional specifications in the historical after-sales orders.
[0168] In some embodiments, the data processing apparatus further comprises:
[0169] A tenth acquisition module, used to acquire the components whose demand quantity is to be queried;
[0170] An eleventh acquisition module is used to acquire all second target material lists containing components with demand quantities to be queried from all first target material lists;
[0171] The twelfth acquisition module is used to obtain the sum of the demand quantities of the component with the demand quantity to be queried in all the second target material lists to determine the total demand quantity of the component with the demand quantity to be queried.
[0172] In some embodiments, the data processing apparatus further comprises:
[0173] A thirteenth acquisition module is used to acquire the type of the component whose demand quantity is to be queried; wherein the type of the component whose demand quantity is to be queried is determined by the purpose of the component whose demand quantity is to be queried;
[0174] The processing module is used to adopt a preset processing strategy to perform processing according to the type of the component whose demand quantity is to be queried, so as to determine the demand quantity of the component whose demand quantity is to be queried.
[0175] In some embodiments, the processing module specifically includes:
[0176] A fourth determination module is used to obtain the number of servers to be sold when it is detected that the component with the demand to be queried is a component of the first type, and determine the demand of the component with the demand to be queried according to the number of servers to be sold;
[0177] A fifth determining module, configured to determine the demand quantity of the component to be queried according to a first ratio of the configuration level to which the bill of materials of the second type of component belongs, when it is detected that the component to be queried is a component of the second type;
[0178] a sixth determining module, configured to determine the demand quantity of the component to be queried according to the product of the number of servers to be sold and the second ratio of each optional specification when it is detected that the component to be queried is a component of the third type with multiple optional specifications and a fixed quantity;
[0179] a seventh determination module, for determining the demand of the component to be queried according to the number of servers to be sold containing the first quantity of components, the sum of the first proportions of the configuration levels to which the bills of materials of all the first quantity of components belong, the product of the first quantity, the sum of the first proportions of the configuration levels to which the bills of materials of all the second quantity of components belong, the number of servers to be sold containing the second quantity of components, and the product of the second quantity, when it is detected that the component to be queried is a component of the third type with multiple optional specifications and non-fixed quantity, or when it is detected that the component to be queried is an optional component;
[0180] The eighth determination module is used to determine the demand quantity of the component to be queried according to the number of servers to be sold, the configuration probability and the single-unit usage of each material corresponding to the bill of materials of the fourth type of component when it is detected that the component with the demand quantity to be queried is a fourth type of component.
[0181] Since the embodiments of the device part correspond to the embodiments of the method part, the embodiments of the device part refer to the description of the embodiments of the method part, which will not be described here. And it has the same beneficial effects as the above-mentioned data processing method.
[0182] Figure 7 This is a structural diagram of a server provided by another embodiment of the present invention. This embodiment is based on the hardware perspective, such as Figure 7 As shown, the server includes:
[0183] A memory 20, used for storing computer programs;
[0184] The processor 21 is used to implement the steps of the data processing method mentioned in the above embodiment when executing the computer program.
[0185] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of a digital signal processor (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU; the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.
[0186] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used to store the following computer program 201, wherein the computer program can implement the relevant steps of the data processing method disclosed in any of the aforementioned embodiments after being loaded and executed by the processor 21. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 202 may include Windows, Unix, Linux, etc. The data 203 may include, but is not limited to, the data involved in the above-mentioned data processing method, etc.
[0187] In some embodiments, the server may further include a display screen 22 , an input / output interface 23 , a communication interface 24 , a power supply 25 , and a communication bus 26 .
[0188] Those skilled in the art will understand that Figure 7 The structure shown in the figure does not constitute a limitation on the server, and may include more or fewer components than shown in the figure.
[0189] The server provided by the embodiment of the present invention includes a memory and a processor. When the processor executes the program stored in the memory, it can implement the following method: a data processing method, the effect is the same as above.
[0190] This embodiment also provides a computer program product, including a computer program / instruction, which implements the steps of the above data processing method when executed by a processor.
[0191] Finally, the present invention also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps recorded in the above method embodiment are implemented.
[0192] It is understandable that if the method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc. Various media that can store program codes.
[0193] The computer-readable storage medium provided by the present invention includes the above-mentioned data processing method, and the effect is the same as above.
[0194] The above is a detailed introduction to a data processing method, device, server and medium provided by the present invention. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, the present invention can also be improved and modified in a number of ways, and these improvements and modifications also fall within the scope of protection of the present invention.
[0195] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
Claims
1. A method for data processing, characterized in that: Applied to a server, the method comprises: Obtain each optional item and the optional specifications corresponding to each optional item; wherein the optional items are the components constituting the server, and the optional specifications corresponding to each optional item are the specifications of the components; Each matching value of each matching item is matched with each matching value of other matching items to obtain all bills of materials to be output, and obtain a first target bill of materials in all bills of materials to be output; wherein all matching items in the first target bill of materials satisfy a preset matching relationship; Acquire the configuration level to which each of the first target material lists belongs, the first ratio of the configuration level, and the second ratio of the optional specifications corresponding to the optional items of each of the first target material lists; Determine the configuration probability of the first target bill of materials according to the product of the first proportion of the configuration level to which the first target bill of materials belongs and the second proportion of all optional specifications of the first target bill of materials; wherein the sum of the first proportions of all configuration levels is 1, and the sum of the second proportions of all optional specifications of the same component is 1; The demand quantity of each component in the first target bill of materials is determined according to the number of servers to be sold corresponding to the first target bill of materials, the configuration probability and the single-unit usage of each material.
2. The data processing method according to claim 1, characterized in that: Acquiring the configuration level to which each of the first target material lists belongs includes: Obtaining each optional item and the quantity corresponding to each optional item in each of the first target material lists; Combining all the optional items in each of the first target material bills and the quantity corresponding to each optional item as the configuration level to which each of the first target material bills belongs; After obtaining the configuration level to which each of the first target material lists belongs, the method further includes: All the first target material lists with the same configuration level are obtained, and all the first target material lists with the same configuration level are planned as the same target configuration list library, and the target configuration list library is marked according to the configuration level.
3. The data processing method according to claim 1, characterized in that: The first ratio for determining the configuration level and the second ratio for each optional specification of the same component include: Obtain the current product life cycle of the product; wherein the product life cycle includes a trial production stage, a mass production stage, and an after-sales stage; When it is detected that the current product life cycle of the product is in the trial production stage, a target configuration level and a target optional specification are obtained, and a sum of a first ratio of all the target configuration levels is determined to be 1, and a sum of a second ratio of all the target optional specifications of the same component is determined to be 1; wherein the target configuration level and the target optional specification are configurations required to form a server; When it is detected that the current product life cycle of the product is in the mass production stage, the shipment ratio of the configuration level in the historical sales order is obtained, and the first ratio of each configuration level is determined according to the shipment ratio of the configuration level in the historical sales order; the shipment ratio of each optional specification of the same component in the historical sales order is obtained, and the second ratio of each optional specification of the same component is determined according to the shipment ratio of each optional specification of the same component in the historical sales order; When it is detected that the current product life cycle of the product is in the after-sales stage, the proportion of configuration levels in historical after-sales orders is obtained, and a first proportion of configuration levels is determined based on the proportion of configuration levels in historical after-sales orders; the proportion of configuration levels in historical after-sales orders is obtained, and a second proportion of optional specifications of the same component is determined based on the proportion of optional specifications in historical after-sales orders.
4. The data processing method according to any one of claims 1 to 3, characterized in that: After determining the demand for each component in the first target bill of materials according to the number of servers to be sold corresponding to the first target bill of materials, the configuration probability and the unit usage of each material, the method further includes: Get the parts whose demand quantity is to be queried; Acquire all second target material lists containing the component with the required quantity to be queried from all the first target material lists; The sum of the demand quantities of the component with the demand quantity to be queried in all the second target bills of materials is obtained to determine the total demand quantity of the component with the demand quantity to be queried.
5. The data processing method according to claim 4, characterized in that: After obtaining the component whose demand quantity is to be queried, the method further includes: Acquire the type of the component of the demand to be queried; wherein the type of the component of the demand to be queried is determined by the purpose of the component of the demand to be queried; A preset processing strategy is adopted to perform processing according to the type of the component whose demand quantity is to be queried, so as to determine the demand quantity of the component whose demand quantity is to be queried.
6. The data processing method according to claim 5, characterized in that: The type of the component to be queried, which is determined according to the purpose of the type of the component to be queried, is one of the following: a first type, a second type, a third type and a fourth type; wherein the first type of component is a fixed component that is required in all configuration lists; the second type of component is a component that is required in all configuration lists and the optional specifications of the same component in different configuration lists are different; the third type of component is a required component or an optional component in all configuration lists, wherein the required components include components with multiple optional specifications and a fixed quantity or components with multiple optional specifications and a non-fixed quantity; the fourth type of component is an auxiliary component of the optional component.
7. The data processing method according to claim 6, characterized in that: The processing using a preset processing strategy according to the type of the component with the demand quantity to be queried to determine the demand quantity of the component with the demand quantity to be queried includes: When it is detected that the component with the demand quantity to be queried is a component of the first type, the number of servers to be sold is obtained, and the demand quantity of the component with the demand quantity to be queried is determined according to the number of servers to be sold; In the case where it is detected that the component with the demand quantity to be queried is a component of the second type, determining the demand quantity of the component with the demand quantity to be queried according to a first ratio of the configuration level to which the bill of materials of the component of the second type belongs; When it is detected that the component with the demand quantity to be queried is a component of the third type with multiple optional specifications and a fixed quantity, determining the demand quantity of the component with the demand quantity to be queried according to the product of the number of servers to be sold and the second ratio of each optional specification; When it is detected that the component with the demand quantity to be queried is a component of the third type with multiple optional specifications and non-fixed quantity, or when it is detected that the component with the demand quantity to be queried is the optional component, the demand quantity of the component with the demand quantity to be queried is determined according to the number of servers containing the first quantity of components to be sold, the sum of the first proportions of the configuration levels to which the bills of materials of all the first quantity of components belong, the product of the first quantity, the sum of the first proportions of the configuration levels to which the bills of materials of all the second quantity of components belong, the number of servers containing the second quantity of components to be sold, and the product of the second quantity; When it is detected that the component with the demand quantity to be queried is the fourth type component, the demand quantity of the component with the demand quantity to be queried is determined according to the number of servers to be sold corresponding to the bill of materials of the fourth type component, the configuration probability and the unit usage of each material.
8. A data processing device, characterized in that: Applied to a server, the device comprises: A first acquisition module is used to acquire each optional item and the optional specifications corresponding to each optional item; wherein the optional items are the components constituting the server, and the optional specifications corresponding to each optional item are the specifications of each component; A matching module, used for matching each matching value of each matching item with each matching value of other matching items respectively, so as to obtain all bills of materials to be output, and obtain a first target bill of materials in all bills of materials to be output; wherein all matching items in the first target bill of materials satisfy a preset matching relationship; A second acquisition module is used to acquire the configuration level to which each of the first target material lists belongs, the first ratio of the configuration level, and the second ratio of the optional specifications corresponding to the optional items of each of the first target material lists; A first determination module, configured to determine the configuration probability of the first target bill of materials according to the product of a first ratio of the configuration level to which the first target bill of materials belongs and a second ratio of all optional specifications of the first target bill of materials; wherein the sum of the first ratios of all configuration levels is 1, and the sum of the second ratios of all optional specifications of the same component is 1; The second determination module is used to determine the demand quantity of each component in the first target bill of materials according to the number of servers to be sold corresponding to the first target bill of materials, the configuration probability and the unit usage of each material.
9. A server, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the data processing method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the data processing method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Finished product type selection method, equipment and system
CN119379183A
