Material constraint relation detection method, device and equipment and storage medium
By establishing a material database system and automatically comparing data, the problem of low efficiency in verifying material constraint relationships in server product design is solved, fast and accurate detection of material constraint relationships is achieved, and design efficiency is improved.
Patent Information
- Application Number
- CN202410544360.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-30
- Publication Date
- 2024-08-27
AI Technical Summary
In server product design, existing technology is inefficient and error-prone when verifying material constraint relationships, resulting in reduced design efficiency.
By establishing a material database system, including R&D design document database, material configuration document database and material constraint relationship document database, preset data conversion rules are used to convert data in each system into comparison data, and material constraint relationships are automatically compared to ensure their integrity. sex and accuracy.
It improves the speed and accuracy of material constraint relationship detection, simplifies the verification process, and improves the efficiency of server product design.
Smart Images

Figure CN118550973A
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of hardware design technology, and specifically, to a material constraint relationship detection method, device, equipment and storage medium. Background Art
[0002] When designing a server product, the corresponding configuration is composed of modular bill of materials data, and there are certain material constraints between different modules. Only by combining the modular bill of materials according to the specific material constraints can a complete server product be designed. Therefore, the accuracy of the material constraints needs to be ensured. In the related art, when verifying the accuracy of the material constraints, a bill of materials containing multiple configurations is obtained through simulated matching, and then the accuracy of the material constraints is verified through manual verification.
[0003] In the case where there are multiple configurations in the bill of materials, the related technology takes a long time to check, has low inspection efficiency, and is prone to inspection errors, which reduces the design efficiency of server products. Summary of the invention
[0004] The embodiments of the present application provide a material constraint relationship detection method, device, equipment and storage medium, aiming to improve the verification speed of material constraint relationships in server product design.
[0005] A first aspect of an embodiment of the present application provides a material constraint relationship detection method, the method comprising:
[0006] In response to the bill of materials being created, a material constraint relationship detection command is sent to the material database system;
[0007] The material database system determines corresponding R&D design document data in the R&D design document database according to the material constraint relationship detection command;
[0008] Determining the material configuration document data corresponding to the research and development design document data in the material configuration document database system, and determining the material constraint relationship document data corresponding to the research and development design document data in the material constraint relationship document database system;
[0009] According to a preset data conversion rule, the research and development design document data is converted into first comparison data;
[0010] According to a preset data conversion rule, the material configuration document data and the material constraint relationship document data are converted into second comparison data;
[0011] When the first comparison data and the second comparison data satisfy the preset comparison rule, it is determined that the material constraint relationship document data passes the detection.
[0012] Optionally, the method further comprises:
[0013] In the case where the first comparison data and the second comparison data do not satisfy the preset comparison rule, determining whether the research and development design document data includes all the data in the material configuration document data;
[0014] In the case where it is determined that the R&D design document data already contains all the data in the material configuration document data, determining whether the material constraint relationship document data matches the R&D design document data;
[0015] When it is determined that the material constraint relationship document data matches the research and development design document data, it is determined that the material constraint relationship document data passes the detection.
[0016] Optionally, the method further comprises:
[0017] In the case where the R&D design document data does not contain any configuration data in the material configuration document data, sending a design document modification instruction;
[0018] When the material relationship document data is inconsistent with the material constraint relationship contained in the R&D design document data, a material relationship document modification instruction is sent.
[0019] Optionally, the method further comprises:
[0020] When it is detected that the R&D design document data and the material constraint relationship document data have been modified, the material constraint relationship detection process is started again;
[0021] When it is determined that the material constraint relationship document data passes the detection, the material constraint relationship detection process is ended.
[0022] Optionally, the step of establishing the material database system includes:
[0023] Establishing the research and development design document database system;
[0024] Establishing the material configuration document database system;
[0025] Establishing the material constraint relationship document database system;
[0026] Establishing a material document database system including the material configuration document database system and the material constraint relationship document database system;
[0027] Establish a data connection between the R&D design document database system and the material document database system.
[0028] Optionally, the establishing of the R&D design document database system includes:
[0029] Setting the document format of the R&D design document data;
[0030] Receiving the research and development design document data conforming to the document format;
[0031] Storing the research and development design document data in a corresponding storage space;
[0032] Perform corresponding functional settings on the research and development design document database system to complete the establishment of the research and development design document database system.
[0033] Optionally, the establishing of the material configuration document database system includes:
[0034] Setting the document format of the material configuration document data;
[0035] Receiving the material configuration document data conforming to the document format;
[0036] Storing the material configuration document data in a corresponding storage space;
[0037] The corresponding functions of the material configuration document database system are set to complete the establishment of the material configuration document database system.
[0038] Optionally, the establishing of the material constraint relationship document database system includes:
[0039] Setting the document format of the material constraint relationship document data;
[0040] Receiving the material constraint relationship document data conforming to the document format;
[0041] Storing the material constraint relationship document data in a corresponding storage space;
[0042] The corresponding functions of the material constraint relationship document database system are set to complete the establishment of the material constraint relationship document database system.
[0043] Optionally, converting the R&D design document data into first comparison data according to a preset data conversion rule includes:
[0044] Reading the R&D design document data;
[0045] Identify all materials in the R&D design document data, and determine the material configuration data included in the R&D design document data;
[0046] Identifying all material constraint relationships in the R&D design document data, and determining material constraint relationship document data included in the R&D design document data;
[0047] The material configuration data and the material constraint relationship document data are determined as the first comparison data.
[0048] Optionally, the converting the material configuration document data and the material constraint relationship document data into second comparison data according to a preset data conversion rule includes:
[0049] Reading the material configuration document data and the material constraint relationship document data;
[0050] Identify all material configurations in the material configuration document data, and determine the material configuration data included in the material configuration document data;
[0051] Identifying the material constraint relationship document data, and determining the material constraint relationship data contained in the material constraint relationship document data;
[0052] The material configuration data and the material constraint relationship data are determined as the second comparison data.
[0053] Optionally, the method further comprises:
[0054] When any modification document in the R&D design document database system, the material configuration document database system, and the material constraint relationship document database system is changed, the corresponding modification document in the remaining database systems is modified.
[0055] A second aspect of an embodiment of the present application provides a material constraint relationship detection device, the device comprising:
[0056] A command sending module, used for sending a material constraint relationship detection command to the material database system in response to the completion of the creation of the material list;
[0057] A first data determination module, used for the material database system to determine corresponding R&D design document data in the R&D design document database according to the material constraint relationship detection command;
[0058] A second data determination module is used to determine the material configuration document data corresponding to the research and development design document data in the material configuration document database system, and to determine the material constraint relationship document data corresponding to the research and development design document data in the material constraint relationship document database system;
[0059] A first data conversion module, used to convert the research and development design document data into first comparison data according to a preset data conversion rule;
[0060] A second data conversion module, used to convert the material configuration document data and the material constraint relationship document data into second comparison data according to a preset data conversion rule;
[0061] The detection module is used to determine whether the material constraint relationship document data passes the detection when the first comparison data and the second comparison data meet the preset comparison rules.
[0062] In the case where the first comparison data and the second comparison data do not satisfy the preset comparison rule, determining whether the research and development design document data includes all the data in the material configuration document data;
[0063] In the case where it is determined that the R&D design document data already contains all the data in the material configuration document data, determining whether the material constraint relationship document data matches the R&D design document data;
[0064] When it is determined that the material constraint relationship document data matches the research and development design document data, it is determined that the material constraint relationship document data passes the detection.
[0065] Optionally, the device further comprises:
[0066] A first modification instruction sending module, used for sending a design document modification instruction when the R&D design document data does not contain any configuration data in the material configuration document data;
[0067] The second modification instruction sending module is used to send a material relationship document modification instruction when the material constraint relationship included in the material relationship document data is inconsistent with the material constraint relationship included in the research and development design document data.
[0068] Optionally, the device further comprises:
[0069] A detection process starting module, used to restart the material constraint relationship detection process when it is detected that the R&D design document data and the material constraint relationship document data have been modified;
[0070] The detection process ending module is used to end the material constraint relationship detection process when it is determined that the material constraint relationship document data passes the detection.
[0071] Optionally, the step of establishing the material database system includes:
[0072] Establishing the research and development design document database system;
[0073] Establishing the material configuration document database system;
[0074] Establishing the material constraint relationship document database system;
[0075] Establishing a material document database system including the material configuration document database system and the material constraint relationship document database system;
[0076] Establish a data connection between the R&D design document database system and the material document database system.
[0077] Optionally, the establishing of the R&D design document database system includes:
[0078] Setting the document format of the R&D design document data;
[0079] Receiving the research and development design document data conforming to the document format;
[0080] Storing the research and development design document data in a corresponding storage space;
[0081] Perform corresponding functional settings on the research and development design document database system to complete the establishment of the research and development design document database system.
[0082] Optionally, the establishing of the material configuration document database system includes:
[0083] Setting the document format of the material configuration document data;
[0084] Receiving the material configuration document data conforming to the document format;
[0085] Storing the material configuration document data in a corresponding storage space;
[0086] The corresponding functions of the material configuration document database system are set to complete the establishment of the material configuration document database system.
[0087] Optionally, the establishing of the material constraint relationship document database system includes:
[0088] Setting the document format of the material constraint relationship document data;
[0089] Receiving the material constraint relationship document data conforming to the document format;
[0090] Storing the material constraint relationship document data in a corresponding storage space;
[0091] The corresponding functions of the material constraint relationship document database system are set to complete the establishment of the material constraint relationship document database system.
[0092] Optionally, the first data conversion module includes:
[0093] A first data reading submodule, used to read the research and development design document data;
[0094] A first identification submodule, used to identify all materials in the research and development design document data, and determine the material configuration data included in the research and development design document data;
[0095] A second identification submodule is used to identify all material constraint relationships in the R&D design document data, and determine the material constraint relationship document data included in the R&D design document data;
[0096] The first data acquisition submodule is used to determine the material configuration data and the material constraint relationship document data as the first comparison data.
[0097] Optionally, the second data conversion module includes:
[0098] A second data reading submodule is used to read the material configuration document data and the material constraint relationship document data;
[0099] A third identification submodule is used to identify all material configurations in the material configuration document data and determine the material configuration data included in the material configuration document data;
[0100] A fourth identification submodule, configured to identify the material constraint relationship document data and determine the material constraint relationship data contained in the material constraint relationship document data;
[0101] The second data acquisition submodule is used to determine the material configuration data and the material constraint relationship data as the second comparison data.
[0102] Optionally, the device further comprises:
[0103] The document modification module is used to modify the corresponding modification documents in the remaining database systems when any modification document in the R&D design document database system, the material configuration document database system, and the material constraint relationship document database system is changed.
[0104] A third aspect of an embodiment of the present application provides a readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps in the method described in the first aspect of the present application are implemented.
[0105] A fourth aspect of an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method described in the first aspect of the present application are implemented.
[0106] Using the material constraint relationship detection method provided in the present application, in response to the completion of the creation of the bill of materials, a material constraint relationship detection command is sent to the material database system; the material database system determines the corresponding R&D design document data in the R&D design document database according to the material constraint relationship detection command; determines the material configuration document data corresponding to the R&D design document data in the material configuration document database system, and determines the material constraint relationship document data corresponding to the R&D design document data in the material constraint relationship document database system; according to a preset data conversion rule, the R&D design document data is converted into first comparison data; according to a preset data conversion rule, the material configuration document data and the material constraint relationship document data are converted into second comparison data; when the first comparison data and the second comparison data meet the preset comparison rule, it is determined that the material constraint relationship document data has passed the detection.
[0107] In the present application, a material database system is established, which includes a research and development design document database, a material configuration document database and a material constraint relationship document database, so that the data in each separate database can be stored separately, and engineers responsible for each part can modify the data in each system without affecting each other, thereby improving the research and development efficiency. When the bill of materials is created, the data in each system is converted into corresponding comparison data through preset conversion rules for comparison, to determine whether the material constraint relationship document data is missing, thereby ensuring the integrity of the material constraint relationship. This comparison method is simple and fast, which ensures the detection speed of material constraint relationships during server product design and improves the design efficiency of server products. BRIEF DESCRIPTION OF THE DRAWINGS
[0108] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0109] Figure 1 is a flow chart of a material constraint relationship detection method proposed in an embodiment of the present application;
[0110] Figure 2 This is a schematic diagram of material constraint relationships proposed in one embodiment of the present application;
[0111] Figure 3 This is a schematic diagram of a material configuration list proposed in an embodiment of the present application;
[0112] Figure 4is a schematic diagram of a material database system proposed in one embodiment of the present application;
[0113] Figure 5 is a flow chart for determining the accuracy of material constraint relationships proposed in one embodiment of the present application;
[0114] Figure 6 This is a schematic diagram of document change data transmission proposed in an embodiment of the present application;
[0115] Figure 7 is a schematic diagram of a material constraint relationship detection device proposed in an embodiment of the present application;
[0116] Figure 8 It is a schematic diagram of an electronic device proposed in an embodiment of the present application. DETAILED DESCRIPTION
[0117] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0118] First, a unified explanation is given to the terms appearing in the embodiments of the present application:
[0119] BOM: Bill Of Materials, a list of all sub-materials that make up a product.
[0120] Modular BOM: A BOM different from a flat BOM. The materials that make up the product are divided into several modules. All modules constitute a complete modular BOM. Each module contains several modules of different specifications. Different modules can be selected under different product configurations. After different module specifications are selected, a complete product BOM can be formed.
[0121] Configuration in modular BOM: The selection of different modules in modular BOM constitutes a variety of configuration data. Each configuration is a complete set of sub-BOM data, that is, a modular BOM is a combination of thousands of configurations.
[0122] OD relationship in modular BOM: There are specific OD relationships between multiple modules in the modular BOM of the server. For example, a specific memory module must be used with a specific CPU module. If the wrong combination is used, the selected modules will form a set of incorrect BOM data. Each configuration mentioned above has a corresponding OD relationship.
[0123] OD: Object Dependence: the constraint relationship between materials.
[0124] PLM: Product Lifecycle Management, that is, product lifecycle management system, supports a series of application solutions for the creation, management, distribution and application of information throughout the product life cycle. It can integrate human resources, processes, application systems and information related to products; R&D personnel can use it to create product BOMs, perform structural design of products, thermal design simulation and other product development tasks.
[0125] refer to Figure 1 , Figure 1 1 is a flow chart of a material constraint relationship detection method proposed in an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:
[0126] S11: In response to the bill of materials being created, a material constraint relationship detection command is sent to the material database system.
[0127] In this embodiment, the bill of materials (BOM) is a list of all materials that constitute a product. The material database system is a pre-established database system, which includes a design document database system, a material configuration document database system, and a material constraint relationship document database system. The material constraint relationship detection command is used to command the material database system to detect the material constraint relationship document corresponding to the bill of materials to detect the integrity of the material constraint relationship document.
[0128] In this embodiment, the bill of materials is created in the PLM system. After the creation is completed, a material constraint relationship detection command is sent to the material database system through the interface between the PLM system and the material database system.
[0129] For example, refer to Figure 2 , Figure 2 Schematic diagram of material constraint relationship proposed in one embodiment of the present application. Figure 2 As shown, in the modular BOM, multiple modules are included, such as CPU module, MEM module and other modules. There are corresponding constraint relationships between the modules. For example, CPU001 must be used with MEN002 to form a corresponding configuration, and check the accuracy of the configuration list to verify whether the material constraint relationship is accurate.
[0130] refer to Figure 3 , Figure 3 : is a schematic diagram of a material configuration list proposed in an embodiment of the present application, such as Figure 3As shown, the material configuration list includes the configuration code, module name, and the correspondence between modules. For example, configuration 1 includes cpu-001, mem--001, hdd--001, nic--001, and ps--001.
[0131] In another embodiment of the present application, the step of establishing the material database system includes:
[0132] S21: Establishing the R&D design document database system.
[0133] In this embodiment, the R&D design document database system is used to store R&D design documents. The R&D design documents specify the materials required for product design and the constraint relationships between the materials during the product development process.
[0134] In this embodiment, a database system for storing R&D design document data is first established based on the PLM system. The database system includes multiple R&D design documents and modified documents. The stored R&D design documents cannot be modified, and only modified documents can be modified. The data in the system is created according to the preset architecture. The documents uploaded to the database must include the data set in the architecture. When receiving the R&D design document, the system will detect whether the document meets the preset rules. If it does not meet the preset system rules, it will feedback to the system that it needs to be re-uploaded.
[0135] In this embodiment, the specific steps of establishing the R&D design document database system include:
[0136] S21-1: Setting the document format of the R&D design document data.
[0137] In this embodiment, when establishing the R&D design document database, the document format of the R&D design document database is first designed.
[0138] For example, the document format may include materials used in R&D and design, the corresponding relationships between the materials, the combination methods, etc.
[0139] S21-2: Receive the R&D design document data that conforms to the document format.
[0140] In this embodiment, the R&D design document data conforming to the preset document format is received.
[0141] S21-3: Storing the R&D design document data in a corresponding storage space.
[0142] In this embodiment, the received research and development design document data is stored in the corresponding storage space.
[0143] S21 - 4: Perform corresponding function settings on the research and development design document database system to complete the establishment of the research and development design document database system.
[0144] In this embodiment, after the R&D design documents are stored in the corresponding storage space, the corresponding functions of the R&D design document database system are set to complete the establishment of the R&D design document database system.
[0145] For example, it is set that the documents already stored in the R&D design document database cannot be modified anymore, and only the modified documents can be modified.
[0146] S22: Establishing the material configuration document database system.
[0147] In this embodiment, the material configuration document database system is used to store material configurations used in developing products.
[0148] In this embodiment, a material configuration document database system is established based on the PLM system. The system includes multiple material configuration documents and modification documents. Each material configuration has a corresponding number. When an engineer creates a bill of materials, he uploads the material configuration document data to the material configuration document database.
[0149] In this embodiment, the specific steps of establishing the material configuration document database system include:
[0150] S22-1: Setting the document format of the material configuration document data.
[0151] In this embodiment, the document format of the material configuration document data is firstly set.
[0152] For example, the document format of the material configuration document data may be configuration code; module name.
[0153] S22-2: Receive the material configuration document data that complies with the document format.
[0154] In this embodiment, material configuration document data conforming to a preset document format is received.
[0155] S22-3: Storing the material configuration document data in a corresponding storage space.
[0156] In this embodiment, the received material configuration document data is stored in the corresponding storage space.
[0157] S22-4: Perform corresponding function settings on the material configuration document database system to complete the establishment of the material configuration document database system.
[0158] In this embodiment, after the material configuration document data is stored in the corresponding storage space, the corresponding function settings are performed on the material configuration document database system to complete the establishment of the material configuration document database system.
[0159] For example, it can be set that the data can only be modified in the modification document.
[0160] S23: Establishing the material constraint relationship document database system.
[0161] In this embodiment, the material constraint relationship document database system is used to store and manage material constraint relationship documents.
[0162] In this embodiment, when establishing a constraint relationship database system, the system is established based on the PLM system, which includes multiple material constraint relationship documents and modification documents. When engineers create a bill of materials, they upload the material constraint relationship document data to the material constraint relationship document database system.
[0163] In this embodiment, the specific steps of establishing the material constraint relationship document database system include:
[0164] S23-1: Setting the document format of the material constraint relationship document data.
[0165] In this embodiment, when establishing the material relationship database system, the document format of the material constraint relationship document data is first set.
[0166] For example, the document format can be set to "Material A--Material B", indicating that Material A needs to be used together with Material B.
[0167] S23-2: Receive the material constraint relationship document data that complies with the document format.
[0168] In this embodiment, material constraint relationship document data conforming to a document format is received.
[0169] S23-3: Storing the material constraint relationship document data in a corresponding storage space.
[0170] In this embodiment, the received material constraint relationship document data is stored in the corresponding storage space.
[0171] S23-4: Perform corresponding function settings on the material constraint relationship document database system to complete the establishment of the material constraint relationship document database system.
[0172] In this embodiment, after the material constraint relationship document data is stored in the corresponding storage space, the corresponding function settings are performed on the material constraint relationship document database system to complete the establishment of the material constraint relationship document database system.
[0173] For example, it can be set that the stored material constraint relationship document cannot be modified and can only be modified in the modification document.
[0174] S24: Establishing a material document database system including the material configuration document database system and the material constraint relationship document database system.
[0175] In this embodiment, the material document database system is a database formed by combining the material configuration document database system and the material constraint relationship document database system.
[0176] In this embodiment, after the material configuration document database system and the material constraint relationship document database system are established, the two databases are combined and placed in the same database to obtain the material document database system.
[0177] S25: Establishing a data connection between the R&D and design document database system and the material document database system.
[0178] In this embodiment, a data connection between the R&D design document database system and the material document database system is established through the program interface of the PLM system.
[0179] refer to Figure 4 , Figure 4 is a schematic diagram of a material database system proposed in an embodiment of the present application. Figure 4 As shown in the figure, it includes R&D design document database A, BOM configuration database B (material configuration document database), BOM restriction relationship database C (material constraint relationship document database), each database includes corresponding multiple documents such as a1, b1, c1, and contains modification documents such as an, bn, cn. The data in the R&D design document database can be sent to the material constraint relationship document database, and the data in the material configuration document database can be sent to the R&D design document database.
[0180] In this embodiment, data can be transferred between the R&D design document database system and the material document database system. The data in the R&D design document database system can be transferred to the material constraint relationship document database system in real time. Engineers can receive R&D design documents in real time in the material constraint relationship document database system, and engineers can modify and create bills of materials according to the R&D design documents. Documents in the material configuration document database system can also be sent to the R&D design document database in real time for reference by R&D engineers, who can then design documents in the material configuration document database.
[0181] S12: The material database system determines corresponding R&D design document data in the R&D design document database according to the material constraint relationship detection command.
[0182] In this embodiment, the R&D design document data includes all the materials used in developing the product and how to combine the materials.
[0183] In this embodiment, the material constraint relationship detection command carries the serial number of the corresponding R&D design document, and the corresponding R&D design document data is determined in the R&D design document database according to the serial number of the R&D design document.
[0184] S13: Determine the material configuration document data corresponding to the R&D design document data in the material configuration document database system, and determine the material constraint relationship document data corresponding to the R&D design document data in the material constraint relationship document database system.
[0185] In this embodiment, the material configuration document data includes all materials used by the R&D server product, and the material constraint relationship document data includes the constraint relationship between each material in the R&D server product.
[0186] In this embodiment, after determining the R&D design document data corresponding to the material constraint relationship detection command, the material configuration document data corresponding to the R&D design document data is determined in the material configuration document database system and the material constraint relationship document data corresponding to the R&D design document data is determined in the material constraint relationship document database system.
[0187] S14: According to a preset data conversion rule, the research and development design document data is converted into first comparison data.
[0188] In this embodiment, the preset data conversion rules are pre-set rules for converting the data in the R&D design document into data for verification and comparison. The first comparison data is data for verification and comparison extracted based on the content in the R&D design document data, which at least includes the material numbers of the materials included in the R&D design document and the correspondence between the materials.
[0189] In this embodiment, the specific steps of converting the R&D design document data into the first comparison data include:
[0190] S14-1: Read the R&D design document data.
[0191] In this embodiment, before converting the research and development design document data, the research and development design document data is first read.
[0192] S14-2: Identify all materials in the R&D design document data, and determine the material configuration data included in the R&D design document data.
[0193] In this embodiment, the material configuration data at least includes the material number and the material name.
[0194] In this embodiment, all materials in the R&D design document data are firstly identified to determine the material configuration data included in the R&D design document data.
[0195] For example, the material number is 001 and the material name is material A.
[0196] S14-3: Identify all material constraint relationships in the R&D design document data, and determine the material constraint relationship document data included in the R&D design document data.
[0197] In this embodiment, all material constraint relationships in the R&D design document data are identified to determine the material constraint relationship document data included in the R&D design document data.
[0198] For example, the material constraint relationship document data is material A--material B.
[0199] S14-4: Determine the material configuration data and the material constraint relationship document data as the first comparison data.
[0200] In this embodiment, the obtained material configuration data and material constraint relationship document data are used to determine the first comparison data.
[0201] S15: According to a preset data conversion rule, the material configuration document data and the material constraint relationship document data are converted into second comparison data.
[0202] In this embodiment, the second comparison data is data for verification and comparison converted from the material configuration data in the material configuration document data and the material constraint relationship document data in the material constraint relationship document.
[0203] In this embodiment, according to a preset data conversion rule, the step of converting the material configuration document data and the material constraint relationship document data into the second comparison data includes:
[0204] S15-1: Read the material configuration document data and the material constraint relationship document data.
[0205] In this embodiment, the material configuration document data and the material constraint relationship document data are read first.
[0206] In this embodiment, each material configuration document data has a corresponding number, and its number is the same as its related R&D design document data, and the material constraint relationship document data also has the same number. After determining that the data needs to be verified, the material configuration document data and material constraint relationship document data with the same number are read.
[0207] S15-2: Identify all material configurations in the material configuration document data, and determine the material configuration data included in the material configuration document data.
[0208] In this embodiment, all material configurations in the material configuration document data are identified to determine the material configuration data included in the material configuration document data.
[0209] S15-3: Identify the material constraint relationship document data, and determine the material constraint relationship data contained in the material constraint relationship document data.
[0210] In this embodiment, the material constraint relationship document data is identified to determine the material constraint relationship data included in the material constraint relationship document data.
[0211] S15-4: Determine the material configuration data and the material constraint relationship data as the second comparison data.
[0212] In this embodiment, the material configuration data and the material constraint relationship data are determined as the second comparison data.
[0213] S16: When the first comparison data and the second comparison data satisfy a preset comparison rule, determine that the material constraint relationship document data passes the detection.
[0214] In this embodiment, the preset comparison rule is a pre-set rule for comparing the first data and the second data. When the comparison rule is met, it is determined that the material constraint relationship document data passes the detection.
[0215] In this embodiment, the preset comparison pair can be defined as:
[0216] (a1)=(b1)+(c1)
[0217] (a2) = (b2) + (c2)
[0218] …
[0219] (an)=(bn)+(cn)
[0220] Among them, (a1) represents the first comparison data, (b1)+(c1) represents the second comparison data, which means that a research and development design document data includes all material configuration document data with the same number and all data in the material constraint relationship document data.
[0221] If the comparison finds that the data in the documents with the same number in the R&D design document database system, the material configuration document database system and the material constraint relationship database system are different, it is indicated that the material constraint relationship data in the material constraint relationship database system is missing.
[0222] In another embodiment of the present application, the method further includes:
[0223] S31: When the first comparison data and the second comparison data do not satisfy a preset comparison rule, determining whether the research and development design document data includes all the data in the material configuration document data.
[0224] In this embodiment, when the first comparison data and the second comparison data do not satisfy the preset comparison rules, it indicates that there may be omissions in a certain document, so first check whether the R&D design document data contains all the data in the material configuration document data.
[0225] S32: When it is determined that the R&D design document data already contains all the data in the material configuration document data, determine whether the material constraint relationship document data matches the R&D design document data.
[0226] In this embodiment, when the R&D design document data already contains all the data in the material configuration document data, the material constraint relationship document data may be missing. At this time, check whether the corresponding material constraint relationship document data matches the R&D design document data.
[0227] S33: When it is determined that the material constraint relationship document data matches the research and development design document data, it is determined that the material constraint relationship document data passes the detection.
[0228] In this embodiment, when it is determined that the material constraint relationship document data matches the R&D design document data, there may be omissions during data conversion, and the data of the documents in the three systems are not missed. At this time, it is determined that the material constraint relationship document data has passed the test and the material constraint relationship is complete.
[0229] In another embodiment of the present application, the method further includes:
[0230] S34: When the R&D design document data does not contain any configuration data in the material configuration document data, a design document modification instruction is sent.
[0231] In this embodiment, the design document modification instruction is an instruction sent by the material database system, which is used to notify the corresponding engineer to modify the R&D design document.
[0232] In this embodiment, when the R&D design document data does not contain any configuration data in the material configuration document data, a design document modification instruction is sent.
[0233] S35: When the material relationship document data and the material constraint relationship included in the R&D design document data are inconsistent, a material relationship document modification instruction is sent.
[0234] In this embodiment, the material relationship document modification instruction is an instruction sent by the material database system, which is used to notify the corresponding engineer to modify the material relationship document.
[0235] In this embodiment, when the material relationship document data and the material constraint relationship included in the R&D design document data are inconsistent, a material relationship document modification instruction is sent.
[0236] For example, the above instructions can be sent to corresponding engineers via email.
[0237] In this embodiment, the method further includes:
[0238] S41: When it is detected that the R&D design document data and the material constraint relationship document data have been modified, the material constraint relationship detection process is started again.
[0239] In this embodiment, when the material database system detects that the R&D design document data and the material constraint relationship document data have been modified, it restarts the material constraint relationship detection process to detect the material constraint relationship again.
[0240] S42: When it is determined that the material constraint relationship document data passes the detection, the material constraint relationship detection process is ended.
[0241] In this embodiment, the above steps may be executed repeatedly until it is determined that the material constraint relationship document data passes the detection, and then the material constraint relationship detection process is terminated.
[0242] refer to Figure 5 , Figure 5 is a flow chart of determining the accuracy of material constraint relationships proposed in an embodiment of the present application, such as Figure 5As shown, the first comparison data is extracted from the R&D design document database system A, and the second comparison data is extracted from the material document database system D, and then it is determined whether the restriction relationship is accurate. According to the judgment, the corresponding task instruction email is sent to notify the engineer to modify the corresponding document.
[0243] In another embodiment of the present application, the method further includes:
[0244] S51: When any modification document in the R&D design document database system, the material configuration document database system, and the material constraint relationship document database system is changed, the corresponding modification document in the remaining database systems is modified.
[0245] In this embodiment, it is pre-defined that modification actions in the R&D design document database system, the material configuration document database system, and the material constraint relationship database system must be performed in the modification document. Documents that have been created and entered into the system cannot be modified. The system only needs to identify the nth document.
[0246] In this embodiment, the system checks whether the modified documents are changed every preset period, and when any of the modified documents is changed, the corresponding modified documents in the other two database systems are modified. At this time, the system can automatically start the cyclic modification, triggering the modification task in another database system, forming a modification cycle.
[0247] For example, refer to Figure 6 , Figure 6 Schematic diagram of document change data transmission proposed in an embodiment of the present application, such as Figure 6 As shown, when the configuration database modification document bn changes, the change data is sent to the R&D design document database; when the R&D design document database modification document an changes, the change data is sent to the material constraint relationship document database.
[0248] In the above embodiment of the present application, by setting up a material database system, the R&D design documents, material configuration documents, and material constraint relationship documents during the server product design are stored in the corresponding database system respectively. When a bill of materials is created, the material constraint relationship documents therein are checked to ensure the integrity of the material constraint relationship documents. At the same time, the R&D data is transmitted between the respective database systems in real time, which facilitates the operation of the corresponding engineers and makes them no longer affect each other, thereby improving the data transmission efficiency and thus improving work efficiency. In addition, a data interface is established between the various database systems, and data comparison rules are set up so that data can interact in real time between systems. When one of the documents is modified, the corresponding engineer can be notified to modify and maintain the corresponding files in the remaining databases, further ensuring the integrity of the material constraint relationship documents and improving R&D efficiency.
[0249] Based on the same inventive concept, an embodiment of the present application provides a material constraint relationship detection device. Figure 7 , Figure 7 FIG. 7 is a schematic diagram of a material constraint relationship detection device 700 proposed in an embodiment of the present application. Figure 7 As shown, the device comprises:
[0250] A command sending module 701 is used to send a material constraint relationship detection command to the material database system in response to the completion of the creation of the material list;
[0251] A first data determination module 702, configured for the material database system to determine corresponding R&D design document data in the R&D design document database according to the material constraint relationship detection command;
[0252] The second data determination module 703 is used to determine the material configuration document data corresponding to the research and development design document data in the material configuration document database system, and to determine the material constraint relationship document data corresponding to the research and development design document data in the material constraint relationship document database system;
[0253] A first data conversion module 704, configured to convert the R&D design document data into first comparison data according to a preset data conversion rule;
[0254] A second data conversion module 705, configured to convert the material configuration document data and the material constraint relationship document data into second comparison data according to a preset data conversion rule;
[0255] The detection module 706 is used to determine whether the material constraint relationship document data passes the detection when the first comparison data and the second comparison data meet the preset comparison rule.
[0256] In the case where the first comparison data and the second comparison data do not satisfy the preset comparison rule, determining whether the research and development design document data includes all the data in the material configuration document data;
[0257] In the case where it is determined that the R&D design document data already contains all the data in the material configuration document data, determining whether the material constraint relationship document data matches the R&D design document data;
[0258] When it is determined that the material constraint relationship document data matches the research and development design document data, it is determined that the material constraint relationship document data passes the detection.
[0259] Optionally, the device further comprises:
[0260] A first modification instruction sending module, used for sending a design document modification instruction when the R&D design document data does not contain any configuration data in the material configuration document data;
[0261] The second modification instruction sending module is used to send a material relationship document modification instruction when the material constraint relationship included in the material relationship document data is inconsistent with the material constraint relationship included in the research and development design document data.
[0262] Optionally, the device further comprises:
[0263] A detection process starting module, used to restart the material constraint relationship detection process when it is detected that the R&D design document data and the material constraint relationship document data have been modified;
[0264] The detection process ending module is used to end the material constraint relationship detection process when it is determined that the material constraint relationship document data passes the detection.
[0265] Optionally, the step of establishing the material database system includes:
[0266] Establishing the research and development design document database system;
[0267] Establishing the material configuration document database system;
[0268] Establishing the material constraint relationship document database system;
[0269] Establishing a material document database system including the material configuration document database system and the material constraint relationship document database system;
[0270] Establish a data connection between the R&D design document database system and the material document database system.
[0271] Optionally, the establishing of the R&D design document database system includes:
[0272] Setting the document format of the R&D design document data;
[0273] Receiving the research and development design document data conforming to the document format;
[0274] Storing the research and development design document data in a corresponding storage space;
[0275] Perform corresponding functional settings on the research and development design document database system to complete the establishment of the research and development design document database system.
[0276] Optionally, the establishing of the material configuration document database system includes:
[0277] Setting the document format of the material configuration document data;
[0278] Receiving the material configuration document data conforming to the document format;
[0279] Storing the material configuration document data in a corresponding storage space;
[0280] The corresponding functions of the material configuration document database system are set to complete the establishment of the material configuration document database system.
[0281] Optionally, the establishing of the material constraint relationship document database system includes:
[0282] Setting the document format of the material constraint relationship document data;
[0283] Receiving the material constraint relationship document data conforming to the document format;
[0284] Storing the material constraint relationship document data in a corresponding storage space;
[0285] The corresponding functions of the material constraint relationship document database system are set to complete the establishment of the material constraint relationship document database system.
[0286] Optionally, the first data conversion module includes:
[0287] A first data reading submodule, used to read the research and development design document data;
[0288] A first identification submodule, used to identify all materials in the research and development design document data, and determine the material configuration data included in the research and development design document data;
[0289] A second identification submodule is used to identify all material constraint relationships in the R&D design document data, and determine the material constraint relationship document data included in the R&D design document data;
[0290] The first data acquisition submodule is used to determine the material configuration data and the material constraint relationship document data as the first comparison data.
[0291] Optionally, the second data conversion module includes:
[0292] A second data reading submodule is used to read the material configuration document data and the material constraint relationship document data;
[0293] A third identification submodule is used to identify all material configurations in the material configuration document data and determine the material configuration data included in the material configuration document data;
[0294] A fourth identification submodule, configured to identify the material constraint relationship document data and determine the material constraint relationship data contained in the material constraint relationship document data;
[0295] The second data acquisition submodule is used to determine the material configuration data and the material constraint relationship data as the second comparison data.
[0296] Optionally, the device further comprises:
[0297] The document modification module is used to modify the corresponding modification documents in the remaining database systems when any modification document in the R&D design document database system, the material configuration document database system, and the material constraint relationship document database system is changed.
[0298] Based on the same inventive concept, another embodiment of the present application provides a readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the material constraint relationship detection method described in any of the above embodiments of the present application are implemented.
[0299] Based on the same inventive concept, another embodiment of the present application provides an electronic device, referring to Figure 8 , Figure 8 It is a schematic diagram of an electronic device proposed in one embodiment of the present application, including a memory 802, a processor 801 and a computer program stored in the memory and executable on the processor, and when the processor is executed, the steps in the material constraint relationship detection method described in any of the above embodiments of the present application are implemented.
[0300] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0301] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0302] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0303] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0304] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0305] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable terminal device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0306] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.
[0307] Finally, it should be noted that, in this article, 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 "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal 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 terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0308] The material constraint relationship detection method, device, equipment and storage medium provided by the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A material constraint relationship detection method, characterized in that: The method comprises: In response to the bill of materials being created, a material constraint relationship detection command is sent to the material database system; The material database system determines corresponding R&D design document data in the R&D design document database according to the material constraint relationship detection command; Determining the material configuration document data corresponding to the research and development design document data in the material configuration document database system, and determining the material constraint relationship document data corresponding to the research and development design document data in the material constraint relationship document database system; According to a preset data conversion rule, the research and development design document data is converted into first comparison data; According to a preset data conversion rule, the material configuration document data and the material constraint relationship document data are converted into second comparison data; When the first comparison data and the second comparison data satisfy the preset comparison rule, it is determined that the material constraint relationship document data passes the detection.
2. The method according to claim 1, characterized in that The method further comprises: In the case where the first comparison data and the second comparison data do not satisfy the preset comparison rule, determining whether the research and development design document data includes all the data in the material configuration document data; In the case where it is determined that the R&D design document data already contains all the data in the material configuration document data, determining whether the material constraint relationship document data matches the R&D design document data; In the case where it is determined that the material constraint relationship document data matches the research and development design document data, it is determined that the material constraint relationship document data passes the detection.
3. The method according to claim 1, characterized in that The method further comprises: In the case where the R&D design document data does not contain any configuration data in the material configuration document data, sending a design document modification instruction; When the material relationship document data is inconsistent with the material constraint relationship contained in the R&D design document data, a material relationship document modification instruction is sent.
4. The method according to claim 3, characterized in that The method further comprises: When it is detected that the R&D design document data and the material constraint relationship document data have been modified, the material constraint relationship detection process is started again; When it is determined that the material constraint relationship document data passes the detection, the material constraint relationship detection process is ended.
5. The method according to claim 1, characterized in that The steps of establishing the material database system include: Establishing the research and development design document database system; Establishing the material configuration document database system; Establishing the material constraint relationship document database system; Establishing a material document database system including the material configuration document database system and the material constraint relationship document database system; Establish a data connection between the R&D design document database system and the material document database system.
6. The method according to claim 5, characterized in that The establishment of the research and development design document database system includes: Setting the document format of the R&D design document data; Receiving the research and development design document data conforming to the document format; Storing the research and development design document data in a corresponding storage space; Perform corresponding functional settings on the research and development design document database system to complete the establishment of the research and development design document database system.
7. The method according to claim 5, characterized in that The establishing of the material configuration document database system comprises: Setting the document format of the material configuration document data; Receiving the material configuration document data conforming to the document format; Storing the material configuration document data in a corresponding storage space; The corresponding functions of the material configuration document database system are set to complete the establishment of the material configuration document database system.
8. The method according to claim 5, characterized in that The step of establishing the material constraint relationship document database system comprises: Setting the document format of the material constraint relationship document data; Receiving the material constraint relationship document data conforming to the document format; Storing the material constraint relationship document data in a corresponding storage space; The corresponding functions of the material constraint relationship document database system are set to complete the establishment of the material constraint relationship document database system.
9. The method according to claim 1, characterized in that: The converting the R&D design document data into first comparison data according to a preset data conversion rule includes: Reading the R&D design document data; Identify all materials in the R&D design document data, and determine the material configuration data included in the R&D design document data; Identifying all material constraint relationships in the R&D design document data, and determining material constraint relationship document data included in the R&D design document data; The material configuration data and the material constraint relationship document data are determined as the first comparison data.
10. The method according to claim 1, characterized in that The converting the material configuration document data and the material constraint relationship document data into second comparison data according to a preset data conversion rule includes: Reading the material configuration document data and the material constraint relationship document data; Identify all material configurations in the material configuration document data, and determine the material configuration data included in the material configuration document data; Identifying the material constraint relationship document data, and determining the material constraint relationship data contained in the material constraint relationship document data; The material configuration data and the material constraint relationship data are determined as the second comparison data.
11. The method according to claim 1, characterized in that: The method further comprises: When any modification document in the R&D design document database system, the material configuration document database system, and the material constraint relationship document database system is changed, the corresponding modification document in the remaining database systems is modified.
12. A material constraint relationship detection device, characterized in that: The device comprises: A command sending module, used for sending a material constraint relationship detection command to the material database system in response to the completion of the creation of the material list; A first data determination module, used for the material database system to determine corresponding R&D design document data in the R&D design document database according to the material constraint relationship detection command; A second data determination module is used to determine the material configuration document data corresponding to the research and development design document data in the material configuration document database system, and to determine the material constraint relationship document data corresponding to the research and development design document data in the material constraint relationship document database system; A first data conversion module, used to convert the research and development design document data into first comparison data according to a preset data conversion rule; A second data conversion module, used to convert the material configuration document data and the material constraint relationship document data into second comparison data according to a preset data conversion rule; The detection module is used to determine whether the material constraint relationship document data passes the detection when the first comparison data and the second comparison data meet the preset comparison rules.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps in the method according to any one of claims 1 to 11 are implemented.
14. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 11 are implemented.
