Methods, apparatus, computer equipment and storage media for finding elements

Through automated element search methods, including obtaining element search instructions, determining the type of element prediction, finding and highlighting the target element, solving the tedious problems of element search in existing technology, and significantly improved the search efficiency.

CN117993351BActive Publication Date: 2025-01-24GLENFLY TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211385002.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-07
Publication Date
2025-01-24
Estimated Expiration
2042-11-07

AI Technical Summary

Technical Problem

In the prior art, the search methods for elements are cumbersome, resulting in inefficiency and wasting time and energy.

Method used

By obtaining the element search instruction, the element prediction type of the target element is automatically determined, and the target element is found in the search panel, its attribute information is obtained, its level in the PCB layout is determined, and the target element is opened and highlighted at that level.

Benefits of technology

It has greatly improved the efficiency of element search, reduced the steps and time of manual search, and improved the efficiency of the design and debugging process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117993351B_ABST
    Figure CN117993351B_ABST
Patent Text Reader

Abstract

The present application relates to an element search method, device, computer equipment, storage medium and computer program product. The method comprises: obtaining an element search instruction, the element search instruction carries the element identification information of the target element; based on the element identification information, determining the element prediction type matching the target element; based on the element prediction type, searching for the target element in the search panel to obtain the element attribute information of the target element; based on the element attribute information, determining the target level of the target element in the PCB layout, and opening the target element at the target level, and highlighting the opened target element. The use of this method can improve the efficiency of element search.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an element search method, device, computer equipment, storage medium and computer program product. Background Art

[0002] With the development of computer technology, PCB (Printed Circuit Board) is widely used in electronic circuit systems as a carrier of chips and electronic devices, and EDA (Electronic Design Automation) is increasingly involved in various stages of hardware system design and debugging as a PCB design and debugging tool.

[0003] When using common EDA tools, you often need to search for different elements and then perform subsequent operations on them. For example, during the design process, you need to search for a device and then rotate the angle or route. Another example is during the debugging process, you need to search for a certain route or via and then test and measure the signal.

[0004] At present, the traditional element search method is mostly for users to judge the category of the element to be found by themselves, and then distinguish the element to be found from the large number of elements corresponding to the corresponding category. When a search error occurs, the user has to make a category judgment again. The operation process is generally too cumbersome, resulting in low efficiency and a waste of a lot of energy and time. Summary of the invention

[0005] Based on this, it is necessary to provide an element search method, device, computer equipment, computer-readable storage medium and computer program product that can improve element search efficiency in response to the above technical problems.

[0006] In a first aspect, the present application provides an element search method, the method comprising:

[0007] Obtain an element search instruction, where the element search instruction carries element identification information of a target element;

[0008] Based on the element identification information, determining an element prediction type matching the target element;

[0009] According to the element prediction type, searching for the target element in the search panel to obtain element attribute information of the target element;

[0010] Based on the element attribute information, the target level of the target element in the PCB layout is determined, and the target element is opened at the target level, and the opened target element is highlighted.

[0011] In one of the embodiments, the element search instruction also carries trigger information;

[0012] Before determining the element prediction type matching the target element based on the element identification information, the method further includes:

[0013] Determining whether the trigger information matches predefined trigger information;

[0014] If there is a match, determining whether the element identification information meets the search requirements;

[0015] When the element identification information meets the search requirement, a step of determining an element prediction type matching the target element based on the element identification information is performed.

[0016] In one of the embodiments, determining the element prediction type matching the target element based on the element identification information includes:

[0017] When the element identification information does not include a preset symbol, directly determining an element prediction type matching the target element according to the element identification information;

[0018] When the element identification information includes a preset symbol, the element identification information is decomposed, and the element prediction type matching the target element is determined according to the decomposition result.

[0019] In one embodiment, searching for the target element in a search panel according to the element prediction type includes:

[0020] If the element prediction type is a symbol type, searching for a symbol element in the search panel according to the element identification information;

[0021] If the element prediction type is a character layer number type, searching for a character layer number element in the search panel according to the element identification information;

[0022] If the element prediction type is a network connection type, searching for a network connection element in the search panel according to the element identification information;

[0023] If the element prediction type is a pin type, then in the search panel, the element identification information is disassembled to obtain a disassembly result, and the pin element is searched according to the disassembly result;

[0024] If the element prediction type is a copper foil type, then according to the element identification information, at least one initial copper foil element is found in the search panel, and according to the area of ​​each initial copper foil element, a target copper foil element is determined;

[0025] If the element prediction type is a differential pair type, searching for a differential pair element in the search panel according to the element identification information;

[0026] If the predicted element type is a package type, the package element is searched for in the search panel according to the element identification information.

[0027] In one embodiment, the element attribute information includes element mirror information, the target layer includes a top layer, a bottom layer or an inner layer, and based on the element attribute information, determining the target layer of the target element in the PCB layout includes:

[0028] If the element prediction type is the symbol type, when the element mirror information of the symbol element is a first mark, determine the top layer of the symbol element in the PCB layout; when the element mirror information of the symbol element is a second mark, determine the bottom layer of the symbol element in the PCB layout;

[0029] If the element prediction type is the character layer bit number type, when the element mirror information of the character layer bit number element is a first mark, determine the top layer of the character layer bit number element in the PCB layout; when the element mirror information of the character layer bit number element is a second mark, determine the bottom layer of the character layer bit number element in the PCB layout;

[0030] If the element prediction type is the network connection type, directly determining the target level of the network connection element as any one of the top level, bottom level or inner level;

[0031] If the element prediction type is the pin type, when the element mirror information of the pin element is a first mark, the top layer of the pin element in the PCB layout is determined, and when the element mirror information of the pin element is a second mark, the bottom layer of the pin element in the PCB layout is determined;

[0032] If the element prediction type is the copper foil type, then when the element mirror information of the target copper foil element is a first mark, the top layer of the target copper foil element in the PCB layout is determined, and when the element mirror information of the target copper foil element is a second mark, the bottom layer of the target copper foil element in the PCB layout is determined;

