Electronic product model design automation method and apparatus, and device and medium

By automatically generating abstract models of electronic products, the problem of inconsistencies in the models at different steps is solved, a more efficient design process is achieved, and the design efficiency of electronic products is improved.

WO2024244100A1PCT designated stage expired Publication Date: 2024-12-05SUZHOU YIGE TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/104627
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-29
Filing Date
2023-06-30
Publication Date
2024-12-05

AI Technical Summary

Technical Problem

In the existing electronic product design process, inconsistencies in the model are caused by manual programming at different steps, which leads to longer design and verification cycles and lower efficiency.

Method used

By acquiring the model design files of electronic products, writing them into a table according to preset rules to form a file, and parsing the file to automatically generate an abstract model, including checking and updating the model design files to ensure consistency, using preset scripts to detect design problems and automatically update, and generating a model framework for simulation models.

Benefits of technology

This avoids inconsistencies in models caused by manual programming, shortens the overall design process time for electronic products, and improves design efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023104627_05122024_PF_FP_ABST
    Figure CN2023104627_05122024_PF_FP_ABST
Patent Text Reader

Abstract

The present application discloses an electronic product model design automation method and apparatus, and a device and a medium. The method comprises: acquiring a model design file of an electronic product, wherein the model design file is a file formed by writing a model design structure of the electronic product into a table according to a preset rule, and the preset rule at least comprises a naming rule; and parsing the model design file to automatically generate an abstract model corresponding to the model design file, wherein the abstract model is a model framework used for constructing a simulation model of the electronic product. The present application can shorten the time required for the overall design process of an electronic product, thereby improving the design efficiency of the electronic product.
Need to check novelty before this filing date? Find Prior Art

Description

An automated method, device, equipment and medium for electronic product model design

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on May 29, 2023, with application number 202310618918.1 and invention name “A method, device, equipment and medium for automated design of electronic product models”, the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The present application relates to the field of model design automation technology, and specifically to an electronic product model design automation method, device, equipment and medium. Background Art

[0004] The electronic product design process involves multiple steps. First, the function of the electronic product must be clearly defined. Based on this function, high-level planning is performed and a high-level simulation model is established. Once the simulation model meets performance requirements, detailed design, debugging, and verification are performed based on the simulation model to obtain the electronic product design model. Finally, this electronic product design model is converted into a logic gate-level circuit and implemented at the physical layer.

[0005] However, in the current electronic product design process, the models used in these various steps are manually programmed by engineers. The same model used in different steps can be inconsistent due to code errors or design changes at a particular step. This can lengthen the design and verification cycle for electronic products, resulting in low design efficiency and, in turn, slow product upgrades.

[0006] Summary of the Invention

[0007] In view of this, the embodiments of the present application provide an automated method, device, equipment and medium for electronic product model design to solve the problem of low electronic product design efficiency caused by the need for manual programming of the models used in each design step of the electronic product in the prior art.

[0008] According to a first aspect, an embodiment of the present application provides an automated method for designing an electronic product model, the method comprising:

[0009] Obtaining a model design file of an electronic product; the model design file is a file formed by writing the model design structure of the electronic product into a table according to preset rules; the preset rules at least include: a naming rule;

[0010] The model design file is parsed to automatically generate an abstract model corresponding to the model design file; the abstract model is a model framework for constructing a simulation model of an electronic product.

[0011] In some embodiments, before parsing the model design file to automatically generate an abstract model corresponding to the model design file, the method includes:

[0012] Check whether the content of each table in the model design file complies with the naming rules;

[0013] In the case where the table content does not conform to the naming rules, a file modification reminder message is issued; the file modification reminder message is a reminder message for modifying the table content that does not conform to the naming rules;

[0014] receiving the modified model design file, and re-performing the step of detecting whether the content of each table in the model design file complies with the naming rule;

[0015] When the content of each table complies with the naming rule, it is determined that the model design file is parseable.

[0016] In some embodiments, the step of parsing the model design file to automatically generate an abstract model corresponding to the model design file includes:

[0017] generating an initial model corresponding to the model design file based on the model design file;

[0018] Detecting whether the initial model has preset design problems based on a preset script;

[0019] If the initial model has a preset design problem, updating the initial model to solve the preset design problem in the initial model, and determining the updated initial model as the abstract model of the electronic product;

