Layout design checking method, device terminal and storage medium
By automatically identifying and verifying packages that conform to design rules in printed circuit boards, the problem of low efficiency in manually verifying special packages in existing technologies is solved, thus improving the efficiency of PCB design inspection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHANGHAI WINGTECH INFORMATION TECH CO LTD
- Filing Date
- 2022-08-16
- Publication Date
- 2026-06-23
AI Technical Summary
In existing technologies, violations of design rules for special packages in printed circuit board (PCB) designs require manual verification one by one, resulting in low work efficiency.
By obtaining package information that violates design rules in printed circuit boards, the system can identify packages with preset package names and automatically confirm them as packages that conform to design rules, reducing manual operation steps.
It automatically identifies design rule violations that match the target encapsulation type as conforming encapsulations, thus improving design inspection efficiency.
Smart Images

Figure CN115358183B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of layout design technology, specifically to a layout design inspection method, device terminal, and storage medium. Background Technology
[0002] As integrated circuits become increasingly complex, engineers have placed many special requirements on the design of printed circuit boards (PCBs). These requirements involve design practices that, while violating design rules, are permissible by design. For example, to reduce power supply noise and high-frequency signal noise, a single-point connection to one layer of the PCB is designed; or to share a port with other signals, a short-circuit point is designed, connecting two networks together by shorting the pads. However, both of these methods, by connecting two pads together by shorting, mean that the two networks are short-circuited. This type of packaging is called special packaging and is not accepted in Design Rule Check (DRC). However, this packaging structure has no impact on the functionality of the PCB during actual manufacturing, so it can be accepted by design during the PCB design process.
[0003] In the existing technology, for the aforementioned special packages, technicians need to perform the acceptance operation for each special package item in the DRC sequentially. However, a PCB design involves multiple special packages, so there are many design rule violations for special package types. Performing manual acceptance operations for each design rule violation item of a special package type will reduce work efficiency. Summary of the Invention
[0004] This application discloses a layout design inspection method, device terminal, and storage medium, which can automatically identify design rule violations that conform to the target package type as packages that conform to the design rules, thereby reducing the number of manual steps required to accept special target packages and improving design inspection efficiency.
[0005] In a first aspect, this application provides a layout design inspection method applied to an electronic device terminal. The method includes: obtaining first information corresponding to a package that violates design rules in a printed circuit board, the first information including: a package name and at least two forming elements, the at least two forming elements being used to describe information of packages that violate design rules in at least two networks, the at least two networks being networks formed by the package that violates design rules and at least two circuits connected to it; determining a first package with a preset package name in the first information; when the packages that violate design rules in the at least two networks described by the at least two forming elements corresponding to the first package are all the first package, then the first package is a target package; determining that the target package is a package that conforms to the design rules.
[0006] In the above-described program update method, by obtaining first information corresponding to the package that violates design rules in the printed circuit board, including the package name and at least two forming elements, a first package with a preset package name is determined from the first information. When the packages that violate design rules in at least two networks described by the at least two forming elements corresponding to the first package are all the first package, the first package is the target package, thereby determining that the target package is a package that conforms to the design rules. Compared with the prior art, this application realizes that the violation of design rules items that conform to the target package type can be automatically confirmed as packages that conform to the design rules, thereby reducing the manual operation steps of accepting the target special package and improving the efficiency of design inspection.
[0007] In one embodiment, the forming elements include the category of the package that violates the design rules, the category being used to characterize the device attributes corresponding to the package that violates the design rules, and the step of the package that violates the design rules in the at least two networks described by the at least two forming elements corresponding to the first package being the first package includes: the at least two forming elements both including the target category corresponding to the first package.
[0008] In one embodiment, the forming element further includes a category identifier, which is used to distinguish multiple packages that violate the design rules under the same device attribute. The phrase "when both of the at least two forming elements include the target category corresponding to the first package" includes: when both of the at least two forming elements include the target category corresponding to the first package, and both of the at least two forming elements include the target category identifier corresponding to the first package.
[0009] In one embodiment, the method further includes: displaying second information, wherein the second information is the corresponding information containing the target package removed from the first information.
[0010] In one embodiment, displaying the second information includes: displaying the first information including the corresponding information of the target package; deleting the corresponding information of the target package from the first information; and displaying the second information.
[0011] In one embodiment, the method further includes: outputting a reminder message that the target package is a package conforming to design rules.
[0012] In one embodiment, the electronic device terminal is pre-set with an execution script corresponding to the layout design inspection method. Obtaining the first information corresponding to the package that violates the design rules in the printed circuit board includes: calling the execution script to execute the layout design inspection method; and obtaining the first information corresponding to the package that violates the design rules in the printed circuit board.
[0013] Secondly, this application provides an electronic device terminal, the terminal comprising: a first information acquisition module, configured to acquire first information corresponding to a package that violates design rules in a printed circuit board, the first information including: a package name and at least two forming elements, the at least two forming elements being used to describe information of packages that violate design rules in at least two networks, the at least two networks being networks formed by the package that violates design rules and at least two circuits connected to it respectively; a first package determination module, configured to determine a first package having a preset package name in the first information; a target package determination module, configured to determine the first package as a target package when the packages that violate design rules in the at least two networks described by the at least two forming elements corresponding to the first package are all the first package; and a target package confirmation module, configured to determine that the target package is a package that conforms to design rules.
[0014] Thirdly, embodiments of this application provide an electronic device terminal, including: a memory; and a processor coupled to the memory, the processor being configured to execute the above-described layout design checking method based on instructions stored in the memory.
[0015] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer program instructions thereon, characterized in that the instructions are executed by one or more processors to implement the steps of the above-described layout design checking method.
[0016] It should be understood that the second to fourth aspects of the embodiments of this application are consistent with the technical solutions of the first aspect of the embodiments of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation are similar, and will not be described again. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 A schematic flowchart illustrating a layout design inspection method provided in one embodiment of this application;
[0019] Figure 2 A schematic diagram of the structure of a network containing a package that violates design rules, provided as an embodiment of this application;
[0020] Figure 3 A schematic flowchart illustrating a layout design inspection method provided in another embodiment of this application;
[0021] Figure 4 A schematic flowchart illustrating a layout design inspection method provided in another embodiment of this application;
[0022] Figure 5 A schematic diagram of the layout before performing the layout design checking method described above is provided as an embodiment of this application;
[0023] Figure 6 A schematic diagram of a layout after performing the above-described layout design checking method, provided as an embodiment of this application;
[0024] Figure 7 A schematic flowchart illustrating a layout design inspection method provided in another embodiment of this application;
[0025] Figure 8 This is a schematic diagram of the structure of an electronic device terminal provided in one embodiment of this application;
[0026] Figure 9 This is a schematic diagram of the structure of an electronic device terminal provided in another embodiment of this application;
[0027] Figure 10 This is a schematic diagram of the structure of an electronic device terminal provided in another embodiment of this application;
[0028] Figure 11 This is a schematic diagram of the structure of an electronic device terminal provided in another embodiment of this application. Detailed Implementation
[0029] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0030] It should be noted that the terms "comprising" and "having," and any variations thereof, in the embodiments and accompanying drawings of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the steps or units listed, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices.
[0031] The layout design checking method provided in this application can be executed by an electronic device terminal, which can be a smartphone, tablet computer, or other device, as well as an automotive device, data storage device, audio playback device, video playback device, laptop computer, desktop computer, etc. In an optional embodiment, the electronic device terminal may have a service program installed for executing the layout design checking method.
[0032] Figure 1 This is a flowchart illustrating a layout design inspection method provided in this application embodiment. This embodiment uses the application of this method to an electronic device terminal as an example for illustration. It is understood that this method can also be applied to a server, and further to a system including both a terminal and a server, and is implemented through interaction between the terminal and the server. In this embodiment, as shown in the figure, the above-mentioned program update method may include the following steps:
[0033] Step S101: Obtain first information corresponding to the package that violates design rules in the printed circuit board, wherein the first information includes: package name and at least two forming elements, the at least two forming elements being used to describe the information of the package that violates design rules in at least two networks, and the at least two networks being the networks formed by the package that violates design rules and at least two circuits connected to it.
[0034] Optionally, the aforementioned package name can be a name for a single package. Each package will be given a package name, which is selected by those skilled in the art during the design process. This name can be used to distinguish between conventional packages and special packages. For example, when designing a package combination that connects two pads together by shorting, the packages for these two pads will be given special package names that are different from other conventional packages. The special package name can be a combination of an identifier representing the special package name category and the corresponding package number, such as SG001, SG002, SG003, etc.
[0035] Optionally, when describing the information of encapsulation that violates design rules in at least two networks, the above-mentioned at least two forming elements may display the information of encapsulation that violates design rules in each network. For example, when the at least two networks connected by the encapsulation that violates design rules are a first network and a second network, the at least two forming elements may display the information of encapsulation that violates design rules in the first network terminal and the information of encapsulation that violates design rules in the second network terminal.
[0036] For example, Figure 2 This is a schematic diagram of the network structure of a package that violates design rules, provided in an embodiment of this application. Package A is a package that violates design rules. The two networks are a first network composed of package A, package B, and a first signal port package, and a second network composed of package A, package C, and a second signal port package. When the packages that violate design rules in both the first network and the second network are package A, the forming element will display that the packages that violate design rules in both the first network and the second network are package A, thus forming one piece of first information. When the packages that violate design rules in the first network are package A, and the packages that violate design rules in the second network are package A and package B, the forming element will display information that the packages that violate design rules in both the first network and the second network are package A, and information that the packages that violate design rules in the first network are package A and the packages that violate design rules in the second network are package B, thus forming two pieces of first information.
[0037] Preferably, the first information can be a design rule check DRC list.
[0038] For example, when performing specific layout design for a PCB, a DRC tool is used for detection, thereby outputting a DRC list containing first information, as shown in Table 1. The DRC list will show information including the constraint name, DRC marker location, required value, actual value, element 1, and element 2 of the rule that the package violates the design rule. Among them, element 1 and element 2 will display the corresponding package name. For example, as shown in the table, if element 1 of a certain DRC item is "Filled Rectangle 'C2013PackageGeometry / Place_Bound_Bottom'" and element 2 is "Filled Rectangle 'C2013 PackageGeometry / Place_Bound_Bottom'", then C2013 is the package that causes the violation of the design rule in the two networks connected to C2013.
[0039] Table 1
[0040]
[0041]
[0042] It should be noted that the above-mentioned steps for determining whether the packaging violates design rules are conventional technical methods in this field and will not be elaborated here.
[0043] Step S102: Determine the first package with a preset package name from the first information.
[0044] Optionally, the aforementioned preset package name is pre-set by those skilled in the art and can be a special package name. When searching, the search can be performed only on the identifier that represents the category of the special package name, such as SG.
[0045] Optionally, when searching for the preset package name, the search can be performed on all information content of the first information, or on at least two forming elements including the package name.
[0046] Step S103: If the packages that violate the design rules in at least two networks described by at least two forming elements corresponding to the first package are both the first package, then the first package is the target package.
[0047] Optionally, the encapsulations that violate the design rules in the above at least two networks are all the first encapsulations. That is, in the at least two networks where the first encapsulation is located, there may be only the first encapsulation that violates the design rules, or there may be multiple encapsulations that violate the design rules. However, when there are multiple encapsulations that violate the design rules, the first encapsulation must be an encapsulation that violates the design rules in at least two networks.
[0048] For example, package A is a package that violates design rules. The two networks are a first network composed of package A, package B, and a first signal port package, and a second network composed of package A, package C, and a second signal port package. When the packages that violate design rules in both the first network and the second network are package A, package A is the target package. When the packages that violate design rules in the first network are package A, and the packages that violate design rules in the second network are both package A and package B, the forming elements will display information that the packages that violate design rules in both the first network and the second network are both package A, and information that the packages that violate design rules in the first network are package A and the packages that violate design rules in the second network are package B. In the first information corresponding to the packages that violate design rules in both the first network and the second network being package A, package A can be used as the target package. However, in the first information corresponding to the packages that violate design rules in both the first network and the second network being package B, since the forming elements include package B, package A cannot be used as the target package.
[0049] Step S104: Determine that the target package conforms to the design rules.
[0050] Since it is confirmed that the first package is the only package that violates the design rules in the at least two networks described by the at least two forming elements corresponding to the first package, it can be understood that the first package is the only factor that causes the violation of the design rules in the at least two networks connected to the first package. Since the package name of the first package is consistent with the preset package name, it can be determined that the first package is a package that can be confirmed as conforming to the design rules.
[0051] Optionally, step S104 may include: displaying second information, wherein the second information is the information containing the target package removed from the first information.
[0052] Optionally, the aforementioned second information can be displayed on the electronic device's own display, on an external display screen via an external display device, or transmitted to a host computer for display via communication transmission. In some embodiments, the electronic device terminal may also transmit the second information to a server for storage, so as to facilitate subsequent data analysis.
[0053] For example, after the DRC check determines the corresponding first information of package A, package B, and package C, and compares the preset package name and target category, if package A is determined to be the target package, then the first information of package A is deleted from the first information, and the corresponding second information of package B and package C is displayed.
[0054] In the above-described program update method, by obtaining first information corresponding to the package that violates design rules in the printed circuit board, including the package name and at least two forming elements, a first package with a preset package name is determined from the first information. When the packages that violate design rules in at least two networks described by the at least two forming elements corresponding to the first package are all the first package, the first package is the target package, thereby determining that the target package is a package that conforms to the design rules. Compared with the prior art, this application realizes that the violation of design rules items that conform to the target package type can be automatically confirmed as packages that conform to the design rules, thereby reducing the manual operation steps of accepting the target special package and improving the efficiency of design inspection.
[0055] Optionally, in step S103 above, when identifying packages that violate design rules in at least two networks described by at least two forming elements, the determination can be made by the category of the package that violates design rules included in the forming elements. This category is used to characterize the device attributes corresponding to the package that violates design rules. Each package has the attributes of its representative device. For example, the package category of the pad is PAD, and the package category of the resistor is Resist, etc. When it is determined that the category of the package that violates design rules is the target category corresponding to the first package, the first package can be determined to be the target package.
[0056] For example, when performing PCB design, technicians will find the corresponding component package from the standard package library and add it to the PCB layout so that technicians can draw the nets in the PCB layout. Each package is assigned a corresponding category when it is in the package library. Although the standard component package is used when performing net design related to special packages and is combined on the standard component package, some special design may cause packages that violate the design rules during the combination. For example, short-circuiting two pads and the distance between them is less than the distance threshold in the design rules. The above two pads are judged as packages that violate the design rules, and the PAD type package is the target package that violates the design rules.
[0057] In the above method, since the target package is determined by identifying the category of the package that violates the design rules among at least two forming elements, the judgment condition of the target package can be limited to the package name and package category. It is not necessary to judge the forming elements of the package that violate the design rules other than the target category, which leads to excessive consumption of the operating resources of the electronic device terminal.
[0058] Optionally, in step S103 above, when identifying packages that violate design rules in at least two networks described by at least two forming elements, after identifying the category of the package that violates design rules included in the corresponding forming element as the target category, the category identifier in the forming element can be further identified. The category identifier is used to distinguish multiple packages that violate design rules under the same device attribute. When at least two forming elements include the target category corresponding to the first package, and at least two forming elements include the target category identifier corresponding to the first package, the first package can be determined to be the target package. For example, in order to distinguish multiple pad packages of the same PAD category, corresponding category identifiers such as 001, 002, and 003 are added under the category to distinguish multiple pad packages of the same PAD category. That is, the combination of the category and category identifier of multiple pad packages of the same PAD category is PAD001, PAD002, PAD003, etc. When the target category is PAD and the target category identifier is 002, the package with the combination of category and category identifier as PAD002 can be determined to be the target package.
[0059] In the above method, since the category of the package that violates the design rules is judged, the category identifier is further judged. The judgment conditions of the target package can be limited to the package name, package category and package category identifier. That is, the judgment conditions of the target package are limited to a single package. By setting the package name, package category and package category identifier of a single package, the target package can be set as a single package, which makes it convenient for technicians to make specific settings for the target package.
[0060] Optionally, displaying the second information in step S104 may include the following steps:
[0061] Step S1041: Display the first information, including the corresponding information of the target package.
[0062] Step S1042: Delete the corresponding information of the target encapsulation in the first information.
[0063] Step S1043: Display the second information.
[0064] For example, when the first information is obtained, the first information can be displayed, and then the corresponding information of the target package can be deleted from the first information, and then the second information after the deletion operation is performed can be displayed. For example, the first information is the corresponding information of package A, package B and package C. After identifying package A as the target package, the information of package A in the first information is dynamically deleted, thereby displaying the corresponding information of package B and package C.
[0065] Optionally, when displaying the second information, the second information after deleting the corresponding information of the target encapsulation can be displayed directly, that is, no display operation is performed on the first information.
[0066] In the above method, the first information is displayed before deleting the corresponding information of the target package, so that technicians can intuitively observe the deletion action of the target package.
[0067] Optionally, such as Figure 3 As shown, the above method may also include the following steps:
[0068] Step S105: Output a reminder message indicating that the target package is a package that conforms to the design rules.
[0069] Optionally, the above-mentioned reminder information can be a separate reminder message that "a certain target package is a package that conforms to the design rules", where the specific package name of the target package is, for example, package A, package B, or package C, used to display the specific package information that has been confirmed to conform to the design rules. Alternatively, it can be a reminder message that "all target packages have been confirmed to conform to the design rules" output after waiting for multiple target packages to be confirmed to conform to the design rules, used to remind users to complete the operation after the steps of confirming that the target package conforms to the design rules have been completed in batch execution.
[0070] Optionally, whether it is displaying a reminder message that only a certain target package is a package that conforms to the design rules, or outputting a reminder message that "all target packages have been confirmed as conforming to the design rules" after waiting for multiple target packages to be confirmed as conforming to the design rules, in the above two display methods, when displaying the reminder message, the corresponding package information of the target package that has been confirmed as conforming to the design rules can also be displayed for technical personnel to view.
[0071] In the above method, when the target package is determined to be a package that conforms to the design rules, a reminder message indicating that the target package has been ignored is also output to prompt the technicians that the target package has been ignored, making the results of the steps more intuitive.
[0072] Optionally, the electronic device terminal is pre-set with a running script corresponding to the layout design checking method, such as... Figure 4 As shown, step S101 above may include the following steps:
[0073] Step S1011: Call the above-mentioned running script to execute the layout design check method.
[0074] Step S1012: Obtain the first information corresponding to the package that violates the design rules in the printed circuit board.
[0075] Optionally, when the above-mentioned electronic device terminal pre-sets the above-mentioned running script, it can do so in a pre-loading manner. For example, after creating the running script file corresponding to the above-mentioned layout design checking method, the running script file is saved to the storage location of the application that needs to load the running script file, and the running script is written into the loading file of the application so that the application can automatically load the running script and execute the above-mentioned layout design checking method.
[0076] In the above method, by setting the layout design check method as an execution script, the execution script can be loaded into the relevant design software of the electronic device terminal, so that the relevant software can automatically run the layout design check method before or at the same time as recognizing the first information of the package that violates the design rules, thereby improving operational compatibility and reducing the difficulty of operation.
[0077] Figure 5 The diagram illustrates the process before implementing the aforementioned layout design check method. As shown, because devices A and B, both having pad attributes, have a small spacing and are connected via traces, devices A and B are considered to have violated design rules. Therefore, DRC (Design Rule Registry) labels for devices A and B are marked on the PCB layout. By presetting devices A and B as target packages, the DRC labels for devices A and B can be removed after implementing the layout design check method. Figure 6 As shown.
[0078] Figure 7 A flowchart illustrating a layout design inspection method provided in this application embodiment is shown in the figure. The method may include:
[0079] Step S701: Define a preset package name, target package category, and target package category identifier that can ignore DRC, such as a pad package and the traces and vias connected to it.
[0080] Step S702: Output a DRC list. The DRC list includes a package name item and a corresponding formation element item for each first package. The formation element item includes two formation elements, element1 and element2. Element1 and element2 include the corresponding package name, package category, and package category identifier.
[0081] Step S703: Locate the first package with a preset package name in element1 and element2.
[0082] Step S704: Obtain the encapsulation category and encapsulation category identifier of the first encapsulation. Filter the encapsulation category and encapsulation category identifier in the same first encapsulation element1 and element2. Check whether the target encapsulation category and target encapsulation category identifier are in the same first encapsulation element1 and element2. If they exist, proceed to step S705; otherwise, proceed to step S706.
[0083] Step S705: Confirm that the first package is the target package.
[0084] Step S706: Confirm that there are other packages in the network where the first package is located that violate the design rules and are not the target package.
[0085] Step S707: Invoke the command to ignore the DRC identifier of the first encapsulation.
[0086] Step S708: After all the first packages in the DRC list have been judged, display the DRC list that ignores the information corresponding to the first package.
[0087] It should be noted that, although Figure 1-7 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise explicitly stated in this document, there is no strict order in which these steps are executed, and they can be performed in other orders. Furthermore, Figure 1-7 At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
[0088] Figure 8 A schematic diagram of the structure of an electronic device terminal provided in this application embodiment is shown in the figure. The electronic device terminal 80 may include:
[0089] The first information acquisition module 801 is used to acquire first information corresponding to a package that violates design rules in a printed circuit board. The first information includes: package name and at least two forming elements. The at least two forming elements are used to describe the information of the package that violates design rules in at least two networks. The at least two networks are networks formed by the package that violates design rules and at least two circuits connected to it.
[0090] The first package determination module 802 is used to determine a first package with a preset package name from the first information;
[0091] The target package determination module 803 is used to determine the first package as the target package when the first package is a package that violates the design rules in at least two networks described by at least two forming elements corresponding to the first package.
[0092] The target package confirmation module 804 is used to determine that the target package is a package that conforms to the design rules.
[0093] In one embodiment, the target encapsulation verification module 804 includes:
[0094] The second information display submodule is used to display second information, which is the corresponding information containing the target encapsulation removed from the first information.
[0095] In one embodiment, the target encapsulation determination module 803 is further configured to:
[0096] The first package is the target package if at least two of the forming elements include the target category corresponding to the first package.
[0097] In one embodiment, the target encapsulation determination module 803 is further configured to:
[0098] The first package is a target package if at least two of the forming elements include the target category corresponding to the first package, and at least two of the forming elements include the target category identifier corresponding to the first package.
[0099] In one embodiment, the second information display submodule may include:
[0100] The first information display unit is used to display first information including the corresponding information of the target encapsulation;
[0101] The target encapsulation information deletion unit is used to delete the corresponding information of the target encapsulation in the first information;
[0102] The second information display unit is used to display the second information.
[0103] In one embodiment, the electronic device terminal is pre-set with an operating script corresponding to the layout design inspection method, and the first information acquisition module 801 may include:
[0104] The method execution submodule is used to call the runtime script to execute the above layout design check method;
[0105] The first information acquisition submodule is used to obtain the first information corresponding to packages that violate design rules in the printed circuit board.
[0106] Figure 9 A schematic diagram of the structure of an electronic device terminal provided in this application is shown in the figure. Based on Figure 8The structure of the electronic device terminal shown above, the aforementioned electronic device terminal 80 may further include:
[0107] The reminder information output module 805 is used to output reminder information when the target is packaged into a package that conforms to the design rules.
[0108] For specific functional limitations regarding the aforementioned electronic device terminals, please refer to the limitations on layout design inspection methods described above; they will not be repeated here. Each module in the aforementioned electronic device terminal can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware or independently of the processor in the computer device, or stored in software in the memory of the computer device, so that the processor can call and execute the corresponding operations of each module.
[0109] like Figure 10 As shown in the diagram, this application also provides a structural schematic of an electronic device terminal. The electronic device terminal may include at least one processor and at least one memory communicatively connected to the processor, wherein the memory stores program instructions executable by the processor, and the processor can execute this specification by calling the program instructions. Figures 1 to 7 The illustrated embodiment provides a layout design inspection method.
[0110] The aforementioned electronic device terminal can be a smart electronic device such as a smartphone, tablet computer, or laptop computer. This embodiment does not limit the form of the aforementioned electronic device terminal.
[0111] It is understood that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on the electronic device terminal 110. In other embodiments of the present invention, the electronic device terminal 110 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0112] Processor 111 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0113] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0114] The processor 111 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 111 is a cache memory. This memory can store instructions or data that the processor 111 has just used or that are used repeatedly. If the processor 111 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 111, and thus improves the efficiency of the system.
[0115] Processor 111 executes various functional applications and data processing by running programs stored in internal memory 121, such as implementing the present invention. Figures 1 to 7 The illustrated embodiment provides a layout design inspection method.
[0116] The wireless communication function of the electronic device terminal 110 can be implemented through antenna 1, antenna 2, mobile communication module 150, modem processor and baseband processor, etc.
[0117] Antennas 1 and 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device terminal 110 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.
[0118] The electronic device terminal 110 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. The processor 111 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0119] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device terminal 110 may include one or N displays 194, where N is a positive integer greater than 1.
[0120] The electronic device terminal 110 can perform shooting functions through an ISP, camera 193, video codec, GPU, display screen 194, and application processor.
[0121] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization of image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0122] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device terminal 110 may include one or N cameras 193, where N is a positive integer greater than 1.
[0123] A digital signal processor (DSP) is used to process digital signals. Besides digital image signals, it can also process other digital signals. For example, when the electronic device terminal 110 selects a frequency, the DSP is used to perform Fourier transforms on the frequency energy.
[0124] Internal memory 121 can be used to store executable program code, including instructions. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.). The data storage area may store data created during the use of the electronic device terminal 110 (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 111 executes various functional applications and data processing of the electronic device terminal 110 by running instructions stored in internal memory 121 and / or instructions stored in memory located within the processor.
[0125] like Figure 11 As shown in the diagram, this application also provides a structural schematic of an electronic device terminal, which may include at least one processor and at least one memory communicatively connected to the processor, wherein the memory stores program instructions executable by the processor, and the processor can execute this specification by calling the program instructions. Figures 1 to 7 The illustrated embodiment provides a layout design inspection method.
[0126] This application also provides a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the steps of the layout design checking method described above. The readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, or optical data storage device, etc.
[0127] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.
[0128] In the description of the embodiments of the present invention, the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this specification. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0129] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this specification includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as will be understood by those skilled in the art to which the embodiments of this specification pertain.
[0130] Depending on the context, the word "if" as used here can be interpreted as "when," "when," "in response to determination," or "in response to detection." Similarly, depending on the context, the phrase "if determination" or "if detection (of the stated condition or event)" can be interpreted as "when determination," "in response to determination," "when detection (of the stated condition or event)," or "in response to detection (of the stated condition or event)."
[0131] It should be noted that the terminals involved in the embodiments of this application may include, but are not limited to, personal computers (PCs), personal digital assistants (PDAs), wireless handheld devices, tablet computers, mobile phones, MP3 players, MP4 players, etc.
[0132] In the several embodiments provided in this specification, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interface; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0133] Furthermore, the functional units in the various embodiments of this specification can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in a combination of hardware and software functional units.
[0134] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute partial steps of the methods described in the various embodiments of this specification. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0135] The above are merely preferred embodiments of this specification and are not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification shall be included within the scope of protection of this specification.
Claims
1. A layout design inspection method, characterized in that, Applied to electronic device terminals, the method includes: Obtain first information corresponding to a package that violates design rules in a printed circuit board. The first information includes: package name and at least two forming elements. The at least two forming elements are used to describe the information of the package that violates design rules in at least two networks. The at least two networks are networks formed by the package that violates design rules and at least two connected circuits. The first package with a preset package name is determined from the first information; If the first package is the target package, then the first package is the first package if all packages in at least two networks described by the at least two forming elements corresponding to the first package violate the design rules. Determine that the target package conforms to the design rules; The forming elements include the category of the package that violates the design rules, the category being used to characterize the device attribute corresponding to the package that violates the design rules. The forming elements also include a category identifier, the category identifier being used to distinguish multiple packages that violate the design rules under the same device attribute. The condition that the packages violating the design rules in at least two networks described by the at least two forming elements corresponding to the first package are all the first package includes: When both of the at least two forming elements include the target category corresponding to the first package, and both of the at least two forming elements include the target category identifier corresponding to the first package.
2. The method as described in claim 1, characterized in that, Determining that the target package conforms to the design rules includes: The second information is displayed, which is the information containing the target package removed from the first information.
3. The method as described in claim 2, characterized in that, The display of the second information includes: The first information, which includes the corresponding information of the target package, is displayed; Delete the corresponding information of the target encapsulation mentioned in the first information; Display the second information.
4. The method as described in claim 1, characterized in that, The method further includes: Output a reminder message indicating that the target package is a package that conforms to the design rules.
5. The method according to any one of claims 1-4, characterized in that, The electronic device terminal is pre-set with an execution script corresponding to the layout design inspection method. Obtaining the first information corresponding to the package that violates design rules in the printed circuit board includes: The layout design check method is executed by calling the running script; Obtain the first information corresponding to the package that violates design rules in the printed circuit board.
6. An electronic device terminal, characterized in that, The terminal includes: The first information acquisition module is used to acquire first information corresponding to a package that violates design rules in a printed circuit board. The first information includes: package name and at least two forming elements. The at least two forming elements are used to describe the information of the package that violates design rules in at least two networks. The at least two networks are networks formed by the package that violates design rules and at least two connected circuits. The first package determination module is used to determine a first package with a preset package name from the first information; The target packaging determination module is configured to determine the first packaging as the target packaging when the first packaging is a packaging that violates the design rules in at least two networks described by the at least two forming elements corresponding to the first packaging. The target package confirmation module is used to determine that the target package conforms to the design rules; The forming elements include the category of the package that violates the design rules, the category being used to characterize the device attribute corresponding to the package that violates the design rules, and the forming elements also include a category identifier, the category identifier being used to distinguish multiple packages that violate the design rules under the same device attribute. The target package determination module is used for: When both of the at least two forming elements include the target category corresponding to the first package, and both of the at least two forming elements include the target category identifier corresponding to the first package.
7. An electronic device terminal, characterized in that, include: Memory; and a processor coupled to the memory, the processor being configured to perform the method as described in any one of claims 1-5 based on instructions stored in the memory.
8. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, This instruction is executed by one or more processors to implement the steps of the method described in any one of claims 1-5.