Highlighting Method, Device, Terminal, and Storage Medium for Network-Free Pins
By obtaining, encapsulating and activating the built-in functions of auxiliary tools, the problem of network-free pin checking in large PCB designs is solved, and efficient and personalized highlighting is achieved, improving design efficiency.
Patent Information
- Application Number
- CN202510462786.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-14
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2045-04-14
AI Technical Summary
In large PCB designs, manually checking network-free pins is time-consuming and labor-intensive, and the software's own highlighting method cannot be set in a personalized manner, which affects the design progress.
Provides an auxiliary tool that includes built-in functions for obtaining, highlighting, and setting colors, obtaining auxiliary tools through preset scripting languages, encapsulating and deploying programs, and activating programs to highlight networkless pins.
It realizes efficient and personalized network-free pin highlighting, improving PCB design efficiency.
Smart Images

Figure CN119990038B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of PCB design, and particularly to a highlighting method, device, terminal, and storage medium for pins without a network. Background Art
[0002] A PCB board is a printed circuit board, also known as a printed wiring board, abbreviated as a wiring board, often using the English abbreviation PCB (Printed circuit board) or PWB (Printed wire board). It uses an insulating board as a substrate, cut into a certain size, with at least one conductive pattern attached, and holes (such as component holes, fastening holes, metallized holes, etc.) are arranged to replace the chassis for installing electronic components in the past and to achieve the interconnection between electronic components. Since this board is made by electronic printing technology, it is called a "printed" circuit board. With the development of chip technology, the functions of chips have become more and more powerful, which also makes the pins of chips more and more. When designing a PCB, all pins with connection attributes of a BGA chip need to be fanned out, while pins without a network cannot be fanned out, otherwise it may affect the internal wiring of the chip and even cause the chip to work abnormally. However, today's BGAs often have hundreds or thousands of pins, and it is too time-consuming and laborious to check them one by one. Therefore, most engineers will highlight all pins without a network to facilitate checking the fan-out of normal pins of the chip and deleting the fan-out of pins without a network.
[0003] However, the traditional method is for designers to manually or use the built-in network checking function in PCB software for highlighting. In large-scale PCB designs, the number of components may reach thousands or even tens of thousands. Manually checking the pin connections one by one requires a lot of time and effort. Designers may need to spend several hours or even days to complete this work, seriously affecting the design progress; at the same time, the built-in network checking function and highlighting method of the software are usually fixed, and it is difficult for designers to make personalized settings according to their own needs, such as customizing the highlighting color, etc. Summary of the Invention
[0004] The main purpose of this application is to provide a highlighting method, device, terminal, and storage medium for pins without a network, aiming to efficiently highlight the pins without a network in the design drawing according to the pre-set color to improve the PCB design efficiency.
[0005] To achieve the above object, this application provides a highlighting method for pins without a network, and the method includes:
[0006] Obtain an auxiliary tool, where the auxiliary tool includes built-in functions, and the built-in functions include a first sub-built-in function for obtaining non-network pins in a design drawing, a second sub-built-in function for highlighting the non-network pins, and a third sub-built-in function for setting a preset color;
[0007] Package the auxiliary tool and deploy the program corresponding to the auxiliary tool;
[0008] Activate the program corresponding to the auxiliary tool and execute the program corresponding to the auxiliary tool to highlight the non-network pins in the preset color.
[0009] Specifically, the obtaining of the auxiliary tool includes:
[0010] Obtain an initial auxiliary tool according to the built-in functions through a preset built-in scripting language;
[0011] Set a call entry shortcut key in the initial auxiliary tool to obtain the auxiliary tool, where the call entry shortcut key is used for subsequent calls of a preset software.
[0012] Specifically, the packaging of the auxiliary tool and the deployment of the program corresponding to the auxiliary tool include:
[0013] Package the auxiliary tool into an auxiliary tool file;
[0014] Transfer the auxiliary tool file to the plugin folder of the preset software, where the plugin folder is the folder pointed to by the system environment variable;
[0015] Modify the interface file of the preset software;
[0016] Load the auxiliary tool file through the environment variable path corresponding to the interface file.
[0017] Specifically, the modification of the interface file of the preset software includes:
[0018] Open the interface file through a preset text editor;
[0019] Add a load function statement to the interface file.
[0020] Specifically, the activation of the program corresponding to the auxiliary tool and the execution of the program corresponding to the auxiliary tool include:
[0021] Restart the preset software to complete the update of the environment configuration;
[0022] Traverse the design drawing based on a preset call instruction, identify all the pins without a network in the design drawing, and highlight the pins without a network according to the preset color in the preset call instruction, where the preset call instruction is input in the command box of the preset software.
[0023] Specifically, after activating the program corresponding to the auxiliary tool and executing the program corresponding to the auxiliary tool, the method further includes:
[0024] Obtain a color difference evaluation result according to the design drawing and the preset color through a preset first model, where the preset first model is used to evaluate the highlighting effect of the pins without a network highlighted according to the preset color in the design drawing;
[0025] Determine whether to replace the preset color based on the color difference evaluation result.
[0026] Specifically, the determining whether to replace the preset color based on the color difference evaluation result includes:
[0027] If the color difference evaluation result is not greater than a preset threshold, obtain a target color through a preset second model according to the design drawing, the graphic contour of the pins without a network, and the color difference evaluation result;
[0028] If the color difference evaluation result is greater than the preset threshold, determine not to replace the preset color.
[0029] To achieve the above object, the present application further provides a highlighting device for pins without a network, and the device includes:
[0030] A first unit, configured to obtain an auxiliary tool, where the auxiliary tool includes built-in functions, and the built-in functions include a first sub-built-in function for obtaining pins without a network in a design drawing, a second sub-built-in function for highlighting the pins without a network, and a third sub-built-in function for setting a preset color;
[0031] A second unit, configured to perform encapsulation processing on the auxiliary tool and deploy a program corresponding to the auxiliary tool;
[0032] A third unit, configured to activate the program corresponding to the auxiliary tool and execute the program corresponding to the auxiliary tool to highlight the pins without a network according to a preset color.
[0033] To achieve the above object, the present application further provides a terminal, including a memory storing multiple instructions; the processor loads the instructions from the memory to execute the steps in any one of the methods provided by the present application.
[0034] To achieve the above object, the present application further provides a storage medium storing multiple instructions adapted to be loaded by a processor to execute the steps in any of the methods provided by the present application.
[0035] A highlighting method, device, terminal, and storage medium for non-network pins provided by the present application can first obtain an auxiliary tool, where the auxiliary tool includes built-in functions, and the built-in functions include a first sub-built-in function for obtaining non-network pins in a design drawing, a second sub-built-in function for highlighting the non-network pins, and a third sub-built-in function for setting a preset color; then, perform encapsulation processing on the auxiliary tool and deploy a program corresponding to the auxiliary tool; finally, activate the program corresponding to the auxiliary tool and execute the program corresponding to the auxiliary tool to efficiently highlight the non-network pins in the preset color, thereby improving the PCB design efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 It is a flowchart of the method provided by an embodiment of the present application;
[0037] Figure 2 It is a schematic structural diagram of the device provided by an embodiment of the present application;
[0038] Figure 3 It is a schematic structural diagram of the terminal provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0039] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present application.
[0040] Since the traditional method is for designers to manually or use the built-in network inspection function in the PCB software for highlighting, in large PCB designs, the number of components may reach thousands or even tens of thousands. Manually checking the pin connections one by one requires a lot of time and effort. Designers may need to spend several hours or even days to complete this work, seriously affecting the design progress; at the same time, the built-in network inspection function and highlighting method in the software are usually fixed, and it is difficult for designers to perform personalized settings according to their own needs, such as customizing the highlighting color, etc.
[0041] Therefore, the embodiments of the present application provide a highlighting method, device, terminal, and storage medium for non-network pins to solve practical technical problems.
[0042] In some embodiments, the device may be specifically integrated into an electronic device, which may be a device such as a terminal or a server.
[0043] In some embodiments, the server may also be implemented in the form of a terminal.
[0044] Among them, the server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0045] Among them, the terminal may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto. The terminal and the server may be directly or indirectly connected through wired or wireless communication methods, and this application does not make any restrictions here.
[0046] The embodiments of the present application provide a highlighting method for non-network pins. The method can efficiently highlight the non-network pins in the design drawing according to a preset color.
[0047] As Figure 1 shown, the specific process of the method may be as follows:
[0048] S110. Obtain an auxiliary tool, where the auxiliary tool includes built-in functions, and the built-in functions include a first sub-built-in function for obtaining non-network pins in the design drawing, a second sub-built-in function for highlighting the non-network pins, and a third sub-built-in function for setting a preset color.
[0049] In some embodiments, the obtaining of the auxiliary tool includes the step contents of S111 to S112 as shown below:
[0050] S111. Obtain an initial auxiliary tool according to the built-in functions through a preset built-in scripting language.
[0051] In some embodiments, the preset built-in scripting language may be the Skill language. The Skill language is a high-level programming language based on the C language and the LISP language, and is a built-in scripting language specially developed for EDA software (such as Cadence Allegro) for secondary development and extension of software functions.
[0052] In some embodiments, the first sub-built-in function may be the axlDBDummyNet('pin) function, which is used to obtain all the pins without a network in the design diagram; the second sub-built-in function may be the axlHighlightObject function, which is used to highlight the pins without a network; the third sub-built-in function may be the axlDBControl function, which is used to set a preset color (such as color No. 11, and user-defined is supported).
[0053] S112. Set a shortcut key for the call entry in the initial auxiliary tool to obtain the auxiliary tool, where the shortcut key for the call entry is used for subsequent calls of the preset software.
[0054] In some embodiments, the preset software may be Allegro software. Allegro software is a professional printed circuit board (PCB) design software and has a wide range of applications in the field of electronic design automation (EDA). Allegro software has interfaces that facilitate secondary development by users and a relatively complete development language library, and users can perform secondary development based on this according to their needs.
[0055] Designers can use the Skill language to write custom function modules to implement specific functions not provided by the software itself. For example, to implement the function of quickly highlighting pins without a network in Allegro software, by writing a Skill program to call the relevant functions of the software, the search and highlighting of pins without a network can be automatically completed, improving the design efficiency.
[0056] Specifically, the auxiliary tool may be a completed Skill program.
[0057] S120. Perform encapsulation processing on the auxiliary tool and deploy the program corresponding to the auxiliary tool.
[0058] In some embodiments, the performing encapsulation processing on the auxiliary tool and deploying the program corresponding to the auxiliary tool includes the step contents of S121 to S124 shown below:
[0059] S121. Package the auxiliary tool into an auxiliary tool file.
[0060] Continuing the above embodiment, package the completed Skill program into an.il file, that is, the auxiliary tool file.
[0061] S122. Transfer the auxiliary tool file to the plugin folder of the preset software, where the plugin folder is the folder pointed to by the system environment variable.
[0062] Continuing the above embodiment, transfer the.il file to the plugin folder of the preset software.
[0063] S123. Modify the interface file of the preset software.
[0064] Continuing from the above embodiment, modify the interface file allegro.ilinit of the Allegro software.
[0065] Specifically, the modification of the interface file of the preset software includes the step contents of S1231 to S1232 as follows:
[0066] S1231. Open the interface file through a preset text editor.
[0067] Continuing from the above embodiment, use a text editor (such as Notepad) to open the interface file allegro.ilinit.
[0068] S1232. Add a loading function statement in the interface file.
[0069] Continuing from the above embodiment, add a load function statement, that is, the loading function statement.
[0070] S124. Load the auxiliary tool file through the environmental variable path corresponding to the interface file.
[0071] Continuing from the above embodiment, load the.il file through the environmental variable path corresponding to the interface file.
[0072] S130. Activate the program corresponding to the auxiliary tool and execute the program corresponding to the auxiliary tool to highlight the pin without network according to the preset color.
[0073] In some embodiments, the activation of the program corresponding to the auxiliary tool and the execution of the program corresponding to the auxiliary tool include the step contents of S131 to S132 as follows:
[0074] S131. Restart the preset software to complete the update of the environmental configuration.
[0075] Continuing from the above embodiment, restart the Allegro software to complete the update of the environmental configuration.
[0076] S132. Based on a preset call instruction, traverse the design drawing, identify all the pins without network in the design drawing, and highlight the pins without network according to the preset color in the preset call instruction, where the preset call instruction is input in the command box of the preset software.
[0077] In some embodiments, after activating the program corresponding to the auxiliary tool and executing the program corresponding to the auxiliary tool, the method further includes the step contents of T110 to T120 as shown below:
[0078] T110. Obtain a color difference evaluation result according to the design drawing and the preset color through a preset first model, where the preset first model is used to evaluate the highlighting effect of the pin without network highlighted in the preset color in the design drawing.
[0079] In some embodiments, the preset first model may include a first input layer, a convolutional layer, a pooling layer, a first fully connected layer, and a first output layer.
[0080] Specifically, the input of the first input layer includes a design drawing with pins without network highlighted in a preset color, and the design drawing is input in the form of an image matrix. At the same time, it also includes a preset color, which can be represented as a three-dimensional vector for characterizing the RGB color of the preset color. The first input layer integrates the input design drawing and preset color information as the input for the subsequent convolutional layer.
[0081] The convolutional layer contains multiple convolutional kernels. The convolutional kernels slide on the input image for convolutional operations to extract local features of the image. The convolutional layer also applies an activation function (such as ReLU) to introduce non-linearity and enhance the expression ability of the model. After the convolutional operation and activation function processing of the convolutional layer, a feature map is output.
[0082] The input of the pooling layer is the feature map output by the previous convolutional layer. The pooling layer uses a pooling window of a fixed size to slide on the feature map and takes the maximum value within the window as the output, thereby reducing the size of the feature map, reducing the amount of calculation, and enhancing the robustness of the model. After the pooling operation of the pooling layer, a feature map with a reduced size is output. After being processed by multiple convolutional layers and pooling layers, the feature map output by the last pooling layer is flattened into a one-dimensional vector, that is, one-dimensional vector 1.
[0083] The first fully connected layer fully connects the input one-dimensional vector 1 with neurons. Each neuron performs a weighted sum on the input and applies an activation function (such as ReLU). The first fully connected layer can learn the global relationship between various features in the feature map. After being processed by the first fully connected layer, a first intermediate vector is output, and the dimension of this vector can be adjusted as needed.
[0084] Use the first intermediate vector as the input to the first output layer. The first output layer uses a linear activation function (such as the identity function) to map the input first intermediate vector to a scalar value, which is the color difference evaluation result, representing the highlighting effect score of the network-free pins highlighted according to the preset color in the design drawing. For the color difference evaluation result, the higher the score, the better the highlighting effect.
[0085] T120. Based on the color difference evaluation result, determine whether to replace the preset color.
[0086] In some embodiments, the determining whether to replace the preset color based on the color difference evaluation result includes the steps from T121 to T122 as follows:
[0087] T121. If the color difference evaluation result is not greater than the preset threshold, then through a preset second model, based on the design drawing, the graphic contour of the network-free pins, and the color difference evaluation result, obtain the target color.
[0088] In some embodiments, the preset second model includes a second input layer, a first convolution module, a second convolution module, a feature fusion layer, a second fully connected layer, and a second output layer.
[0089] Specifically, the inputs of the second input layer include:
[0090] Design drawing: Input in the form of an image matrix;
[0091] Graphic contour of network-free pins: Also input in the form of an image matrix, with the same size as the design drawing;
[0092] Color difference evaluation result: A scalar value.
[0093] The second input layer integrates the design drawing, the graphic contour image matrix, and the color difference evaluation result, and provides inputs for the subsequent convolution layer and fully connected layer.
[0094] The first convolution module is for the design drawing. After the convolution and pooling operations of the first convolution module, it outputs the feature map of the design drawing, and the size and number of channels are determined according to specific convolution and pooling parameters.
[0095] The second convolution module is for the graphic contour of the network-free pins. Similar to the first convolution module, it uses convolution layers and pooling layers to extract the features of the graphic contour and outputs the feature map of the graphic contour.
[0096] The inputs of the feature fusion layer include:
[0097] The design drawing feature map output by the first convolution module, flattened into a one-dimensional vector, that is, one-dimensional vector 2;
[0098] The graphical contour feature map output by the second convolutional module is flattened into a one-dimensional vector, i.e., one-dimensional vector 3.
[0099] Color difference evaluation result.
[0100] The feature fusion layer concatenates the above three inputs to form a longer one-dimensional vector, i.e., one-dimensional vector 4. The concatenated one-dimensional vector 4 contains the comprehensive information of the design drawing, graphical contour, and color difference evaluation result.
[0101] The second fully connected layer contains multiple fully connected layers. Each fully connected layer has a certain number of neurons and uses the ReLU activation function. For example, the first fully connected layer has 128 neurons, and the second fully connected layer has 64 neurons. After being processed by the second fully connected layer, a second intermediate vector is output.
[0102] The input of the second output layer is the second intermediate vector output by the second fully connected layer. The second output layer uses a fully connected layer with 3 neurons (corresponding to the three channels of RGB colors) and uses the Sigmoid activation function to map the output value to the interval [0,1]. The output of the second output layer is the RGB value of the target color, and the value of each channel is within the range of [0,1].
[0103] T122. If the color difference evaluation result is greater than the preset threshold, it is determined not to replace the preset color.
[0104] In some embodiments, if the color difference evaluation result is greater than the preset threshold, it means that the color difference between the highlighted part and the design drawing is obvious enough for designers or machines to identify. Therefore, it can be determined not to replace the preset color and continue to use the preset color.
[0105] As can be seen from the above, an auxiliary tool can be obtained first. The auxiliary tool includes built-in functions, and the built-in functions include a first sub-built-in function for obtaining the pin without a network in the design drawing, a second sub-built-in function for highlighting the pin without a network, and a third sub-built-in function for setting a preset color. Then, the auxiliary tool is encapsulated and the program corresponding to the auxiliary tool is deployed. Finally, the program corresponding to the auxiliary tool is activated and executed to efficiently highlight the pin without a network according to the preset color, thereby improving the PCB design efficiency.
[0106] In summary, the present application provides a highlighting method for pins without a network, which realizes efficiently highlighting the pins without a network according to a preset color.
[0107] To better implement the above method, an embodiment of the present application further provides a highlighting device for non-network pins. This device can be specifically integrated into an electronic device, which can be a terminal, a server, or other devices. Among them, the terminal can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop computer, a personal computer, etc.; the server can be a single server or a server cluster composed of multiple servers.
[0108] For example, in this embodiment, taking the highlighting device for non-network pins specifically integrated into a terminal as an example, the method of the embodiment of the present application will be described in detail.
[0109] For example, as Figure 2 shown, the highlighting device 200 for non-network pins may include a first unit 201, a second unit 202, and a third unit 203. The device includes:
[0110] The first unit is used to obtain an auxiliary tool. Among them, the auxiliary tool includes built-in functions, and the built-in functions include a first sub-built-in function for obtaining non-network pins in a design diagram, a second sub-built-in function for highlighting the non-network pins, and a third sub-built-in function for setting a preset color.
[0111] The second unit is used to perform encapsulation processing on the auxiliary tool and deploy a program corresponding to the auxiliary tool.
[0112] The third unit is used to activate the program corresponding to the auxiliary tool and execute the program corresponding to the auxiliary tool to highlight the non-network pins in a preset color.
[0113] In specific implementation, the above units can be implemented as independent entities, or can be combined arbitrarily to be implemented as the same or several entities. For the specific implementation of the above units, reference can be made to the method embodiments described above, which will not be elaborated here.
[0114] As can be seen from the above, the embodiment of the present application can efficiently highlight the non-network pins in a preset color.
[0115] An embodiment of the present application further provides an electronic device, which can be a terminal, a server, or other devices. Among them, the terminal can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop computer, a personal computer, etc.; the server can be a single server or a server cluster composed of multiple servers, etc.
[0116] In some embodiments, the product processing device can also be integrated into multiple electronic devices. For example, the product processing device can be integrated into multiple servers, and the multiple servers are used to implement the highlighting method for non-network pins of the present application.
[0117] In this embodiment, the electronic device in this embodiment will be described in detail by taking a terminal as an example. For example, as Figure 3 shown, it shows a schematic structural diagram of a terminal 300 involved in an embodiment of the present application. Specifically:
[0118] The terminal 300 may include components such as a processor 301 with one or more processing cores, a memory 302 with one or more storage media, a power supply 303, an input module 304, and a communication module 305. Those skilled in the art can understand that Figure 3 the structure of the terminal 300 shown in
[0119] does not constitute a limitation on the terminal 300, and it may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements. Among them:
[0120] The processor 301 is the control center of the terminal 300, connecting various parts of the entire terminal 300 through various interfaces and lines. By running or executing software programs and / or modules stored in the memory 302, and by calling data stored in the memory 302, it executes various functions of the terminal 300 and processes data, thereby monitoring the terminal 300 as a whole. In some embodiments, the processor 301 may include one or more processing cores; in some embodiments, the processor 301 may integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above modem processor may not be integrated into the processor 301.
[0121] The terminal 300 further includes a power supply 303 for powering each component. In some embodiments, the power supply 303 may be logically connected to the processor 301 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 303 may also include any components such as one or more DC or AC power supplies, a recharge system, a power failure detection circuit, a power converter or inverter, and a power status indicator.
[0122] The terminal 300 may further include an input module 304, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
[0123] The terminal 300 may further include a communication module 305. In some embodiments, the communication module 305 may include a wireless module. The terminal 300 can perform short-distance wireless transmission through the wireless module of the communication module 305, thereby providing users with wireless broadband Internet access. For example, the communication module 305 can be used to help users send and receive emails, browse web pages, and access streaming media, etc.
[0124] Although not shown, the terminal 300 may further include a display unit, etc., which will not be elaborated here. Specifically in this embodiment, the processor 301 in the terminal 300 will load the executable files corresponding to the processes of one or more application programs into the memory 302 according to the following instructions, and the processor 301 will run the application programs stored in the memory 302 to implement various functions as follows:
[0125] Obtain an auxiliary tool, where the auxiliary tool includes built-in functions, and the built-in functions include a first sub-built-in function for obtaining unconnected pins in a design diagram, a second sub-built-in function for highlighting the unconnected pins, and a third sub-built-in function for setting a preset color;
[0126] Perform encapsulation processing on the auxiliary tool and deploy the program corresponding to the auxiliary tool;
[0127] Activate the program corresponding to the auxiliary tool and execute the program corresponding to the auxiliary tool to highlight the unconnected pins in the preset color.
[0128] For the specific implementation of each of the above operations, reference can be made to the previous embodiments, which will not be elaborated here.
[0129] As can be seen from the above, the embodiments of the present application can efficiently implement highlighting unconnected pins in a design diagram according to a preset color to improve the PCB design efficiency.
[0130] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions or by controlling relevant hardware through instructions. These instructions can be stored in a storage medium and loaded and executed by a processor.
[0131] For this reason, an embodiment of the present application provides a storage medium in which multiple instructions are stored. These instructions can be loaded by a processor to execute the steps in any one of the highlighting methods for non-network pins provided by the embodiments of the present application. For example, the instructions can perform the following steps:
[0132] Obtain an auxiliary tool, where the auxiliary tool includes built-in functions, and the built-in functions include a first sub-built-in function for obtaining non-network pins in a design drawing, a second sub-built-in function for highlighting the non-network pins, and a third sub-built-in function for setting a preset color;
[0133] Perform encapsulation processing on the auxiliary tool and deploy the program corresponding to the auxiliary tool;
[0134] Activate the program corresponding to the auxiliary tool and execute the program corresponding to the auxiliary tool to highlight the non-network pins in accordance with the preset color.
[0135] Among them, the storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), a magnetic disk, an optical disc, etc.
[0136] According to one aspect of the present application, there is provided a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a storage medium. The processor of the computer device reads the computer instructions from the storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the various optional implementation manners provided in the above embodiments.
[0137] Since the instructions stored in the storage medium can execute the steps in any one of the highlighting methods for non-network pins provided by the embodiments of the present application, the beneficial effects that can be achieved by any one of the highlighting methods for non-network pins provided by the embodiments of the present application can be realized. For details, refer to the previous embodiments and will not be elaborated here.
[0138] The above has introduced in detail a highlighting method, device, terminal, and storage medium for non-network pins provided by the embodiments of the present application. Specific examples are used in this article to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present application.
Claims
1. A method for highlighting pins without a network, characterized in that: The method comprises: Obtaining an auxiliary tool, wherein the auxiliary tool includes a built-in function, the built-in function including a first sub-built-in function for obtaining a non-network pin in a design drawing, a second sub-built-in function for highlighting the non-network pin, and a third sub-built-in function for setting a preset color; Encapsulating the auxiliary tool and deploying the program corresponding to the auxiliary tool; activating a program corresponding to the auxiliary tool and executing the program corresponding to the auxiliary tool to highlight the non-network pin in a preset color; After activating the program corresponding to the auxiliary tool and executing the program corresponding to the auxiliary tool, the method further includes: Obtaining a color difference evaluation result based on the design drawing and the preset color by using a preset first model, wherein the preset first model is used to evaluate the highlighting effect of the non-network pins highlighted in the design drawing according to the preset color; Determining whether to replace the preset color based on the color difference evaluation result; determining whether to replace the preset color based on the color difference evaluation result includes: If the color difference evaluation result is not greater than a preset threshold, a target color is obtained according to the design drawing, the graphic outline without network pins, and the color difference evaluation result by using a preset second model; If the color difference evaluation result is greater than a preset threshold, it is determined not to replace the preset color.
2. The method according to claim 1, wherein The acquisition auxiliary tool includes: By presetting the built-in script language, an initial auxiliary tool is obtained according to the built-in function; A calling entry shortcut key is set in the initial auxiliary tool to obtain the auxiliary tool, wherein the calling entry shortcut key is used for subsequent calling of the preset software.
3. The method according to claim 2, wherein The step of packaging the auxiliary tool and deploying a program corresponding to the auxiliary tool includes: Encapsulating the auxiliary tool into an auxiliary tool file; Transferring the auxiliary tool file to the plug-in folder of the preset software, wherein the plug-in folder is the folder pointed to by the system environment variable; Modifying the interface file of the preset software; The auxiliary tool file is loaded through the environment variable path corresponding to the interface file.
4. The method according to claim 3, wherein The modification of the interface file of the preset software includes: Open the interface file using a preset text editor; Add a load function statement in the interface file.
5. The method according to claim 2, wherein The activating the program corresponding to the auxiliary tool and executing the program corresponding to the auxiliary tool includes: Restart the preset software to complete the environment configuration update; Based on the preset calling instruction, traverse the design drawing, identify all the non-network pins in the design drawing and highlight the non-network pins according to the preset color based on the preset color in the preset calling instruction, wherein the preset calling instruction is entered in the command box of the preset software.
6. A highlighting device for non-network pins, characterized in that: The device comprises: A first unit is configured to obtain an auxiliary tool, wherein the auxiliary tool includes a built-in function, and the built-in function includes a first sub-built-in function for obtaining a non-network pin in a design drawing, a second sub-built-in function for highlighting the non-network pin, and a third sub-built-in function for setting a preset color; The second unit is used to package the auxiliary tool and deploy the program corresponding to the auxiliary tool; A third unit is configured to activate and execute a program corresponding to the auxiliary tool to highlight the non-network pin in a preset color; After activating the program corresponding to the auxiliary tool and executing the program corresponding to the auxiliary tool, the apparatus further includes: Obtaining a color difference evaluation result based on the design drawing and the preset color by using a preset first model, wherein the preset first model is used to evaluate the highlighting effect of the non-network pins highlighted in the design drawing according to the preset color; Determining whether to replace the preset color based on the color difference evaluation result; determining whether to replace the preset color based on the color difference evaluation result includes: If the color difference evaluation result is not greater than a preset threshold, a target color is obtained according to the design drawing, the graphic outline without network pins, and the color difference evaluation result by using a preset second model; If the color difference evaluation result is greater than a preset threshold, it is determined not to replace the preset color.
7. A terminal, characterized in that: The method comprises a processor and a memory, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to execute the steps in the method according to any one of claims 1 to 5.
8. A storage medium, characterized in that: The storage medium stores a plurality of instructions, which are suitable for loading by a processor to execute the steps in the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Test point checking method based on ALLEGRO software
CN112100974A
Method, device and equipment for quickly checking false device and medium
CN119667450A