[0020] Based on the updated abstract model, synchronously modifying the description portion corresponding to the preset design problem in the model design file to form a new model design file;

[0021] If the initial model does not have any preset design problems, the initial model is determined as an abstract model of the electronic product.

[0022] In some embodiments, the model design file includes a header row and other rows except the header row; each of the other rows is used to describe a module; and the step of generating an initial model corresponding to the model design file based on the model design file includes:

[0023] Parsing the header row of the model design file based on the preset rules to determine the meaning of each column of information in the model design file;

[0024] Parsing the other rows except the header row in the model design file based on the meaning of each column of information to at least determine module information of a plurality of modules; the module information at least includes input signal information, output signal information, and module type module; wherein the input signal information at least includes control signal type, input direction information, and input pin number; the output signal information at least includes output pin number and output direction information; the module type at least includes multiple selectors, basic logic gates, and registers, as well as dynamic and static adjustable properties of each device;

[0025] An initial model corresponding to the model design file is generated based on the module information.

[0026] In some embodiments, after parsing the model design file to automatically generate an abstract model corresponding to the model design file, the method further includes:

[0027] A model performance analysis process is performed based on the abstract model to determine a performance indicator value of the abstract model.

[0028] In some embodiments, after parsing the model design file to automatically generate an abstract model corresponding to the model design file, the method further includes:

[0029] The abstract model is configured based on simulation parameters to obtain the corresponding simulation model.

[0030] In some embodiments, after parsing the model design file to automatically generate an abstract model corresponding to the model design file, the method further includes:

[0031] The abstract model is converted into a model in a preset format to facilitate model simulation processing in different model formats.

[0032] According to a second aspect, an embodiment of the present application provides an electronic product model design automation device, the device comprising:

[0033] An acquisition module is used to acquire a model design file of an electronic product; the model design file is a file formed by writing the model design structure of the electronic product into a table according to preset rules; the preset rules at least include: a naming rule;

[0034] The automation module is used to parse the model design file to automatically generate an abstract model corresponding to the model design file; the abstract model is a model framework for constructing a simulation model of an electronic product.

[0035] According to a third aspect, an embodiment of the present application provides a computer device, characterized in that it includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the electronic product model design automation method as described in the first aspect.

[0036] According to a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method for automating electronic product model design according to the first aspect. The technical solution of this application has the following advantages:

[0037] An embodiment of the present application provides an automated method for electronic product model design, the method comprising: obtaining a model design file of the electronic product, the model design file being a file formed by writing the model design structure of the electronic product into a table according to preset rules; parsing the model design file to automatically generate an abstract model corresponding to the model design file, wherein the abstract model is a model framework for constructing a simulation model of the electronic product. The present application can avoid inconsistencies in the same model in each step caused by manual programming, shorten the time required for the overall design process of the electronic product, and improve the efficiency of electronic product design. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. Those skilled in the art can also derive other drawings based on these drawings without inventive work:

[0039] FIG1 is a flow chart of an automated method for electronic product model design provided in an embodiment of the present application.

[0040] FIG2 is a flowchart of a method for automatically generating an abstract model provided in an embodiment of the present application.

[0041] FIG3 is a flowchart of a method for automatically generating an initial model provided in an embodiment of the present application.

[0042] FIG4 is a flow chart of another method for automating electronic product model design provided in an embodiment of the present application.

[0043] FIG5 is a schematic structural diagram of an electronic product model design automation device provided in an embodiment of the present application.

[0044] FIG6 is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] To make the purpose, technical solutions, and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of this application.

[0046] Figure 1 is a flow chart of an electronic product model design automation method provided by an embodiment of the present application. As shown in Figure 1 , the electronic product model design automation method includes the following steps: Step S1 - Step S2.

[0047] Step S1: Obtain a model design file of an electronic product.

[0048] The model design file is a file formed by writing the model design structure of the electronic product into a table according to preset rules.

[0049] The model design structure of the electronic product is the layout structure and connection structure of each module (or component) in the electronic product.

