Method and device for generating bill of material of server, electronic equipment and program product

By automatically matching and generating the restriction relationship in the server bill of materials, the problem of low manual generation efficiency is solved, efficient and accurate bill of materials generation is achieved, and the quality of server products is ensured.

CN120197916AInactive Publication Date: 2025-06-24INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510671881.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-23
Publication Date
2025-06-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

During the server production process, the existing technology relies on manual generation and maintenance of the restrictive relationship of modular BOM, resulting in low work efficiency and prone to omissions or errors, affecting product quality.

Method used

By receiving user inputs from the server material module description, the target public characteristic database and restriction relationship library are automatically matched, and the restriction relationship in the bill of materials is automatically generated to improve generation efficiency and accuracy.

Benefits of technology

It realizes efficient and accurate generation of server bill of materials, reduces manual errors, improves work efficiency, and ensures the quality of server products.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120197916A_ABST
    Figure CN120197916A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a device for generating a bill of material of a server, electronic equipment and a program product, and relates to the technical field of server production. The method comprises the following steps: extracting a characteristic name corresponding to each material module and a characteristic value corresponding to each characteristic name based on material module description input by a user; matching the characteristic name corresponding to each material module with a target public characteristic database to determine a target characteristic name corresponding to each characteristic name, and then determining a restriction relationship among the plurality of characteristic names according to the target characteristic name corresponding to each characteristic name, the characteristic value corresponding to each characteristic name and a target public restriction relationship database, and generating a bill of material of the server according to the restriction relationship among the plurality of characteristic names. Therefore, according to the method, the target public characteristic database and the target public restriction relationship library can be automatically matched according to the multiple material module descriptions input by the user, automatic generation of the restriction relationship is realized, and the generation efficiency and accuracy of the bill of materials are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of server production, and in particular, to a method for generating a bill of materials for a server, an apparatus for generating a bill of materials for a server, an electronic device, a computer-readable storage medium, and a computer program product. Background Art

[0002] A modular BOM (Bill of Materials) divides a product into modules. By restricting the materials between different modules in the modular BOM, the product requirements for diversified configurations are met. The server modular BOM with a multi-level structure has the characteristics of flexible selection and can realize the free selection of products with different configurations. The existing restrictive relationships in the modular BOM ensure that the product can be assembled with the correct materials.

[0003] In the related art, during the server production process, the generation of the modular BOM architecture is carried out manually. However, as the design of server products becomes more and more complex, this technical solution is prone to omissions and errors, reducing work efficiency. Summary of the Invention

[0004] This application provides a method, an apparatus, an electronic device, a storage medium, and a program product for generating a bill of materials for a server, so as to at least solve the problem of low work efficiency existing in the related art.

[0005] This application provides a method for generating a bill of materials for a server. The method includes: receiving multiple material module descriptions of the server input by a user, determining a characteristic name corresponding to each material module and a characteristic value corresponding to each characteristic name based on the multiple material module descriptions; matching the characteristic name corresponding to each material module with a target common characteristic database to determine a target characteristic name corresponding to each characteristic name; determining a restrictive relationship between multiple characteristic names according to the target characteristic name corresponding to each characteristic name, the characteristic value corresponding to each characteristic name, and a target common restrictive relationship library, and generating a bill of materials for the server according to the restrictive relationship between the multiple characteristic names.

[0006] The present application also provides a device for generating a bill of materials for a server. The device includes: a receiving module, configured to receive a plurality of material module descriptions of the server input by a user, and determine a characteristic name corresponding to each material module and a characteristic value corresponding to each characteristic name based on the plurality of material module descriptions; a matching module, configured to match the characteristic name corresponding to each material module with a target common characteristic database to determine a target characteristic name corresponding to each characteristic name; and a generating module, configured to determine a restriction relationship between a plurality of characteristic names according to the target characteristic name corresponding to each characteristic name, the characteristic value corresponding to each characteristic name, and a target common restriction relationship library, and generate a bill of materials for the server according to the restriction relationship between the plurality of characteristic names.

[0007] The present application also provides an electronic device, including: a memory, configured to store a computer program; and a processor, configured to implement the steps of any one of the above-mentioned methods for generating a bill of materials for a server when executing the computer program.

[0008] The present application also provides a computer-readable storage medium storing a computer program, wherein the computer program implements the steps of any one of the above-mentioned methods for generating a bill of materials for a server when executed by a processor.

[0009] The present application also provides a computer program product including a computer program, and the computer program implements the steps of any one of the above-mentioned methods for generating a bill of materials for a server when executed by a processor.

[0010] Through the present application, since the target common characteristic database and the target common restriction relationship library can be automatically matched according to the plurality of material module descriptions of the server input by the user, the automatic generation of the restriction relationship is realized, and the generation efficiency and accuracy of the restriction relationship are improved. Therefore, the technical problem of low work efficiency in the related art can be solved, and the technical effect of improving the generation efficiency and accuracy of the bill of materials can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] To more clearly illustrate the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application, and those of ordinary skill in the art can also obtain other drawings based on these drawings without creative efforts.

[0012] Figure 1 is a flowchart of a method for generating a bill of materials for a server provided by an embodiment of the present application; Figure 2 is a schematic diagram of a physical type characteristic name and a characteristic value provided by an embodiment of the present application; Figure 3A schematic diagram for generating a bill of materials for a server provided by an embodiment of the present application; Figure 4 A schematic diagram for generating a restriction relationship between multiple target feature names provided by an embodiment of the present application; Figure 5 A flowchart of a method for generating a bill of materials for a server provided by a specific embodiment of the present application; Figure 6 A connection schematic diagram of a device for generating a bill of materials for a server provided by an embodiment of the present application; Figure 7 A block schematic diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners

[0013] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0014] It should be noted that in the description of the present application, the terms "include", "comprise" or any other variant thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device including a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. The terms "first", "second", etc. in the present application are used to distinguish similar objects and not to describe a specific order or sequence.

[0015] To enable those skilled in the art of this technology to better understand the solution of the present application, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation manners.

[0016] The complete server modular BOM consists of a BOM hierarchical structure and the restriction relationships between each module. The restriction relationships include positive restriction relationships, that is, if there is A, B must be brought out, and there are also mutually exclusive restriction relationships, that is, if there is C, D must not be selected. Through the interaction of various restriction relationships, the modular BOM generates the correct production materials according to the product design rules and the customer's selected configuration.

[0017] Currently, the restriction relationships in modularization are all generated and maintained manually. As the product design becomes more and more complex, the types of restriction relationships are also becoming more and more complex. Manual generation is prone to omissions and errors. There are the same platform relationships in the restriction relationships of different modular BOMs, and the repetitive generation workload is large and the efficiency is low. Different people have different maintenance methods for the same restriction relationship, without a unified specification, and it is difficult to maintain after mass production.

[0018] To solve at least one of the above technical problems, the present application proposes a method for generating a bill of materials for a server. By determining the characteristic names corresponding to each material module of the server and the characteristic values corresponding to each characteristic name according to multiple material module descriptions input by the user, the target common characteristic database and the target common restriction relationship library are automatically matched to generate restriction relationships, improving the generation efficiency and accuracy of the restriction relationships, solving the technical problems of low work efficiency and difficult accuracy guarantee in the related art, achieving the technical effect of improving the generation efficiency and accuracy of the bill of materials, and thus ensuring the quality of the server product.