[0033] If the element prediction type is the differential pair type, directly determining the target level of the differential pair element as any one of the top layer, the bottom layer or the inner layer;

[0034] If the element prediction type is a package type, when the element mirror information of the package element is a first mark, the top layer of the package element in the PCB layout is determined; when the element mirror information of the package element is a second mark, the bottom layer of the package element in the PCB layout is determined.

[0035] In one embodiment, the element attribute information includes element position information; and the step of opening the target element at the target level and highlighting the opened target element includes:

[0036] Based on the element position information, opening the target element at the target level;

[0037] After zooming and highlighting the opened target element, it is highlighted in the target layer.

[0038] In a second aspect, the present application further provides an element search device, the device comprising:

[0039] An instruction acquisition module, used to acquire an element search instruction, wherein the element search instruction carries element identification information of a target element;

[0040] A matching module, used to determine an element prediction type matching the target element based on the element identification information;

[0041] An information acquisition module, used to search for the target element in a search panel according to the element prediction type, so as to acquire element attribute information of the target element;

[0042] A processing module is used to determine the target level of the target element in the PCB layout based on the element attribute information, open the target element at the target level, and highlight the opened target element.

[0043] In a third aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the above-mentioned element search method are implemented.

[0044] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above-mentioned element search method are implemented.

[0045] In a fifth aspect, the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned element search method are implemented.

[0046] The above-mentioned element search method, device, computer equipment, storage medium and computer program product, by obtaining an element search instruction, the element search instruction carries the element identification information of the target element; based on the element identification information, the element prediction type matching the target element can be automatically determined, and further, according to the element prediction type, the target element is searched in the search panel, thereby determining the element attribute information of the target element, and finally, according to the element attribute information, the target level of the target element in the PCB layout is determined, and the target element is opened at the target level, and the opened target element is highlighted. In this way, only the element search instruction carrying the element identification information of the target element needs to be obtained, and the target element can be automatically highlighted in the PCB layout, which can solve the problem of time-consuming manual search for the target element according to the set search steps, and greatly improve the efficiency of element search. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 A schematic diagram of a flow chart of an element search method in an embodiment;

[0048] Figure 2 A schematic flow chart of an element search method in another embodiment;

[0049] Figure 3 A schematic flow chart of an element search method in another embodiment;

[0050] Figure 4 A schematic flow chart of an element search method in another embodiment;

[0051] Figure 5 A schematic diagram of the structure of an element search method in an embodiment;

[0052] Figure 6 It is a structural schematic diagram of an element search method in another embodiment;

[0053] Figure 7 A schematic flow chart of an element search method in another embodiment;

[0054] Figure 8 It is a structural block diagram of an element search method device in one embodiment;

[0055] Fig. 9 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0056] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0057] The element search method provided in the embodiment of the present application can be applied to a terminal, wherein an EDA (electronic design automation) design and debugging tool for PCB (printed circuit board) can be run on the terminal. When a user uses EDA to design a PCB layout, he may need to search for a certain device, rotate the angle or route it after finding it, or he may need to debug the designed PCB layout after the PCB layout design is completed. During the debugging process, he may need to search for a certain route or via, and then test and measure the signal. The user can input the element search instruction through the signal input unit of the terminal itself (such as the command input window on the front page), or output the element search instruction to the terminal through any electronic device with a controller such as a mobile phone or a tablet. The terminal obtains the element search instruction, and the element search instruction carries the element identification information of the target element; based on the element identification information, the element prediction type matching the target element is determined; according to the element prediction type, the target element is searched in the search panel to obtain the element attribute information of the target element; based on the element attribute information, the target level of the target element in the PCB layout is determined, and the target element is opened at the target level, and the opened target element is highlighted, thereby improving the efficiency of element search. The terminals may be, but are not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices and portable wearable devices. IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc.

[0058] In one embodiment, Figure 1 As shown, a method for searching an element is provided, which is described by taking the method applied to a terminal as an example, and includes the following steps:

[0059] Step S102: Obtain an element search instruction, where the element search instruction carries element identification information of a target element.

[0060] Among them, the element search instruction refers to an instruction used to search for the target element. Specifically, the element search instruction can be an instruction input by the user through the signal input unit of the terminal itself (such as the command input window on the front-end page), or it can be an instruction output to the terminal by the user through any electronic device with a controller such as a mobile phone or tablet; the target element can be the element that the user needs to find in the current design or debugging process, and the element identification information refers to information that can be used to distinguish different elements. Each element has corresponding element identification information. Specifically, the element identification information can be any identifier such as numbers, letters, and feature codes, as long as different elements can be distinguished.

[0061] In one embodiment, the element name, number, serial number, etc. can be directly used as the element identification information. Specifically, the element identification information can be EN_VDD50 (name of the network connection), U1.3 (pin name of the chip), etc.

[0062] Step S104: determining the element prediction type matching the target element based on the element identification information.

[0063] The element prediction type refers to the type to which the predicted target element may belong. Each element prediction type may include only one element or multiple elements. The terminal may determine the element prediction type that matches the target element based on the element identification information.

[0064] In one of the embodiments, the terminal may perform keyword matching based on the element identification information and the predefined element identification information corresponding to each predefined element prediction type, and determine the element prediction type matching the target element based on the keyword matching result.

[0065] Step S106: searching for a target element in the search panel according to the element prediction type to obtain element attribute information of the target element.

[0066] Among them, the search panel can be the Find panel that comes with the EDA software, and the element attribute information can be information related to the properties of each element. Specifically, the element attribute information can be key information such as the coordinate position, layer information (mirror information) and name of the element in the PCB layout. The element attribute information can be temporarily stored in a temporary database for subsequent use. The terminal can search for the target element in the search panel to obtain the element attribute information of the target element.

[0067] Step S108, based on the element attribute information, determine the target level of the target element in the PCB layout, open the target element in the target level, and highlight the opened target element.