[0050] The preset rule refers to the pre-configured writing rule, which includes: required features, data format, device name, naming rules, etc. The required features are the content that must be written when the model design structure of the electronic product is written into the table according to the preset rules, such as module type, module output information, module annotation information, etc. The data format refers to the format of some specific data that needs to meet the writing requirements. For example, for the module pin identification, the data format is an integer when writing to the table. For example, for each component, the data name when writing to the table is the existing device name: Mux (multiple selector), LUT (truth table), AND (AND gate), etc. The naming rule is the naming format that each table content must meet. For example, for signal writing, the naming rule is: the first part identifies the direction, the second part identifies the line length, the third part identifies the input and output, and the fourth part is an integer not greater than 32; among them, the first part uses E, N, W, and S to identify the east, north, west, and south directions respectively, the second part uses LA, LB, LC, LD, LE, and LF to identify the lengths 1, 2, 3, 4, 5, and 6 respectively, and the third part uses Begin to identify the output and End to identify the input.

[0051] A table refers to a file with row and column relationships, for example, a table in Excel software.

[0052] In one embodiment, during the design process of an electronic product, a designer writes a model design structure of the electronic product into a table according to preset rules to generate a model design file. The model design file is then stored in a preset storage location, such as a storage location in a terminal or a storage location in a server. The model design file can accurately reflect the designer's design intent.

[0053] In an embodiment of the present application, in any step of the electronic product design, if a model design file of the electronic product is needed, the corresponding model design file can be obtained from a preset storage location.

[0054] Step S2: Parse the model design file to automatically generate an abstract model corresponding to the model design file.

[0055] Among them, the abstract model is a model framework used to build a simulation model of electronic products.

[0056] In the embodiment of the present application, the model design file can accurately reflect the designer's design intent. Therefore, the process of parsing the model design file is the process of identifying the design intent through a program. In this process, an abstract model corresponding to the model design file is automatically generated, which can accurately and effectively convert the text design into an abstract model.

[0057] The design process of electronic products includes multiple steps, and the models used in different steps are currently built by engineers through manual programming. For the same model used in different steps, due to errors in the code or changes in the model design in a certain step, the same model may be inconsistent in different steps. In the embodiment of the present application, in each step of the electronic product design, it is only necessary to parse the pre-acquired model design file to automatically generate an abstract model corresponding to the model design file, which can avoid the inconsistency of the same model in each step caused by manual programming, speed up the design and verification cycle of electronic products, shorten the time required for the overall design process of electronic products, and improve the efficiency of electronic product design.

[0058] An embodiment of the present application provides an automated method for electronic product model design, the method comprising: obtaining a model design file of the electronic product, the model design file being a file formed by writing the model design structure of the electronic product into a table according to preset rules; parsing the model design file to automatically generate an abstract model corresponding to the model design file, wherein the abstract model is a model framework for constructing a simulation model of the electronic product. The present application can avoid inconsistencies in the same model in each step caused by manual programming, shorten the time required for the overall design process of the electronic product, and improve the efficiency of electronic product design.

[0059] In one embodiment, before parsing a model design file to automatically generate an abstract model corresponding to the model design file (step S2 above), the model design file needs to be pre-tested to determine whether the model design file is parseable to avoid errors in the parsing process. The step of testing the model design file includes the following steps 1 to 4.

[0060] Step 1: Check whether the content of each table in the model design file complies with the naming rules.

[0061] The naming rules can be found in the detailed description in the aforementioned embodiment and will not be repeated here.

[0062] Step 2: If the table content does not comply with the naming rules, a file modification reminder message is issued.

[0063] The file modification reminder information is a reminder information for modifying the table content that does not comply with the naming rules.

[0064] In one embodiment, the file modification reminder information can be directly displayed on a related page, so that a technician can modify the model design file and form a modified model design file.

[0065] Step 3: Receive the modified model design file and re-execute the step of checking whether the content of each table in the model design file complies with the naming rules.

[0066] In an embodiment of the present application, the modified model design file is also subjected to a step of detecting whether the content of each table in the model design file complies with the naming rules, thereby improving the format accuracy of the model design file.

[0067] Step 4: When the contents of each table comply with the naming rules, confirm that the model design file can be parsed.

[0068] If the content of each table item complies with the naming rules, it means that the model design file meets the requirements and can be directly parsed. Therefore, if the content of each table item complies with the naming rules, the above-mentioned steps of parsing the model design file can be performed to automatically generate an abstract model corresponding to the model design file.

[0069] In an embodiment of the present application, the model design file is pre-checked before parsing the model design file to determine whether the model design file is parseable, and a modification reminder for the model design file is implemented if it is not parseable. This can effectively avoid errors in the parsing program when parsing the model design file and improve the efficiency of model design.