[0019] The following will describe in detail the method for generating a bill of materials for a server according to an embodiment of the present application with reference to the accompanying drawings.

[0020] Figure 1 It is a flowchart of the method for generating a bill of materials for a server according to an embodiment of the present application.

[0021] As Figure 1 shown, the method for generating a bill of materials for a server according to an embodiment of the present application includes: S1, receiving multiple material module descriptions of the server input by the user, and determining the characteristic names corresponding to each material module and the characteristic values corresponding to each characteristic name based on the multiple material module descriptions; S2, matching the characteristic names corresponding to each material module with the target common characteristic database to determine the target characteristic names corresponding to each characteristic name; S3, determining the restriction relationships between multiple characteristic names according to the target characteristic names corresponding to each characteristic name, the characteristic values corresponding to each characteristic name, and the target common restriction relationship library, and generating the bill of materials for the server according to the restriction relationships between the multiple characteristic names.

[0022] Specifically, the target common feature database is a database pre-created based on historical data. The target common feature database may include physical common features and text common features. For these two types of features, they are respectively composed of two parts: one is the common feature name, and the other is the common feature value. For the common feature name, the following rules are followed: The common feature name is divided into two categories. One is the physical common feature name, and the other is the text common feature name. The physical common feature name adopts the naming of "product line identifier_physical classification identifier_platform identifier". For example, for the common feature name S_CPU_G8 of the processor on the G8 platform of the server product line, S represents the server product line, CPU represents the processor module classification, and G8 represents the 8th generation platform. The text common feature name adopts the naming of "product line identifier_physical classification identifier_text identifier_platform identifier". For example, for the text feature name U_HDD_TYPE_G7 of the mechanical hard disk type classification on the G7 platform of the storage product line, U represents the storage product line, HDD represents the mechanical hard disk classification, and TYPE represents the type classification text description. In addition, if there is a mixed insertion situation for the material, the feature name is suffixed with a serial number after the entity material identifier for distinction. For example, if there are three types of mixed insertions for the mechanical hard disk, the corresponding three physical common feature names are S_HDD1_G8, S_HDD2_G8, and S_HDD3_G8, and the corresponding text common features are S_HDD1_TYPE_G8, S_HDD2_TYPE_G8, and S_HDD3_TYPE_G8. Among them, the field meanings in the common feature name can be referred to as shown in Table 1 and Table 2.

[0023] Table 1

[0024] Table 2

[0025] Regarding the generation method of the common feature value in the target common feature database, the physical features and text features are also different. For example, when the physical common feature name is created, all material specifications that meet the attributes are added to the corresponding entity common feature according to the product line, material classification, and platform information of the entity material itself to generate the corresponding common feature value, as Figure 2 shown; when the text common feature name is created, relevant text items can be generated into the corresponding common feature value according to the actual situation and historical data, as shown in Table 3 below.

[0026] Table 3

[0027] The target common restriction relation library is the common restriction relation between modules established in advance based on the target common feature database and historical data. The maintenance of the common restriction relation can be achieved by using the enumeration method. By enumerating all the common restriction relations in sequence, the construction of the target common restriction relation library is completed. In addition, the common restriction relations in the target common restriction relation library can adopt one or a combination of positive restriction relations and mutually exclusive restriction relations. Among them, the positive restriction relation is the white list expulsion method, that is, the material matching needs to be established positively. As shown in Table 4, when Material 1 is selected under S_CPU_G7, then S_MEM_G7 must select one from Material 1 or Material 2, and other materials are not selectable; the mutually exclusive restriction relation is the black list exclusion method. As shown in Table 5, when Material 1 is selected under S_CPU_G7, then only Material 1 and Material 2 in S_MEM_G7 are unavailable, and the rest of the materials can be used. According to this method, according to the product platform design rules, the material restriction relations between the common features of different buses and platforms are maintained, and the target common restriction relation library is formed according to the platform.

[0028] Table 4

[0029] Table 5

[0030] In addition, in the target common relation library, different common restriction relations will affect each other, realizing multi-level linkage and dynamic update of selectable materials. For example, when Hard Disk A is selected, RAID Card can select Card A or Card B, and the backplane can select Backplane D, Backplane E, or Backplane F. However, when RAID Card selects Card A, only Backplane D is available for the backplane. This multi-level linkage can be achieved in one restriction relation. For example, Table 6 contains the restriction relations between three features, or it can be achieved by the mutual restriction and influence of multiple restriction relations. Tables 7 and 8 achieve the same effect as Table 6 through two restriction relations containing two features.

[0031] Table 6

[0032] Table 7

[0033] Table 8

[0034] After the construction of the target common feature database and the target common restriction relation library is completed, the automatic batch generation of the bill of materials can be carried out based on the target common feature database and the target common restriction relation library. The generation method is as follows: In the process of generating the bill of materials (BOM) for the server, the user first selects the product line and application platform, and inputs descriptions of multiple material modules. The description of a material module may include the name of the material module, performance parameters, etc. Then, based on the feature extraction model, the feature name corresponding to each material module and the feature value corresponding to each feature name are captured from the descriptions of multiple material modules. Among them, the data formats of the feature name and the feature value match those of the target common feature database, so as to match the corresponding target feature name and target feature value based on the extracted feature name and feature value. In addition, each material module may correspond to one or more feature names. For example, as Figure 3 shown, for the CPU material module, it includes the physical feature name S_CPU_G8_A1, and the text feature names S_CPU_TYPE_G8_A1 and S_CPU_GL_G8_A1. The feature value corresponding to each feature name may also include one or more, which is specifically determined according to the description of the material module input by the user.

[0035] The target common feature database and the target common restriction relationship library can be determined according to the product line and / or application platform selected by the user. Then, the feature name corresponding to each material module is compared with the common feature names in the target common feature database to obtain the matching common feature name, which serves as the target feature name corresponding to this feature name. After obtaining the target feature name corresponding to each feature name, retrieve in the target common restriction relationship library according to the target feature name corresponding to the feature name and the feature value, obtain the common restriction relationship participated by this target feature name and the corresponding feature value, and reference this common restriction relationship to obtain the common restriction relationship corresponding to this feature name. By analogy, obtain the common restriction relationship corresponding to each feature name. It can be understood that the common restriction relationship is the relationship limitation between feature names. Thus, the restriction relationship between multiple restriction names can be determined based on the common restriction relationship corresponding to each feature name. Furthermore, based on the restriction relationship between multiple target feature names, generate the restriction relationship between multiple material modules, obtain the bill of materials for the server, and use it for the production of the server.