[0068] Among them, the PCB layout can refer to the actual component placement and connection diagram that has been made, or it can refer to the actual component placement and connection diagram that is being designed. Figure 1 Generally, it can include multiple levels. Therefore, the target level can refer to the specific level of the PCB layout where the target element is actually located. Specifically, the target level in the PCB layout can include the bottom layer, the surface layer, and the memory, etc. The bottom layer can refer to the lower surface in the PCB board diagram (also called the Bottom layer). The top layer (i.e., the Top layer) corresponds to the bottom layer. The other levels between the top layer and the bottom layer can be collectively referred to as the inner layer.

[0069] Among them, the terminal can determine the target level of the target element in the PCB layout according to the element attribute information, open the target element at the target level, and finally highlight the opened target element. Therefore, by opening the target element at the target level where the target element is located and highlighting it, the user's design process, debugging process, etc. can be assisted to improve the user's work efficiency.

[0070] In the above-mentioned element search method, by obtaining an element search instruction, the element search instruction carries the element identification information of the target element; based on the element identification information, the element prediction type matching the target element can be automatically determined, and further, according to the element prediction type, the target element is searched in the search panel, thereby determining the element attribute information of the target element, and finally, according to the element attribute information, the target level of the target element in the PCB layout is determined, and the target element is opened at the target level, and the opened target element is highlighted. In this way, only the element search instruction carrying the element identification information of the target element needs to be obtained, and the target element can be automatically highlighted in the PCB layout, which can solve the problem of time-consuming manual search for the target element according to the set search steps, and greatly improve the efficiency of element search.

[0071] In one embodiment, the element search instruction also carries trigger information; before determining the element prediction type that matches the target element based on the element identification information, the method also includes: determining whether the trigger information matches the predefined trigger information; if so, determining whether the element identification information meets the search requirements; when the element identification information meets the search requirements, executing the step of determining the element prediction type that matches the target element based on the element identification information.

[0072] Among them, the trigger information may refer to the trigger source information used to trigger the terminal to carry out subsequent steps. The subsequent steps may include a series of steps such as determining the element prediction type that matches the target element based on the element identification information. The predefined trigger information refers to the predefined trigger source information defined in advance. The terminal will only carry out the subsequent steps when it determines that the trigger information matches the predefined trigger source information.

[0073] The predefined trigger information may be any characters, letters, numbers, and feature codes, etc. For example, the predefined trigger information in this embodiment is composed of letters, such as " f x ", then when the trigger information is " f x ", the terminal will execute the step of determining the element prediction type matching the target element based on the element identification information.

[0074] In the above embodiment, the terminal matches the trigger information with the predefined trigger information. Only when the trigger information matches the predefined trigger information will the subsequent steps be controlled to be executed, thereby standardizing the search process and avoiding the component search process caused by user's mistaken triggering.

[0075] In one embodiment, determining the element prediction type matching the target element based on the element identification information includes:

[0076] When the element identification information does not include a preset symbol, directly determining the element prediction type matching the target element according to the element identification information;

[0077] When the element identification information includes a preset symbol, the element identification information is decomposed, and the element prediction type matching the target element is determined according to the decomposition result.

[0078] Among them, the preset symbol refers to a symbol set to determine whether to disassemble the element identification information. When the terminal determines that the preset symbol exists in the element identification information, the element identification information will be disassembled. Specifically, the preset symbol can be a punctuation mark, or it can be any identifier with representative meaning. For example, the preset symbol can be a punctuation mark ".". When the terminal determines that there is a "." in the element identification information, the element identification information will be disassembled, and the element prediction type matching the target element will be determined according to the disassembly result. When the terminal determines that there is no "." in the element identification information, the element prediction type matching the target element will be directly determined based on the element identification information.

[0079] In one embodiment, the element identification information is u2.2. When the terminal determines that there is a "." in u2.2, u2.2 is decomposed to obtain u2 and 2. The terminal can determine that the element prediction type is a pin prediction type based on u2.

[0080] In the above embodiment, for element identification information that does not include preset symbols, the terminal can directly determine the element prediction type that matches the target element. For element identification information with preset symbols, the terminal will disassemble it to obtain the disassembly result, and determine the element prediction type based on the disassembly result, thereby improving the accuracy and flexibility of element prediction type matching.

[0081] In one of the embodiments, if the element prediction type is a symbol type, the symbol element is searched in the search panel according to the element identification information; if the element prediction type is a character layer number type, the character layer number element is searched in the search panel according to the element identification information; if the element prediction type is a network connection type, the network connection element is searched in the search panel according to the element identification information; if the element prediction type is a pin type, the element identification information is disassembled in the search panel to obtain the disassembly result, and the pin element is searched according to the disassembly result; if the element prediction type is a copper foil type, at least one initial copper foil element is found in the search panel according to the element identification information, and the target copper foil element is determined according to the area of ​​each initial copper foil element; if the element prediction type is a differential pair type, the differential pair element is searched in the search panel according to the element identification information; if the element prediction type is a package type, the package element is searched in the search panel according to the element identification information.

[0082] The element prediction type may include any one of a symbol type, a character layer bit number type, a network connection type, a pin type, a copper type, a differential pair type, and a package type.

[0083] Among them, the symbol type refers to the SYM TYPE type, and the SYM TYPE type represents the Symbol (the symbol of all PCB boards, not necessarily with a serial number) device, wherein the symbol device can include all electrical devices and mechanical structures. When the element prediction type is the symbol type, the terminal can directly open the Symbol device in the search panel according to the element identification information to search for the symbol element. Specifically, the element identification information of the symbol element may be FIXOPT, then the terminal will find FIXOPT in the SYMTYPE type of the search panel.

[0084] Among them, the character layer bit number type refers to the REF DES type, which can represent the component number character layer bit number, and is generally used to process the debugging of devices with electrical characteristics, check the basic information of devices, etc. When the element prediction type is the character layer bit number type, the terminal can open Components (components with component numbers in the PCB) in the search panel, and search for character layer bit number elements according to the element identification information. Specifically, the element identification information of the character layer bit number element may be C1, then the terminal will find C1 in the Components of the search panel.