[0070] Figure 2 is a flow chart of a method for automatically generating an abstract model according to an embodiment of the present application. As shown in Figure 2, the step of parsing a model design file to automatically generate an abstract model corresponding to the model design file (the aforementioned step S2) includes: steps S21 to S25.

[0071] Step S21: Generate an initial model corresponding to the model design file based on the model design file.

[0072] Among them, the initial model is an abstract model that has not been tested.

[0073] Step S22: Detect whether the initial model has any preset design problems based on a preset script.

[0074] The preset script is a program for detecting whether the initial model has a preset design problem. The preset script can be configured according to the actual application process and is not limited in this embodiment.

[0075] Preset design problems refer to the problem that the signal transmission of each module in the initial model is inconsistent with the pre-designed one.

[0076] For example, the internal fanouts of all converter inputs can be listed, and after passing through a multiple selector, there may be further fanouts before finally reaching the output port. In some embodiments, based on a preset script, it is determined whether an eastbound signal has the ability to continue eastbound or whether it can turn north or south. If it lacks either capability, it is determined that the design corresponding to the eastbound signal is inconsistent with the pre-set design, indicating a preset design issue.

[0077] In other embodiments, based on a preset scenario, a determination is made as to whether a signal traveling eastward is also capable of traveling westward. If it is, the design corresponding to the eastward signal is determined to be inconsistent with the pre-set design, indicating a problem with the pre-set design. This wastes resources in signal transmission, a scenario that designers seek to avoid.

[0078] In practical applications, the basic components used in electronic product designs are mostly multiplexers (muxes). The generated initial model can be tested for pre-defined design issues by checking whether all input pins of the mux have signal connections, whether there are any signals that do not conform to naming rules, and whether any signals are driven simultaneously by two devices. If any of the following conditions exist: a pin has no signal connection, a signal does not conform to naming rules, or a signal is driven simultaneously by two devices, the initial model is determined to have a pre-defined design issue.

[0079] Step S23: If the initial model has a preset design problem, the initial model is updated to solve the preset design problem in the initial model, and the updated initial model is determined as the abstract model of the electronic product.

[0080] In the case where there are preset design problems in the initial model, the initial model is automatically updated with the goal of solving the preset design problems in the initial model, so that the preset design problems no longer exist in the updated initial model, and the updated initial model is used as an abstract model of the electronic product.

[0081] Step S24: Based on the updated abstract model, the description portion corresponding to the preset design problem is synchronously modified in the model design file to form a new model design file.

[0082] The new model design file corresponds to the updated abstract model. Parsing the new model design file yields the updated abstract model. Therefore, by replacing the original model design file with the new one, if the abstract model is still needed during the electronic product design process, the new model design file can be parsed to automatically generate the abstract model, thereby maintaining consistency across all steps of the design process.

[0083] Step S25: If the initial model does not have any preset design problems, the initial model is determined as an abstract model of the electronic product.

[0084] In an embodiment of the present application, after parsing the model design file to automatically generate an initial model corresponding to the model design file, the initial model is detected based on a preset script to determine whether there are preset design problems. This allows problems in the model design process to be discovered in the early stages of design and corrected in a timely manner. This can speed up the design and verification cycle of electronic products, shorten the time required for the overall design process of electronic products, and effectively improve the efficiency of electronic product design.

[0085] Figure 3 is a flow chart of a method for automatically generating an initial model provided by an embodiment of the present application. As shown in Figure 3, the step of generating an initial model corresponding to the model design file based on the model design file (the above-mentioned step S21) includes: steps S211 to S213.

[0086] Step S211: Parse the header row of the model design file based on preset rules to determine the meaning of each column of information in the model design file.

[0087] The model design file includes a title row and other rows except the title row.

[0088] The header row is a special row used to indicate the meaning of each column information. For example, the meaning of the column information may indicate that the first column is input signal information, the second column is output signal information, the third column is module type, and the fourth column is the number of control signals.

[0089] Each of the other lines describes a module.

[0090] It should be noted that, in the embodiment of the present application, the parsing process can be implemented by a pre-built parsing code framework, which has the function of parsing different model design files according to different preset rules.

[0091] Step S212: parse the other rows except the title row in the model design file based on the meaning of each column of information to determine module information of multiple modules.