[0036] For example, as Figure FourAs shown in the figure, the characteristic names extracted based on the descriptions of multiple material modules include: S_CPU_G8_A1, S_CPU_GL_G8_A1, S_HS_G8_A1, S_FAN_G8_A1. By matching the target common characteristic database, the corresponding common characteristics S_CPU_G8, S_CPU_GL_G8, S_HS_G8, S_FAN_G8 are determined, and these are used as the target common characteristics. Then, the restrictive relationships in which these target common characteristics participate are searched in the target common restrictive relationship library. The common restrictive relationship 1 is the restrictive relationship between S_CPU_G8 and S_CPU_GL_G8, the common restrictive relationship 2 is the characteristic restrictive relationship among S_CPU_GL_G8, S_HS_G8, and S_FAN_G8, and the common restrictive relationship 3 is the restrictive relationship between S_FAN_G8 and S_NIC_G8. Then, when generating the restrictive relationship, the common restrictive relationship 1 and the common restrictive relationship 2 will be referenced. Although the common restrictive relationship 3 includes the common characteristic S_FAN_G8, the common characteristic S_FAN_G8 participating in the restrictive relationship does not have a corresponding characteristic name in this server, that is, this characteristic is not used in the server product this time, so the common restrictive relationship 3 will not be referenced. After referencing the common restrictive relationship 1 and 2, the common restrictive relationship 1 and 2 are trimmed based on the extracted characteristic values, and only the characteristic value parameters corresponding to this server are saved. Finally, multiple restrictive relationships corresponding to the server are generated to generate a bill of materials.

[0037] Based on the material module description, the target common characteristic database, and the target common restrictive relationship library, this embodiment can automatically and batch generate the restrictive relationships between material modules, obtain the bill of materials of the server, improve the generation efficiency and accuracy of the restrictive relationships, solve the technical problems of low work efficiency and difficult to guarantee accuracy in the related art, and ensure the product quality of the server.

[0038] In some embodiments of the present application, determining the characteristic name corresponding to each material module and the characteristic value corresponding to each characteristic name based on the descriptions of multiple material modules includes: determining the physical class characteristic name corresponding to each material module and the characteristic value corresponding to each physical class characteristic name according to the descriptions of multiple material modules; receiving the text characteristic selection instruction input by the user, and determining the text class characteristic name corresponding to the corresponding material module and the characteristic value corresponding to each text class characteristic name based on the text characteristic selection instruction according to the descriptions of multiple material modules.

[0039] Specifically, the user first selects a product line and an application platform, fills in multiple physical module descriptions, extracts corresponding physical classifications from the received multiple physical module descriptions, generates physical class feature names, and additionally, when generating physical class feature names, their feature values are synchronously added under the corresponding feature names. For physical class feature names, their feature values are the material specifications under the corresponding modules. Additionally, the naming rules for physical class feature names and feature values correspond to the naming rules in the target common database to ensure the smooth progress of subsequent entity class feature matching work. Taking Figure 2 the generation rule of the physical class common features shown as an example, during the generation process of the bill of materials, the generation rule for physical class feature names is "product line identifier_physical classification identifier_platform identifier_product code_sequence number", as Figure 3 shown, for the modular BOM of Model A, the feature name corresponding to its CPU is S_CPU_G8_A1. If there are multiple modular BOMs for Product A, the other ones will be sorted according to the generation order, generating feature names such as S_CPU_G8_A2, S_CPU_G8_A3,....

[0040] For text class features, they need to be extracted according to the text feature selection instructions input by the user, and corresponding text class feature names and corresponding feature values are generated. Specifically, the text feature selection instructions can be identified through the user's click on the interactive interface, or based on the text description synchronously input by the user to identify the required text feature selection instructions, without specific restrictions. As Figure 3 shown, the user selects "CPU classification" and "hard disk classification" through the interactive interface. Then, based on the text class feature selection instructions generated by the user's click, the text class feature extraction of CPU classification is performed from the CPU module description, and the text class feature extraction of hard disk classification is performed from the hard disk module description, outputting the corresponding text class feature names and feature values. Among them, the naming rules for text class feature names and feature values correspond to the naming rules in the target common database to ensure the smooth progress of subsequent text class feature matching work. Then, in the above embodiment, the generation rule for text class feature names in the target common database is "product line identifier_physical classification identifier_text identifier_platform identifier", and during the generation process of the bill of materials on the server, the generation rule for text class feature names is "product line identifier_physical classification identifier_text identifier_platform identifier_product code_sequence number". For example, for the modular BOM of Model A, the text feature name for CPU classification is S_CPU_FL_G8_A1. If there are multiple modular BOMs for Product A, the other ones will be sorted according to the generation order, generating feature names such as S_CPU_FL_G8_A2, S_CPU_FL_G8_A3,.... Additionally, the feature values corresponding to text class feature names remain the same as the feature values under the corresponding common text features.

[0041] The physical characteristics in this embodiment are obtained by extracting each material module description, and the text characteristics are extracted and output based on the selection instructions given by the user, thus meeting the requirements of different scenarios, reducing the extraction workload, and improving work efficiency.

[0042] In some embodiments of the present application, determining the characteristic name corresponding to each material module and the characteristic value corresponding to each characteristic name based on multiple material module descriptions further includes: when it is determined according to the material module description that the material module has a mixed insertion requirement, generating multiple physical characteristic names corresponding to the material module and the characteristic value corresponding to each physical characteristic name according to the material module description and the mixed insertion requirement; when receiving the text characteristic selection instruction corresponding to the material module description input by the user, performing a mixed insertion check on the physical characteristic names corresponding to the material module, and generating multiple text characteristic names corresponding to the material module and the characteristic value corresponding to each text characteristic name according to the material module description and the mixed insertion requirement.

[0043] Specifically, the material module having a mixed insertion requirement refers to a technology in which material modules with different capacities, speeds, brands, and even different specifications are used in combination in a server at the same time.

[0044] In the process of determining the characteristic name and the characteristic value based on the material module description, the corresponding physical classification and whether there is a mixed insertion requirement are extracted from the material module description to generate physical characteristics. For example, for model A, its corresponding modular BOM code is 12345, the user selects the product line as the service product line, the platform is the G8 platform, and in the modular BOM structure, there are three types of mixed insertions for the hard disk. When generating physical characteristics, the material module descriptions in the modular BOM are captured to generate physical characteristics applicable to the modular BOM with the code 12345: S_CPU_G8_A1, S_MEM_G8_A2, S_HDD1_G8_A2, S_HDD2_G8_A2, S_HDD3_G8_A2,.... Among them, S_HDD1_G8_A2, S_HDD2_G8_A2, and S_HDD3_G8_A2 represent the physical characteristic names of the hard disks with three types of mixed insertions.

[0045] For text - type features, first, select an instruction according to the text features input by the user to determine the type of text - type features to be generated. For example, if the text feature types selected by the user include CPU classification, CPU power, and hard - disk classification, that is, there are three types of hard - disk classifications with mixed - insertion requirements. Then, during the generation of the text - type features for hard - disk classification, verify whether the corresponding entity materials have mixed - insertion types, and generate the text - type features of this modular BOM. The finally generated text - type feature names include: S_CPU_TYPE_G8_A1, S_CPU_GL_G8_A1, S_HDD1_TYPE_G8_A1, S_HDD2_TYPE_G8_A1, S_HDD3_TYPE _G8_A1. Among them, S_HDD1_TYPE_G8_A1, S_HDD2_TYPE_G8_A1, and S_HDD3_TYPE _G8_A1 represent the text - type feature names of the hard - disk classification with three types of mixed - insertions.

[0046] This embodiment automatically extracts and generates the corresponding physical - type feature names and feature values according to the material module description and mixed - insertion requirements. When receiving the text - feature selection instruction input by the user, which includes a material module with mixed - insertions, first perform a mixed - insertion verification on the physical - type feature names corresponding to the material module, and then generate the text - type feature names and feature values in combination with the mixed - insertion requirements, improving the accuracy of feature extraction and being applicable to different application scenarios.