[0085] Among them, the network connection type refers to the NET type. The target element of the NET type is generally used for signal testing and measurement, or rework flying wires, etc. The NET type contains the network information of the target element, etc. When the element prediction type is the NET type, the terminal can search for the network connection element in the search panel according to the element identification information. Specifically, the element identification information of the network connection element may be EN_VDD50, then the terminal will find EN_VDD50 in the NET type of the search panel.

[0086] Among them, the pin type refers to the PIN type. The target element of the PIN type is generally used for the measurement of resistors and capacitors, or the quick search and measurement of a pin of a large-scale multi-pin chip. The target element of the PIN type includes pin information, etc. When the element prediction type is the PIN type, the terminal can disassemble the element identification information in the search panel to obtain the disassembly result, and search for the pin element according to the disassembly result. Specifically, the element identification information of the pin element can be U1.3, then the terminal will split the element identification information, such as "U1.3", which means the third pin of the U1 chip. Therefore, the terminal can first use the comma to split "U1.3", and then find the U1 chip, and finally locate the third pin.

[0087] Among them, the copper foil type refers to the Shape type. The target element of the Shape type is generally used for power supply debugging and flying line detection, timing inspection, etc. The Shape type includes the position and coordinate information of the copper foil, etc. When the element prediction type is the Shape type, the terminal can find at least one initial copper foil element according to the element identification information in the search panel, and then determine the target copper foil element according to the area of ​​each initial copper foil element. Specifically, the element identification information of the copper foil element may be VDD50 (indicating a power plane), then the terminal will find at least one VDD50 in the Shape type of the search panel, and the terminal will use the VDD50 with the largest area as the target copper foil element based on the area of ​​each VDD50.

[0088] Among them, the differential pair type refers to the Diff Pair type. The target element of the Diff Pair type is generally used for differential line impedance matching settings and equal length winding of differential lines, or testing differential signals during debugging, etc. The Diff Pair contains the network information of the differential line, etc. When the element prediction type is the Diff Pair type, the terminal can find the differential pair element in the search panel according to the element search identifier.

[0089] Among them, the package type refers to the footprint type. The target element of the footprint type is generally used for package inspection, pad inspection, etc. The footprint type contains the element's Symbols information, etc. When the element prediction type is the footprint type, the terminal can search for the package element in the search panel according to the element identification information.

[0090] In the above embodiment, for each element prediction type, the terminal will search for the target element based on the element identification information according to the characteristics of each element prediction type, thereby effectively improving the search efficiency.

[0091] In one embodiment, the element attribute information includes element mirror information, the target layer includes a top layer, a bottom layer or an inner layer, and based on the element attribute information, determining the target layer of the target element in the PCB layout includes the following steps:

[0092] Step S202, if the element prediction type is a symbol type, when the element mirror information of the symbol element is a first mark, determine the top layer of the symbol element in the PCB layout; when the element mirror information of the symbol element is a second mark, determine the bottom layer of the symbol element in the PCB layout.

[0093] Among them, the first mark and the second mark are marks used to identify the specific level at which the symbol element is located. The first mark and the second mark can be any pre-defined characters, letters, numbers, and feature codes, etc. For example, the first mark and the second mark in this embodiment are composed of letters. Specifically, the first mark in this embodiment can be defined as nil, and the second mark can be defined as t. When the element mirror information of the symbol element is nil, it means that the element mirror information of the symbol element is the first mark, and the symbol element is at the top layer. If the element mirror information of the symbol element is t, it means that the element mirror information of the symbol element is the second mark, and the symbol element is at the bottom layer.

[0094] Step S204, if the element prediction type is the character layer position number type, when the element mirror information of the character layer position number element is the first mark, determine the top layer of the character layer position number element in the PCB layout; when the element mirror information of the character layer position number element is the second mark, determine the bottom layer of the character layer position number element in the PCB layout.

[0095] Among them, for the character layer bit number type, when determining whether the character layer bit number element is at the bottom layer or top layer in the PCB layout, similarly, it is also determined based on the element mirror information of the character layer bit number element whether the element mirror information is the first mark or the second mark. When the element mirror information of the character layer bit number element is the first mark, it is determined that the character layer bit number element is at the top layer; when the element mirror information of the character layer bit number element is the second mark, it is determined that the character layer bit number element is at the bottom layer.

[0096] Step S206: If the element prediction type is a network connection type, directly determine the target layer of the network connection element as any one of the top layer, the bottom layer or the inner layer.

[0097] Among them, for the network connection element, when the terminal determines whether it belongs to the top layer, the bottom layer or the inner layer, it does not need to obtain the mirror information of the network connection element, and can directly determine the level of the network connection element.

[0098] Step S208, if the element prediction type is a pin type, when the element mirror information of the pin element is a first mark, the pin element is determined to be at the top layer in the PCB layout; when the element mirror information of the pin element is a second mark, the pin element is determined to be at the bottom layer in the PCB layout.

[0099] Among them, for the pin type, when determining whether the pin element is at the bottom layer or the top layer in the PCB layout, similarly, it is also determined based on the element mirror information of the pin element whether the element mirror information is the first mark or the second mark. When the element mirror information of the pin element is the first mark, it is determined that the pin element is at the top layer; when the element mirror information of the pin element is the second mark, it is determined that the pin element is at the bottom layer.

[0100] Step S210, if the element prediction type is the copper foil type, when the element mirror information of the target copper foil element is the first mark, the top layer of the target copper foil element in the PCB layout is determined; when the element mirror information of the target copper foil element is the second mark, the bottom layer of the target copper foil element in the PCB layout is determined.