[0092] The module information includes at least input signal information, output signal information and module type.

[0093] In one embodiment, the input signal information includes at least a control signal type, input direction information, and an input pin number. The control signal type is, for example, one or both of a clock signal (Clk) and a reset signal (reset). It should be noted that the clock signal and the reset signal can coexist. The input direction information is information formed by adding a sequence number to the direction (E, N, W, S) of the input signal, the length (LA, LB, LC, LD, LE, LF) of the line, and the end (end). For example, SLB_end_1 represents an input line (end) heading south (S) with a length of 2 (LB). The input pin number is the input pin number of each module or each device, for example, the multiple input pin numbers of a multiple selector.

[0094] Output signal information includes at least the output pin number and output direction information. The output direction information is formed by adding a sequence number based on the input signal direction (E, N, W, S), the line length (LA, LB, LC, LD, LE, LF), and the beginning (begin). For example, ELA_Begin_2 is an output line (begin) running east (E) with a length of 1 (LA). The output pin number is the output pin number of each module or device, for example, the multiple output pin numbers of a multiselector.

[0095] Module types include at least multiple selectors, basic logic gates, and registers, as well as the dynamic and static adjustable properties of each device. Dynamic and static adjustable properties refer to whether the parameters of each device are adjustable when not in operation (static) or in operation (dynamic). For example, a dynamically adjustable multiple selector and a non-dynamically adjustable multiple selector are different types of multiple selectors.

[0096] Step S213: Generate an initial model corresponding to the model design file based on the module information.

[0097] The initial model includes: multiple modules, sub-modules contained in the multiple modules, and connection relationships between the multiple modules.

[0098] In an embodiment of the present application, a model design file is parsed based on preset rules to automatically generate an initial model corresponding to the model design file, which can realize the process of identifying design intent through the program and accurately and effectively convert the text design into the initial model.

[0099] In one embodiment, after parsing the model design file to automatically generate an abstract model corresponding to the model design file, the electronic product model design automation method includes: performing a model performance analysis process based on the abstract model to determine a performance indicator value of the abstract model.

[0100] The model performance analysis process is used to analyze the model performance of the abstract model. The performance index values ​​include but are not limited to the model power loss, area size and other index values.

[0101] It should be noted that since the abstract model is a model framework for constructing a simulation model of an electronic product, in the embodiment of the present application, model performance analysis processing is performed based on the abstract model to determine the performance index value of the abstract model. The performance index value of the basic abstract model can be evaluated before constructing the simulation model, and then the design direction can be determined based on the performance index value.

[0102] Figure 4 is a flow chart of another electronic product model design automation method provided by an embodiment of the present application. As shown in Figure 4, after automatically generating an abstract model corresponding to the model design file, the electronic product model design automation method further includes the following steps: Step S3.

[0103] Step S3: configuring the abstract model based on the simulation parameters to obtain a corresponding simulation model.

[0104] The simulation parameters are model parameters for constructing a simulation model, such as configuration addresses, operation delays of devices in each module, and other parameters.

[0105] In the embodiment of the present application, different simulation models can be configured according to different simulation parameters to achieve diversified simulation of electronic product design and improve the design efficiency of electronic products.

[0106] In one embodiment, after parsing the model design file to automatically generate an abstract model corresponding to the model design file, the electronic product model design automation method includes: converting the abstract model into a model in a preset format to facilitate model simulation processing in different model formats.

[0107] The preset formats are model formats in different simulation environments, such as Verilog (a hardware description language type) or SystemC (a software and hardware collaborative design language type).

[0108] In one embodiment, when the abstract model is converted into a model in Verilog format, the model representation in Verilog format may be as follows:

[0109] Among them, Module Hub() refers to a multi-port repeater model; output refers to output; input refers to input; mux8 is a multiple selector; drive refers to drive; the description of information such as ELA_Begin_0 can be found in the above embodiment and will not be repeated here.

[0110] In an embodiment of the present application, the abstract model is converted into a model in a preset format to facilitate model simulation processing under different model formats, which can speed up the design and verification cycle of electronic products, shorten the time required for the overall design process of electronic products, and improve the design efficiency of electronic products.

[0111] FIG5 is a schematic diagram of the structure of an electronic product model design automation device provided in an embodiment of the present application. As shown in FIG5 , the device includes: an acquisition module 51 and an automation module 52 .