[0047] In some embodiments of the present application, match the feature name corresponding to each material module with the target common - feature database to determine the target feature name corresponding to each feature name, including: when it is determined that the feature name fails to match successfully, adjust the target common - feature database and the target common - restriction relationship database based on the feature name and the feature value corresponding to the feature name, and determine the target feature name corresponding to the feature name based on the adjusted target common - feature database, and determine the restriction relationship between multiple feature names based on the adjusted target common - restriction relationship database.

[0048] Specifically, after extracting the feature name corresponding to each material module and the feature value corresponding to each feature name, first retrieve the feature name and find the common feature name corresponding to the feature name in the target common - feature database to determine the target feature name. For Figure 4 example, in the step of retrieving the modular BOM features, generate the physical - type feature name S_CPU_G8_A1 and the corresponding feature values 1, 2, and 3 according to the CPU module description. According to the feature name S_CPU_G8_A1, find the matching common feature name in the target common - feature database as S_CPU_G8, and use this as the target physical - type feature name corresponding to the CPU module.

[0049] If the common feature name corresponding to the feature name is not retrieved in the target common feature database, it is considered that the feature name matching fails, and it is considered that the target common feature database and the target common restriction relationship database do not include the feature name and the feature value corresponding to the feature name. It is necessary to supplement and update the target common feature database and the target common restriction relationship database. First, add the feature name and the feature value corresponding to the feature name to the target common feature database, and then supplement the common restriction relationship corresponding to the feature name according to the feature name and the feature value corresponding to the feature name, and add it to the target common restriction relationship database.

[0050] After the adjustment of the target common feature database and the target common restriction relationship database is completed, perform a matching operation on the feature name and the target common feature database to obtain the target feature name corresponding to the feature name, and then use the adjusted target common restriction relationship database to determine the restriction relationship between multiple feature names.

[0051] Furthermore, in the process of adjusting the target common feature database and the target common restriction relationship database, after all the feature names of the server are matched, all the feature names with mismatching situations can be obtained, and then the target common feature database is adjusted, and then the target common feature database is adjusted based on the adjusted target common feature database.

[0052] In this embodiment, when it is determined that the feature name does not match the target common feature database, the target common feature database and the target common feature database are newly adjusted based on the feature name and the feature value corresponding to the feature name, and then the adjusted target common feature database and the adjusted target common feature database are used to generate the restriction relationship, ensuring the generation accuracy and adaptability of the bill of materials.

[0053] In an embodiment of the present application, in the process of matching the feature name corresponding to each material module with the target common feature database, it further includes: matching the feature value corresponding to each feature name with the target common feature database, and when it is determined that the feature values corresponding to each feature name all match successfully, execute the step of determining the restriction relationship between multiple feature names according to the target feature name corresponding to each feature name, the feature value corresponding to each feature name, and the target common restriction relationship database.

[0054] That is to say, after obtaining the characteristic names corresponding to each material module and the characteristic values corresponding to each characteristic name, first retrieve the characteristic names and search for the common characteristic names corresponding to the characteristic names in the target common characteristic database to determine the target characteristic names. Then, under the corresponding target characteristic names, search for the common characteristic values corresponding to the characteristic values under the characteristic names. For example, continuing with the target characteristic name being S_CPU_G8, in the target common characteristic database, the common characteristic name S_CPU_G8 includes characteristic 1, characteristic 2, characteristic 3, characteristic 4, characteristic 5, and characteristic 6. Compare the characteristic values 1, 2, and 3 corresponding to the characteristic name S_CPU_G8_A1 with them, and determine that the corresponding common characteristic values are characteristic 1, characteristic 2, and characteristic 3. That is, the target characteristic name corresponding to the CPU material module is S_CPU_G8, and the corresponding common characteristic values include characteristic 1, characteristic 2, and characteristic 3. The characteristic name and its characteristic values are all successfully matched. And so on, complete the matching confirmation of the target characteristic name corresponding to each characteristic name and the corresponding common characteristic value.

[0055] When the characteristic names and the corresponding characteristic values are all successfully matched, it is considered that the characteristic names of the server product and the characteristic values corresponding to each characteristic name participate in the corresponding common restriction relationships in the target common restriction relationship database, and perform the step of determining the restriction relationships between multiple characteristic names according to the target characteristic names corresponding to each characteristic name, the characteristic values corresponding to each characteristic name, and the target common restriction relationship database. If there is a case where the characteristic name and the corresponding characteristic value fail to match, adjust the target common characteristic database and the target common restriction relationship database according to the matching result, and then perform the above operations again based on the adjusted target common characteristic database and the target common restriction relationship database.

[0056] This embodiment matches the characteristic names and the characteristic values corresponding to each characteristic name with the target common characteristic database for judgment, which can improve the matching degree with the common restriction relationship. At the same time, when it is found that one or more of the characteristic names and characteristic values do not match the target common characteristic database, the target common characteristic database and the target common restriction relationship database can be adjusted in time, which speeds up the generation speed and quality of the bill of materials.

[0057] In some embodiments of the present application, determining the restriction relationships between multiple characteristic names according to the target characteristic names corresponding to each characteristic name, the characteristic values corresponding to each characteristic name, and the target common restriction relationship database includes: querying the common restriction relationships participated by each target characteristic name in the target common restriction relationship database to determine the set of common restriction relationships corresponding to multiple characteristic names; matching the characteristic values corresponding to each characteristic name with the common restriction relationships in the corresponding set of common restriction relationships to determine the restriction relationships between multiple characteristic names.

[0058] Specifically, in combination with Figure 4 As shown, after determining the target feature names corresponding to each feature name, search for the common restriction relationships in which each target feature name participates in the target common restriction relationship library. For example, the feature names corresponding to this server include S_CPU_G8_A1, S_CPU_GL_G8_A1, S_HS_G8_A1, S_FAN_G8_A1, and the corresponding target feature names obtained by matching are S_CPU_G8, S_CPU_GL_G8, S_HS_G8, and S_FAN_G8 in sequence. Then, search for the restriction relationships in which these common feature names participate in the common restriction relationship library. The common restriction relationship 1 is the restriction relationship between S_CPU_G8 and S_CPU_GL_G8, the common restriction relationship 2 is the restriction relationship among S_CPU_GL_G8, S_HS_G8, and S_FAN_G8, and the common restriction relationship 3 is the restriction relationship between S_FAN_G8 and S_NIC_G8. Since the target feature name does not include S_FAN_G8, it is determined that the set of common restriction relationships corresponding to the multiple restriction relationships is the common restriction relationship 1 and the common restriction relationship 2.

[0059] Then, match the feature values corresponding to each feature name with the common restriction relationships in the corresponding set of common restriction relationships, and retain the common restriction relationships in which the corresponding feature values participate, so as to determine the restriction relationships among multiple feature names. For example, for the common restriction relationship 2, since S_HS_G8_A1 only includes the feature values 1 and 2, and S_FAN_G8_A1 includes the feature values 1 and 2, the feature values 3 and 4 of S_HS_G8_A1 in the common restriction relationship 2 are deleted, and the feature values 3 and 4 of S_FAN_G8_A1 in the common restriction relationship 2 are deleted, and the final common restriction relationship 2 is obtained as the restriction relationship among S_FAN_GL_G8_A1, S_HS_G8_A1, and S_FAN_G8_A1 for generating the bill of materials.

