A hardware and software automated design system and method for an atomizer
The automated hardware and software design system for atomizers solves the problems of low efficiency and inconsistent interfaces in atomizer development. It enables unified parsing and structured conversion of multi-format requirement files, improving design efficiency and reliability, and ensuring the collaborative definition and consistency of hardware and software.
Patent Information
- Application Number
- CN202611378626.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-07
- Publication Date
- 2026-11-27
AI Technical Summary
During the development of atomizers, existing technologies suffer from low efficiency, human negligence leading to omissions or misunderstandings of requirements, inconsistent hardware and software interface definitions, and a lack of a unified collaboration mechanism, resulting in the inability to achieve functions or substandard performance during joint debugging.
A hardware and software automated design system for atomizers is provided, including a parsing module, an identification module, an allocation module, a self-testing module, and a production module. By parsing multi-format requirement documents, identifying features, establishing the association between hardware and software requirements, automatically generating the design after the self-testing environment meets the conditions, and verifying the design results to ensure consistency.
It achieves unified parsing and structured conversion of multi-format requirement documents, improves requirement processing efficiency, avoids requirement omissions and misunderstandings, ensures collaborative definition of hardware and software, reduces joint debugging risks, improves the continuity and reliability of the design process, and guarantees the consistency and standardization of design results.
Smart Images