[0112] The acquisition module 51 is used to acquire a model design file of an electronic product, wherein the model design file is a file formed by writing the model design structure of the electronic product into a table according to a preset rule.

[0113] The automation module 52 is used to parse the model design file to automatically generate an abstract model corresponding to the model design file.

[0114] Among them, the abstract model is a model framework used to build a simulation model of electronic products.

[0115] In one embodiment, the electronic product model design automation device includes a detection module, a reminder module, and a control module.

[0116] Among them, the detection module is used to detect whether the content of each table in the model design file complies with the naming rules.

[0117] The reminder module is used to issue a file modification reminder message when there is a table content that does not comply with the naming rules, wherein the file modification reminder message is a reminder message for modifying the table content that does not comply with the naming rules.

[0118] The control module is used to receive the modified model design file and control the detection module to re-execute the step of detecting whether the content of each table in the model design file complies with the naming rules.

[0119] The control module is further configured to determine that the model design file is parseable when the content of each table complies with the naming rules.

[0120] In one embodiment, the automation module 52 includes a parsing submodule, a detection submodule, an updating submodule, and a decision submodule.

[0121] The parsing submodule is used to generate an initial model corresponding to the model design file based on the model design file.

[0122] The detection submodule is used to detect whether the initial model has preset design problems based on the preset script.

[0123] The updating submodule is used to update the initial model to solve the preset design problems in the initial model when the initial model has preset design problems.

[0124] The decision submodule is used to determine the updated initial model as the abstract model of the electronic product.

[0125] The above-mentioned updating submodule is also used to synchronously change the description part corresponding to the preset design problem in the model design file based on the updated abstract model to form a new model design file.

[0126] The decision submodule is further used to determine the initial model as an abstract model of the electronic product when the initial model does not have any preset design problems.

[0127] In one embodiment, the model design file includes a header row and other rows except the header row, and each of the other rows is used to describe a module.

[0128] In one embodiment, the parsing submodule includes a first parsing unit, a second parsing unit, and a generation unit. The first parsing unit is configured to: parse the header row of the model design file based on preset rules to determine the meaning of each column of information in the model design file; the second parsing unit is configured to parse the rows of the model design file other than the header row based on the meaning of each column of information to determine at least module information for multiple modules, where the module information includes at least input signal information, output signal information, and module type information; and the third parsing unit is configured to generate an initial model corresponding to the model design file based on the module information.

[0129] In one embodiment, the electronic product model design automation device further includes a performance analysis module configured to perform model performance analysis based on the abstract model to determine a performance index value of the abstract model.

[0130] In one embodiment, the electronic product model design automation device further includes a simulation configuration module, which is configured to configure the abstract model based on simulation parameters to obtain a corresponding simulation model.

[0131] In one embodiment, the electronic product model design automation device further includes a model conversion module, which is used to convert the abstract model into a model with preset rules, so as to facilitate model simulation processing in different model formats.

[0132] An embodiment of the present application provides an electronic product model design automation device, which includes: an acquisition module for acquiring a model design file of an electronic product, wherein the model design file is a file formed by writing the model design structure of the electronic product into a table according to preset rules; an automation module for parsing the model design file to automatically generate an abstract model corresponding to the model design file, wherein the abstract model is a model framework for constructing a simulation model of an electronic product. The present application can avoid the inconsistency of the same model in each step caused by manual programming, shorten the time required for the overall design process of the electronic product, and improve the efficiency of electronic product design.

[0133] Figure 6 is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. As shown in Figure 6, the computer device may include a processor 601 and a memory 602, wherein the processor 601 and the memory 602 may be connected via a bus or other means, with Figure 6 taking the bus connection as an example.

[0134] The processor 601 may be a central processing unit (CPU). The processor 601 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.

[0135] Memory 602, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as the program instructions / modules corresponding to the electronic product model design automation method in the embodiments of the present application. Processor 601 executes the non-transitory software programs, instructions, and modules stored in memory 602 to perform various processor functions and data processing, thereby implementing the electronic product model design automation method in the above-mentioned method embodiment.

[0136] The memory 602 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created by the processor 601, etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 602 may optionally include a memory remotely located relative to the processor 601, and these remote memories may be connected to the processor 601 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0137] One or more modules are stored in the memory 602 , and when executed by the processor 601 , the electronic product model design automation method in the embodiment shown in FIG. 1 is executed.