[0060] This embodiment performs matching operations on the common restriction relationships in sequence based on the target feature names and feature values to ensure that all feature values are included in the common restriction relationships, avoid missing restrictions on materials, causing incorrect selection, and ensure the generation quality of the bill of materials.

[0061] In some embodiments of the present application, match the feature values corresponding to each feature name with the common restriction relationships in the corresponding set of common restriction relationships to obtain the target restriction relationship corresponding to each feature name, including: in the case where it is determined that the feature value matching fails, adjust the target common restriction relationship library according to the feature value, and determine the restriction relationships among multiple feature names based on the adjusted target common restriction relationship library.

[0062] Specifically, takeFigure 4 For example, during the characteristic value matching process, if it is determined that the characteristic value 8 does not exist in the common restriction relationship 1 corresponding to S_CPU_G8_A1, it is considered that the matching of the characteristic value 8 of S_CPU_G8_A1 fails, and an error reminder is given. After adding the characteristic value 8 of S_CPU_G8_A1 to the target common characteristic database and the target common restriction relationship database, an adapted restriction relationship is regenerated.

[0063] In addition, during the above-mentioned characteristic value matching process, the characteristic values corresponding to each characteristic name can also be matched and judged with the target common characteristic database. Specifically, after matching the target characteristic name corresponding to the characteristic name in the target common characteristic database, the characteristic value corresponding to the characteristic name is compared with the common characteristic value corresponding to the target characteristic name. If the characteristic values corresponding to the characteristic name all exist in the common characteristic values corresponding to the corresponding target characteristic name, it is considered that the characteristic value matching is successful; otherwise, it is considered that the characteristic value matching fails. If the target common characteristic database and the target common restriction relationship database do not contain the characteristic value, the target common characteristic database and the target common restriction relationship database need to be supplemented and adjusted.

[0064] When it is determined that the characteristic value matching fails in this embodiment, based on the matching result, the characteristic value is added to the target common characteristic database, and the common restriction relationship is adjusted in the target common restriction relationship database. Then, the restriction relationship is generated based on the updated target common restriction relationship database to avoid omission of material restrictions, resulting in incorrect selection, and to ensure the quality of the generated bill of materials.

[0065] In addition, after the bill of materials of the server is generated, the adaptability of the bill of materials to the product design of the server is evaluated. When it is determined that the restriction relationship in the generated bill of materials of the server does not match the product design of the server, the restriction relationship in the generated bill of materials of the server is adjusted to achieve a restriction relationship that is fully adapted to the product design, and the adjustment record of the bill of materials is recorded, which may include the modifier and the corresponding modified content, so as to facilitate identifying whether the restriction relationship has been changed based on the modification record to avoid abnormal changes in the subsequent restriction relationship. For example, when the restriction relationship is generated by the system and has not been modified, the modifier will be recorded as Admin; if the restriction relationship has been modified later, the modifier will be recorded as the actual modifier.

[0066] Further, in another embodiment of the present application, to support customer-level differentiation rules, an exclusive customer common restriction relationship library is also set up. Among them, the common restriction relationships in the target common restriction relationship library refer to the restriction relationships that all customers default to apply, and the common restriction relationships in the exclusive customer common restriction relationship library refer to the restriction relationships that are only effective for a specific customer. During the generation process of the restriction relationships, the matching generation of the restriction relationships is sequentially executed in the order of the target common restriction relationship library → exclusive customer common restriction relationship library, and the matching results are merged. For example, in the target common restriction relationship library, CPU1 of the G7 platform is restricted to only use MEM1 and MEM2, and according to the exclusive customer common restriction relationship library of Customer A, CPU1 of the G7 platform is only restricted to select and match high-performance MEM2. Then, for Customer A, when selecting CPU1, only MEM2 is available, so as to generate the final restriction relationship to adapt to different customer needs and application scenarios.

[0067] In some embodiments of the present application, after generating the bill of materials of the server according to the restriction relationships between multiple characteristic names, it further includes: in response to a common restriction relationship addition instruction, retrieving the historical bill of materials and determining the target historical bill of materials that matches the application scenario of the newly added common restriction relationship; when it is determined that the characteristic names in the newly added common restriction relationship exist in the target historical bill of materials and a restriction relationship addition permission instruction is received, adding the restriction relationship to the target historical bill of materials based on the newly added common restriction relationship.

[0068] Specifically, as shown in Figure 5 , after a new common restriction relationship is introduced, according to the product line and platform to which the common characteristic names participating in the new common restriction relationship belong, the historical bill of materials that meets the product line and platform is searched as the target historical bill of materials. Then, it is retrieved whether there are characteristics (specifically, characteristic names and characteristic values) corresponding to the new common restriction relationship in these target historical bill of materials. If so, a new restriction relationship addition process will be generated for these target historical bill of materials and the process will be transferred to the person in charge of the corresponding target historical bill of materials to confirm whether to add. If the person in charge agrees to add, the restriction relationship of the new target historical bill of materials will be generated according to the method of generating the restriction relationship of the bill of materials mentioned above; if the person in charge does not agree to add, the process ends and the addition action will no longer be executed.

[0069] For example, when a restrictive relationship between a newly introduced power supply (G_PS_G7) and a graphics card (G_GPU_G7) is added to the high-performance product line G7 platform, all the bill of materials (BOM) corresponding to the high-performance product line G7 platform will be searched first. At this time, the target historical BOM codes found are 111, 222, 333, 444, and 555. By retrieving the characteristics, only the BOMs of historical BOMs 111, 333, and 555 have the characteristics of both the power supply and the graphics card. Then, a process for adding the restrictive relationship will be initiated for these three historical BOMs and the process will be transferred to the corresponding responsible persons A, B, and C. Responsible person A confirms adding a new restrictive relationship to historical BOM 111, responsible person B confirms adding a new restrictive relationship to historical BOM 333, and responsible person C confirms not adding a new restrictive relationship to historical BOM 555. Based on the accepted confirmation instructions, new restrictive relationships will be generated and added to historical BOMs 111 and 333, while historical BOM 555 will not be processed.

[0070] When receiving the instruction to add a new common restrictive relationship, this embodiment can achieve batch changes to the restrictive relationships in the historical BOM, improving the generation efficiency.

[0071] In some embodiments of the present application, after generating the BOM of the server according to the restrictive relationship between multiple characteristic names, it further includes: in response to the instruction to change the common restrictive relationship, determining the target historical BOM that references the changed common restrictive relationship; obtaining the terminal identity information of the terminal that sends the instruction to change the common restrictive relationship, and when determining that the terminal identity information is a preset authorized terminal, adjusting the restrictive relationship of the target historical BOM based on the changed common restrictive relationship.

[0072] Specifically, after the BOM of the server is generated, for the change of the common restrictive relationship, it not only includes the introduction of the above new common restrictive relationship but also includes the change of the original common restrictive relationship. When it is determined that the original common restrictive relationship has changed, all the BOMs generated by referencing this common restrictive relationship are retrieved in reverse, and then the modifier of the restrictive relationship and the terminal identity information of the terminal that sends the instruction to change the common restrictive relationship are obtained. When the modifier is Admin, that is, the preset authorized terminal, a new restrictive relationship is generated according to the changed common restrictive relationship and the original BOM is upgraded and replaced. When the modifier is a non-preset authorized terminal, the modification instruction can be ignored.

