Industry compliance-oriented bom intelligent risk early warning method and system
By dynamically loading industry rule packages and using multi-objective optimization algorithms, the problem of existing BOM management tools being unable to identify industry-specific risks has been solved, achieving intelligent and efficient BOM management and meeting the high-quality management needs of complex electronic products.
Patent Information
- Application Number
- CN202611466681.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-20
- Publication Date
- 2026-11-27
AI Technical Summary
Existing BOM management tools lack intelligent, real-time, and forward-looking risk insight capabilities, which cannot meet the high-quality management needs of complex electronic products, and cannot identify industry-specific risks or provide intelligent decision support.
We adopt an industry-compliant BOM intelligent risk warning method, which dynamically loads industry rule packages, parses BOM and PCB data, performs multi-dimensional verification, recommends alternative solutions using multi-objective optimization algorithms, and optimizes the rule base through feedback learning.
It has enabled the transformation of BOM management from post-event error correction to pre-event prevention, in-event control, and post-event optimization, improving the efficiency of cross-industry project management, providing intelligent decision support, and meeting the high-quality management needs of complex electronic products.
Smart Images

Figure CN123180754A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of intelligent product data management and decision support, and in particular relates to a BOM intelligent risk warning method and system for industry compliance. Background Technology
[0002] A Bill of Materials (BOM) is a structured list of data that defines all raw materials, components, and quantities of a product. It serves as the "central nervous system" connecting design, procurement, production, cost accounting, and after-sales maintenance. Any error in the BOM will trigger a chain reaction.
[0003] At present, enterprises mainly rely on the BOM management model of "manual review + static storage in PDM / ERP system", which has the following fundamental defects: (1) the verification is delayed. BOM errors are usually only discovered in downstream links such as production and procurement, resulting in a surge in costs and project delays; (2) there is a lack of real-time monitoring and forward-looking early warning capabilities for external risks such as material production stoppages, price increases, and compliance changes; (3) the verification dimension is single, focusing only on basic issues such as whether the code exists, and cannot conduct comprehensive evaluation of multiple dimensions such as cost, manufacturability, and reliability; (4) the implicit knowledge such as the selection experience and lessons learned by senior engineers cannot be solidified and reused, and the same type of error occurs repeatedly in different projects.
[0004] In different industries, such as automotive electronics, BOM management must also address stringent compliance and reliability requirements, including ISO 26262 functional safety and AEC-Q series device reliability. In the medical device industry, it must meet the electrical clearance, creepage distance, and insulation protection requirements stipulated in the IEC 60601 electrical safety standard. Furthermore, engineers must make complex trade-offs between multiple objectives, including cost, supply chain security, certification cycles, and hardware modifications. Existing general-purpose BOM auditing tools cannot identify these industry-specific risks, nor can they provide intelligent decision support under such complex constraints.
[0005] Existing BOM auditing tools or ERP verification functions are essentially still "batch" checks based on fixed rules, such as basic consistency comparison with static material databases and simple usage formula calculations. They lack intelligent, real-time, and forward-looking risk insight capabilities and cannot meet the needs of complex electronic products for high-quality BOM management. Summary of the Invention
[0006] To address at least one of the technical problems mentioned above, this invention provides a BOM intelligent risk warning method and system for industry compliance.
[0007] To achieve the above objectives, the present invention adopts the following technical solution: The first aspect of this invention provides a BOM intelligent risk warning method for industry compliance, comprising the following steps: Based on the project type and industry type selected by the user, the corresponding industry rule package is dynamically loaded from the rule package repository. The industry rule package contains a set of verification rules applicable to that industry. Receive BOM file and PCB layout data, parse to generate structured BOM object tree, and extract network voltage, component position and insulation boundary information in PCB layout, and associate BOM reference number with PCB component package. Based on the parsing and extraction results, dynamic intelligence information is obtained according to the material code. The obtained dynamic intelligence information is matched with the conditions in the loaded industry rule package. Verification is performed in the order of the set rule categories to generate verification results and risk warning information. When a composite risk is detected, candidate alternatives are screened based on the key parameters of the high-risk device, an evaluation matrix is constructed, a multi-objective optimization algorithm is called to evaluate the alternatives, the Pareto optimal solution set is output, and the preferred solution is recommended based on preset business preferences. Record user actions in response to alerts, update the relationships and rule weights in the knowledge graph based on the results, discover new risk patterns through association rule mining, and recommend new rules.
[0008] Furthermore, the specific method for dynamically loading the corresponding industry rule package from the rule package repository is as follows: determine the category of the rule package to be loaded according to the industry type selected by the project, pull the corresponding YAML format rule package file from the rule package repository, parse each validation rule in the file and load it into the execution queue of the rule engine; the rule package file contains a rule package identifier, a list of applicable industries, a list of required parameters and several validation rules.
[0009] Furthermore, the step of obtaining dynamic intelligence information based on the material code specifically includes: querying the preferred level and disabled status information of the material from the MySQL standard material database based on the material code, obtaining its real-time supply chain status from the MongoDB dynamic intelligence database, and querying the historical failure modes related to the material from the Neo4j knowledge graph.
[0010] Furthermore, the Neo4j knowledge graph is stored in a graph database and includes four entity types: materials, risks, circuit modules, and failure modes, as well as four relation types: risky, used for, caused, and replaceable. The knowledge graph extracts structured data from historical BOM problem databases, production feedback systems, and failure analysis reports, and transforms it into triples of head entity, relation, and tail entity through an ETL process, which are then imported into the graph database in batches.
[0011] Furthermore, the established rules include basic consistency rules, logical rationality rules, industry compliance rules, supply chain risk rules, and cost optimization rules. Among them, basic consistency rules include verifying the existence of material codes and whether the manufacturer's model matches; logical rationality rules include verifying whether the tag number and usage are consistent; industry compliance rules include performing temperature compliance verification for automotive-grade components and filtering out components whose operating temperature does not meet the set temperature; performing automated PCB safety distance verification: calculating the minimum distance between the primary and secondary sides and comparing it with the PCB layout; supply chain risk rules include marking EOL components and single-source components; and cost optimization rules include identifying materials whose cost deviates from the standard price by more than a set threshold.
[0012] Furthermore, during safety inspections for industry compliance verification, the automated calculation of safety distances based on PCB layout includes the following steps: Identify the net pairs to be inspected from the PCB layout data; Extract the copper area contours corresponding to each network; The R-tree spatial indexing algorithm is used to calculate the shortest distance between each network copper area; The minimum electrical clearance or creepage distance required by the standard is obtained by referring to the table based on the voltage difference, pollution level, and material group. When the voltage value is not the exact value in the standard table, linear interpolation is used for calculation. The calculated actual distance is compared with the minimum distance required by the standard to determine whether there is a violation; Output the violation determination result, actual distance, required distance, and violation location information.
[0013] Furthermore, the NSGA-II algorithm is used to evaluate all alternatives. The fitness function of the NSGA-II algorithm is set to minimize the evaluation vector, and after iteration, the Pareto optimal solution set is output.
[0014] A second aspect of the present invention provides a BOM intelligent risk warning system for industry compliance, comprising: The rule package invocation module is used to dynamically load the corresponding industry rule package from the rule package repository according to the project type and industry type selected by the user. The industry rule package contains a set of verification rules applicable to the industry. The data parsing and association module is used to receive BOM files and PCB layout data, parse and generate a structured BOM object tree, extract network voltage, component position and insulation boundary information in the PCB layout, and associate BOM reference numbers with PCB component packages. The data verification module is used to obtain dynamic intelligence information based on the parsing and extraction results and the material code, match the obtained dynamic intelligence information with the conditions in the loaded industry rule package, perform verification according to the set rule categories in order, and generate verification results and risk warning information. The AI-assisted decision-making module is used to screen candidate alternatives based on the key parameters of high-risk devices when a composite risk is detected, construct an evaluation matrix, call a multi-objective optimization algorithm to evaluate the alternative solutions, output the Pareto optimal solution set, and recommend the preferred solution based on preset business preferences. The feedback learning module records users' actions in responding to alerts and updates the relationships and rule weights in the knowledge graph based on the results. It also discovers new risk patterns through association rule mining and recommends new rules.
[0015] A third aspect of the present invention provides a computer-readable storage medium.
[0016] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the industry compliance-oriented BOM intelligent risk warning method described above.
[0017] A fourth aspect of the present invention provides a computer device.
[0018] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps in the industry compliance-oriented BOM intelligent risk warning method described above.
[0019] Compared with the prior art, the beneficial effects of the present invention are: Existing technologies limit BOM management to a passive mode of "static storage" and "post-event correction," where risks are only discovered during the procurement or production stages. This invention transforms BOM management from a passive "post-event correction" model to a proactive intelligent model of "prevention, in-process control, and post-event optimization": During the design phase, a rule engine comprehensively verifies the BOM for industry compliance, supply chain risks, and cost optimization (prevention); the verification results are presented in a visual report format, supporting clicking on the reference designator to highlight the corresponding PCB layout components and one-click change requests (in-process control); the feedback learning module continuously optimizes the rule base, enabling system performance to improve over time (post-event optimization), thus meeting the high-quality BOM management needs of complex electronic products.
[0020] This invention defines industry rule packages using YAML-formatted structured description files and automatically loads the corresponding rule packages from a rule package repository based on the selected industry type of the project (automotive electronics, medical equipment, etc.). This achieves decoupling of rules and code and plug-and-play functionality across industries. There is no need to repeatedly develop validation logic; simply selecting the project's industry type automatically loads the corresponding compliance rules, significantly reducing system adaptation costs and improving the efficiency of cross-industry project management.
[0021] When multiple risks exist simultaneously, engineers must manually screen alternative materials and weigh multiple objectives, a time-consuming process with questionable quality. This invention automatically activates an AI-assisted decision-making module upon detecting a compound risk: it automatically screens candidate alternative materials based on the key parameters of high-risk devices, constructs an evaluation matrix covering four dimensions—certification cycle, hardware modification amount, supply chain risk, and cost changes—uses the NSGA-II multi-objective optimization algorithm to output a Pareto optimal solution set, and recommends the preferred solution based on preset business preferences.
[0022] Advantages of additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0023] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.
[0024] Figure 1 This is a flowchart of the intelligent risk warning method for BOM (Bill of Materials) for industry compliance provided in this embodiment of the invention; Figure 2 This is a schematic diagram of the safety inspection process for performing industry compliance verification provided in an embodiment of the present invention. Detailed Implementation
[0025] The present invention will be further described below with reference to the accompanying drawings and embodiments.
[0026] It should be noted that the following detailed description is illustrative and intended to provide further explanation of the invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.
[0027] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of exemplary embodiments according to the invention. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.
[0028] Example 1 like Figure 1 As shown, this embodiment provides a BOM intelligent risk warning method for industry compliance, including the following steps: S1: Based on the project type and industry type selected by the user, dynamically load the corresponding industry rule package from the rule package repository. The industry rule package contains a set of verification rules applicable to the industry. In this embodiment, the specific method for dynamically loading industry rule packages is as follows: determine the category of rule packages to be loaded according to the industry type selected for the project, pull the corresponding YAML format rule package file from the rule package repository, parse each validation rule in the file and load it into the execution queue of the rule engine; the rule package file contains a rule package identifier, an applicable industry list, a required parameter list and several validation rules; In this embodiment, the verification rule set applicable to this industry is defined by a structured description file, which includes rule identifier, applicable conditions, execution actions, prompt information and severity level; For example, when creating a new project, the system selects "Automotive Electronics - ADAS Controller" as the project type.
[0029] The system automatically loads the "Automotive Electronics Rule Package" and the "Safety Rule Package," pulling and loading the predefined "Automotive Electronics Rule Package" from the rule package repository (Git). This rule package is in YAML format, and its core structure is shown below: rule_package: id: “automotive_asic” applicable_industries: [“automotive”] required_params: [“input_voltage_range”, “pollution_degree”, “safety_goal”] rules: - rule_id: “AEC-Q100_TEMP_CHECK” condition: “BOM.part.operating_temp_min>-40 AND BOM.part.operating_temp_max<125” action: “FLAG_WARNING” message: "The device's operating temperature range does not meet AEC-Q100 Grade 2 requirements (-40°C to 125°C)". severity: “MEDIUM”. This invention defines industry rule packages using YAML-formatted structured description files and automatically loads the corresponding rule packages from a rule package repository based on the selected industry type of the project (automotive electronics, medical equipment, etc.). This achieves decoupling of rules and code and plug-and-play functionality across industries. There is no need to repeatedly develop validation logic; simply selecting the project's industry type automatically loads the corresponding compliance rules, significantly reducing system adaptation costs and improving the efficiency of cross-industry project management.
[0030] S2: Receive BOM file and PCB layout data, parse to generate structured BOM object tree, and extract network voltage, component position and insulation boundary information in PCB layout, and associate BOM reference number with layout component package. The core task of step 2 is to convert the semi-structured BOM file and the professional-format PCB design file into structured in-memory data objects and establish the association mapping between the two, so as to provide a data foundation that can be directly used by the subsequent rule engine.
[0031] The overall processing flow can be summarized into three main lines: BOM analysis line, PCB analysis line, and correlation integration line.
[0032] BOM parsing process: The system reads the BOM file (Excel / CSV / XML), identifies the header field mapping, extracts fields such as material code, manufacturer model, tag number, usage, and alternative material information line by line and verifies the data type, decomposes the tag number string (such as "C101,C102") into an independent tag number list, and finally constructs the BOM object tree according to the parent-child relationship.
[0033] PCB Analysis Line: The system parses PCB design files (ODB++ / Gerber), extracts board layer structure, component reference numbers and coordinates, network connections and voltage values, and aggregates conductive graphics such as copper traces, pads and solder pads under each network into polygonal areas, while also identifying board outlines and slot boundaries.
[0034] Associative fusion line: Using the reference designator as the connection key, the BOM line is matched with the PCB components one by one, and the coordinates, package, net, and voltage are filled back into the BOM object, and the absence of missing or redundant reference designators is verified.
[0035] This invention is the first to cross-domain associate BOM data and PCB layout data—analyzing material and reference designation information from the BOM, extracting network voltage, device location and insulation boundary information from the PCB layout, and then performing unified automated calculation of safety distances after associating the reference designation with the package.
[0036] S3: Based on the parsing and extraction results, obtain dynamic intelligence information according to the material code, match the obtained dynamic intelligence information with the conditions in the loaded industry rule package, perform verification according to the set rule categories in order, and generate verification results and risk warning information; In this embodiment, obtaining dynamic intelligence information based on material codes specifically includes: Based on the material code, query information such as its preference level and disabled status from the MySQL standard material database, obtain its real-time supply chain status from the MongoDB dynamic intelligence database, and query the historical failure modes related to the material from the Neo4j knowledge graph.
[0037] The engine matches the above data against the conditions in the loaded industry rule package. For example, when the AEC-Q100_TEMP_CHECK rule is triggered, the engine compares the material's operating_temp attribute with the constant conditions in the rule.
[0038] Furthermore, the Neo4j knowledge graph is stored in a graph database, containing four entity types: Component, Risk, CircuitBlock, and FailureMode, as well as four relation types: hasRisk, usedIn, leadsTo, and alternativeTo. The knowledge graph extracts structured data from historical BOM problem databases, production feedback systems, and failure analysis reports, transforms it into triples of (head entity, relation, tail entity) through an ETL process, and imports them in batches into a graph database.
[0039] The established rules include basic consistency rules, logical rationality rules, industry compliance rules, supply chain risk rules, and cost optimization rules; The verification is performed in the following order: basic consistency rules, logical rationality rules, industry compliance rules, supply chain risk rules, and cost optimization rules, generating verification results and risk warning information. The basic consistency rules include verifying whether the material code exists and whether the manufacturer model matches; Logical rationality rules include verifying whether the tag number and the usage quantity are consistent; Industry compliance rules include enforcing the AEC-Q_TEMP rule to screen out devices whose operating temperature does not meet the set temperature. Specifically, the AEC-Q_TEMP rule is for temperature compliance verification of automotive-grade devices. The system reads the operating temperature range of the devices in the BOM and compares it with the AEC-Q100 temperature rating requirements set for the project. If the device temperature range does not meet the project requirements, a "warning" is triggered. Execute the CLEARANCE_CALC rule: calculate the minimum spacing between the primary and secondary sides and compare it with the PCB layout; Specifically, the CLEARANCE_CALC rule is an automated verification of PCB safety distances. The system is based on standards and calculates the actual distance between different network copper traces on the PCB through geometric calculations. It then compares the actual distance with the standard requirement. If the measured distance is less than the standard requirement, it is considered a violation. Supply chain risk rules include marking EOL devices and single-source devices; Cost optimization rules include identifying materials whose costs deviate from the standard price by more than a set threshold, such as 30%.
[0040] For example, the uploaded BOM file has 320 lines of materials. After parsing, it includes: total number of materials: 320; number of PCB boards: 2 (motherboard + power board); identified bit numbers: 2100; extracted network voltages: 12V, 5V, 3.3V, 1.8V. If a basic consistency check is performed and three material codes are found to be missing from the standard library, they are marked as "errors". Perform a logic rationality check. If the material corresponding to tag numbers C101 and C102 is CAP-10uF-16V and the BOM usage is 1, then mark it as "error". When performing industry compliance verification, if the operating temperature of the material MCU_XYZ is -30°C to 105°C and does not meet the AEC-Q100 Grade 2 requirements (-40°C to 125°C), it will be marked as "Warning". Safety inspection: Between the primary side (12V) and the secondary side (5V): Calculated minimum electrical clearance: 0.5mm; Actual measured value: 0.4mm (area A12-B3); then mark as "error" and attach a screenshot of the violation location; Perform supply chain risk verification: If the dynamic status of material PMIC_ABC is EOL (production to cease in December 2025), it is marked as "Warning"; If a material's CAN_PHY_DEF has only one supplier and a lead time of 28 weeks, it will be marked as a "warning". Execution cost optimization rule verification: The purchase price of resistor RES-0402-1K-1% is ¥0.15, and the price of RES-0603-1K-1% in the standard library is ¥0.08. Therefore, it is marked as "prompt", and the estimated savings are ¥42 (300 pieces used on the whole board).
[0041] like Figure 2 As shown, during safety inspections for industry compliance verification, the core of automated safety distance calculation based on PCB layout lies in transforming abstract safety requirements into automated measurement and judgment of design data according to standards such as IPC-2221. This specifically includes the following steps: Identify the net pairs to be inspected (such as primary and secondary sides) from the PCB layout data. Extract the copper area contours corresponding to each network; The R-tree spatial indexing algorithm is used to calculate the shortest distance between each network copper area; The minimum electrical clearance or creepage distance required by the standard is obtained by referring to the table based on the voltage difference, pollution level, and material group. When the voltage value is not the exact value in the standard table, linear interpolation is used for calculation. The calculated actual distance is compared with the minimum distance required by the standard to determine whether there is a violation; Output the violation determination result, actual distance, required distance, and violation location information.
[0042] S5: When a composite risk is detected, candidate alternative materials are screened based on the key parameters of the high-risk device, an evaluation matrix is constructed, a multi-objective optimization algorithm is called to evaluate the alternative solutions, the Pareto optimal solution set is output, and the preferred solution is recommended based on the preset business preferences. In this embodiment, composite risks are determined based on risk warning information. A risk is considered to be compliant when the number of risk factors exceeds a set threshold. For example, material M1 (core MCU) has issued an EOL (End of Service) notice; material M2 (power chip) is from a single source with a lead time of up to 26 weeks; and material M3 (CAN transceiver) has a cost 40% higher than similar alternatives. These are all considered composite risks. In this embodiment, the specific method for screening candidate alternatives based on the key parameters of high-risk devices is as follows: using the packaging, pin, and electrical characteristic parameters of high-risk devices as matching conditions, similarity matching is performed in a standard material library to screen out a list of candidate alternatives.
[0043] Specifically, the similarity matching method transforms the feasibility of component substitution into a calculable "comprehensive similarity score." The higher the score, the greater the substitution feasibility. It comprehensively considers three aspects: "functional matching is required," "parameters are as close as possible," and "numerical differences are controllable," thereby enabling the rapid and objective screening of the most suitable candidate substitutes from a massive amount of materials.
[0044] For example, the candidate alternative materials list is as follows: MCU alternative materials: MCU_A1 (automotive grade), MCU_A2 (industrial grade), PMIC alternative materials: PMIC_B1 (pin2pin), PMIC_B2 (requires layout modification), CAN PHY alternative materials: CAN_C1 (dual source), CAN_C2 (low cost). When constructing the evaluation matrix, each alternative solution is evaluated across multiple dimensions, including certification cycle, hardware modification amount, supply chain risk, and cost changes, generating the evaluation matrix as shown in Table 1:
[0045] The NSGA-II algorithm is used to evaluate all alternative solutions. The fitness function of the NSGA-II algorithm is set to minimize the evaluation vector, and after iteration, the Pareto optimal solution set is output. Specifically, it includes the following: 1. Encoding: Encode a complete alternative (including replacement options for multiple high-risk devices) as a chromosome, with each gene locus representing a replacement material ID for a specific device; 2. Initial population: An initial population containing N schemes (chromosomes) is generated through random selection and similarity-based heuristic selection; 3. Evaluation: For each individual (scheme) in the population, call the evaluation function to calculate its value on four objectives: cost, supply chain risk, reliability, and design changes.
[0046] 4. Selection, crossover, and mutation: Selection: Tournament selection is performed based on non-dominated sorting and crowding calculation; Crossover: Simulated binary crossover (SBX) is used to exchange partial gene segments between two parent chromosomes with a certain probability; Mutation: Using polynomial mutation, the value of a certain gene locus in the chromosome is randomly changed (i.e., the alternative material selection for a certain device is changed). Iteration: Repeat steps 3-4 until the maximum number of iterations is reached, and output the Pareto Front in the last generation of the population as the optimal solution set.
[0047] Based on preset business preferences, the preferred solution is recommended from the Pareto optimal solution set, and a decision support report containing the decision-making basis is generated. For example, if the preset business preference is supply chain security first, then the recommended solution is: A1+B1+C1, based on the following criteria: lowest supply chain risk, minimal hardware modifications, and meeting the project's rapid time-to-market requirements.
[0048] The final output is a visual report containing a BOM health score, a risk list, and decision-making recommendations, specifically including: Overview of the dashboard: BOM health score (85 / 100); Risk list: Displayed paginated by PCB location, supports clicking on the reference designator to highlight the corresponding component in the layout; Decision suggestion page: Displays comparisons of AI-recommended alternatives; Safety compliance diagram: Overlays areas with insufficient electrical clearances onto the PCB view.
[0049] Users can convert an issue into a Change Request (CR) in the PDM system with one click.
[0050] S6: Record user actions in response to alerts, update the relationships and rule weights in the knowledge graph based on the results, discover new risk patterns through association rule mining, and recommend new rules.
[0051] In this embodiment, the user's handling behavior for the warning is recorded, specifically including accepting and modifying, ignoring, and marking as a false alarm; The associations and rule weights in the knowledge graph are updated based on the processing results. Specifically, for processing behaviors marked as valid warnings, the weight of the corresponding rules is strengthened; for processing behaviors marked as false alarms, the rule review process is triggered. Discovering new risk patterns and recommending new rules through association rule mining specifically involves applying the Apriori algorithm to perform association rule mining on historical problem records to discover frequent itemsets and their association rules. The discovered association rules are presented to engineers, and after review and approval, they are solidified into new design constraint rules, thus enabling the automatic evolution of the rule base.
[0052] For example, if the event set {capacitor C1, voltage stress 0.8 times rated, ambient temperature > 85°C} is found to frequently result in the consequence {failure mode: short circuit}, with a support of 5% and a confidence level of 75%, the system will prompt this mode to the engineer. After review and approval, it can be solidified into a new design constraint rule: "If this capacitor is used in high-temperature applications, its operating voltage must be drated to below 70%".
[0053] Example 2 This embodiment provides a BOM intelligent risk warning system for industry compliance, including: The rule package invocation module is used to dynamically load the corresponding industry rule package from the rule package repository according to the project type and industry type selected by the user. The industry rule package contains a set of verification rules applicable to the industry. The data parsing and association module is used to receive BOM files and PCB layout data, parse and generate a structured BOM object tree, extract network voltage, component position and insulation boundary information in the PCB layout, and associate BOM reference numbers with PCB component packages. The data verification module is used to obtain dynamic intelligence information based on the parsing and extraction results and the material code, match the obtained dynamic intelligence information with the conditions in the loaded industry rule package, perform verification according to the set rule categories in order, and generate verification results and risk warning information. The AI-assisted decision-making module is used to screen candidate alternatives based on the key parameters of high-risk devices when a composite risk is detected, construct an evaluation matrix, call a multi-objective optimization algorithm to evaluate the alternative solutions, output the Pareto optimal solution set, and recommend the preferred solution based on preset business preferences. The feedback learning module records users' actions in responding to alerts and updates the relationships and rule weights in the knowledge graph based on the results. It also discovers new risk patterns through association rule mining and recommends new rules.
[0054] It should be noted that the specific implementation of the industry compliance-oriented BOM intelligent risk warning system in this embodiment of the invention is similar to the specific implementation of the industry compliance-oriented BOM intelligent risk warning method in this embodiment of the invention. Please refer to the description in the method section for details. To reduce redundancy, it will not be repeated here.
[0055] Example 3 This embodiment provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps in the industry compliance-oriented BOM intelligent risk warning method described above.
[0056] Example 4 This embodiment provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the steps in the BOM intelligent risk warning method for industry compliance described above.
[0057] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0058] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0059] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0060] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0061] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.
[0062] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A BOM intelligent risk early warning method for industry compliance, characterized in that, Includes the following steps: Based on the project type and industry type selected by the user, the corresponding industry rule package is dynamically loaded from the rule package repository. The industry rule package contains a set of verification rules applicable to that industry. Receive BOM file and PCB layout data, parse to generate structured BOM object tree, and extract network voltage, component position and insulation boundary information in PCB layout, and associate BOM reference number with PCB component package. Based on the parsing and extraction results, dynamic intelligence information is obtained according to the material code. The obtained dynamic intelligence information is matched with the conditions in the loaded industry rule package. Verification is performed in the order of the set rule categories to generate verification results and risk warning information. When a composite risk is detected, candidate alternatives are screened based on the key parameters of the high-risk device, an evaluation matrix is constructed, a multi-objective optimization algorithm is called to evaluate the alternatives, the Pareto optimal solution set is output, and the preferred solution is recommended based on preset business preferences. Record user actions in response to alerts, update the relationships and rule weights in the knowledge graph based on the results, discover new risk patterns through association rule mining, and recommend new rules.
2. The intelligent risk warning method for BOM (Bill of Materials) oriented towards industry compliance as described in claim 1, characterized in that, The specific method for dynamically loading the corresponding industry rule package from the rule package repository is as follows: determine the category of the rule package to be loaded according to the industry type selected for the project, pull the corresponding YAML format rule package file from the rule package repository, parse each validation rule in the file and load it into the execution queue of the rule engine; the rule package file contains a rule package identifier, a list of applicable industries, a list of required parameters and several validation rules.
3. The intelligent risk warning method for BOM (Bill of Materials) oriented towards industry compliance as described in claim 1, characterized in that, The process of obtaining dynamic intelligence information based on material codes specifically includes: querying the preferred level and disabled status information of a material from the MySQL standard material database based on the material code, obtaining its real-time supply chain status from the MongoDB dynamic intelligence database, and querying the historical failure modes related to the material from the Neo4j knowledge graph.
4. The intelligent risk warning method for BOM (Bill of Materials) oriented towards industry compliance as described in claim 1, characterized in that, The Neo4j knowledge graph is stored in a graph database and includes four entity types: materials, risks, circuit modules, and failure modes, as well as four relation types: risky, used for, causing, and substitutable. The knowledge graph extracts structured data from historical BOM problem databases, production feedback systems, and failure analysis reports, and transforms it into triples of head entity, relation, and tail entity through an ETL process, which are then imported into the graph database in batches.
5. The intelligent risk warning method for BOM (Bill of Materials) oriented towards industry compliance as described in claim 1, characterized in that, The established rules include basic consistency rules, logical rationality rules, industry compliance rules, supply chain risk rules, and cost optimization rules. Among them, basic consistency rules include verifying the existence of material codes and whether the manufacturer model matches; logical rationality rules include verifying whether the tag number and usage are consistent; industry compliance rules include performing temperature compliance verification for automotive-grade components and filtering out components whose operating temperature does not meet the set temperature; performing automated PCB safety distance verification: calculating the minimum distance between the primary and secondary sides and comparing it with the PCB layout; supply chain risk rules include marking EOL components and single-source components; and cost optimization rules include identifying materials whose cost deviates from the standard price by more than a set threshold.
6. The intelligent risk warning method for BOM (Bill of Materials) oriented towards industry compliance as described in claim 5, characterized in that, When performing automated verification of PCB safety distances, the automated calculation of safety distances based on PCB layout includes the following steps: Identify the net pairs to be inspected from the PCB layout data; Extract the copper area contours corresponding to each network; The R-tree spatial indexing algorithm is used to calculate the shortest distance between each network copper area; The minimum electrical clearance or creepage distance required by the standard is obtained by referring to the table based on the voltage difference, pollution level, and material group. When the voltage value is not the exact value in the standard table, linear interpolation is used for calculation. The calculated actual distance is compared with the minimum distance required by the standard to determine whether there is a violation; Output the violation determination result, actual distance, required distance, and violation location information.
7. The intelligent risk warning method for BOM (Bill of Materials) oriented towards industry compliance as described in claim 1, characterized in that, The NSGA-II algorithm is used to evaluate all alternatives. The fitness function of the NSGA-II algorithm is set to minimize the evaluation vector, and after iteration, the Pareto optimal solution set is output.
8. A BOM intelligent risk early warning system for industry compliance, characterized in that: include: The rule package invocation module is used to dynamically load the corresponding industry rule package from the rule package repository according to the project type and industry type selected by the user. The industry rule package contains a set of verification rules applicable to the industry. The data parsing and association module is used to receive BOM files and PCB layout data, parse and generate a structured BOM object tree, extract network voltage, component position and insulation boundary information in the PCB layout, and associate BOM reference numbers with PCB component packages. The data verification module is used to obtain dynamic intelligence information based on the parsing and extraction results and the material code, match the obtained dynamic intelligence information with the conditions in the loaded industry rule package, perform verification according to the set rule categories in order, and generate verification results and risk warning information. The AI-assisted decision-making module is used to screen candidate alternatives based on the key parameters of high-risk devices when a composite risk is detected, construct an evaluation matrix, call a multi-objective optimization algorithm to evaluate the alternative solutions, output the Pareto optimal solution set, and recommend the preferred solution based on preset business preferences. The feedback learning module records users' actions in responding to alerts and updates the relationships and rule weights in the knowledge graph based on the results. It also discovers new risk patterns through association rule mining and recommends new rules.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the steps in the industry compliance-oriented BOM intelligent risk warning method as described in any one of claims 1-7.
10. A computer 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 program, it implements the steps in the BOM intelligent risk warning method for industry compliance as described in any one of claims 1-7.