[0101] Among them, for the copper foil type, when determining whether the target copper foil element is in the bottom layer or the top layer in the PCB layout, similarly, it is also determined based on the element mirror information of the target copper foil element whether the element mirror information is the first mark or the second mark. When the element mirror information of the target copper foil element is the first mark, it is determined that the target copper foil element is in the top layer. When the element mirror information of the target copper foil element is the second mark, it is determined that the target copper foil element is in the bottom layer.

[0102] Step S212: If the element prediction type is a differential pair type, directly determine the target layer of the differential pair element as any one of the top layer, the bottom layer or the inner layer.

[0103] For a network connection element, when determining whether it belongs to the top layer, the bottom layer, or the inner layer, the terminal does not need to obtain the mirror information of the differential pair element, and can directly determine the level of the network connection element.

[0104] Step S214, if the element prediction type is a package type, when the element mirror information of the package element is a first mark, determine the top layer of the package element in the PCB layout; when the element mirror information of the package element is a second mark, determine the bottom layer of the package element in the PCB layout.

[0105] Among them, for the package type, when determining whether the package element is at the bottom layer or the top layer in the PCB layout, similarly, it is also determined based on the element mirror information of the package element whether the element mirror information is the first mark or the second mark. When the element mirror information of the package element is the first mark, it is determined that the package element is at the top layer; when the element mirror information of the package element is the second mark, it is determined that the package element is at the bottom layer.

[0106] In the above embodiment, the terminal determines the specific level of each type of target element, thereby opening the target element at the target level of each target element, assisting the user's design process, debugging process, etc., and improving the user's work efficiency.

[0107] In one embodiment, the element attribute information includes element position information; opening the target element at the target level and highlighting the opened target element includes:

[0108] Based on the element position information, the target element is opened at the target level; the opened target element is scaled and highlighted, and then highlighted at the target level.

[0109] Among them, element position information refers to information that can specifically locate the position of the target element. Specifically, element position information can refer to information such as the coordinates of the target element. Scaling processing can refer to reducing and enlarging the target element. When the terminal scales the target element, it can automatically enlarge the target element based on the actual situation of the target element to obtain the scaled target element. Furthermore, after scaling the target element, the terminal can also highlight the target element differentially, so that the user can quickly identify the target element after opening.

[0110] In the above embodiment, for the opened target element, the terminal will perform scaling processing and highlight processing on the target element, thereby playing an auxiliary role and improving the work efficiency as a whole.

[0111] In one embodiment, if Figure 3 As shown, it is a flowchart of an element search method in a specific embodiment:

[0112] This embodiment involves the general process of finding the target element:

[0113] After receiving the element search command, the terminal can activate the search process according to the element search command. After the search process is activated, the terminal can determine the type of element to be found according to the relevant information carried in the element search instruction.

[0114] If the element search type cannot be determined, the element search command can be obtained again. If the element type can be determined, the target element is searched according to the element type. The purpose of the search is different. For example, a design needs to find a certain device, and a debugging needs to find a certain network, or a piece of copper foil needs to measure voltage. Therefore, it is necessary to determine whether the search type is a device, a network, a differential pair, or a DRC (Design Rule Checking, design rules that need to be checked), etc.

[0115] After the target element is found, the position information of the target element may be generated. The terminal may automatically select the target element according to the position information of the target element, and display the target element after scaling and highlighting it.

[0116] In one embodiment, if Figure 4 As shown, it is a flowchart of an element search method in a specific embodiment:

[0117] Among them, the user only needs to input the element search command. The format of the element search command can be fx xxx, where xxx is the target element that the user needs to find. When the terminal determines that the element search command does not meet the requirements, it will pop up a prompt message to prompt the user to re-enter. When the terminal determines that the element search command meets the requirements, the terminal will automatically find the target element, scale and highlight the target element, and then display it to the user. When the user finishes using it, the terminal can clear the previous settings to avoid interfering with subsequent applications.

[0118] Specifically, Figure 5 As shown in the figure, the target element that the terminal searches for is the device element. The element search command can be fx U1. The terminal searches for U1, and U1 is switched to the top level, then enlarged and highlighted. Figure 6 As shown, the target element that the terminal is searching for is the pin element C1.1. The element search command can be fx C1.1. The terminal searches for C1.1, and C1.1 is switched to the bottom layer, then enlarged and highlighted.

[0119] In one embodiment, if Figure 7 As shown, it is a flowchart of an element search method in a specific embodiment:

[0120] First, the execution subject in this embodiment is a terminal, and the following steps are specific steps for the terminal to search for any element in the PCB layout:

[0121] First, the user can enter the element search command "fx xxx" through the command bar of the terminal itself, where fx is a custom trigger source and actual operation instruction, which is used for all branch judgments, operation processing, etc. of the system; "xxx" is the actual operation object, and "xxx" can carry information related to the operation object (that is, the target element to be found); specifically, "xxx" can be any element such as a network, a pin, or a copper sheet.

[0122] After receiving the element search command, the terminal can parse the element search command, such as parsing the element identification information of the operation object. If it meets the requirements, it will proceed to the next step, otherwise it will pop up a print prompt: re-enter as required.

[0123] Specifically, for the step of popping up the printing prompt, the prompt code inside the terminal may be:

[0124] (if comp==nil then

[0125] println("-----Please input what you want to find-----")

[0126] println("-----symbol:fx u1;Pin:fx u2.2,Net:fx txd,Shapes:fxvdd33-----")

[0127] else

[0128] The meaning of the above code can be understood as "please enter the element search instruction you want to enter, such as symbol:fx u1; Pin:fx u2.2; Net:fx txd,; Shapes:fx vdd33, etc."

[0129] Furthermore, if the input element search command is correct, the terminal will determine the type of the element identification information of the operation object, thereby determining the element prediction type that matches the operation object. For example, if "fx u2.2" is input, the terminal can determine that the element prediction type is a pin type based on u2, and then the corresponding pin needs to be found.

[0130] Among them, for different element prediction types, the specific steps are as follows:

[0131] If it is of SYM TYPE type, SYM TYPE type indicates Symbol (symbols of all PCB boards, not necessarily with serial numbers) device, wherein symbol device can include all electrical devices and mechanical structures. When the element prediction type is symbol type, the terminal can directly open the Symbol device in the search panel according to the element identification information to search for symbol elements. Specifically, the element identification information of the symbol element may be FIXOPT. The terminal will find FIXOPT in the SYM TYPE type of the search panel and obtain the element attribute information of FIXOPT. The element attribute information may include the coordinate position, level, name and other key information of FIXOPT, which will be temporarily stored in a temporary database for subsequent operations. Generally, symbol elements only exist on the surface, that is, on the top or bottom layer. You can find the specific layer where the symbol is located in the following two ways. The first one is the direct method, which is to directly find the layer of the symbol element. The second one is the indirect method, which is to judge the Mirror attribute of the Symbol element. If the mirror attribute of the symbol element is nil, it means that the symbol has not passed through the mirror and the device is on the top layer. On the contrary, if the mirror attribute of the symbol is t, it means that the symbol has passed through the mirror, so the Symbol element is on the bottom layer.

[0132] If it is a REF DES type, the REF DES type can represent the character layer number of the component number, which is generally used to debug devices with electrical characteristics, check the basic information of the device, etc. When the element prediction type is a character layer number type, the terminal can open Components (components in the PCB, components with component serial numbers) in the search panel, find the character layer number element according to the element identification information, and obtain the element attribute information of the character layer number element. The element attribute information may include the coordinate position, level, name and other key information of the character layer number element, which is temporarily stored in a temporary database for subsequent operations. Specifically, the element identification information of the character layer number element can be C1, and the terminal will find C1 in the Components of the search panel. Then, it is necessary to open it according to the specific level where the element is located, and the specific level can also be determined through the mirror attribute information of the character layer number element.

[0133] If it is a NET type, the target element of the NET type is generally used for signal testing and measurement, or rework (rework) flying wires, etc. The NET type contains the network connection information between various components, etc. When the element prediction type is a NET type, the terminal can search for network connection elements in the search panel according to the element identification information, and obtain the element attribute information of the network connection element. The element attribute information of the network connection element may include the coordinate position, level, name and other key information of the network connection element, which is temporarily stored in a temporary database for subsequent operations. Specifically, the element identification information of the network connection element can be EN_VDD50, and the terminal will find EN_VDD50 in the NET type of the search panel. Then, since NET will exist at all levels, it is not limited to the surface or bottom layer, and may also be in the inner layer. Therefore, it is necessary to search for the location of the network net, find the net of the surface, bottom or inner layer, and then operate.

[0134] If it is a PIN type. PIN type target elements are generally used for the measurement of resistors and capacitors, or for the quick search and measurement of a pin of a large-scale multi-pin chip, etc. PIN type target elements include pin information, etc. When the element prediction type is a PIN type, the terminal can disassemble the element identification information in the search panel to obtain the disassembly result, search for the pin element according to the disassembly result, and obtain the element attribute information of the pin element. The element attribute information of the pin element may include the coordinate position, level, name and other key information of the pin element, which is temporarily stored in a temporary database for subsequent use. Specifically, the element identification information of the pin element may be U1.3, then the terminal will split the element identification information, such as "U1.3", which means the third pin of the U1 chip. Therefore, first use the comma to split "U1.3" before and after, then find the U1 chip, and finally locate the third pin.

[0135] Specifically, for the search process of the PIN type element, the program code inside the terminal may be:

[0136] (when pinfind=axlSelectByName("PIN"comp)

[0137] println(pinfind)

[0138] axlSetFindFilter(?enabled list("noall""PINS""SYMBOLS""COMPONENTS")?onButtons list("noall""PINS""SYMBOLS""COMPONENTS"))

[0139] TempSymbol=car(parseString(comp"."));

[0140] TempComponent=axlGetSelSet(axlSingleSelectName("COMPONENT"strcat(TempSymbol)))

[0141] Among them, the above code can be understood as the process of operating the pin element. Specifically, when searching for the target element of the PIN type in the Find panel, the element identification information can be disassembled, and then the pin element can be found according to the disassembly result. Among them, the "? enabled list" in the code indicates whether to open the Components and Pins related options, and "? onButtons" indicates whether to display the Components and Pins related options.

[0142] If it is a Shape type, the target element of the Shape type is generally used for power supply debugging and flying wire detection, timing inspection, etc. The Shape type contains the position and coordinate information of the copper foil, etc. When the element prediction type is a Shape type, the terminal can find at least one initial copper foil element according to the element identification information in the search panel, and then determine the target copper foil element according to the area of ​​each initial copper foil element. Specifically, the element identification information of the copper foil element may be VDD50 (indicating a power plane), then the terminal will find at least one VDD50 in the Shape type of the search panel, and the terminal will use the VDD50 with the largest area as the final copper foil element based on the area of ​​each VDD50, and obtain the element attribute information of the copper foil element. The element attribute information of the copper foil element may include the coordinate position, layer, name and other key information of the copper foil element, which is temporarily stored in a temporary database for subsequent operations. The specific layer may also be determined through the mirror attribute information of the copper foil element.

[0143] If it is a Diff Pair type, the target element of the Diff Pair type is generally used for differential line impedance matching settings and equal length winding of differential lines, or testing differential signals during debugging, etc. Diff Pair contains network information of differential lines, etc. When the element prediction type is a Diff Pair type, the terminal can find the differential pair element in the search panel according to the element search identifier, and obtain the element attribute information of the differential pair element. The element attribute information of the differential pair element can include the coordinate position, layer, name and other key information of the differential pair element, which is temporarily stored in a temporary database for subsequent operations. Then, it is necessary to open it according to the specific layer where the Diff Pair element is located. Since the test of the differential line and the actual differential line mostly exist in the surface layer, the system will default to opening the differential line of the surface layer first. Only when the differential line does not exist in the surface layer will the inner layer routing be opened.

[0144] If it is a package type. The target element of footprint type is generally used for package inspection, pad inspection, etc. The footprint type contains the symbol information of the element, etc. When the element prediction type is footprint type, the terminal can find the package element according to the element identification information in the search panel, and obtain the element attribute information of the package element. The element attribute information of the package element may include the coordinate position, layer, name and other key information of the package element, which is temporarily stored in a temporary database for subsequent operations. Then, it needs to be opened according to the specific layer where the package element is located. Generally, the package element will only exist on the surface, that is, on the top or bottom layer.

[0145] In addition to the above-mentioned element types, the element search method involved in the embodiments of the present application can also be applied to information inspection, search and other processes, such as DRC (design planning) inspection, border and other information search, which only needs to be branch predicted according to the characteristics of different elements and actual needs to find any required elements. Therefore, the system has strong operability and wide scalability. It can be quickly applied to applications of other elements.

[0146] After the target element is opened in the target layer, the terminal can select the target element and then scale it to a suitable scale to facilitate search and subsequent processing. The scaled element can generally be quickly identified, but for the current high-density boards (such as non-polar resistors and capacitors including chips with thousands of pins), it is difficult to see the specific device and pin information at a glance. Therefore, the terminal can highlight the target element differently. At the same time, after highlighting the target element, a shortcut method for removing the highlight will pop up, which can be conveniently turned off in time after use to avoid subsequent use of the application.

[0147] Finally, if you have finished designing and debugging the elements you have found, you can clear the relevant settings for the target elements according to the actual situation to avoid interfering with subsequent applications.

[0148] The above steps constitute the main steps for one-click quick search of any element. As can be seen from the above, the simplicity of the operation is based on complex analysis, judgment and prediction, thus achieving fast and convenient search.

[0149] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0150] Based on the same inventive concept, the embodiment of the present application also provides an element search device for implementing the element search method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more element search device embodiments provided below can refer to the limitations on the element search method above, and will not be repeated here.

[0151] In one embodiment, Figure 8 As shown, an element search device is provided, including: an instruction acquisition module, a matching module, an information acquisition module and a processing module, wherein:

[0152] The instruction acquisition module 802 is used to acquire an element search instruction, where the element search instruction carries element identification information of a target element.

[0153] A matching module 804 is used to determine the element prediction type matching the target element based on the element identification information;

[0154] The information acquisition module 806 is used to search for a target element in the search panel according to the element prediction type to obtain element attribute information of the target element.

[0155] The processing module 808 is used to determine the target level of the target element in the PCB layout based on the element attribute information, open the target element at the target level, and highlight the opened target element.

[0156] In one of the embodiments, the device further comprises a trigger module;

[0157] The trigger module, the element search instruction also carries trigger information, which is used to determine whether the trigger information matches the predefined trigger information; if it matches, it determines whether the element identification information meets the search requirements; when the element identification information meets the search requirements, executes the step of determining the element prediction type that matches the target element based on the element identification information.

[0158] In one of the embodiments, the matching module is also used to determine the element prediction type that matches the target element directly based on the element identification information when the element identification information does not include a preset symbol; when the element identification information includes a preset symbol, the element identification information is disassembled, and the element prediction type that matches the target element is determined based on the disassembly result.

[0159] In one of the embodiments, the information acquisition module is also used to directly search for symbol elements in the search panel according to the element identification information if the element prediction type is a symbol type; directly search for character layer number elements in the search panel according to the element identification information if the element prediction type is a character layer number type; directly search for network connection elements in the search panel according to the element identification information if the element prediction type is a network connection type; if the element prediction type is a pin type, the element identification information is disassembled in the search panel to obtain the disassembly result, and the pin element is searched according to the disassembly result; if the element prediction type is a copper foil type, at least one initial copper foil element is found in the search panel according to the element identification information, and the target copper foil element is determined according to the area of ​​each initial copper foil element to search for the copper foil element; if the element prediction type is a differential pair type, the differential pair element is searched in the search panel according to the element identification information; if the element prediction type is a package type, the package element is searched in the search panel according to the element identification information.

[0160] In one of the embodiments, the element attribute information of the processing module includes element mirror information, and the target layer includes the top layer, the bottom layer or the inner layer. Based on the element attribute information, it is also used to determine the top layer of the symbol element in the PCB layout when the element mirror information of the symbol element is the first mark, and the bottom layer of the symbol element in the PCB layout when the element mirror information of the symbol element is the second mark; if the element prediction type is the character layer bit number type, when the element mirror information of the character layer bit number element is the first mark, the top layer of the character layer bit number element in the PCB layout is determined, and when the element mirror information of the character layer bit number element is the second mark, the bottom layer of the character layer bit number element in the PCB layout is determined; if the element prediction type is the network connection type, the target layer of the network connection element is directly determined to be any one of the top layer, the bottom layer or the inner layer; if the element prediction type is the pin type , when the element mirror information of the pin element is the first mark, the top layer of the pin element in the PCB layout is determined, and when the element mirror information of the pin element is the second mark, the bottom layer of the pin element in the PCB layout is determined; if the element prediction type is the copper foil type, when the element mirror information of the target copper foil element is the first mark, the top layer of the target copper foil element in the PCB layout is determined, and when the element mirror information of the target copper foil element is the second mark, the bottom layer of the target copper foil element in the PCB layout is determined; if the element prediction type is the differential pair type, the target layer of the differential pair element is directly determined to be any one of the top layer, the bottom layer or the inner layer; if the element prediction type is the package type, when the element mirror information of the package element is the first mark, the top layer of the package element in the PCB layout is determined, and when the element mirror information of the package element is the second mark, the bottom layer of the package element in the PCB layout is determined.

[0161] In one of the embodiments, the processing module is further used to open the target element at the target level based on the element position information, scale and highlight the opened target element, and then highlight it at the target level.

[0162] Each module in the above-mentioned element search device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module above.

[0163] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig. 9As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface, the display unit and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, an element search method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0164] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0165] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps of the above-mentioned element search method when executing the computer program.