[0073] After receiving the instruction to change the common restrictive relationship, this embodiment automatically performs a reverse search of the historical BOM and adjusts the restrictive relationship of the BOM based on the terminal identity, which can achieve batch changes to the restrictive relationships of the BOM.

[0074] In some embodiments of the present application, the method for generating a bill of materials of the server further includes: when determining that the terminal identity information is a non-preset authorized terminal, generating a restriction relationship change notice and sending it to the target authorized terminal; when receiving a restriction relationship modification permission instruction fed back by the target authorized terminal, adjusting the restriction relationship of the target historical bill of materials based on the changed common restriction relationship.

[0075] Specifically, continuing to take Admin as the preset authorized terminal as an example, when determining that the modifier is not Admin, generating a restriction relationship modification task and transferring it to the corresponding target authorized terminal, and upgrading the version after the target authorized terminal confirms the modification to complete the restriction relationship change. Among them, the target authorized terminal can be the preset authorized terminal.

[0076] In this embodiment, when the modifier is not the preset authorized terminal, the task is confirmed by the target authorized terminal, and the restriction relationship is adjusted based on the restriction relationship modification permission instruction of the target authorized terminal, which improves the adjustment security of the bill of materials.

[0077] In some embodiments of the present application, after generating the bill of materials of the server according to the restriction relationship between multiple target characteristic names, the method for generating the bill of materials of the server further includes: when there is a material change in the bill of materials of the server, retrieving the target common characteristic database and the target common restriction relationship database, and updating the bill of materials of the server based on the changed material, the target common characteristic database, and the target common restriction relationship database.

[0078] That is to say, in addition to the change caused by the change of the common restriction relationship as described above, the change of the bill of materials may also be caused by the change of the materials in the bill of materials of the server itself.

[0079] Combined with Figure 5 As shown, when the materials in the bill of materials change, first determine the characteristic name corresponding to the material, and modify the characteristic value under this characteristic, then refer to the common restriction relationship corresponding to the characteristic name, generate a restriction relationship according to the latest characteristic value, and replace and upgrade the old restriction relationship. When a new characteristic value is added, determine whether the newly added characteristic value exists in the target common characteristic database and the target common restriction relationship database. If it exists, generate a new restriction relationship according to the above steps. If it does not exist, the restriction relationship will be updated in combination with the target common characteristic database and the target common restriction relationship database to update the bill of materials.

[0080] In this embodiment, when the materials in the bill of materials itself change, the restriction relationship change process can be automatically triggered, which improves the accuracy and generation efficiency of the bill of materials.

[0081] In some embodiments of the present application, when there is a material change in the bill of materials of the server, it further includes: obtaining the characteristic names corresponding to the changed materials and the characteristic values corresponding to each characteristic name; when it is determined that the changed materials do not have characteristic values, updating the bill of materials of the server according to the changed materials; when it is determined that the changed materials have characteristic values, updating the restriction relationships in the bill of materials according to the changed materials, the target common characteristic database, and the target common restriction relationship database, so as to update the bill of materials of the server.

[0082] Specifically, as shown in Figure 5 , when it is determined that there is a material change in the bill of materials of the server, first perform feature extraction on the changed materials to obtain the corresponding characteristic names and the characteristic values corresponding to each characteristic name. When it is determined that the materials with changes do not have corresponding characteristics, it is considered that there is no restriction relationship with other characteristic names. For example, for the chassis, there is no need to trigger the restriction relationship change process, and directly update the corresponding content of the bill of materials. If there are corresponding characteristics, first modify the characteristic values under the characteristic name. The process of modifying the characteristic values may include modifying the characteristic values under the original characteristic name and modifying the characteristic values under the newly added characteristic name. Then determine whether new characteristic values are involved. For example, when there is no deletion of characteristic values, it is considered that no new characteristic values are involved, and generate new restriction relationships based on the target common characteristic database and the target common restriction relationship database according to the above steps. If new characteristic values are involved, further determine whether the new characteristic values exist in the common characteristics and common restriction relationships. If they exist, generate new restriction relationships based on the target common characteristic database and the target common restriction relationship database according to the above steps; if they do not exist, trigger the maintenance process of the common characteristics and common restriction relationships, add the new characteristic values to the common characteristics and common restriction relationships, and then update the restriction relationships based on the target common characteristic database and the target common restriction relationship database after the addition.

[0083] When performing the restriction relationship update in this embodiment, judge the characteristics of the updated materials. When the updated materials do not have characteristics, there is no need to trigger the restriction relationship change process, so as to improve the efficiency of generating the bill of materials.

[0084] This embodiment provides a method for automatically generating and maintaining the bill of materials of a server, realizing the online automatic generation and maintenance of the restriction relationships of the modular BOM, and improving the efficiency and accuracy of generating and maintaining the restriction relationships.

[0085] In summary, according to the method for generating a bill of materials of a server according to an embodiment of the present application, first, a plurality of material module descriptions of the server input by a user are received, and the characteristic name corresponding to each material module and the characteristic value corresponding to each characteristic name are determined based on the plurality of material module descriptions. Then, the characteristic name corresponding to each material module is matched with a target common characteristic database to determine the target characteristic name corresponding to each characteristic name, and the restriction relationship between a plurality of characteristic names is determined according to the target characteristic name corresponding to each characteristic name, the characteristic value corresponding to each characteristic name, and the target common restriction relationship library. Thus, a bill of materials of the server is generated according to the restriction relationship between the plurality of characteristic names. Therefore, this method can automatically match the target common characteristic database and the target common restriction relationship library according to a plurality of material module descriptions of the server input by the user, realize the automatic generation of the restriction relationship, improve the generation efficiency and accuracy of the restriction relationship, and further improve the generation quality of the bill of materials of the server, and ensure the production progress of the server.

[0086] Corresponding to the above embodiment, the present application also proposes a device for generating a bill of materials of a server.

[0087] As Figure 6 shown, the device for generating a bill of materials of a server according to an embodiment of the present application includes: a receiving module 10, a matching module 20, and a generating module 30.

[0088] Among them, the receiving module 10 is configured to receive a plurality of material module descriptions of the server input by a user, and determine the characteristic name corresponding to each material module and the characteristic value corresponding to each characteristic name based on the plurality of material module descriptions. The generating module 30 is configured to determine the restriction relationship between a plurality of characteristic names according to the target characteristic name corresponding to each characteristic name, the characteristic value corresponding to each characteristic name, and the target common restriction relationship library, and generate a bill of materials of the server according to the restriction relationship between the plurality of characteristic names.

[0089] According to an embodiment of the present application, the matching module 20 matches the characteristic name corresponding to each material module with a target common characteristic database to determine the target characteristic name corresponding to each characteristic name, and specifically is configured to: When it is determined that the characteristic name fails to be matched successfully, the target common characteristic database and the target common restriction relationship library are adjusted based on the characteristic name and the characteristic value corresponding to the characteristic name, and the target characteristic name corresponding to the characteristic name is determined based on the adjusted target common characteristic database, and the restriction relationship between a plurality of characteristic names is determined based on the adjusted target common restriction relationship library.