Figure CN123179690A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of atomizer technology, specifically to an automated hardware and software design system and method for atomizers. Background Technology
[0002] As atomizers become increasingly complex, the following shortcomings exist in their research and development:
[0003] Firstly, R&D personnel need to read through various requirement documents one by one, manually extracting hardware design parameters (such as main control chip selection, circuit topology, PCB size, etc.) and software design parameters (such as functional logic, communication protocol, display logic, etc.), and then carry out hardware schematic design, PCB layout and routing, and software code writing respectively. This method is inefficient and there is a possibility of missing requirements or misunderstandings due to human error.
[0004] Secondly, current automated design has various EDA tools (such as schematic design tools, PCB layout tools, and circuit simulation tools) and software development tools (such as integrated development environments and code editors). However, these tools are independently developed and designed by different hardware development teams and software development teams, lacking a unified collaboration mechanism. This can easily lead to inconsistencies in the interface definitions between hardware and software, resulting in problems such as the inability to achieve functions or failure to meet performance standards during later joint debugging.
[0005] Therefore, this invention proposes an automated hardware and software design system and method for atomizers, aiming to solve the above-mentioned problems. Summary of the Invention
[0006] The purpose of this invention is to overcome the shortcomings of the prior art and provide an automated hardware and software design system and method for atomizers.
[0007] The objective of this invention is mainly achieved through the following technical solutions:
[0008] On the one hand, this application provides an automated hardware and software design system for an atomizer, including: a parsing module, an identification module, a distribution module, a self-testing module, and a production module;
[0009] The parsing module is used to extract the content of multi-format requirement files, perform format conversion, and output text data;
[0010] The recognition module is used to perform feature recognition on text data and output a list of corresponding keywords and a list of keyword associations.
[0011] The allocation module is used to recombine keywords into hardware requirement lists and software requirement lists based on the keyword list, and to establish a hardware and software requirement association list based on the keyword association list.
[0012] The self-test module is used to check whether the local environment meets the production conditions from the hardware side and the software side, respectively, based on the hardware requirement list and the software requirement list. If it does not meet the requirements, it outputs a list of missing requirements and alternative solutions. After manual supplementation and confirmation, the list is re-entered to the allocation module. If it meets the requirements, it outputs a production ready flag.
[0013] The production module is used to call the corresponding design resources and tools based on the production readiness flag, hardware requirements list, software requirements list, and hardware / software requirements association list, and to automatically generate hardware and software designs respectively.
[0014] Furthermore, the parsing module includes:
[0015] The image preprocessing unit is used to perform noise reduction and correction processing on images in image files;
[0016] The OCR recognition unit is used to extract text, numbers, and symbols within image regions of image files.
[0017] The document parsing unit is used to read the contents of text files;
[0018] The table parsing unit is used to read parameter information from the table class file;
[0019] The CAD parsing unit is used to extract structural dimension information from structural drawing files.
[0020] The text cleaning unit is used to remove duplicates from the extracted text content.
[0021] Furthermore, the identification module includes: a hardware feature identification unit, a software feature identification unit, and a hardware / software feature association unit;
[0022] The hardware feature recognition unit is used to match text data according to a preset hardware feature library to identify hardware-related technical feature fields and integrate them to generate a hardware keyword list; wherein, the hardware feature library stores preset hardware technical feature keywords.
[0023] The software feature recognition unit is used to match text data according to a preset software feature library to identify software-related technical feature fields and integrate them to generate a list of software keywords; wherein, the software feature library stores preset software technical feature keywords;
[0024] The hardware and software feature association unit is used to integrate and generate a list of hardware and software association relationships based on the contextual relationship between hardware technical feature fields and software technical feature fields.
[0025] Furthermore, the identification module also includes an uncertain feature labeling unit;
[0026] The uncertain feature marking unit is used to mark keywords that fail to match as uncertain keywords and integrate them to generate an uncertain keyword list. After manual confirmation, the keywords in the uncertain keyword list are input into the hardware keyword list, software keyword list and / or software and hardware association list.
[0027] Furthermore, the allocation module includes a hardware requirement reorganization unit, a software requirement reorganization unit, and a requirement association unit;
[0028] The hardware requirement reorganization unit is used to recombine the keywords in the hardware keyword list into a hardware requirement list;
[0029] The software requirements reorganization unit is used to recombine the keywords in the software keyword list into a software requirements list;
[0030] The requirement association unit is used to generate a software and hardware requirement association list based on the software and hardware association relationship list.
[0031] Furthermore, the self-test module includes a hardware-side self-test unit, a software-side self-test unit, and a missing item processing unit;
[0032] The hardware-side self-test unit is used to check whether the local hardware design environment meets the execution conditions of the corresponding requirements based on the hardware requirement list.
[0033] The software-side self-checking unit is used to check whether the local software design environment meets the execution conditions of the corresponding requirements based on the software requirements list;
[0034] The missing item processing unit is used to output a list of missing requirements and alternative solutions when the self-inspection does not meet the production conditions. After manual supplementation and confirmation, the missing items are re-entered to the allocation module.
[0035] Furthermore, the production module includes hardware design units and software design units;
[0036] The hardware design unit is used to execute hardware design by calling hardware design resources and tools based on the hardware requirements list and the software and hardware requirements association list, and to automatically generate hardware engineering data;
[0037] The software design unit is used to execute software design by calling software design resources and tools based on the software requirements list and the list of associated software and hardware requirements, and to automatically generate software engineering data.
[0038] Furthermore, the software and hardware automated design system also includes a review module;
[0039] The review module is used to review the hardware and software engineering data to confirm whether they meet the requirements. If they do not meet the requirements, the data is returned to the allocation or production module for reallocation or re-production.
[0040] Furthermore, the review module includes a file integrity review unit, a format review unit, a requirement coverage review unit, an interface consistency review unit, and a parameter consistency review unit;
[0041] The file integrity verification unit is used to verify whether the hardware engineering data and software engineering data are empty. If the file is empty, it is returned to the production module for re-production.
[0042] The format verification unit is used to verify whether the file formats of hardware engineering data and software engineering data conform to the preset specifications. If there are files whose formats do not conform to the specifications, they are returned to the production module for re-production.
[0043] The requirement coverage review unit is used to match and compare the contents of the hardware requirement list and the software requirement list with the contents of the hardware engineering documents and the software engineering documents, respectively. If there is a mismatch, it is returned to the allocation module for reallocation.
[0044] The interface consistency verification unit uses the hardware and software requirement association list as a benchmark to cross-compare the interfaces in the hardware engineering data with the corresponding associated interfaces in the software engineering data. If there are any inconsistencies in the interfaces, the process is returned to the production module for re-production.
[0045] The parameter consistency verification unit uses the hardware and software requirement association list as a benchmark to cross-compare the parameters in the hardware engineering data with the corresponding associated parameters in the software engineering data. If there are any inconsistencies in the parameters, the process is returned to the production module for re-production.
[0046] Furthermore, the software and hardware automated design system also includes an output module;
[0047] The output module integrates and packages hardware engineering data and software engineering data into a standardized delivery package.
[0048] On the other hand, this application also provides a method for automated hardware and software design of an atomizer, including the following steps:
[0049] S1. Extract the content of multi-format requirement files, convert the formats, and output text data;
[0050] S2. Perform feature recognition on the text data to generate a hardware keyword list, a software keyword list, and an uncertain keyword list, and generate a software and hardware association list based on the contextual relationship between the keywords; the uncertain keyword list is manually confirmed and then input into the hardware keyword list, software keyword list, and / or software and hardware association list.
[0051] S3. Reorganize the hardware keyword list and software keyword list to generate a hardware requirement list and a software requirement list, and establish a software and hardware requirement association list based on the software and hardware association relationship list.
[0052] S4. Check the local hardware design environment and software design environment according to the hardware requirement list and software requirement list respectively. If the production conditions are not met, output the list of missing requirements and alternative solutions. After manual supplementation and confirmation, return to step S3 to reallocate the requirements. If the conditions are met, output the production ready flag.
[0053] S5. Based on the production readiness flag, hardware requirements list, software requirements list, and hardware and software requirements association list, call the corresponding design resources and tools to automatically generate hardware and software designs respectively, and output hardware engineering data and software engineering data.
[0054] S6. Review the hardware engineering data and software engineering data, including file integrity review, format review, requirement coverage review, interface consistency review, and parameter consistency review; if the review fails, return to step S3 for reallocation or return to step S5 for re-production;
[0055] S7. After the review is approved, the hardware engineering data and software engineering data will be integrated and packaged into a standardized delivery package for output.
[0056] In summary, the present invention has the following advantages compared with the prior art:
[0057] (1) This invention realizes the unified parsing and structured conversion of multi-format requirement documents, which can automatically convert requirement data of different formats and types into standardized text data, replacing the traditional manual reading and manual extraction of design parameters, significantly improving the efficiency of requirement processing. At the same time, it avoids the problems of requirement omission and misunderstanding caused by human negligence from the mechanism, ensuring the integrity and accuracy of requirement information from input to design end.
[0058] (2) This invention completes the structured sorting of hardware and software requirements through automated feature recognition and requirement reorganization mechanism, and automatically establishes the correlation mapping relationship between hardware and software requirements. It realizes the collaborative definition of hardware and software requirements from the design source, breaks the barrier between the traditional hardware design and software development process, effectively solves the industry pain points of inconsistent hardware and software interface definitions and low parameter matching, greatly reduces the risk of functional failure and performance failure in the later joint debugging stage, and reduces the number of design iterations and rework costs.
[0059] (3) The present invention constructs a design pre-inspection mechanism, which completes the matching verification of local design environment, tools, resource library and design requirements before formally starting the design. It can identify missing resources in advance and output corresponding alternative solutions, avoid process interruption caused by insufficient environment, tools or supporting resources during the design process, improve the continuity and predictability of the design process, and eliminate unnecessary waiting and rework links.
[0060] (4) Based on the structured requirements list and the relationship between hardware and software, this invention automatically schedules the corresponding design resources and tools to complete the parallel and automated generation of hardware and software design. It transforms the traditional serial design process that relies on human experience into a standardized and automated collaborative design process, reducing the dependence of design activities on human experience. At the same time, it unifies the standard of design output, improving design efficiency while ensuring the consistency and standardization of design results for different projects and batches.
[0061] (5) The present invention establishes a full-dimensional automated review mechanism, which performs closed-loop verification of design output from multiple dimensions such as file integrity, format standardization, requirement coverage, interface consistency, and parameter consistency. It replaces the traditional manual review mode, reduces the workload of manual review, avoids the omissions of manual verification, and effectively improves the reliability and correctness of design output.
[0062] (6) This invention realizes the standardized integration and automatic packaging output of design results, integrates hardware engineering data and software engineering data into a standardized delivery package, clarifies the delivery format and directory structure, reduces the management costs of subsequent data archiving, project conversion and version traceability, and improves the reusability of design results. Attached Figure Description
[0063] The accompanying drawings, which are included to provide a further understanding of embodiments of the invention and form part of this application, do not constitute a limitation thereof. In the drawings:
[0064] Figure 1 A structural diagram of a hardware and software automated design system for an atomizer provided in this application;
[0065] Figure 2 A flowchart illustrating an automated hardware and software design method for an atomizer provided in this application. Detailed Implementation
[0066] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the embodiments and accompanying drawings. The illustrative embodiments and descriptions of the present invention are only used to explain the present invention and are not intended to limit the present invention.
[0067] Firstly, such as Figure 1As shown in the figure, this application provides a hardware and software automated design system for an atomizer, including: a parsing module, an identification module, an allocation module, a self-testing module, and a production module;
[0068] The parsing module is used to extract the content of multi-format requirement files, perform format conversion, and output text data;
[0069] The recognition module is used to perform feature recognition on text data and output a list of corresponding keywords and a list of keyword associations.
[0070] The allocation module is used to recombine keywords into hardware requirement lists and software requirement lists based on the keyword list, and to establish a hardware and software requirement association list based on the keyword association list.
[0071] The self-test module is used to check whether the local environment meets the production conditions from the hardware side and the software side, respectively, based on the hardware requirement list and the software requirement list. If it does not meet the requirements, it outputs a list of missing requirements and alternative solutions. After manual supplementation and confirmation, the list is re-entered to the allocation module. If it meets the requirements, it outputs a production ready flag.
[0072] The production module is used to call the corresponding design resources and tools based on the production readiness flag, hardware requirements list, software requirements list, and hardware / software requirements association list, and to automatically generate hardware and software designs respectively.
[0073] In this embodiment, taking an atomizer project as an example, the multi-format requirement documents include: functional requirement specifications (Word format, containing text content such as product function clauses, protection requirements, and display requirements), digital tube segment code diagram (image format, containing the correspondence between each segment of the digital tube and the displayed content), battery specifications (PDF format, containing parameters such as battery capacity, charging current, discharge cut-off voltage, and overcharge protection threshold), heating wire specifications (Excel format, containing parameters such as heating wire resistance, rated power, and maximum output power), and structural CAD drawings (DWG format, containing information such as board frame dimensions, screen window position, battery compartment space, button position, charging port position, and PCBA height limit).
[0074] The parsing module converts the aforementioned multi-format requirement files into text data. The recognition module identifies keywords from the text data, including but not limited to, such as Type-C charging, single-cell lithium battery, digital tube display, airflow sensor, buttons, heating wire output, port count, child lock, low battery protection, and short circuit protection. The allocation module reorganizes the keywords into a hardware requirement list (including charging management circuit, battery sampling, airflow detection, button input, digital tube driver, power output, and test points) and a software requirement list (including charging state machine, suction detection, ignition control, digital tube segment code mapping, port count storage, child lock logic, anomaly protection, and production testing process). The self-testing module checks whether it has resources such as the target MCU template, digital tube driver template, airflow detection reference circuit, charging chip library, MOSFET package library, BOM template, and test case template locally. After confirmation, the production module calls the hardware design resources and software design resources to perform hardware automation design and software automation design respectively.
[0075] In one possible implementation, the parsing module includes:
[0076] The image preprocessing unit is used to perform noise reduction and correction processing on images in image files;
[0077] The OCR recognition unit is used to extract text, numbers, and symbols within image regions of image files.
[0078] The document parsing unit is used to read the contents of text files;
[0079] The table parsing unit is used to read parameter information from the table class file;
[0080] The CAD parsing unit is used to extract structural dimension information from structural drawing files.
[0081] The text cleaning unit is used to remove duplicates from the extracted text content.
[0082] In this embodiment, taking an atomizer project as an example, the input multi-format requirement documents include the following categories: image files, such as digital tube segment code diagrams, silkscreen diagrams, display segment code diagrams, and product appearance diagrams; text files, such as functional requirement specifications (Word format), battery specifications (PDF format), and heating wire specifications (Markdown or TXT format); table files, such as heating wire parameter tables (Excel format), battery parameter tables (CSV format), and BOM lists (Excel format); and structural drawing files, such as PCBA board block diagrams (DWG format) and structural assembly drawings (DXF format).
[0083] The image preprocessing unit performs noise reduction and tilt correction on the digital tube segment code image; the OCR recognition unit extracts the text, numbers and symbols in the digital tube segment code image, such as recognizing the display labels "BAT", "PUFF", "WATT" and so on; the document parsing unit reads the functional clauses in the functional requirements specification, such as "the product supports three power levels (8W / 12W / 18W)", "Type-C charging, charging current 500mA", "child lock function: press the button 5 times consecutively to turn on and off", "port count range 0-999" and so on.
[0084] The table parsing unit reads battery capacity parameters (e.g., "3.7V / 800mAh"), charging current parameters (e.g., "500mA"), heating wire resistance parameters (e.g., "0.8Ω"), and output power parameters (e.g., "8W / 12W / 18W") from the Excel spreadsheet. The CAD parsing unit extracts structural dimension information from the structural drawings, such as board frame dimensions (e.g., "40mm×20mm"), screen window position (e.g., "centered 10mm×8mm"), battery compartment space (e.g., "diameter 12mm×length 50mm"), button positions (e.g., "side 2mm×2mm"), charging port position (e.g., "bottom Type-C"), and PCBA height limits (e.g., "maximum 5mm"). The text cleaning unit deduplicates the extracted text content, removing duplicate functional clauses and redundant parameter descriptions.
[0085] In one possible implementation, the identification module includes: a hardware feature identification unit, a software feature identification unit, and a hardware-software feature association unit;
[0086] The hardware feature recognition unit is used to match text data according to a preset hardware feature library to identify hardware-related technical feature fields and integrate them to generate a hardware keyword list; wherein, the hardware feature library stores preset hardware technical feature keywords.
[0087] The software feature recognition unit is used to match text data according to a preset software feature library to identify software-related technical feature fields and integrate them to generate a list of software keywords; wherein, the software feature library stores preset software technical feature keywords;
[0088] The hardware and software feature association unit is used to integrate and generate a list of hardware and software association relationships based on the contextual relationship between hardware technical feature fields and software technical feature fields.
[0089] In this embodiment, taking an atomizer project as an example, a preset hardware feature library stores preset hardware technical feature keywords, as shown in the table below:
[0090] The preset software feature library stores preset software technical feature keywords, as shown in the table below:
[0091] The hardware feature recognition unit matches text data according to a preset hardware feature library, identifies hardware technical feature fields from the text data, and integrates them to generate a hardware keyword list. For example, in this embodiment, the hardware keyword list includes: {Type-C charging, single lithium battery, digital tube display, airflow sensor, button, 0.8Ω heating wire, MOSFET, Buck circuit, sampling resistor, NTC, overcurrent protection, short circuit protection, overtemperature protection, ESD, test point, PCB size 40mm×20mm, height limit 5mm, ...}.
[0092] The software feature recognition unit matches text data according to a preset software feature library, identifies software technical feature fields from the text data, and integrates them to generate a software keyword list. For example, in this embodiment, the software keyword list includes: {suction detection, ignition control, power control (three levels 8W / 12W / 18W), port count statistics (0-999), child lock (press 5 times consecutively), digital tube segment code mapping, low battery warning, short circuit warning, overcurrent warning, overtemperature warning, timeout protection, sleep wake-up, production test mode, ADC sampling, PWM output, GPIO input, state machine, parameter storage, ...}.
[0093] The hardware and software feature association unit integrates and generates a hardware and software association list based on the contextual relationship between hardware and software technical feature fields. For example, in this embodiment, the hardware and software association list includes: {Type-C charging → charging state machine + charging animation, digital tube display → digital tube segment code mapping + display refresh, heating wire 0.8Ω → ignition control + power control, airflow sensor → suction detection + sleep wake-up, button → child lock + button logic, MOSFET → power output + overcurrent protection + short circuit protection, NTC → temperature conversion + over-temperature warning, sampling resistor → current sampling + overcurrent warning, ...}.
[0094] In this embodiment, by matching and recognizing text data through a preset hardware feature library and software feature library, hardware and software technical features can be automatically and accurately extracted from the requirements document, and the relationship between hardware and software can be established. This avoids the problem of omissions or misjudgments that are easy to make when manually reading the requirements document line by line, and improves the efficiency and accuracy of feature recognition.
[0095] In one possible implementation, the identification module further includes an uncertain feature labeling unit;
[0096] The uncertain feature marking unit is used to mark keywords that fail to match as uncertain keywords and integrate them to generate an uncertain keyword list. After manual confirmation, the keywords in the uncertain keyword list are input into the hardware keyword list, software keyword list and / or software and hardware association list.
[0097] In this embodiment, taking an atomizer project as an example, when the text data contains "the product needs to support CE certification," since "CE certification" is not stored as a corresponding keyword in either the hardware or software feature library, the uncertain feature marking unit marks "CE certification" as an uncertain keyword and integrates it to generate an uncertain keyword list. For example, the uncertain keyword list includes {CE certification, product appearance color red}.
[0098] Keywords in the uncertain keyword list are manually verified and then entered into the corresponding hardware keyword list, software keyword list, and / or hardware / software association list. For example, if it is manually verified that "CE certification" involves ESD protection level requirements on the hardware side, then "CE certification" is entered into the hardware keyword list as "ESD protection level 4kV". If it is also verified that "CE certification" involves abnormal protection logic requirements on the software side, then "CE certification" is entered into the software keyword list as "abnormal protection logic". As another example, if it is manually verified that "product appearance color red" only involves product appearance and not hardware circuit design or software function design, then it is not entered into the hardware or software keyword lists.
[0099] In this embodiment, keywords that fail to match are marked by an uncertain feature marking unit and then manually confirmed and categorized. This avoids the direct discarding of unidentified features or the omission of features due to misclassification, ensuring the integrity of feature recognition and providing a data foundation for subsequent updates to the feature library.
[0100] In one possible implementation, the allocation module includes a hardware requirement reorganization unit, a software requirement reorganization unit, and a requirement association unit.
[0101] The hardware requirement reorganization unit is used to recombine the keywords in the hardware keyword list into a hardware requirement list;
[0102] The software requirements reorganization unit is used to recombine the keywords in the software keyword list into a software requirements list;
[0103] The requirement association unit is used to generate a software and hardware requirement association list based on the software and hardware association relationship list.
[0104] In this embodiment, taking an atomizer project as an example, the hardware requirement reorganization unit recombines the keywords in the hardware keyword list into a hardware requirement list, as shown in the table below:
[0105] The software requirements reorganization unit recombines the keywords in the software keyword list into a software requirements list, as shown in the table below:
[0106] The requirement association unit generates a software and hardware requirement association list based on the software and hardware association list, as shown in the table below:
[0107] In this embodiment, by reorganizing the hardware keyword list and software keyword list into structured hardware requirement lists and software requirement lists respectively, and establishing a hardware and software requirement association list, the originally scattered keyword information is transformed into executable requirements with clear relationships, which facilitates direct calling by subsequent modules and improves the orderliness and traceability of requirement allocation.
[0108] In one possible implementation, the self-test module includes a hardware-side self-test unit, a software-side self-test unit, and a missing item processing unit.
[0109] The hardware-side self-test unit is used to check whether the local hardware design environment meets the execution conditions of the corresponding requirements based on the hardware requirement list.
[0110] The software-side self-checking unit is used to check whether the local software design environment meets the execution conditions of the corresponding requirements based on the software requirements list;
[0111] The missing item processing unit is used to output a list of missing requirements and alternative solutions when the self-inspection does not meet the production conditions. After manual supplementation and confirmation, the missing items are re-entered to the allocation module.
[0112] In this embodiment, taking an atomizer project as an example, the hardware-side self-test unit checks whether the local hardware design environment meets the execution conditions of the corresponding requirements according to the hardware requirements list. The specific check items are shown in the table below:
[0113] The software-side self-checking unit checks whether the local software design environment meets the execution conditions of the corresponding requirements based on the software requirements list. The specific check items are shown in the table below:
[0114] When the self-test fails to meet production conditions, the missing item processing unit outputs a list of missing requirements and alternative solutions. For example, if the requirement includes a digital tube display, but the local digital tube driver library is missing, the missing item processing unit outputs "Missing digital tube segment code driver library," and the alternative solution is "Use general-purpose GPIO to simulate timing to drive the digital tube, or manually add the digital tube driver library and then re-execute the self-test." As another example, if the requirement includes Type-C charging, but the local TP4056 charging chip library is missing, the missing item processing unit outputs "Missing TP4056 charging chip library," and the alternative solution is "Use the SY7066 charging chip library as a substitute, or manually add the TP4056 charging chip library and then re-execute the self-test." After manual addition and confirmation, the information is re-entered to the allocation module, which then redistributes the requirement based on the supplemented environment.
[0115] In this embodiment, by performing a self-check on whether the local design environment meets the execution conditions before generating engineering data, problems such as resource shortages or unmet environmental conditions can be detected in advance, avoiding design failures or rework due to insufficient environment in subsequent production stages. At the same time, by providing alternative solutions, the impact of resource shortages on the overall design progress is reduced.
[0116] In one possible implementation, the production module includes a hardware design unit and a software design unit;
[0117] The hardware design unit is used to execute hardware design by calling hardware design resources and tools based on the hardware requirements list and the software and hardware requirements association list, and to automatically generate hardware engineering data;
[0118] The software design unit is used to execute software design by calling software design resources and tools based on the software requirements list and the list of associated software and hardware requirements, and to automatically generate software engineering data.
[0119] In this embodiment, taking an atomizer project as an example, the hardware design unit, based on the hardware requirements list and the software / hardware requirement association list, calls upon hardware design resources and tools to execute the hardware design, automatically generating hardware engineering data. The hardware engineering data includes the following content:
[0120] The software design unit, based on the software requirements list and the hardware / software requirement association list, invokes software design resources and tools to execute software design and automatically generates software engineering documentation. The software engineering documentation includes the following content:
[0121] In this embodiment, the hardware design unit and the software design unit call design resources and tools to automatically generate engineering data according to the requirement list and the association list, respectively. This realizes the automatic conversion from requirements to engineering data, reduces the tedious operation of manual design item by item, and improves design efficiency. At the same time, the engineering data generated based on the association list can ensure the consistency of interfaces and parameters between hardware and software.
[0122] In one possible implementation, the software and hardware automated design system also includes a review module;
[0123] The review module is used to review the hardware and software engineering data to confirm whether they meet the requirements. If they do not meet the requirements, the data is returned to the allocation or production module for reallocation or re-production.
[0124] In one possible implementation, the review module includes a file integrity review unit, a format review unit, a requirement coverage review unit, an interface consistency review unit, and a parameter consistency review unit;
[0125] The file integrity verification unit is used to verify whether the hardware engineering data and software engineering data are empty. If the file is empty, it is returned to the production module for re-production.
[0126] The format verification unit is used to verify whether the file formats of hardware engineering data and software engineering data conform to the preset specifications. If there are files whose formats do not conform to the specifications, they are returned to the production module for re-production.
[0127] The requirement coverage review unit is used to match and compare the contents of the hardware requirement list and the software requirement list with the contents of the hardware engineering documents and the software engineering documents, respectively. If there is a mismatch, it is returned to the allocation module for reallocation.
[0128] The interface consistency verification unit uses the hardware and software requirement association list as a benchmark to cross-compare the interfaces in the hardware engineering data with the corresponding associated interfaces in the software engineering data. If there are any inconsistencies in the interfaces, the process is returned to the production module for re-production.
[0129] The parameter consistency verification unit uses the hardware and software requirement association list as a benchmark to cross-compare the parameters in the hardware engineering data with the corresponding associated parameters in the software engineering data. If there are any inconsistencies in the parameters, the process is returned to the production module for re-production.
[0130] In this embodiment, taking an atomizer project as an example, the specific inspection items of each review unit are shown in the table below:
[0131] In this embodiment, the verification module cross-compares the interfaces and parameters between hardware and software engineering data, which can identify and correct inconsistencies between hardware and software before delivery. This avoids integration and debugging difficulties caused by mismatched interface definitions or parameter values, and improves the reliability of delivered engineering data and the correctness of hardware and software collaboration.
[0132] In one possible implementation, the software and hardware automated design system also includes an output module;
[0133] The output module integrates and packages hardware engineering data and software engineering data into a standardized delivery package.
[0134] In this embodiment, taking an atomizer project as an example, the output module integrates and packages the hardware engineering data and software engineering data into a standardized delivery package. The contents of the standardized delivery package are shown in the table below:
[0135] The output module can output standardized delivery packages in different formats according to different users. For example: hardware engineers can receive a delivery package containing schematic design files, BOM list, and PCB layout constraint files; software engineers can receive a delivery package containing firmware engineering, interface definition files, and state machine descriptions; test engineers can receive a delivery package containing test cases and production testing procedures; project managers can receive a delivery package containing requirements coverage tables, risk lists, and version reports; and production departments can receive a delivery package containing BOM list, programming files, test scripts, and production precautions.
[0136] In this embodiment, hardware engineering data and software engineering data are integrated and packaged into a standardized delivery package, and different formats of delivery packages are output according to different users. This enables various personnel to directly obtain data related to their own work, reduces information redundancy and omissions in data transmission, and improves delivery efficiency and ease of use.
[0137] Secondly, such as Figure 2 As shown, this application also provides a method for automated hardware and software design of an atomizer, including the following steps:
[0138] S1. Extract the content of multi-format requirement files, convert the formats, and output text data;
[0139] S2. Perform feature recognition on the text data to generate a hardware keyword list, a software keyword list, and an uncertain keyword list, and generate a software and hardware association list based on the contextual relationship between the keywords; the uncertain keyword list is manually confirmed and then input into the hardware keyword list, software keyword list, and / or software and hardware association list.
[0140] S3. Reorganize the hardware keyword list and software keyword list to generate a hardware requirement list and a software requirement list, and establish a software and hardware requirement association list based on the software and hardware association relationship list.
[0141] S4. Check the local hardware design environment and software design environment according to the hardware requirement list and software requirement list respectively. If the production conditions are not met, output the list of missing requirements and alternative solutions. After manual supplementation and confirmation, return to step S3 to reallocate the requirements. If the conditions are met, output the production ready flag.
[0142] S5. Based on the production readiness flag, hardware requirements list, software requirements list, and hardware and software requirements association list, call the corresponding design resources and tools to automatically generate hardware and software designs respectively, and output hardware engineering data and software engineering data.
[0143] S6. Review the hardware engineering data and software engineering data, including file integrity review, format review, requirement coverage review, interface consistency review, and parameter consistency review; if the review fails, return to step S3 for reallocation or return to step S5 for re-production;
[0144] S7. After the review is approved, the hardware engineering data and software engineering data will be integrated and packaged into a standardized delivery package for output.
[0145] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. 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.
[0146] This invention discloses an automated hardware and software design system and method for atomizers. The system includes: a parsing module, which extracts the content of multi-format requirement documents and converts them into text data; an identification module, which performs feature recognition on the text data and outputs a keyword list and a list of related relationships; an allocation module, which reorganizes the keywords into a hardware and software requirement list and establishes a hardware and software requirement association list; a self-checking module, which checks whether the local environment meets the production conditions. If not, it outputs missing items and alternative solutions and sends them back to the allocation module. If the conditions are met, it outputs a production-ready flag; and a production module, which automatically generates hardware and software designs by calling design resources and tools based on the production-ready flag and the requirement list.
Claims
1. A hardware and software automated design system for an atomizer, characterized in that, include: The module consists of a parsing module, an identification module, an allocation module, a self-testing module, and a production module. The parsing module is used to extract the content of multi-format requirement files, perform format conversion, and output text data; The recognition module is used to perform feature recognition on the text data and output a corresponding list of keywords and a list of keyword associations. The allocation module is used to recombine the keywords into a hardware requirement list and a software requirement list according to the keyword list, and to establish a software and hardware requirement association list according to the keyword association list. The self-test module is used to check whether the local environment meets the production conditions from the hardware side and the software side, respectively, according to the hardware requirement list and the software requirement list. If it does not meet the conditions, it outputs a list of missing requirements and alternative solutions, which are then manually supplemented and confirmed before being re-entered to the allocation module. If the conditions are met, it outputs a production-ready flag. The production module is used to call the corresponding design resources and tools based on the production readiness flag, hardware requirement list, software requirement list, and hardware / software requirement association list, and to automatically generate hardware and software designs respectively.
2. The automated hardware and software design system for an atomizer according to claim 1, characterized in that, The parsing module includes: The image preprocessing unit is used to perform noise reduction and correction processing on images in image files; The OCR recognition unit is used to extract text, numbers, and symbols within image regions of image files. The document parsing unit is used to read the contents of text files; The table parsing unit is used to read parameter information from the table class file; The CAD parsing unit is used to extract structural dimension information from structural drawing files. The text cleaning unit is used to remove duplicates from the extracted text content.
3. The automated hardware and software design system for an atomizer according to claim 1, characterized in that, The identification module includes: a hardware feature identification unit, a software feature identification unit, and a hardware / software feature association unit; The hardware feature recognition unit is used to match the text data according to a preset hardware feature library to identify hardware-related technical feature fields and integrate them to generate a hardware keyword list; wherein, the hardware feature library stores preset hardware technical feature keywords. The software feature recognition unit is used to match the text data according to a preset software feature library to identify software-related technical feature fields and integrate them to generate a list of software keywords; wherein, the software feature library stores preset software technical feature keywords; The hardware and software feature association unit is used to integrate and generate a hardware and software association list based on the contextual relationship between the hardware technical feature fields and the software technical feature fields.
4. The automated hardware and software design system for an atomizer according to claim 3, characterized in that, The identification module further includes an uncertain feature marking unit; The uncertain feature marking unit is used to mark keywords that fail to match as uncertain keywords and integrate them to generate an uncertain keyword list. The keywords in the uncertain keyword list are manually confirmed and then input into the hardware keyword list, software keyword list and / or software and hardware association list.
5. The software and hardware automated design system for an atomizer according to claim 3, characterized in that, The allocation module includes a hardware requirement reorganization unit, a software requirement reorganization unit, and a requirement association unit; The hardware requirement reorganization unit is used to recombine the keywords in the hardware keyword list into a hardware requirement list. The software requirement reorganization unit is used to recombine the keywords in the software keyword list into a software requirement list. The requirement association unit is used to generate a software and hardware requirement association list based on the software and hardware association list.
6. The automated hardware and software design system for an atomizer according to claim 1, characterized in that, The self-test module includes a hardware-side self-test unit, a software-side self-test unit, and a missing item processing unit; The hardware-side self-test unit is used to check whether the local hardware design environment meets the execution conditions of the corresponding requirements according to the hardware requirement list. The software-side self-checking unit is used to check whether the local software design environment meets the execution conditions of the corresponding requirements based on the software requirements list. The missing item processing unit is used to output a list of missing requirements and alternative solutions when the self-inspection does not meet the production conditions. After manual supplementation and confirmation, the list is re-entered to the allocation module.
7. The automated hardware and software design system for an atomizer according to claim 1, characterized in that, The production module includes a hardware design unit and a software design unit; The hardware design unit is used to call hardware design resources and tools to perform hardware design based on the hardware requirement list and the software and hardware requirement association list, and to automatically generate hardware engineering data. The software design unit is used to call software design resources and tools to perform software design based on the software requirement list and the software and hardware requirement association list, and to automatically generate software engineering data.
8. The software and hardware automated design system for an atomizer according to claim 7, characterized in that, The automated hardware and software design system also includes a review module; The review module is used to review the hardware engineering data and software engineering data to confirm whether the hardware engineering data and software engineering data meet the requirements; if they do not meet the requirements, the data is returned to the allocation module or production module for reallocation or re-production.
9. The software and hardware automated design system for an atomizer according to claim 8, characterized in that, The review module includes a file integrity review unit, a format review unit, a requirement coverage review unit, an interface consistency review unit, and a parameter consistency review unit; The file integrity verification unit is used to verify whether the hardware engineering data and software engineering data are empty. If the file is empty, it is returned to the production module for re-production. The format verification unit is used to verify whether the file formats of hardware engineering data and software engineering data conform to the preset specifications. If there are files whose formats do not conform to the specifications, the data is returned to the production module for re-production. The requirement coverage verification unit is used to match and compare the contents of the hardware requirement list and the software requirement list with the contents of the hardware engineering data and the software engineering data, respectively. If there is a mismatch, the process is returned to the allocation module for reallocation. The interface consistency verification unit uses the software and hardware requirement association list as a benchmark to cross-compare the interfaces in the hardware engineering data with the corresponding associated interfaces in the software engineering data. If there are any inconsistencies in the interfaces, the process is returned to the production module for re-production. The parameter consistency verification unit uses the hardware and software requirement association list as a benchmark to cross-compare the parameters in the hardware engineering data with the corresponding associated parameters in the software engineering data. If there are any parameter inconsistencies, the process is returned to the production module for re-production.
10. The software and hardware automated design system for an atomizer according to claim 8, characterized in that, The software and hardware automated design system also includes an output module; The output module integrates and packages the hardware engineering data and software engineering data into a standardized delivery package.
11. A method for automated hardware and software design of an atomizer, characterized in that, Applied to the system according to any one of claims 1 to 10, the method includes the following steps: S1. Extract the content of multi-format requirement files, convert the formats, and output text data; S2. Perform feature recognition on the text data to generate a hardware keyword list, a software keyword list, and an uncertain keyword list, and generate a software and hardware association list based on the contextual relationship between the keywords; the uncertain keyword list is manually confirmed and then input into the hardware keyword list, the software keyword list, and / or the software and hardware association list. S3. Reorganize the hardware keyword list and software keyword list to generate a hardware requirement list and a software requirement list, and establish a software and hardware requirement association list based on the software and hardware association relationship list. S4. Check the local hardware design environment and software design environment according to the hardware requirement list and software requirement list respectively. If the production conditions are not met, output the list of missing requirements and alternative solutions. After manual supplementation and confirmation, return to step S3 to reallocate the requirements. If the conditions are met, output the production ready flag. S5. Based on the production readiness flag, hardware requirements list, software requirements list, and hardware and software requirements association list, call the corresponding design resources and tools to automatically generate hardware and software designs respectively, and output hardware engineering data and software engineering data. S6. Review the hardware engineering data and software engineering data, including file integrity review, format review, requirement coverage review, interface consistency review, and parameter consistency review; if the review fails, return to step S3 for reallocation or return to step S5 for re-production; S7. After the review is approved, the hardware engineering data and software engineering data are integrated and packaged into a standardized delivery package for output.
