[go: up one dir, main page]

CN119127171A - Design rule creation method, device, electronic device and storage medium - Google Patents

Design rule creation method, device, electronic device and storage medium Download PDF

Info

Publication number
CN119127171A
CN119127171A CN202411246060.1A CN202411246060A CN119127171A CN 119127171 A CN119127171 A CN 119127171A CN 202411246060 A CN202411246060 A CN 202411246060A CN 119127171 A CN119127171 A CN 119127171A
Authority
CN
China
Prior art keywords
rule
information
interface
creation
sub
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202411246060.1A
Other languages
Chinese (zh)
Inventor
柳君霞
杜辉斌
杨林军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Lecheng Information Technology Co ltd
Original Assignee
Shanghai Lecheng Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Lecheng Information Technology Co ltd filed Critical Shanghai Lecheng Information Technology Co ltd
Priority to CN202411246060.1A priority Critical patent/CN119127171A/en
Publication of CN119127171A publication Critical patent/CN119127171A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/33Intelligent editors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/20Configuration CAD, e.g. designing by assembling or positioning modules selected from libraries of predesigned modules

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Computer Security & Cryptography (AREA)
  • Computational Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a method, a device, electronic equipment and a storage medium for creating a design rule, wherein the method comprises the steps of displaying a rule creation interface according to an acquired rule creation mode, enabling a user to input rule information in the rule creation interface, acquiring rule information, generating an initial design rule based on the rule information, conducting rule inspection on the initial design rule to obtain an inspection result of the initial design rule, determining the initial design rule as a target design rule when the inspection result is that the inspection is passed, storing the target design rule and rule information into a design rule storage area, namely, when the existing design rule can not meet the inspection requirement of the design rule, automatically generating a target design rule meeting the actual requirement based on the rule information after the user inputs the rule information according to the actual requirement, namely, adding the design rule meeting the inspection requirement of the design rule under the condition of not depending on an element model library, and achieving the purpose of supporting rule expansion of the design rule.

Description