[0090] According to an embodiment of the present application, the generation module 30 determines the restriction relationships between multiple characteristic names based on the target characteristic names corresponding to each characteristic name, the characteristic values corresponding to each characteristic name, and the target common restriction relationship library. Specifically, it is used to: query the common restriction relationships participated by each target characteristic name in the target common restriction relationship library to determine the set of common restriction relationships corresponding to the multiple characteristic names; match the characteristic values corresponding to each characteristic name with the common restriction relationships in the corresponding set of common restriction relationships to determine the restriction relationships between the multiple characteristic names.

[0091] According to an embodiment of the present application, after the generation module 30 generates the bill of materials of the server based on the restriction relationships between multiple characteristic names, it is further used to: in response to a common restriction relationship addition instruction, retrieve the historical bill of materials and determine the target historical bill of materials that matches the application scenario of the newly added common restriction relationship; when it is determined that there are characteristic names in the newly added common restriction relationship in the target historical bill of materials and a restriction relationship permission addition instruction is received, perform a restriction relationship addition to the target historical bill of materials based on the newly added common restriction relationship.

[0092] According to an embodiment of the present application, after the generation module 30 generates the bill of materials of the server based on the restriction relationships between multiple characteristic names, it is further used to: in response to a common restriction relationship change instruction, determine the target historical bill of materials that references the changed common restriction relationship; obtain the terminal identity information of the terminal that sends the common restriction relationship change instruction, and when it is determined that the terminal identity information is a preset authorized terminal, perform a restriction relationship adjustment to the target historical bill of materials based on the changed common restriction relationship.

[0093] According to an embodiment of the present application, the generation module 30 is further used to: when it is determined that the terminal identity information is a non-preset authorized terminal, generate a restriction relationship change notice and send it to the target authorized terminal; when a restriction relationship permission modification instruction feedback from the target authorized terminal is received, perform a restriction relationship adjustment to the target historical bill of materials based on the changed common restriction relationship.

[0094] According to an embodiment of the present application, after the generation module 30 generates the bill of materials of the server based on the restriction relationships between multiple characteristic names, it is further used to: when there is a material change in the bill of materials of the server, retrieve the target common characteristic database and the target common restriction relationship library, and update the bill of materials of the server based on the changed material, the target common characteristic database, and the target common restriction relationship library; when it is determined that the changed material has a characteristic value, update the restriction relationships in the bill of materials according to the changed material, the target common characteristic database, and the target common restriction relationship library to update the bill of materials of the server.

[0095] According to an embodiment of the present application, when a material change occurs in the bill of materials of the server, the generation module 30 is further configured to: obtain the characteristic names corresponding to the changed materials and the characteristic values corresponding to each characteristic name; when it is determined that the changed materials do not have characteristic values, update the bill of materials of the server according to the changed materials.

[0096] According to an embodiment of the present application, the receiving module 10 determines the characteristic names corresponding to each material module and the characteristic values corresponding to each characteristic name based on multiple material module descriptions. Specifically, the receiving module 10 is configured to: determine the physical class characteristic names corresponding to each material module and the characteristic values corresponding to each physical class characteristic name according to the multiple material module descriptions; receive a text characteristic selection instruction input by a user, and determine the text class characteristic names corresponding to the corresponding material module and the characteristic values corresponding to each text class characteristic name based on the text characteristic selection instruction according to the multiple material module descriptions.

[0097] According to an embodiment of the present application, the receiving module 10 determines the characteristic names corresponding to each material module and the characteristic values corresponding to each characteristic name based on multiple material module descriptions, and is further configured to: when it is determined that there is an intermixing requirement for a material module according to the material module description, generate multiple physical class characteristic names corresponding to the material module and the characteristic values corresponding to each physical class characteristic name according to the material module description and the intermixing requirement; when receiving a text characteristic selection instruction corresponding to the material module description input by a user, perform an intermixing check on the physical class characteristic names corresponding to the material module, and generate multiple text class characteristic names corresponding to the material module and the characteristic values corresponding to each text class characteristic name according to the material module description and the intermixing requirement.

[0098] It should be noted that for the details not disclosed in the bill of materials generation device of the server in the embodiments of the present application, please refer to the details disclosed in the bill of materials generation method of the server in the above embodiments of the present application, and will not be elaborated here specifically.

[0099] In summary, the BOM generation device for a server according to an embodiment of the present application receives, through a receiving module, multiple material module descriptions of the server input by a user, determines, based on the multiple material module descriptions, the characteristic names corresponding to each material module and the characteristic values corresponding to each characteristic name, matches, through a matching module, the characteristic names corresponding to each material module with a target common characteristic database to determine the target characteristic names corresponding to each characteristic name, and a generation module determines the restriction relationships between multiple characteristic names according to the target characteristic names corresponding to each characteristic name, the characteristic values corresponding to each characteristic name, and a target common restriction relationship library, and generates a BOM of the server according to the restriction relationships between the multiple characteristic names. Thus, the device can automatically match the target common characteristic database and the target common restriction relationship library according to the multiple material module descriptions of the server input by the user, realize the automatic generation of restriction relationships, improve the generation efficiency and accuracy of the restriction relationships, and further improve the generation quality of the BOM of the server, ensuring the production progress of the server.

[0100] Corresponding to the above embodiment, the present application also proposes an electronic device.

[0101] As Figure 7 shown, the electronic device 100 according to an embodiment of the present application includes: a memory 110 for storing a computer program; and a processor 120 for implementing the steps of the above-mentioned BOM generation method for a server when executing the computer program.

[0102] In the electronic device according to an embodiment of the present application, when the processor executes the computer program in the memory, the steps of the above-mentioned BOM generation method for a server are implemented. Based on the above-mentioned BOM generation method for a server, the generation efficiency and accuracy of the restriction relationships are improved, and further the generation quality of the BOM of the server is improved, ensuring the production progress of the server.

[0103] Corresponding to the above embodiment, the present application also proposes a computer-readable storage medium.

[0104] In the computer-readable storage medium according to an embodiment of the present application, a computer program is stored therein, wherein the computer program, when executed by a processor, implements the steps of the above-mentioned BOM generation method for a server.

[0105] In the computer-readable storage medium according to an embodiment of the present application, when the computer program stored thereon is executed by a processor, the steps of the above-mentioned BOM generation method for a server are implemented. Based on the above-mentioned BOM generation method for a server, the generation efficiency and accuracy of the restriction relationships are improved, and further the generation quality of the BOM of the server is improved, ensuring the production progress of the server.

[0106] Corresponding to the above embodiment, the present application also proposes a computer program product.

[0107] The computer program product of the embodiment of the present application includes a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned method for generating a bill of materials of the server are implemented.

[0108] According to the computer program product of the embodiment of the present application, when the computer program in the product is executed by a processor, the steps of the above-mentioned method for generating a bill of materials of the server are implemented. Based on the above-mentioned method for generating a bill of materials of the server, the generation efficiency and accuracy of the restriction relationship are improved, and further, the generation quality of the bill of materials of the server is improved, and the production progress of the server is ensured.

[0109] Those skilled in the art can further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0110] The above has introduced in detail a method, device, electronic device, and program product for generating a bill of materials of a server provided by the present application. Specific examples are used in this article to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application. It should be noted that for those of ordinary skill in the art in the technical field, without departing from the principle of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the protection scope of the claims of the present application.

Claims