[0166] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned element search method are implemented.

[0167] In one embodiment, a computer program product is provided, including a computer program, which implements the steps of the above-mentioned element search method when executed by a processor.

[0168] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0169] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0170] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0171] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for searching an element, characterized in that: The method comprises: Obtain an element search instruction, where the element search instruction carries element identification information of a target element; Based on the element identification information, determining an element prediction type matching the target element; The determining the element prediction type matching the target element based on the element identification information comprises: when the element identification information does not include a preset symbol, directly determining the element prediction type matching the target element based on the element identification information; when the element identification information includes a preset symbol, disassembling the element identification information, and determining the element prediction type matching the target element based on the disassembly result; According to the element prediction type, searching for the target element in the search panel to obtain element attribute information of the target element; The step of searching for the target element in a search panel according to the element prediction type includes: In the case where the element prediction type is a symbol type, a character layer bit number type, a network connection type, a differential pair type, or a package type, according to the element identification information, a target element corresponding to the element identification information is searched in the search panel; in the case where the element prediction type is a pin type, the element identification information is disassembled in the search panel, and a pin element is searched in the search panel according to the disassembly result; in the case where the element prediction type is a copper foil type, at least one initial copper foil element is searched in the search panel according to the element identification information, and a target copper foil element is determined from the at least one initial copper foil element according to the area size relationship between different initial copper foil elements; Based on the element attribute information, determine the target level of the target element in the PCB layout, open the target element at the target level, and highlight the opened target element; The element attribute information includes element mirror information, and the element mirror information is used to mark the specific level at which the target element is located; and determining the target level of the target element in the PCB layout based on the element attribute information includes: In a case where the element prediction type is the symbol type, the character layer position number type, the pin type, the copper type or the package type, the mark type corresponding to the element mirror information is obtained, and the target level of the target element in the PCB layout is determined based on the mark type; in a case where the element prediction type is the network connection type or the differential pair type, the target level of the target element in the PCB layout is directly determined.