Design rule creation method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of electronic design automation technology, and in particular, to a method and apparatus for creating a design rule, an electronic device, and a storage medium.
Background
In the electronic design automation (Electronic design automation, EDA) design, the design rule check (Design Rule Check, DRC) is carried out, so that the electronic design automation design errors can be prevented, the quality and the reliability of the electronic design automation design are further ensured, and the production efficiency of the electronic design automation design is improved.
However, the number of design rules in the existing electronic design automation tool is limited, and the design rule checking tool in the electronic design automation tool can supplement some design rules, and the tool needs to be used based on an element model library, so that rule expansion is not supported, and a technician can only use the design rules with limited number to check the design rules, so that the electronic design automation design errors cannot be prevented more comprehensively, and great limitation and inconvenience are brought to the design rule checking of the technician, the quality and reliability of the electronic design automation design cannot be better guaranteed, and in addition, due to disordered version management of the design rules, when the technician needs to manage the design rules of different versions, the corresponding design rules cannot be determined quickly, inconvenience is brought to the management of the design rules of the technician, and the design rule management efficiency of the technician is reduced.
Disclosure of Invention
The invention provides a method, a device, electronic equipment and a storage medium for creating design rules, which can increase the design rules meeting the requirement of checking the design rules under the condition of not depending on an element model library, realize the aim of supporting the rule expansion of the design rules, better meet the checking requirement of a user, reduce the checking limitation of the design rules, increase the checking convenience of the design rules, solve the problems that the number of the design rules in an electronic design automation tool is limited and the rule expansion is not supported, lead the user to only use the limited number of the design rules for checking the design rules, bring greater limitation and inconvenience to the checking of the design rules for technicians, and further, because the target design rules meeting the actual requirement can be automatically generated based on rule information, namely, the number of the design rules is not limited any more, the electronic design automation design errors can be prevented more comprehensively, the quality and the reliability of the electronic design automation design are improved, finally, the target design rules and version information are correspondingly stored in a design rule storage area, the situation that the version is increased, the version of the design rules are required to be managed quickly, and the user can be managed quickly according to the design rules, and the management rule management efficiency is improved when the version of the design rules are required to be managed quickly.
According to a first aspect of the present invention, there is provided a method of creating a design rule, the method comprising:
acquiring a rule creation mode, and displaying a rule creation interface according to the rule creation mode so that a user inputs rule information on the rule creation interface;
acquiring the rule information and generating an initial design rule based on the rule information;
Performing rule inspection on the initial design rule to obtain an inspection result of the initial design rule;
when the inspection result is that the inspection passes, determining the initial design rule as a target design rule;
and storing the target design rule and the rule information into a design rule storage area, wherein the rule information comprises version information of the initial design rule.
According to a second aspect of the present invention, there is provided a design rule creation apparatus including:
the interface display module is used for acquiring a rule creation mode and displaying a rule creation interface according to the rule creation mode so that a user inputs rule information on the rule creation interface;
the rule generation module is used for acquiring the rule information and generating an initial design rule based on the rule information;
The rule checking module is used for checking the rule of the initial design rule to obtain a checking result of the initial design rule;
The rule determining module is used for determining the initial design rule as a target design rule when the inspection result is that the inspection is passed;
and the rule storage module is used for storing the target design rule and the rule information into a design rule storage area, wherein the rule information comprises version information of the initial design rule.
According to a third aspect of the present invention, there is provided an electronic device comprising a processor and a memory,
The memory is used for storing codes and related data;
the processor is configured to execute the code in the memory to implement the method for creating the design rule according to any one of the embodiments of the present invention.
According to a fourth aspect of the present invention, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements a method of creating a design rule according to any one of the embodiments of the present invention.
In the embodiment of the invention, a rule creation mode is acquired, a rule creation interface is displayed according to the rule creation mode, so that a user inputs rule information on the rule creation interface, rule information is acquired, an initial design rule is generated based on the rule information, rule inspection is conducted on the initial design rule to obtain an inspection result of the initial design rule, when the inspection result is that the inspection is passed, the initial design rule is determined to be a target design rule, the target design rule and the rule information are stored in a design rule storage area, and the rule information comprises version information of the initial design rule. The technical scheme of the invention can obtain rule information and automatically generate target design rules meeting actual requirements based on the rule information after a user (technician) inputs the rule information according to actual requirements under the condition that the existing design rules can not meet the inspection requirements of the design rules, namely, under the condition that the element model library is not relied on, the design rules meeting the inspection requirements of the design rules are increased, the purpose of supporting rule expansion of the design rules is realized, the inspection requirements of the user are better met, the limitation of the inspection of the design rules is reduced, the convenience of the inspection of the design rules is increased, the problems that the number of the design rules in an electronic design automation tool is limited and the rule expansion is not supported, so that the user can only use the limited number of the design rules to inspect the design rules are solved, and great limitation and inconvenience are brought to the design rule inspection of the technician are solved; in addition, the method can automatically generate target design rules meeting actual demands based on rule information, namely the number of the design rules is not limited, so that electronic design automation design errors can be prevented more comprehensively, the comprehensiveness of preventing the electronic design automation design errors is further increased, the quality and reliability of electronic design automation design are improved, finally, the target design rules and version information are correspondingly stored in a design rule storage area, which is equivalent to adding version attributes for the design rules, the purpose of distinguishing the versions of the target design rules is realized, when a user needs to manage the design rules of different versions, the corresponding design rules can be determined rapidly according to the version information, the convenience and the efficiency of the management of the design rules are improved, and the design rule management efficiency of the user is improved.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art.
FIG. 1 is a schematic flow chart of a method for creating design rules according to an embodiment of the present invention;
FIG. 2 is another flow chart of a method for creating design rules provided by an embodiment of the present invention;
FIG. 3 is a schematic diagram of a second basic information sub-interface in the method for creating a design rule according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a second parameter information sub-interface in the method for creating a design rule according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a second script information sub-interface in the method for creating design rules according to the embodiment of the present invention;
FIG. 6 is a schematic diagram of a method for creating design rules provided by an embodiment of the present invention;
FIG. 7 is a schematic diagram of a design rule creation device according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a configuration of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The technical scheme of the invention is described in detail below by specific examples. The following embodiments may be combined with each other, and some embodiments may not be repeated for the same or similar concepts or processes.
Fig. 1 is a schematic flow chart of a method for creating a design rule according to an embodiment of the present invention, where the method may be performed by a device for creating a design rule, and the device may be implemented in software and/or hardware. In a specific embodiment, the apparatus may be integrated in an electronic device, such as a computer, a server, etc. The following embodiments will be described taking the example of the integration of the apparatus in an electronic device, and referring to fig. 1, the method may specifically include the following steps:
Step 101, acquiring a rule creation mode, and displaying a rule creation interface according to the rule creation mode so that a user inputs rule information on the rule creation interface.
The rule creation mode can comprise ordinary creation, template creation and guide creation, wherein the ordinary creation can be understood as a mode that a user creates a design rule by himself without any rule creation prompt information, the template creation can be understood as a mode that the user creates the design rule on the basis of the rule creation template, the guide creation can be understood as a mode that the user creates the design rule under the guidance of the rule creation prompt information, the rule creation interface can comprise an ordinary creation interface, a template creation interface and a guide creation interface, and the rule information can be understood as information required for creating the design rule.
In an alternative embodiment, after detecting the user login information, the method comprises the steps of displaying a rule creation mode selection interface to a user so that the user can determine the rule creation mode in the rule creation mode selection interface, obtaining the rule creation mode determined by the user, determining the rule creation interface corresponding to the rule creation mode as a common creation interface when the rule creation mode is common creation, displaying the common creation interface so that the user inputs rule information in the common creation interface, determining the rule creation interface corresponding to the rule creation mode as a template creation interface when the rule creation mode is template creation, displaying the template creation interface so that the user inputs rule information in the template creation interface, determining the rule creation interface corresponding to the rule creation mode as a guide creation interface when the rule creation mode is guide creation, and displaying the guide creation interface so that the user inputs rule information in the guide creation interface.
The method comprises the steps of detecting login information of a user, displaying a rule creation mode selection interface for the user after the login information of the user is detected, enabling the user to select the rule creation mode in the rule creation mode selection interface to determine the rule creation mode, acquiring the rule creation mode determined by the user, determining the rule creation interface corresponding to the rule creation mode to be a common creation interface if the rule creation mode determined by the user is common creation, displaying the common creation interface, and enabling the user to input rule information in the common creation interface.
Step 102, obtaining rule information and generating an initial design rule based on the rule information.
The rule information may include rule basic information, rule parameter information and rule script information, the rule basic information may include a rule name, a rule classification, a rule level and a rule description, the rule level may be understood as a level of a design rule, the rule description may be understood as explanation information added to the design rule by a user, the rule parameter information may include parameter information required for creating the design rule, the rule parameter information may include a parameter value and a parameter name, types of rule parameters may include, but are not limited to, a character string, a regular expression, a collection, boolean, and the like, and the rule script information may be understood as code information required for creating the design rule.
In an alternative embodiment, the rule base information and the rule parameter information may be returned to the rule script information to generate the initial design rule.
The rule basic information comprises a rule name S, a rule classification (element), a rule level (first level) and a rule description (T), the rule parameter information comprises a parameter name A and a parameter value TRUE, the rule script information is XXXX, and the rule basic information and the rule parameter information can be returned to corresponding preset areas in the rule script information to automatically generate an initial design rule.
And step 103, performing rule inspection on the initial design rule to obtain an inspection result of the initial design rule.
In an alternative embodiment, the electronic design file may be obtained from an electronic design automation tool, and then the electronic design file may be subjected to data analysis to obtain the data to be inspected, and the data to be inspected may be subjected to rule inspection using the initial design rule to obtain the inspection result of the initial design rule.
The method comprises the steps of obtaining an electronic design file F from an electronic design automation tool, then carrying out data analysis on the electronic design file to obtain data D to be tested, and carrying out rule test on the data D to be tested by using an initial design rule to obtain a test result of the initial design rule.
And 104, determining the initial design rule as a target design rule when the inspection result is that the inspection passes.
Step 105, storing the target design rule and rule information to the design rule storage area, wherein the rule information includes version information of the initial design rule.
In an alternative implementation mode, a rule file with a file name being the rule name of the target design rule can be generated according to the target design rule, rule basic information, rule parameter information, rule script information and version information, and then the rule file is stored in a design rule storage area, so that when a user needs to check the target design rule, the rule file corresponding to the target design rule can be directly opened in the design rule storage area, the rule basic information, rule parameter information, rule script information and version information of the target design rule can be quickly checked, the design rule checking speed of the user can be improved, and when the user needs to optimize the target design rule, the optimization mode of the target design rule can be quickly determined based on the rule basic information, rule parameter information, rule script information and version information of the target design rule, and the optimization efficiency of the design rule can be improved.
In the embodiment of the invention, under the condition that the existing design rules can not meet the inspection requirement of the design rules, a user (technician) can acquire rule information and automatically generate target design rules meeting the actual requirements based on rule information after inputting rule information according to the actual requirements, namely under the condition that the rule information is not depended on an element model library, the design rules meeting the inspection requirement of the design rules are increased, the purpose of supporting rule expansion of the design rules is realized, the inspection requirement of the design rules of the user is better met, the limitation of the inspection of the design rules is reduced, the convenience of the inspection of the design rules is increased, the problem that the user can only use the limited number of the design rules to inspect the design rules in an electronic design automation tool, and the problem that the larger limitation and inconvenience are brought to the design rule inspection is brought to the technician is solved, in addition, because the target design rules meeting the actual requirements can be automatically generated based on rule information, namely the number of the design rules is not limited any more, the electronic design automation error can be prevented more comprehensively, the comprehensive design error of the electronic design automation is prevented, the electronic design rule inspection is improved, the limitation of the electronic design rule inspection is reduced, the limitation is reduced, the design rule is improved and the corresponding version information is improved to the design rule is stored in a corresponding to the design rule management area, and the design rule is more convenient to store the design rules which are required to be increased to be corresponding to the design rules and have the corresponding version design rules and the design rules which are convenient to be stored in terms and have the design rules which are convenient to be correspondingly and high in terms and easy to store, and the design rule management efficiency of the user is improved.
In some embodiments, when the test result is that the test fails, an initial test report is generated according to the rule basic information, the test result and the initial design rule, the report level of the initial test report is determined according to the rule level, and then a target test report is generated according to the initial test report and the report level, so that when the test fails, a user can determine the reason that the test of the initial design rule fails according to the target test report, further determine the optimization mode of the initial design rule more quickly, and improve the optimization efficiency and speed of the initial design rule.
The report level may include a prompt level, an error level, and a warning level, where the prompt level has a priority lower than the error level and the error level has a priority lower than the warning level.
The method comprises the steps of determining a rule level (warning level) of an initial design rule S, automatically integrating the initial design rule S and the rule level into the same document to obtain a target test report, wherein when the rule level of the initial design rule S is one level, the corresponding report level is a warning level, when a test result is that the test fails, generating an initial test report according to rule basic information, the test result and the initial design rule, determining the report level (warning level) of the initial test report according to the rule level (one level), and then automatically integrating the initial test report and the rule level into the same document to obtain a target test report.
The method for checking the electronic design file according to the embodiment of the present invention is further described below, as shown in fig. 2, fig. 2 is another flow chart of the method for creating the design rule according to the embodiment of the present invention, which may specifically include the following steps:
in step 201, a rule creation mode is acquired.
Step 202, determining whether the rule creation mode is normal creation, if so, executing step 203, and if not, executing step 204.
Step 203, determining a rule creation interface corresponding to the rule creation mode as a common creation interface, and displaying the common creation interface so that a user inputs rule information on the common creation interface.
The common creation interface comprises a creation rule control, a first basic information sub-interface, a first parameter information sub-interface and a first script information sub-interface, wherein the first basic information sub-interface comprises a first basic information input box and a first ending control, the first parameter information sub-interface comprises a first parameter information input box and a second ending control, the first script information sub-interface comprises a first script information input box and a third ending control, the first basic information input box is used for inputting rule basic information, the first parameter information input box is used for inputting rule parameter information, and the first script input box is used for inputting rule script information.
In an alternative embodiment, a common creation interface is displayed so that a user clicks a creation rule control, after receiving a clicking operation of creating the rule control, a first basic information sub-interface is displayed in the common creation interface so that the user inputs rule basic information in a first basic information input box and clicks a first end control, after receiving a clicking operation of the first end control, the first basic information sub-interface is replaced with a first parameter information sub-interface so that the user inputs rule parameter information in the first parameter information input box and clicks a second end control, after receiving a clicking operation of the second end control, the first parameter information sub-interface is replaced with a first script information sub-interface so that the user inputs rule script information in the first script information input box and clicks a third end control, and after receiving a clicking operation of the third end control, the operation of acquiring the rule information is triggered.
The rule basic information comprises a rule name S, a rule classification (element), a rule grade (first level) and a rule description (T), the rule parameter information comprises a parameter name A and a parameter value TRUE, rule script information is XXXX, a common creation interface is displayed so that a user clicks and creates the rule control, a first basic information sub-interface is displayed in the common creation interface after the clicking operation of creating the rule control is received, so that the user inputs the rule basic information (rule name S, rule classification (element), rule grade (first level) and rule description (T)) in a first basic information input box and clicks a first end control, the first basic information sub-interface is replaced with the first parameter information sub-interface after the clicking operation of the first end control is received, so that the user inputs the rule parameter information (parameter name A and parameter value TRUE) in the first parameter information input box and clicks a second end control, and the first parameter information sub-interface is replaced with the first script information sub-interface so that the user inputs the rule information (third script control) in the first script information input box and ends after the clicking operation of the second end control is received. After the clicking operation of the third ending control is received, the operation of acquiring rule information is triggered, so that under the condition that the existing design rules cannot meet the checking requirement of the design rules, a user (technician) with professional knowledge can input rule information according to actual requirements, then acquire rule information and automatically generate a target design rule meeting the actual requirements based on the rule information, namely, under the condition of not depending on an element model library, the design rules meeting the checking requirement of the design rules are increased, the purpose of supporting rule expansion of the design rules is achieved, the creating requirement of the design rules of the user with the professional knowledge is better met, the checking requirement of the design rules of the user is better met, the checking limitation of the design rules is reduced, the checking convenience of the design rules is increased, and the problems that the user can only use the limited number of the design rules to check the design rules and the checking of the design rules are not supported in an electronic design automation tool are solved, so that the technician can check the design rules, and great limitation and inconvenience are brought to the checking of the design rules.
After step 203 is performed, step 207 is performed.
Step 204, determining whether the rule creation mode is template creation, if so, executing step 205, and if not, executing step 206.
Step 205, determining a rule creation interface corresponding to the rule creation mode as a template creation interface, and displaying the template creation interface so that a user inputs rule information on the template creation interface.
The template creation interface comprises a template selection sub-interface, a basic information editing sub-interface, a parameter information editing sub-interface and a script information editing sub-interface, wherein the template selection sub-interface comprises a template selection list and a template confirmation control, the basic information editing sub-interface comprises a basic information editing frame and a fourth ending control, the basic information editing frame comprises preset initial basic information, a user can edit the initial basic information in the basic information editing frame to obtain rule basic information, the parameter information editing sub-interface comprises a parameter information editing frame and a rule creating control, the parameter information editing frame comprises preset initial parameter information, the user can edit the initial parameter information in the parameter information editing frame to obtain rule parameter information, the script information editing sub-interface comprises a script information editing frame and a fifth ending control, the script information editing frame comprises preset initial script information, and the user can edit the initial script information in the script information editing frame to obtain rule script information.
In an alternative implementation mode, a template selection sub-interface is displayed in a template creation interface so that a user can determine a target rule template in a template selection list and click a template confirmation control, after the clicking operation of the template confirmation control is received, a parameter information editing sub-interface corresponding to the target rule template is displayed so that the user edits initial parameter information in a parameter information editing frame to obtain rule parameter information and clicks a creation rule control, after the clicking operation of the creation rule control is received, the parameter information editing sub-interface in the template creation interface is replaced with a basic information editing sub-interface so that the user edits initial basic information in the basic information editing frame to obtain rule basic information and clicks a fourth end control, after the clicking operation of the fourth end control is received, the basic information editing sub-interface in the template creation interface is replaced with a script information editing sub-interface so that the user edits initial script information in the script information editing frame to obtain rule script information and clicks a fifth end control, and after the clicking operation of the fifth end control is received, the operation of obtaining the rule information is triggered.
The rule basic information comprises a rule name S, a rule classification (element), a rule level (first level) and a rule description (T), the rule parameter information comprises a parameter name A and a parameter value TRUE, the rule script information is XXXX, a template selection sub-interface is displayed in a template creation interface so that a user can determine a target rule template in a template selection list and click a template confirmation control, after the clicking operation of the template confirmation control is received, a parameter information editing sub-interface corresponding to the target rule template is displayed so that the user edits initial parameter information (the parameter name A and the parameter value TRUE) in a parameter information editing box to obtain rule parameter information (the parameter name a and the parameter value TRUE) and click the rule creation control, after the clicking operation of the rule control is received, the parameter information editing sub-interface in the template creation interface is replaced by the basic information editing sub-interface so that the user edits initial basic information (the rule name S, the rule classification (element), the rule level (second level) and the rule description (T)) in the basic information editing box to obtain rule basic information (the rule name S, the rule classification (element), the rule level (second level) and the rule description (T)) and click the fourth rule description interface is received, after the clicking operation of the rule creation interface is completed, so that a user edits initial script information (XXXXXX) in a script information editing box to obtain rule script information (YYYYYY) and clicks a fifth ending control, and after receiving the clicking operation of the fifth ending control, the operation of obtaining the rule information is triggered. Therefore, a user can select a rule template according to actual demands, and then modify the initial rule information (initial basic information, initial parameter information and initial script information) preset in the parameter editing sub-interface, the basic information editing sub-interface and the script information editing sub-interface corresponding to the rule template into rule information (rule basic information, rule parameter information and rule script information) meeting the actual demands, the user does not need to input the rule information again, the input time of inputting the rule information by the user is saved, the rule information input difficulty of the user is reduced, the rule information input speed of the user is improved, the speed and efficiency of creating the design rule by the user are further improved, the creation difficulty of the design rule is reduced, and the consistency and the accuracy of the created design rule are ensured.
After step 205 is performed, step 207 is performed.
Step 206, determining the rule creation interface corresponding to the rule creation mode as a guide creation interface, and displaying the guide creation interface so that the user inputs rule information on the guide creation interface.
The guide creation interface comprises a second basic information sub-interface, a second parameter information sub-interface and a second script information sub-interface, wherein the second basic information sub-interface comprises a basic information input prompt, a second basic information input box and a sixth ending control, the second parameter information sub-interface comprises a parameter information input prompt, a second parameter information input box and a seventh ending control, the second script information sub-interface comprises a script information input prompt, a second script information input box and an eighth ending control, the basic information input prompt can be a text prompt and an option list prompt, the second basic information input box is used for inputting rule basic information, the parameter information input prompt can be a text prompt and an option list prompt, the second parameter information input box is used for inputting rule parameter information, the script information input prompt can be a text prompt and an option list prompt, and the second script information input box is used for inputting rule script information.
In an optional implementation manner, a second basic information sub-interface is displayed in the guide creation interface, so that a user inputs rule basic information in a second basic information input box according to basic information input prompts and clicks a sixth end control, after receiving clicking operation of the sixth end control, the second basic information sub-interface is replaced with a second parameter information sub-interface, so that the user inputs rule parameter information in the second parameter information input box according to parameter information input prompts and clicks a seventh end control, after receiving clicking operation of the seventh end control, the second parameter information sub-interface is replaced with a second script information sub-interface, so that the user inputs rule script information in the second script information input box according to script information input prompts and clicks an eighth end control, and after receiving clicking operation of the eighth end control, the operation of acquiring the rule information is triggered.
The rule basic information comprises a rule name S, a rule classification (element), a rule level (first level) and a rule description (T), the rule parameter information comprises a parameter name A and a parameter value TRUE, the rule script information is XXXX, the basic information input prompt can be that the rule name, the rule classification, the rule level and the rule description are sequentially input, the parameter information input prompt can be that the parameter name and the parameter value are input, and the script information input prompt can be that the script universal template XXXXXX is input.
The method comprises the steps of displaying a second basic information sub-interface in a guide creation interface, enabling a user to input rule basic information (rule name S, rule classification (element), rule level (first level) and rule description (T)) in a second basic information input box according to basic information input prompts and click a sixth ending control, replacing the second basic information sub-interface with the second parameter information sub-interface after receiving clicking operation of the sixth ending control, enabling the user to input rule parameter information (parameter name A and parameter value TRUE) in the second parameter information input box according to parameter information input prompts and click a seventh ending control, replacing the second parameter information sub-interface with a second script information sub-interface after receiving clicking operation of the seventh ending control, enabling the user to input rule script information (XXXXXX) in the second script information input box according to script information input prompts and click an eighth ending control, and triggering operation of acquiring the rule information after receiving clicking operation of the eighth ending control. Because the prompt information of each information sub-interface can provide input prompts for users, the users can finish the input of corresponding information according to the prompt information of each information sub-interface without having deep professional instructions, the information input speed of the users is improved, the difficulty of creating design rules by the users is reduced, the speed and the efficiency of generating the initial design rules based on the information input by the users are further improved, and a more convenient, simple and flexible design rule creation method is provided for the users.
As another example, the basic information input prompt may include a rule name input prompt, a drop-down option list of a rule classification selection box, a drop-down option list of a rule level selection box, a rule description prompt, and the second basic information input box includes a rule name input box, a rule classification selection box, a rule level selection box, a rule description input box. The parameter information input prompt in the second parameter information sub-interface may include a drop-down list of parameter name input prompts and parameter value selection boxes, and the second parameter information input box in the second parameter information sub-interface may include a parameter name input box and a parameter value selection box. The third script information sub-interface may include a script information input prompt, a second script information input box, and an eighth end control. As shown in FIG. 3, the second basic information sub-interface may be displayed in the wizard creation interface, so that the user inputs a rule name (S) in the rule name input box according to the rule name input prompt, selects a rule class (element) in the drop-down option list of the rule class selection box, selects a rule level (first level) in the drop-down option list of the rule level selection box, inputs a rule description (T) in the rule description input box according to the rule description prompt, and clicks the sixth ending control, after receiving the clicking operation of the sixth ending control, the second basic information sub-interface is replaced with the second parameter information sub-interface, as shown in FIG. 4, so that the user inputs a parameter name (A) in the parameter name input box according to the parameter name input prompt, selects a parameter value (TRUE) in the drop-down option list of the parameter value selection box, and clicks the seventh ending control, after receiving the clicking operation of the seventh ending control, as shown in FIG. 5, replaces the second parameter information sub-interface with the second script information sub-interface, so that the user inputs rule information XX in the second script information input box according to the script information input prompt, and clicks the eighth script information after receiving the XX information, and the eighth clicking operation of the rule information is ended, and the eighth clicking operation is triggered after receiving the eighth script information. Because the prompt information of each information sub-interface can provide input prompts or selectable items for the user, the user can input related information according to the input prompts or select the items in the drop-down item list to finish the input of related information, the user can finish the input of corresponding information according to the prompt information of each information sub-interface without having deep professional indication, the information input speed of the user is improved, the difficulty of creating the design rule by the user is reduced, the speed and the efficiency of generating the initial design rule based on the information input by the user are further improved, and a more convenient and flexible design rule creation method is provided for the user.
And step 207, the rule basic information and the rule parameter information are returned to the rule script information, and an initial design rule is generated.
Step 208, obtaining an electronic design file from the electronic design automation tool.
And step 209, carrying out data analysis on the electronic design file to obtain data to be checked.
And 210, carrying out rule inspection on the data to be inspected by using the initial design rule to obtain an inspection result of the initial design rule.
Step 211, determining whether the test result is passed, if so, executing step 212, and if not, executing step 214.
Step 212, determining the initial design rule as a target design rule.
Step 213, storing the target design rule and rule information to the design rule storage area, wherein the rule information includes version information of the initial design rule.
Step 214, generating an initial inspection report according to the rule basic information, the inspection result and the initial design rule.
Step 215, determining a report level of the initial inspection report according to the rule level.
Step 216, generating a target inspection report according to the initial inspection report and the report level.
In the embodiment of the invention, under the condition that the existing design rules can not meet the inspection requirement of the design rules, a user (technician) can acquire rule information and automatically generate target design rules meeting the actual requirements based on rule information after inputting rule information according to the actual requirements, namely under the condition that the rule information is not depended on an element model library, the design rules meeting the inspection requirement of the design rules are increased, the purpose of supporting rule expansion of the design rules is realized, the inspection requirement of the design rules of the user is better met, the limitation of the inspection of the design rules is reduced, the convenience of the inspection of the design rules is increased, the problem that the user can only use the limited number of the design rules to inspect the design rules in an electronic design automation tool, and the problem that the larger limitation and inconvenience are brought to the design rule inspection is brought to the technician is solved, in addition, because the target design rules meeting the actual requirements can be automatically generated based on rule information, namely the number of the design rules is not limited any more, the electronic design automation error can be prevented more comprehensively, the comprehensive design error of the electronic design automation is prevented, the electronic design rule inspection is improved, the limitation of the electronic design rule inspection is reduced, the limitation is reduced, the design rule is improved and the corresponding version information is improved to the design rule is stored in a corresponding to the design rule management area, and the design rule is more convenient to store the design rules which are required to be increased to be corresponding to the design rules and have the corresponding version design rules and the design rules which are convenient to be stored in terms and have the design rules which are convenient to be correspondingly and high in terms and easy to store, and the design rule management efficiency of the user is improved.
In the following, a specific example is used to further describe the method for creating the design rule provided by the embodiment of the present invention, as shown in fig. 6, fig. 6 is a schematic diagram of the method for creating the design rule provided by the embodiment of the present invention, in which, if the creating mode is a normal creating mode, it is determined that the rule creating interface corresponding to the rule creating mode is a normal creating interface, the normal creating interface is displayed so that the user clicks the creating rule control, after receiving the clicking operation of creating the rule control, the first basic information sub-interface is displayed in the normal creating interface so that the user inputs rule basic information in the first basic information input box and clicks the first ending control, after receiving the clicking operation of the first ending control, the first basic information sub-interface is replaced with the first parameter information sub-interface so that the user inputs rule information in the first script information input box and clicks the second ending control, after receiving the clicking operation of the second ending control, and after receiving the clicking operation of the third ending control, the first basic information sub-interface is replaced with the first parameter information sub-interface so that the user inputs rule information in the first script information input box and clicks the second ending control, and after receiving the clicking operation of the third ending control.
The method comprises the steps of establishing a template, determining a rule establishing interface corresponding to the rule establishing mode as a template establishing interface, displaying a template selecting sub-interface in the template establishing interface to enable a user to determine a target rule template in a template selecting list and click a template confirming control, displaying a parameter information editing sub-interface corresponding to the target rule template after receiving clicking operation of the template confirming control to enable the user to edit initial parameter information in a parameter information editing frame to obtain rule parameter information and click the rule establishing control, replacing the parameter information editing sub-interface in the template establishing interface with a basic information editing sub-interface after receiving clicking operation of the rule establishing control to enable the user to edit initial basic information in the basic information editing frame to obtain rule basic information and click a fourth ending control, replacing the basic information editing sub-interface in the template establishing interface with a script information editing sub-interface after receiving clicking operation of the fourth ending control to enable the user to edit initial script information in the script information editing frame to obtain rule script information and click the fifth ending control, and triggering operation of obtaining rule information after receiving clicking operation of the fifth ending control.
The method comprises the steps of determining a rule creation interface corresponding to a rule creation mode as a guide creation interface, displaying a second basic information sub-interface in the guide creation interface, enabling a user to input rule basic information in a second basic information input box according to basic information input prompts and click a sixth end control, replacing the second basic information sub-interface with a second parameter information sub-interface after receiving clicking operation of the sixth end control, enabling the user to input rule parameter information in the second parameter information input box according to parameter information input prompts and click a seventh end control, replacing the second parameter information sub-interface with a second script information sub-interface after receiving clicking operation of the seventh end control, enabling the user to input rule script information in the second script information input box according to script information input prompts and click an eighth end control, and triggering operation of acquiring rule information after receiving clicking operation of the eighth end control.
And when the inspection result is that the inspection fails, generating an initial inspection report according to the rule basic information, the inspection result and the initial design rule, determining a report grade of the initial inspection report according to the rule grade, and generating a target inspection report according to the initial inspection report and the report grade.
In the embodiment of the invention, under the condition that the existing design rules can not meet the checking requirement of the design rules, a user (technician) can select a proper creation mode of the design rules according to the storage condition of personal expertise, namely, a plurality of creation modes of the design rules suitable for the storage condition of the user expertise are provided for the user to select, so that the creation difficulty of the design rules of the user is reduced; the method comprises the steps of inputting rule information according to actual demands by users, automatically generating target design rules meeting the actual demands based on the rule information, namely, under the condition of not depending on an element model library, increasing the design rules meeting the inspection demands of the design rules, realizing the purpose of supporting rule expansion of the design rules, better meeting the inspection demands of the design rules of the users, reducing the limitation of the inspection of the design rules, increasing the convenience of the inspection of the design rules, solving the problems that the users can only use the limited number of the design rules to inspect the design rules, bringing about larger limitation and inconvenience to the inspection of the design rules by technicians, and further, because the target design rules meeting the actual demands can be automatically generated based on the rule information, namely, the number of the design rules is not limited any more, the electronic design automation design errors can be prevented more comprehensively, the comprehensiveness of the electronic design automation design errors can be prevented, the quality and the reliability of the electronic design automation design can be improved, finally, storing the target design rules and version information into a design rule storage area correspondingly, namely, increasing the version information to the design rules, differentiating the design rules into the version and realizing the purpose, when the user needs to manage the design rules of different versions, the corresponding design rules can be rapidly determined according to the version information, so that the convenience and the efficiency of the management of the design rules are improved, and the management efficiency of the design rules of the user is improved.
Fig. 7 is a schematic structural diagram of a device for creating a design rule according to an embodiment of the present invention, where the device is adapted to execute the method for creating a design rule according to the embodiment of the present invention. As shown in fig. 7, the apparatus may specifically include:
The interface display module 301 is configured to obtain a rule creation manner, and display a rule creation interface according to the rule creation manner, so that a user inputs rule information on the rule creation interface;
A rule generating module 302, configured to obtain the rule information, and generate an initial design rule based on the rule information;
A rule checking module 303, configured to perform rule checking on the initial design rule to obtain a checking result of the initial design rule;
A rule determining module 304, configured to determine the initial design rule as a target design rule when the test result is that the test passes;
and a rule storage module 305, configured to store the target design rule and the rule information into a design rule storage area, where the rule information includes version information of the initial design rule.
Optionally, the interface display module 301 displays a rule creation interface according to the rule creation mode, so that a user inputs rule information on the rule creation interface, including:
When the rule creation mode is common creation, determining a rule creation interface corresponding to the rule creation mode as a common creation interface, and displaying the common creation interface so that the user inputs the rule information on the common creation interface;
When the rule creation mode is template creation, determining a rule creation interface corresponding to the rule creation mode as a template creation interface, and displaying the template creation interface so that the user inputs the rule information on the template creation interface;
When the rule creation mode is the guide creation, determining a rule creation interface corresponding to the rule creation mode as a guide creation interface, and displaying the guide creation interface so that the user inputs the rule information on the guide creation interface.
Optionally, the rule information further includes rule basic information, rule parameter information, and rule script information.
Optionally, the common creation interface includes a creation rule control, a first basic information sub-interface, a first parameter information sub-interface and a first script information sub-interface, where the first basic information sub-interface includes a first basic information input box and a first end control, the first parameter information sub-interface includes a first parameter information input box and a second end control, the first script information sub-interface includes a first script information input box and a third end control, and an interface display module 301 displays the common creation interface so that the user inputs the rule information on the common creation interface, and includes:
displaying the common creation interface so that the user clicks the creation rule control;
After receiving clicking operation of the rule control, displaying the first basic information sub-interface in the common creating interface, so that the user inputs the rule basic information in the first basic information input box and clicks the first ending control;
after receiving the clicking operation of the first ending control, replacing the first basic information sub-interface with the first parameter information sub-interface so that the user inputs the rule parameter information in the first parameter information input box and clicks the second ending control;
after receiving the clicking operation of the second ending control, replacing the first parameter information sub-interface with the first script information sub-interface so that the user inputs the rule script information in the first script information input box and clicks the third ending control;
And triggering the operation of acquiring the rule information after receiving the clicking operation of the third ending control.
Optionally, the template creation interface includes a template selection sub-interface, a basic information editing sub-interface, a parameter information editing sub-interface and a script information editing sub-interface, where the template selection sub-interface includes a template selection list and a template confirmation control, the basic information editing sub-interface includes a basic information editing box and a fourth ending control, the parameter information editing sub-interface includes a parameter information editing box and a rule creating control, the script information editing sub-interface includes a script information editing box and a fifth ending control, and the interface display module 301 displays the template creation interface so that a user inputs the rule information in the template creation interface, and includes:
displaying the template selection sub-interface in the template creation interface so that the user determines a target rule template in the template selection list and clicks a template confirmation control;
after receiving clicking operation of the template confirmation control, displaying a parameter information editing sub-interface corresponding to the target rule template, so that the user edits initial parameter information in the parameter information editing frame to obtain rule parameter information, and clicks the creation rule control;
After receiving clicking operation of the rule creating control, replacing a parameter information editing sub-interface in the template creating interface with the basic information editing sub-interface so that the user edits initial basic information in the basic information editing frame to obtain rule basic information and clicks a fourth ending control;
After receiving the clicking operation of the fourth ending control, replacing a basic information editing sub-interface in the template creation interface with the script information editing sub-interface so that the user edits initial script information in the script information editing frame to obtain rule script information and clicks the fifth ending control,
And triggering the operation of acquiring the rule information after receiving the clicking operation of the fifth ending control.
Optionally, the wizard creation interface includes a second basic information sub-interface, a second parameter information sub-interface and a second script information sub-interface, where the second basic information sub-interface includes a basic information input prompt, a second basic information input box and a sixth end control, the second parameter information sub-interface includes a parameter information input prompt, a second parameter information input box and a seventh end control, the second script information sub-interface includes a script information input prompt, a second script information input box and an eighth end control, and an interface display module 301 displays the wizard creation interface, so that the user inputs the rule information in the wizard creation interface, and includes:
Displaying the second basic information sub-interface in the guide creation interface, so that the user inputs the rule basic information in the second basic information input box according to the basic information input prompt and clicks the sixth ending control;
After receiving the clicking operation of the sixth ending control, replacing the second basic information sub-interface with the second parameter information sub-interface, so that the user inputs the rule parameter information in the second parameter information input box according to the parameter information input prompt and clicks the seventh ending control;
After receiving the clicking operation of the seventh ending control, replacing the second parameter information sub-interface with the second script information sub-interface, so that the user inputs the rule script information in the second script information input box according to the script information input prompt and clicks the eighth ending control;
and triggering the operation of acquiring the rule information after receiving the clicking operation of the eighth ending control.
Optionally, the rule generating module 302 generates an initial design rule based on the rule information, including:
and the rule basic information and the rule parameter information are returned to the rule script information to generate the initial design rule.
Optionally, the rule checking module 303 is specifically configured to:
Acquiring an electronic design file from an electronic design automation tool;
Carrying out data analysis on the electronic design file to obtain data to be inspected;
and carrying out rule inspection on the data to be inspected by using the initial design rule to obtain an inspection result of the initial design rule.
Optionally, the rule basic information includes a rule name, a rule classification, a rule level, and a rule description.
Further, the apparatus further comprises:
The initial report generation module is used for generating an initial test report according to the rule basic information, the test result and the initial design rule when the test result is that the test fails;
A report grade determining module for determining a report grade of the initial inspection report according to the rule grade;
and the template report generating module is used for generating a target inspection report according to the initial inspection report and the report grade.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above. The specific working process of the functional module described above may refer to the corresponding process in the foregoing method embodiment, and will not be described herein.
The device for creating the design rule provided by the embodiment of the invention can obtain rule information and automatically generate the target design rule meeting the actual requirement based on the rule information after a user (technician) inputs the rule information according to the actual requirement under the condition that the existing design rule can not meet the checking requirement of the design rule, namely, under the condition of not depending on an element model library, the design rule meeting the checking requirement of the design rule is increased, the purpose of supporting the rule expansion of the design rule is realized, the checking requirement of the user is better met, the checking limitation of the design rule is reduced, the checking convenience of the design rule is increased, the problem that the user can only use the limited number of design rules to check the design rule in an electronic design automation tool and the problem that the technical personnel is greatly limited and inconvenient to check the design rule is solved; in addition, the method can automatically generate target design rules meeting actual demands based on rule information, namely the number of the design rules is not limited, so that electronic design automation design errors can be prevented more comprehensively, the comprehensiveness of preventing the electronic design automation design errors is further increased, the quality and reliability of electronic design automation design are improved, finally, the target design rules and version information are correspondingly stored in a design rule storage area, which is equivalent to adding version attributes for the design rules, the purpose of distinguishing the versions of the target design rules is realized, when a user needs to manage the design rules of different versions, the corresponding design rules can be determined rapidly according to the version information, the convenience and the efficiency of the management of the design rules are improved, and the design rule management efficiency of the user is improved.
Fig. 8 is a schematic diagram of a configuration of an electronic device according to an embodiment of the present invention.
Referring to fig. 8, there is provided an electronic device 50 including:
A processor 51, and
A memory 52 for storing executable instructions of the processor;
wherein the processor 51 is configured to perform the above-mentioned method via execution of the executable instructions.
The processor 51 is capable of communicating with the memory 52 via the bus 53.
The embodiments of the present invention also provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the methods referred to above.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of implementing the various method embodiments described above may be implemented by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs the steps comprising the method embodiments described above, and the storage medium described above includes various media capable of storing program code, such as ROM, RAM, magnetic or optical disk.
It should be noted that the above embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the above embodiments, it should be understood by those skilled in the art that the technical solution described in the above embodiments may be modified or some or all of the technical features may be equivalently replaced, and these modifications or substitutions do not make the essence of the corresponding technical solution deviate from the scope of the technical solution of the embodiments of the present invention.