[0138] The specific details of the above-mentioned computer device can be understood by referring to the corresponding relevant descriptions and effects in the embodiment shown in Figure 1, and will not be repeated here.

[0139] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (Flash Memory), a hard disk drive (HDD) or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above-mentioned types of memory. Although the embodiments of the present application are described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present application, and such modifications and variations fall within the scope defined by the appended claims.

Claims

1. An automated method for electronic product model design, It is characterized in that The method comprises: Obtaining a model design file of an electronic product; the model design file is a file formed by writing the model design structure of the electronic product into a table according to preset rules; the preset rules at least include naming rules; The model design file is parsed to automatically generate an abstract model corresponding to the model design file; the abstract model is a model framework for constructing a simulation model of an electronic product.

2. The method according to claim 1, It is characterized in that Before parsing the model design file to automatically generate an abstract model corresponding to the model design file, the method includes: Check whether the content of each table in the model design file complies with the naming rules; In the case where the table content does not conform to the naming rule, a file modification reminder message is issued; the file modification reminder message is a reminder message for modifying the table content that does not conform to the naming rule; receiving the modified model design file, and re-performing the step of detecting whether the content of each table in the model design file complies with the naming rule; When the content of each table complies with the naming rule, it is determined that the model design file is parseable.

3. The method according to claim 2, It is characterized in that The step of parsing the model design file to automatically generate an abstract model corresponding to the model design file includes: Generate an initial model corresponding to the model design file based on the model design file; Detecting whether the initial model has preset design problems based on a preset script; In the case where the initial model has a preset design problem, updating the initial model to solve the preset design problem in the initial model, and determining the updated initial model as the abstract model of the electronic product; Based on the updated abstract model, the preset Set the description part corresponding to the design problem to form a new model design file; When the initial model does not have any preset design problem, the initial model is determined as an abstract model of the electronic product.

4. The method according to claim 3, It is characterized in that The model design file includes a title row and other rows except the title row; each of the other rows is used to describe a module; the step of generating an initial model corresponding to the model design file based on the model design file includes: Parsing the header row of the model design file based on the preset rules to determine the meaning of each column of information in the model design file; Parse the other rows except the title row in the model design file based on the meaning of each column of information to at least determine the module information of multiple modules; the module information at least includes input signal information, output signal information and module type module; wherein the input signal information at least includes control signal type, input direction information and input pin number; the output signal information at least includes output pin number and output direction information; the module type at least includes multiple selectors, basic logic gates and registers, and dynamic and static adjustable properties of each device; An initial model corresponding to the model design file is generated based on the module information.

5. The method according to claim 4, It is characterized in that After parsing the model design file to automatically generate an abstract model corresponding to the model design file, the method further includes: A model performance analysis process is performed based on the abstract model to determine a performance indicator value of the abstract model.

6. The method according to claim 4, It is characterized in that After parsing the model design file to automatically generate an abstract model corresponding to the model design file, the method further includes: The abstract model is configured based on simulation parameters to obtain the corresponding simulation model.

7. The method according to claim 4, It is characterized in that After parsing the model design file to automatically generate an abstract model corresponding to the model design file, the method further includes: The abstract model is converted into a model in a preset format to facilitate model simulation processing in different model formats.

8. An automated device for designing electronic product models, It is characterized in that The device comprises: An acquisition module, used to acquire a model design file of an electronic product; the model design file is a file formed by writing the model design structure of the electronic product into a table according to preset rules; the preset rules at least include a naming rule; The automation module is used to parse the model design file to automatically generate an abstract model corresponding to the model design file; the abstract model is a model framework for constructing a simulation model of an electronic product.

9. A computer device, It is characterized in that include: at least one processor; And a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor performs the steps of the electronic product model design automation method as described in any one of claims 1-7.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the electronic product model design automation method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Cable assembly parametric model and geometric modeling method

    CN105956220A

  • Risk control audit model generation method, device and equipment and readable storage medium

    CN109615534A

  • Simulation modeling method based on system design product and computer readable storage medium

    CN113919138A

  • Business processing model generation method and device, electronic equipment and storage medium

    CN114064026A

  • Method and system for automatically generating a global simulation model of an architecture

    US20040162805A1