Method and device for highlighting without network pin, terminal and storage medium
By providing an auxiliary tool for PCB design, network-free pins can be displayed efficiently according to preset colors, solving the problem of time and energy consumption in traditional methods, and achieving more efficient design flow and personalized settings.
Patent Information
- Application Number
- CN202510462786.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-14
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2045-04-14
AI Technical Summary
In large PCB designs, it takes a lot of time and effort to manually check networkless pins or rely on software-owned functions to check networkless pins, and the software-owned highlighting method is usually fixed, making it difficult to personalize.
Provides an auxiliary tool that includes built-in functions to obtain networkless pins in design drawings, highlight and set preset colors. By obtaining, encapsulating, and deploying the aid tool's programs, activate and execute programs to highlight network-free pins in preset colors.
It realizes efficient highlighting of network-free pins according to preset colors, improves PCB design efficiency, reduces designer workload and time, and allows personalized highlighting settings.
Smart Images

Figure CN119990038A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of PCB design, and in particular to a highlighting method, device, terminal and storage medium for non-network pins. Background Art
[0002] PCB board is a printed circuit board, also known as printed circuit board, printed wiring board, or circuit board for short. It is often abbreviated as PCB (Printed circuit board) or PWB (Printed wire board). It uses an insulating board as the substrate, cut into a certain size, with at least one conductive pattern attached to it, and is equipped with holes (such as component holes, fastening holes, metallized holes, etc.), which is used to replace the chassis of the previous electronic components and realize the interconnection between electronic components. Since this board is made by electronic printing, it is called a "printed" circuit board. With the development of chip technology, the function of chips has become stronger, which also makes the number of pins of chips more and more. When designing PCB, all pins with connection properties of BGA chips need to be fanned out, and pins without networks cannot be fanned out, otherwise it may affect the internal output of the chip and may even cause abnormal operation of the chip. However, the current BGA has hundreds or thousands of pins, and it is too time-consuming and labor-intensive to check them one by one. Therefore, most engineers will highlight all pins without networks to facilitate the inspection of the fan-out of the normal pins of the chip and the deletion of the fan-out of the pins without networks.
[0003] However, the traditional method is for designers to highlight manually or use the network check function built into the PCB software. In large-scale PCB designs, the number of components may reach thousands or even tens of thousands, and manually checking the pin connections one by one takes a lot of time and effort. Designers may need to spend hours or even days to complete this work, which seriously affects the design progress; at the same time, the network check function and highlighting mode built into the software are usually fixed, and it is difficult for designers to make personalized settings according to their needs, such as customizing highlight colors. Summary of the invention
[0004] The main purpose of this application is to provide a method, device, terminal and storage medium for highlighting non-network pins, aiming to efficiently highlight non-network pins in a design drawing according to a preset color to improve PCB design efficiency.
[0005] To achieve the above object, the present application provides a method for highlighting pins without a network, the method comprising: Acquire 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 acquiring 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; Packaging the auxiliary tool and deploying the program corresponding to the auxiliary tool; The program corresponding to the auxiliary tool is activated and executed to highlight the non-network pin in a preset color.
[0006] Specifically, the acquisition auxiliary tool includes: By presetting the built-in scripting 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.
[0007] Specifically, 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 a plug-in folder of the preset software, wherein the plug-in folder is a folder pointed to by a 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.
[0008] Specifically, the modifying the interface file of the preset software includes: Open the interface file through a preset text editor; Add a load function statement in the interface file.
[0009] Specifically, 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 input in the command box of the preset software.
[0010] Specifically, after activating the program corresponding to the auxiliary tool and executing the program corresponding to the auxiliary tool, the method further includes: By presetting the first model, according to the design drawing and the preset color, a color difference evaluation result is obtained, wherein the preset first model is used to evaluate the highlighting effect of the non-network pins highlighted according to the preset color in the design drawing; Based on the color difference evaluation result, it is determined whether to replace the preset color.
[0011] Specifically, 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 presetting a second model; If the color difference evaluation result is greater than a preset threshold, it is determined not to replace the preset color.
[0012] To achieve the above object, the present application also provides a highlight device for non-network pins, the device comprising: A first unit is used 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; 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 pin in a preset color.
[0013] To achieve the above-mentioned purpose, the present application also provides a terminal, including a memory storing multiple instructions; the processor loads instructions from the memory to execute the steps in any one of the methods provided in the present application.
[0014] To achieve the above objectives, the present application also provides a storage medium, which stores multiple instructions, and the instructions are suitable for a processor to load to execute the steps in any method provided in the present application.
[0015] The present application provides a method, device, terminal and storage medium for highlighting non-network pins. An auxiliary tool can be first obtained, wherein the auxiliary tool includes a built-in function, and the built-in function includes a first sub-built-in function for obtaining the 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; then, the auxiliary tool is packaged 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 non-network pins according to the preset color, thereby improving the PCB design efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A schematic diagram of a process for a method provided in an embodiment of the present application; Figure 2 A schematic diagram of the structure of the device provided in the embodiment of the present application; Figure 3 A schematic diagram of the structure of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0017] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0018] Since the traditional method is for designers to highlight manually or use the network check function built into the PCB software, in large-scale PCB designs, the number of components may reach thousands or even tens of thousands, and manually checking the pin connections one by one takes a lot of time and effort. Designers may need to spend hours or even days to complete this work, which seriously affects the design progress; at the same time, the network check function and highlighting mode built into the software are usually fixed, and it is difficult for designers to make personalized settings according to their needs, such as customizing highlight colors, etc.
[0019] Therefore, the embodiments of the present application provide a highlighting method, device, terminal and storage medium for pins without network to solve practical technical problems.
[0020] In some embodiments, the device may be specifically integrated into an electronic device, which may be a terminal, a server or other device.
[0021] In some embodiments, the server may also be implemented in the form of a terminal.
[0022] Among them, the server can be an independent physical server, 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), as well as big data and artificial intelligence platforms.
[0023] 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 via wired or wireless communication, and this application does not limit this.
[0024] An embodiment of the present application provides a method for highlighting non-network pins, which can efficiently highlight non-network pins in a design drawing according to a preset color.
[0025] like Figure 1 As shown, the specific process of the method can be as follows: S110. Obtain auxiliary tools, wherein the auxiliary tools include 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.
[0026] In some embodiments, the obtaining auxiliary tool includes the following steps S111 to S112: S111, obtaining an initial auxiliary tool by presetting a built-in scripting language according to the built-in function.
[0027] In some embodiments, the preset built-in scripting language may be Skill language, which is a high-level programming language based on C language and LISP language. It is a built-in scripting language specially developed for EDA software (such as Cadence Allegro) and is used for secondary development and extended functions of the software.
[0028] In some embodiments, the first sub-built-in function may be an axlDBDummyNet('pin) function, which is used to obtain all non-network pins in the design drawing; the second sub-built-in function may be an axlHighlightObject function, which is used to highlight non-network pins; the third sub-built-in function may be an axlDBControl function, which is used to set a preset color (such as color No. 11, supporting user customization).
[0029] S112: Setting a call entry shortcut key in the initial auxiliary tool to obtain the auxiliary tool, wherein the call entry shortcut key is used for subsequent calling of preset software.
[0030] In some embodiments, the preset software may be Allegro software, which is a professional printed circuit board (PCB) design software that is widely used in the field of electronic design automation (EDA). Allegro software has an interface that is convenient for users to conduct secondary development and a relatively complete development language library, on which users can conduct secondary development according to their needs.
[0031] Designers can use the Skill language to write custom function modules to implement specific functions that the software itself does not provide. For example, in the Allegro software, the function of quickly highlighting the pins without network can be realized. By writing a Skill program to call the relevant functions of the software, the pins without network can be automatically searched and highlighted, thus improving design efficiency.
[0032] Specifically, the auxiliary tool may be a compiled Skill program.
[0033] S120: Packaging the auxiliary tool and deploying a program corresponding to the auxiliary tool.
[0034] In some embodiments, packaging the auxiliary tool and deploying the program corresponding to the auxiliary tool includes the following steps S121 to S124: S121. Encapsulate the auxiliary tool into an auxiliary tool file.
[0035] Continuing with the above embodiment, the written Skill program is packaged into a .il file, namely the auxiliary tool file.
[0036] S122: Transfer the auxiliary tool file to a plug-in folder of the preset software, wherein the plug-in folder is a folder pointed to by a system environment variable.
[0037] Continuing with the above embodiment, the .il file is transferred to the plug-in folder of the preset software.
[0038] S123: modify the interface file of the preset software.
[0039] Continuing with the above embodiment, the interface file allegro.ilinit of the Allegro software is modified.
[0040] Specifically, the modification of the interface file of the preset software includes the following steps S1231 to S1232: S1231. Open the interface file using a preset text editor.
[0041] Continuing with the above embodiment, use a text editor (such as Notepad) to open the interface file allegro.ilinit.
[0042] S1232. Add a load function statement in the interface file.
[0043] The above embodiment is continued to explain that a load function statement is added, namely the load function statement.
[0044] S124. Load the auxiliary tool file through the environment variable path corresponding to the interface file.
[0045] Continuing with the above embodiment, the .il file is loaded through the environment variable path corresponding to the interface file.
[0046] S130, 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.
[0047] In some embodiments, activating the program corresponding to the auxiliary tool and executing the program corresponding to the auxiliary tool include the following steps S131 to S132: S131. Restart the preset software to complete the environment configuration update.
[0048] Continuing with the above embodiment, the Allegro software is restarted to complete the environment configuration update.
[0049] S132. Based on a preset calling instruction, traverse the design drawing, identify all the non-network pins in the design drawing, and based on a preset color in the preset calling instruction, highlight the non-network pins according to the preset color, wherein the preset calling instruction is input in the command box of the preset software.
[0050] 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 steps T110 to T120 as shown below: T110. Obtain a color difference evaluation result according to 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 preset color in the design drawing.
[0051] 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.
[0052] Specifically, the input of the first input layer includes a design drawing for highlighting non-network pins according to a preset color, the design drawing is input in the form of an image matrix, and also includes a preset color, which can be represented as a three-dimensional vector for representing the RGB color of the preset color of the contraction operation. The first input layer integrates the input design drawing and the preset color information as the input of the subsequent convolution layer.
[0053] The convolution layer contains multiple convolution kernels, which slide on the input image to perform convolution operations and extract local features of the image. The convolution layer also applies activation functions (such as ReLU) to introduce nonlinear factors and enhance the expressiveness of the model. After the convolution operation and activation function processing of the convolution layer, the feature map is output.
[0054] The input of the pooling layer is the feature map output by the previous convolutional layer. The pooling layer uses a fixed-size pooling window to slide on the feature map and takes the maximum value in 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, the feature map with 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, a one-dimensional vector 1.
[0055] The first fully connected layer fully connects the input one-dimensional vector 1 with the neurons, each neuron performs a weighted sum of the input and applies an activation function (such as ReLU). The first fully connected layer can learn the global relationship between the features in the feature map. After being processed by the first fully connected layer, a first intermediate vector is output, and the dimension of the vector can be adjusted as needed.
[0056] The first intermediate vector is used as the input of the first output layer. The first output layer uses a linear activation function (such as an identity function) to map the input first intermediate vector to a scalar value, which is the color difference evaluation result, indicating the highlighting effect score of the non-network pins highlighted in the design drawing according to the preset color. For the color difference evaluation result, a higher score indicates a better highlighting effect.
[0057] T120. Determine whether to replace the preset color based on the color difference evaluation result.
[0058] In some embodiments, the determining whether to replace the preset color based on the color difference evaluation result includes steps T121 to T122 as shown below: T121. If the color difference evaluation result is not greater than a preset threshold, a target color is obtained by presetting a second model according to the design drawing, the graphic outline of the non-network pin and the color difference evaluation result.
[0059] 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.
[0060] Specifically, the input of the second input layer includes: Design drawing: input in the form of image matrix; Graphic outline without network pins: also input in the form of image matrix, with the same size as the design drawing; Color difference evaluation result: a scalar value.
[0061] The second input layer integrates the design drawing, the graphic contour image matrix and the color difference evaluation result to provide input for the subsequent convolutional layer and the fully connected layer.
[0062] The first convolution module targets the design drawing, and after convolution and pooling operations of the first convolution module, outputs a feature map of the design drawing, and the size and number of channels of the feature map are determined according to specific convolution and pooling parameters.
[0063] The second convolution module is similar to the first convolution module and is aimed at the outline of the graphic without network pins. It uses the convolution layer and the pooling layer to extract the features of the graphic outline and outputs a feature map of the graphic outline.
[0064] The input of the feature fusion layer includes: The design feature map output by the first convolution module is flattened into a one-dimensional vector, i.e., a one-dimensional vector 2; The contour feature map output by the second convolution module is flattened into a one-dimensional vector, i.e., a one-dimensional vector 3; Color difference evaluation results.
[0065] The feature fusion layer concatenates the above three inputs to form a longer one-dimensional vector, namely, one-dimensional vector 4. The concatenated one-dimensional vector 4 contains comprehensive information of the design drawing, graphic outline and color difference evaluation result.
[0066] The second fully connected layer includes multiple fully connected layers, each of which 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.
[0067] 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 color), and uses the Sigmoid activation function to map the output value to the [0,1] interval. The output of the second output layer is the RGB value of the target color, and the value of each channel is in the range of [0,1].
[0068] T122. If the color difference evaluation result is greater than a preset threshold, determine not to replace the preset color.
[0069] In some embodiments, if the color difference evaluation result is greater than a preset threshold, it means that the color difference between the highlighted part and the design drawing is obvious enough to facilitate recognition by designers or machines. Therefore, it can be determined not to replace the preset color and continue to use the preset color.
[0070] From the above, it can be seen that the auxiliary tool can be first obtained, wherein the auxiliary tool includes a built-in function, and the built-in function includes a first sub-built-in function for obtaining the 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; then, the auxiliary tool is packaged and the program corresponding to the auxiliary tool is deployed; finally, the program corresponding to the auxiliary tool is activated and executed, so as to efficiently highlight the non-network pins according to the preset color, thereby improving the PCB design efficiency.
[0071] In summary, the present application provides a method for highlighting non-network pins, which achieves efficient highlighting of the non-network pins according to preset colors.
[0072] In order to better implement the above method, the embodiment of the present application also provides a highlight device for non-network pins, which can be integrated in an electronic device, which can be a terminal, a server, etc. Among them, the terminal can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop, a personal computer, etc.; the server can be a single server or a server cluster composed of multiple servers.
[0073] For example, in this embodiment, the method of the embodiment of the present application will be described in detail by taking the specific integration of a highlight device without a network pin in a terminal as an example.
[0074] For example, Figure 2 As shown, the highlight device 200 for non-network pins may include a first unit 201, a second unit 202 and a third unit 203, and the device includes: A first unit is used 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; 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 pin in a preset color.
[0075] In specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units can refer to the previous method embodiments, which will not be repeated here.
[0076] It can be seen from the above that the embodiment of the present application can achieve efficient highlighting of the non-network pins according to the preset color.
[0077] The embodiment of the present application also provides an electronic device, which can be a terminal, a server, etc. The terminal can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop, a personal computer, etc. The server can be a single server or a server cluster composed of multiple servers, etc.
[0078] In some embodiments, the product processing device may also be integrated into multiple electronic devices. For example, the product processing device may be integrated into multiple servers, and the highlighting method for non-network pins of the present application may be implemented by the multiple servers.
[0079] In this embodiment, the electronic device of this embodiment is a terminal as an example for detailed description, for example, Figure 3 As shown, it shows a schematic diagram of the structure of the terminal 300 involved in the embodiment of the present application, specifically: The terminal 300 may include one or more processors 301 of processing cores, one or more storage media 302, a power supply 303, an input module 304, and a communication module 305. Those skilled in the art will appreciate that Figure 3 The structure of the terminal 300 shown in the figure does not constitute a limitation on the terminal 300, and the terminal 300 may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. The processor 301 is the control center of the terminal 300. It uses various interfaces and lines to connect various parts of the entire terminal 300. It executes various functions of the terminal 300 and processes data by running or executing software programs and / or modules stored in the memory 302, and calling data stored in the memory 302, so as to monitor 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, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 301.
[0080] The memory 302 can be used to store software programs and modules. The processor 301 executes various functional applications and data processing by running the software programs and modules stored in the memory 302. The memory 302 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the terminal 300, etc. In addition, the memory 302 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 302 can also include a memory controller to provide the processor 301 with access to the memory 302.
[0081] The terminal 300 also includes a power supply 303 for supplying power to various components. In some embodiments, the power supply 303 can be logically connected to the processor 301 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 303 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.
[0082] The terminal 300 may further include an input module 304, which may 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.
[0083] The terminal 300 may also include a communication module 305. In some embodiments, the communication module 305 may include a wireless module. The terminal 300 may perform short-range wireless transmission through the wireless module of the communication module 305, thereby providing the user with wireless broadband Internet access. For example, the communication module 305 may be used to help the user send and receive emails, browse web pages, and access streaming media.
[0084] Although not shown, the terminal 300 may also include a display unit, etc., which will not be described in detail 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 applications into the memory 302 according to the following instructions, and the processor 301 will run the applications stored in the memory 302, thereby realizing various functions, as follows: Acquire 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 acquiring 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; Packaging the auxiliary tool and deploying the program corresponding to the auxiliary tool; The program corresponding to the auxiliary tool is activated and executed to highlight the non-network pin in a preset color.
[0085] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0086] It can be seen from the above that the embodiments of the present application can efficiently highlight the non-network pins in the design drawing according to pre-set colors to improve the PCB design efficiency.
[0087] A person skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a storage medium and loaded and executed by a processor.
[0088] To this end, an embodiment of the present application provides a storage medium in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the highlighting methods for non-network pins provided in the embodiments of the present application. For example, the instructions can execute the following steps: Acquire 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 acquiring 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; Packaging the auxiliary tool and deploying the program corresponding to the auxiliary tool; The program corresponding to the auxiliary tool is activated and executed to highlight the non-network pin in a preset color.
[0089] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0090] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a storage medium. A processor of a computer device reads the computer instructions from the storage medium, and the processor executes the computer instructions, so that the computer device executes the method provided in various optional implementations provided in the above embodiments.
[0091] Since the instructions stored in the storage medium can execute the steps of any one of the highlighting methods for pins without network provided in the embodiments of the present application, the beneficial effects that can be achieved by any one of the highlighting methods for pins without network provided in the embodiments of the present application can be achieved. Please see the previous embodiments for details and will not be repeated here.
[0092] The above is a detailed introduction to a highlight method, device, terminal and storage medium for network-free pins provided in an embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A highlighting method for non-network pins, characterized in that: The method comprises: Acquire 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 acquiring 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; Packaging the auxiliary tool and deploying the program corresponding to the auxiliary tool; The program corresponding to the auxiliary tool is activated and executed to highlight the non-network pin in a preset color.
2. The method according to claim 1, characterized in that The acquisition auxiliary tool comprises: By presetting the built-in scripting 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, characterized in that 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 a plug-in folder of the preset software, wherein the plug-in folder is a folder pointed to by a 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, characterized in that The modifying of the interface file of the preset software includes: Open the interface file through a preset text editor; Add a load function statement in the interface file.
5. The method according to claim 2, characterized in that 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 input in the command box of the preset software.
6. The method according to claim 1, characterized in that After activating the program corresponding to the auxiliary tool and executing the program corresponding to the auxiliary tool, the method further includes: By presetting the first model, according to the design drawing and the preset color, a color difference evaluation result is obtained, wherein the preset first model is used to evaluate the highlighting effect of the non-network pins highlighted according to the preset color in the design drawing; Based on the color difference evaluation result, it is determined whether to replace the preset color.
7. The method according to claim 6, characterized in that The 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 presetting a second model; If the color difference evaluation result is greater than a preset threshold, it is determined not to replace the preset color.
8. A highlighting device for non-network pins, characterized in that: The device comprises: A first unit is used 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; 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 pin in a preset color.
9. A terminal, characterized in that: It 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 as claimed in any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores a plurality of instructions, and the instructions are suitable for loading by a processor to execute the steps in the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Test point checking method based on ALLEGRO software
CN112100974A
PCB schematic diagram generation method, electronic equipment and storage medium
CN116542188A
Method, device and equipment for quickly checking false device and medium
CN119667450A
Circuit diagram drafting system and method and computer program product
US20070204254A1