Claims (13)

1. A method of creating a design rule, the method comprising:
acquiring a rule creation mode, and displaying a rule creation interface according to the rule creation mode so that a user inputs rule information on the rule creation interface;
acquiring the rule information and generating an initial design rule based on the rule information;
Performing rule inspection on the initial design rule to obtain an inspection result of the initial design rule;
when the inspection result is that the inspection passes, determining the initial design rule as a target design rule;
and storing the target design rule and the rule information into a design rule storage area, wherein the rule information comprises version information of the initial design rule.
2. The method according to claim 1, wherein the presenting a rule creation interface according to the rule creation manner so that a user inputs rule information at the rule creation interface includes:
When the rule creation mode is common creation, determining a rule creation interface corresponding to the rule creation mode as a common creation interface, and displaying the common creation interface so that the user inputs the rule information on the common creation interface;
When the rule creation mode is template creation, determining a rule creation interface corresponding to the rule creation mode as a template creation interface, and displaying the template creation interface so that the user inputs the rule information on the template creation interface;
When the rule creation mode is the guide creation, determining a rule creation interface corresponding to the rule creation mode as a guide creation interface, and displaying the guide creation interface so that the user inputs the rule information on the guide creation interface.
3. The method of claim 2, wherein the rule information further comprises rule base information, rule parameter information, and rule script information.
4. The method of claim 3, wherein the generic creation interface comprises a creation rule control, a first basic information sub-interface, a first parameter information sub-interface, and a first script information sub-interface, the first basic information sub-interface comprising a first basic information input box and a first end control, the first parameter information sub-interface comprising a first parameter information input box and a second end control, the first script information sub-interface comprising a first script information input box and a third end control, the exposing the generic creation interface such that the user inputs the rule information at the generic creation interface comprising:
displaying the common creation interface so that the user clicks the creation rule control;
After receiving clicking operation of the rule control, displaying the first basic information sub-interface in the common creating interface, so that the user inputs the rule basic information in the first basic information input box and clicks the first ending control;
after receiving the clicking operation of the first ending control, replacing the first basic information sub-interface with the first parameter information sub-interface so that the user inputs the rule parameter information in the first parameter information input box and clicks the second ending control;
after receiving the clicking operation of the second ending control, replacing the first parameter information sub-interface with the first script information sub-interface so that the user inputs the rule script information in the first script information input box and clicks the third ending control;
And triggering the operation of acquiring the rule information after receiving the clicking operation of the third ending control.
5. The method of claim 3, wherein the template creation interface comprises a template selection sub-interface, a basic information editing sub-interface, a parameter information editing sub-interface, and a script information editing sub-interface, the template selection sub-interface comprising a template selection list and a template confirmation control, the basic information editing sub-interface comprising a basic information editing box and a fourth end control, the parameter information editing sub-interface comprising a parameter information editing box and a creation rule control, the script information editing sub-interface comprising a script information editing box and a fifth end control, the presenting the template creation interface to enable a user to input the rule information at the template creation interface comprising:
displaying the template selection sub-interface in the template creation interface so that the user determines a target rule template in the template selection list and clicks a template confirmation control;
after receiving clicking operation of the template confirmation control, displaying a parameter information editing sub-interface corresponding to the target rule template, so that the user edits initial parameter information in the parameter information editing frame to obtain rule parameter information, and clicks the creation rule control;
After receiving clicking operation of the rule creating control, replacing a parameter information editing sub-interface in the template creating interface with the basic information editing sub-interface so that the user edits initial basic information in the basic information editing frame to obtain rule basic information and clicks a fourth ending control;
After receiving the clicking operation of the fourth ending control, replacing a basic information editing sub-interface in the template creation interface with the script information editing sub-interface so that the user edits initial script information in the script information editing frame to obtain rule script information and clicks the fifth ending control,
And triggering the operation of acquiring the rule information after receiving the clicking operation of the fifth ending control.
6. The method of claim 3, wherein the wizard creation interface includes a second basic information sub-interface including a basic information input prompt, a second basic information input box, and a sixth end control, a second parameter information sub-interface including a parameter information input prompt, a second parameter information input box, and a seventh end control, and a second script information sub-interface including a script information input prompt, a second script information input box, and an eighth end control, the presenting the wizard creation interface such that the user enters the rule information at the wizard creation interface includes:
Displaying the second basic information sub-interface in the guide creation interface, so that the user inputs the rule basic information in the second basic information input box according to the basic information input prompt and clicks the sixth ending control;
After receiving the clicking operation of the sixth ending control, replacing the second basic information sub-interface with the second parameter information sub-interface, so that the user inputs the rule parameter information in the second parameter information input box according to the parameter information input prompt and clicks the seventh ending control;
After receiving the clicking operation of the seventh ending control, replacing the second parameter information sub-interface with the second script information sub-interface, so that the user inputs the rule script information in the second script information input box according to the script information input prompt and clicks the eighth ending control;
and triggering the operation of acquiring the rule information after receiving the clicking operation of the eighth ending control.
7. The method of claim 3, wherein the generating an initial design rule based on the rule information comprises:
and the rule basic information and the rule parameter information are returned to the rule script information to generate the initial design rule.
8. The method of claim 1, wherein the rule checking the initial design rule to obtain a check result of the initial design rule comprises:
Acquiring an electronic design file from an electronic design automation tool;
Carrying out data analysis on the electronic design file to obtain data to be inspected;
and carrying out rule inspection on the data to be inspected by using the initial design rule to obtain an inspection result of the initial design rule.
9. A method according to claim 3, wherein the rule base information includes rule names, rule classifications, rule levels, and rule descriptions.
10. The method according to claim 9, wherein the method further comprises:
when the test result is that the test fails, generating an initial test report according to the rule basic information, the test result and the initial design rule;
determining a report level of the initial inspection report according to the rule level;
And generating a target inspection report according to the initial inspection report and the report grade.
11. A design rule creation apparatus, the apparatus comprising:
the interface display module is used for acquiring a rule creation mode and displaying a rule creation interface according to the rule creation mode so that a user inputs rule information on the rule creation interface;
the rule generation module is used for acquiring the rule information and generating an initial design rule based on the rule information;
The rule checking module is used for checking the rule of the initial design rule to obtain a checking result of the initial design rule;
The rule determining module is used for determining the initial design rule as a target design rule when the inspection result is that the inspection is passed;
and the rule storage module is used for storing the target design rule and the rule information into a design rule storage area, wherein the rule information comprises version information of the initial design rule.
12. An electronic device, comprising a processor and a memory,
The memory is used for storing codes and related data;
The processor is configured to execute the code in the memory to implement the method of creating the design rule of any one of claims 1 to 10.
13. A storage medium having stored thereon a computer program which, when executed by a processor, implements the method of creating a design rule according to any one of claims 1 to 10.
CN202411246060.1A 2024-09-06 2024-09-06 Design rule creation method, device, electronic device and storage medium Pending CN119127171A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411246060.1A CN119127171A (en) 2024-09-06 2024-09-06 Design rule creation method, device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411246060.1A CN119127171A (en) 2024-09-06 2024-09-06 Design rule creation method, device, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN119127171A true CN119127171A (en) 2024-12-13