2. The method according to claim 1, characterized in that The element search instruction also carries trigger information; Before determining the element prediction type matching the target element based on the element identification information, the method further includes: Determining whether the trigger information matches predefined trigger information; If there is a match, determining whether the element identification information meets the search requirements; When the element identification information meets the search requirement, a step of determining an element prediction type matching the target element based on the element identification information is performed.

3. The method according to claim 1, characterized in that The target layer includes a top layer, a bottom layer or an inner layer, and determining the target layer of the target element in the PCB layout based on the element attribute information includes: If the element prediction type is the symbol type, when the element mirror information of the symbol element is a first mark, determine the top layer of the symbol element in the PCB layout; when the element mirror information of the symbol element is a second mark, determine the bottom layer of the symbol element in the PCB layout; If the element prediction type is the character layer bit number type, when the element mirror information of the character layer bit number element is a first mark, determine the top layer of the character layer bit number element in the PCB layout; when the element mirror information of the character layer bit number element is a second mark, determine the bottom layer of the character layer bit number element in the PCB layout; If the element prediction type is the network connection type, directly determining the target level of the network connection element as any one of the top level, bottom level or inner level; If the element prediction type is the pin type, when the element mirror information of the pin element is a first mark, the top layer of the pin element in the PCB layout is determined, and when the element mirror information of the pin element is a second mark, the bottom layer of the pin element in the PCB layout is determined; If the element prediction type is the copper foil type, then when the element mirror information of the target copper foil element is a first mark, the top layer of the target copper foil element in the PCB layout is determined, and when the element mirror information of the target copper foil element is a second mark, the bottom layer of the target copper foil element in the PCB layout is determined; If the element prediction type is the differential pair type, directly determining the target level of the differential pair element as any one of the top layer, the bottom layer or the inner layer; If the element prediction type is a package type, when the element mirror information of the package element is a first mark, the top layer of the package element in the PCB layout is determined; when the element mirror information of the package element is a second mark, the bottom layer of the package element in the PCB layout is determined.

4. The method according to claim 1, characterized in that: The element attribute information includes element position information; The step of opening the target element at the target level and highlighting the opened target element includes: Based on the element position information, opening the target element at the target level; After zooming and highlighting the opened target element, it is highlighted in the target layer.

5. An element search device, characterized in that: The device comprises: An instruction acquisition module, used to acquire an element search instruction, wherein the element search instruction carries element identification information of a target element; A matching module, used to determine an element prediction type matching the target element based on the element identification information; The matching module is further configured to directly determine the element prediction type matching the target element based on the element identification information when the element identification information does not include a preset symbol; and to decompose the element identification information when the element identification information includes a preset symbol, and determine the element prediction type matching the target element based on the decomposition result; An information acquisition module, used to search for the target element in a search panel according to the element prediction type, so as to acquire element attribute information of the target element; The information acquisition module is further used to search for a target element corresponding to the element identification information in the search panel according to the element identification information when the element prediction type is a symbol type, a character layer bit number type, a network connection type, a differential pair type, or a package type; to disassemble the element identification information in the search panel and search for a pin element in the search panel according to the disassembly result when the element prediction type is a pin type; and to search for at least one initial copper foil element in the search panel according to the element identification information and determine a target copper foil element from the at least one initial copper foil element according to the area size relationship between different initial copper foil elements when the element prediction type is a copper foil type. A processing module, used for determining a target level of the target element in the PCB layout based on the element attribute information, opening the target element at the target level, and highlighting the opened target element; The processing module is further used to obtain the mark type corresponding to the element mirror information when the element prediction type is the symbol type, the character layer position number type, the pin type, the copper type or the package type, and determine the target level of the target element in the PCB layout based on the mark type; when the element prediction type is the network connection type or the differential pair type, directly determine the target level of the target element in the PCB layout.

6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

8. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Method and device for detecting pin wiring of chip power sources on circuit boards

    CN104112031A

  • Rapid localizing, searching and refreshing method and device based on rail transit station and yard graphics

    CN109849974A