1. A method for generating a bill of materials of a server, characterized in that The method includes: Receiving multiple material module descriptions of a server input by a user, and determining a characteristic name corresponding to each material module and a characteristic value corresponding to each characteristic name based on the multiple material module descriptions; Matching the characteristic name corresponding to each material module with a target common characteristic database to determine a target characteristic name corresponding to each characteristic name; Determining a restriction relationship between multiple characteristic names according to the target characteristic name corresponding to each characteristic name, the characteristic value corresponding to each characteristic name, and a target common restriction relationship library, and generating a bill of materials of the server according to the restriction relationship between the multiple characteristic names.

2. The method for generating a bill of materials of a server according to claim 1, wherein The matching the characteristic name corresponding to each material module with a target common characteristic database to determine a target characteristic name corresponding to each characteristic name includes: When it is determined that the characteristic name fails to match successfully, adjusting the target common characteristic database and the target common restriction relationship library based on the characteristic name and the characteristic value corresponding to the characteristic name, determining the target characteristic name corresponding to the characteristic name based on the adjusted target common characteristic database, and determining the restriction relationship between multiple characteristic names based on the adjusted target common restriction relationship library.

3. The method for generating a bill of materials of a server according to claim 1, wherein The determining a restriction relationship between multiple characteristic names according to the target characteristic name corresponding to each characteristic name, the characteristic value corresponding to each characteristic name, and a target common restriction relationship library includes: Querying the common restriction relationships participated by each target characteristic name in the target common restriction relationship library to determine a set of common restriction relationships corresponding to multiple characteristic names; Matching the characteristic value corresponding to each characteristic name with the common restriction relationships in the corresponding set of common restriction relationships to determine the restriction relationship between multiple characteristic names.

4. The method for generating a bill of materials of a server according to claim 3, wherein The matching the characteristic value corresponding to each characteristic name with the common restriction relationships in the corresponding set of common restriction relationships to obtain a target restriction relationship corresponding to each characteristic name includes: When it is determined that the characteristic value fails to match, adjusting the target common restriction relationship library according to the characteristic value, and determining the restriction relationship between multiple characteristic names based on the adjusted target common restriction relationship library.

5. The method for generating a bill of materials of a server according to claim 1, wherein After generating the bill of materials of the server according to the restriction relationship between the multiple characteristic names, it further includes: In response to a common restriction relationship addition instruction, retrieving a historical bill of materials, and determining a target historical bill of materials matching the application scenario of the added common restriction relationship; When it is determined that the characteristic name in the added common restriction relationship exists in the target historical bill of materials and a restriction relationship addition permission instruction is received, adding a restriction relationship to the target historical bill of materials based on the added common restriction relationship.

6. The method for generating a bill of materials of a server according to claim 1, wherein After generating the bill of materials of the server according to the restriction relationship between the multiple characteristic names, it further includes: In response to a common restriction relationship change instruction, determining a target historical bill of materials referring to the changed common restriction relationship; Obtain the terminal identity information for sending the public restriction relationship change instruction, and when it is determined that the terminal identity information is a preset authorized terminal, adjust the restriction relationship of the target historical bill of materials based on the changed public restriction relationship.

7. The method for generating a bill of materials of a server according to claim 6, wherein It further includes: When it is determined that the terminal identity information is a non-preset authorized terminal, generate a restriction relationship change notice and send it to the target authorized terminal; When receiving the restriction relationship permission modification instruction feedback from the target authorized terminal, adjust the restriction relationship of the target historical bill of materials based on the changed public restriction relationship.

8. The method for generating a bill of materials of a server according to claim 1, characterized in that After generating the bill of materials of the server according to the restriction relationship between the multiple characteristic names, it further includes: When there is a material change in the bill of materials of the server, retrieve the target public characteristic database and the target public restriction relationship database, and update the bill of materials of the server based on the changed material, the target public characteristic database, and the target public restriction relationship database.

9. The method for generating a bill of materials of a server according to claim 8, wherein When there is a material change in the bill of materials of the server, it further includes: Obtain the characteristic name corresponding to the changed material and the characteristic value corresponding to each characteristic name; When it is determined that the changed material does not have a characteristic value, update the bill of materials of the server according to the changed material; When it is determined that the changed material has a characteristic value, update the restriction relationship in the bill of materials according to the changed material, the target public characteristic database, and the target public restriction relationship database to update the bill of materials of the server.

10. The method for generating a bill of materials of a server according to any one of claims 1-8, characterized in that, The determining the characteristic name corresponding to each material module and the characteristic value corresponding to each characteristic name based on the multiple material module descriptions includes: Determine the physical class characteristic name corresponding to each material module and the characteristic value corresponding to each physical class characteristic name according to the multiple material module descriptions; Receive the text characteristic selection instruction input by the user, and based on the text characteristic selection instruction, determine the text class characteristic name corresponding to the corresponding material module and the characteristic value corresponding to each text class characteristic name according to the multiple material module descriptions.

11. The method for generating a bill of materials of a server according to claim 10, wherein The determining the characteristic name corresponding to each material module and the characteristic value corresponding to each characteristic name based on the multiple material module descriptions further includes: When it is determined that the material module has a mixed insertion requirement according to the material module description, generate multiple physical class characteristic names corresponding to the material module and the characteristic value corresponding to each physical class characteristic name according to the material module description and the mixed insertion requirement; When receiving the text characteristic selection instruction corresponding to the material module description input by the user, perform a mixed insertion verification on the physical class characteristic names corresponding to the material module, and generate multiple text class characteristic names corresponding to the material module and the characteristic value corresponding to each text class characteristic name according to the material module description and the mixed insertion requirement.

12. An apparatus for generating a bill of materials of a server, characterized in that, The device includes: A receiving module, configured to receive multiple material module descriptions of the server input by the user, and determine the characteristic name corresponding to each material module and the characteristic value corresponding to each characteristic name based on the multiple material module descriptions; A matching module, configured to match the characteristic names corresponding to each material module with a target common characteristic database to determine the target characteristic names corresponding to each characteristic name; A generating module, configured to determine the restriction relationships among multiple characteristic names according to the target characteristic names corresponding to each characteristic name, the characteristic values corresponding to each characteristic name, and a target common restriction relationship library, and generate a bill of materials of the server according to the restriction relationships among the multiple characteristic names.

13. An electronic device, characterized in that, Comprising: A memory, configured to store a computer program; A processor, configured to implement the steps of the method for generating a bill of materials of the server according to any one of claims 1-11 when executing the computer program.

14. A computer-readable storage medium, characterized in that, A computer program is stored in the computer-readable storage medium, wherein the computer program implements the steps of the method for generating a bill of materials of the server according to any one of claims 1-11 when being executed by a processor.

15. A computer program product, comprising a computer program, characterized in that, The computer program implements the steps of the method for generating a bill of materials of the server according to any one of claims 1-11 when being executed by a processor.

Citation Information

Patent Citations

  • Bill of materials generation method and electronic equipment

    CN111611284A

  • Parameterized product configuration system and method suitable for large-scale customized production mode

    CN112053048A

  • Server bill of material modular customization method and system, terminal and storage medium

    CN113626428A

  • System bill of material generation method and system, storage medium and equipment

    CN114140047A

  • Bill of material generation method and device, storage medium and computer equipment

    CN117787868A