Family

ID=93763199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411246060.1A Pending CN119127171A (en) 2024-09-06 2024-09-06 Design rule creation method, device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN119127171A (en)

Similar Documents

Publication Publication Date Title
JP7398068B2 (en) software testing
CN110232024B (en) Software automation test framework and test method
CN112327808A (en) Automobile fault diagnosis method and system and automobile fault diagnosis instrument
US7480893B2 (en) Rule-based system and method for checking compliance of architectural analysis and design models
US20190188119A1 (en) System and a method for providing automated performance detection of application programming interfaces
EP2778929B1 (en) Test script generation system
US11074162B2 (en) System and a method for automated script generation for application testing
CN112784501B (en) A modeling system and method for predicting the remaining life of equipment, and a prediction system
US20120116561A1 (en) Program testing apparatus, method of testing a program, and program testing program
CN112597028B (en) Method and device for displaying use case test results and readable storage medium
US9575875B2 (en) Computer implemented system and method for indexing and annotating use cases and generating test scenarios therefrom
CN111832236A (en) A chip regression test method, system, electronic device and storage medium
US12001823B2 (en) Systems and methods for building and deploying machine learning applications
CN111158656B (en) Test code generation method and device based on fruit tree method
CN111522741A (en) Interface test code generation method and device, electronic equipment and readable storage medium
CN113064811B (en) Automatic testing method and device based on workflow and electronic equipment
CN114020630A (en) Automatic generation method and system for interface use case
US20240330167A1 (en) Intelligent Process For Iterative Software Testing and Development
CN115810137B (en) Construction method of interactive artificial intelligence technical evaluation scheme
CN119127171A (en) Design rule creation method, device, electronic device and storage medium
CN117215552A (en) Interactive component generation method and device, storage medium and computer equipment
CN117193751A (en) Service code generation method, device, equipment and storage medium
Pulido Applying behavior driven development practices and tools to low-code technology
Mohacsi et al. AI-based enhancement of test models in an industrial model-based testing tool
Stadie et al. Closing gaps between capture and replay: Model-based gui testing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination