Method, device and equipment for checking no bit number of device and medium

By automatically checking and highlighting devices that do not display bit numbers on the PCB in the Allegro software, the problem of inefficient inspection in the prior art is solved, and fast and automatic bit number checking and supplementation is achieved.

CN119886049AInactive Publication Date: 2025-04-25SICHUAN TIANYI COMHEART TELECOM
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510366494.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-26
Publication Date
2025-04-25
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, it is relatively low to check that the device on the PCB has no bit numbers. The existing software cannot locate the device with the bit numbers deleted, resulting in engineers needing to check one by one, which is inefficient and easy to miss.

Method used

Provides a method to import the initial schematic of the printed circuit board by starting the Allegro software, displaying all devices, in response to the skill program call instruction input by the user, check whether each device has a bit number attribute, and highlight devices with no bit number displayed.

Benefits of technology

This method improves the efficiency of checking the device without bit numbers. Users only need to enter instructions. Allegro software automatically checks and highlights devices with no bit numbers, which facilitates quick searches and avoids the inefficiency of manual inspection one by one.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119886049A_ABST
    Figure CN119886049A_ABST
Patent Text Reader

Abstract

The invention provides a method, a device, equipment and a medium for checking no bit number of a device, relates to the technical field of PCB design, and is used for solving the problem of low efficiency of checking no bit number of a device on a PCB in the prior art. The method comprises the following steps: starting Allegro software, importing an initial schematic diagram of the printed circuit board, and displaying all devices of the printed circuit board; in response to a skill program calling instruction input by a user, checking whether each device in all the devices has a bit number attribute or not; if it is determined that any device has the bit number attribute, whether the bit number of the device is displayed or not is checked; and if it is determined that the bit number of the device is not displayed, highlighting the device. According to the method, a user only needs to input an instruction, Allegro software can automatically and highly display a device which does not display a bit number on the printed circuit board, the user can conveniently and quickly find the device which does not display the bit number, and the checking efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of PCB design, and provides a method, device, equipment and medium for checking if a device has no bit number. Background Art

[0002] Printed Circuit Board (PCB) is the hardware foundation of products such as converged gateways, 5G CPE, gateways, base stations, FTTR, optical modems, PON products, routers, set-top boxes, government and enterprise gateways, cameras, wireless cats, smart doorbells, remote control panels, switches, etc. In the design and manufacturing process of PCB, the device position number is an indispensable part.

[0003] As PCBs are becoming more and more precise, PCB designs are getting smaller and smaller, and the device numbers can no longer be fully displayed on the PCB. Therefore, in order to facilitate testers to quickly locate the various devices on the PCB, PCB layout engineers usually output a number map containing all devices after the design is completed. However, due to the large number of devices, engineers can easily delete the number of some devices by mistake during the design process, resulting in an incomplete number map. Existing software functions cannot locate the devices with deleted numbers, and engineers can only check them one by one, which is too inefficient and easy to miss. Summary of the invention

[0004] The present application provides a method, device, equipment and medium for checking whether a device has a bit number, which is used to solve the problem of low efficiency in checking whether a device has a bit number on a PCB in the prior art.

[0005] In a first aspect, a method for checking whether a device has no bit number is provided, comprising: Start Allegro software, import the initial schematic diagram of the printed circuit board, and display all components of the printed circuit board; In response to a call instruction of a skill program input by a user, checking whether each of all the devices has a bit number attribute; If it is determined that any device has a bit number attribute, check whether the bit number of the device is displayed; If it is determined that the bit number of the device is not displayed, the device is highlighted.

[0006] Optionally, if the bit number of the device is not displayed, after highlighting the device, the method further includes: Until all the components are checked, the position numbers and coordinates of the multiple highlighted components are obtained; According to the coordinates of each highlighted component, the bit number of each highlighted component is added to obtain a complete bit number map of the printed circuit board.

[0007] Optionally, after all the components are checked and the position numbers and coordinates of the multiple highlighted components are obtained, the method further includes: The bit numbers and coordinates of the plurality of highlighted display components are recorded in a target file.

[0008] Optionally, after recording the position numbers and coordinates of the plurality of highlight display components into the target file, the method further comprises: Counting the number of the plurality of highlight display devices, and recording the number of the highlight display devices into the target file.

[0009] Optionally, in response to a skill program call instruction input by a user, checking whether each of all the devices has a bit number attribute includes: In response to the calling instruction of the skill program input by the user, the bit number attribute data is read from the Ref Des Silkscreen layer; Check whether the bit number attribute data contains the bit number attribute of each device in all the devices.

[0010] Optionally, the Allegro software is started to import the initial schematic diagram of the printed circuit board to display all components of the printed circuit board, including: The Allegro software is started, and in response to the user's design operation on the printed circuit board, an initial schematic diagram of the printed circuit board is obtained, and all components of the printed circuit board are displayed.

[0011] Optionally, before starting the Allegro software, importing the initial schematic diagram of the printed circuit board, and displaying all components of the printed circuit board, the method further includes: Encapsulate the skill program written by the user into a .il program file, and put the .il program file into the folder pointed to by the environment variable value; Use Notepad to open the allegro.ilinit file in the folder; Add an instruction to call the .il program file through the load function in the allegro.ilinit file.

[0012] In a second aspect, a device for checking whether a device has no bit number is provided, comprising: A startup module, used for starting the Allegro software, importing the initial schematic diagram of the printed circuit board, and displaying all components of the printed circuit board; A checking module, configured to check whether each of the devices has a bit number attribute in response to a call instruction of a skill program input by a user; if it is determined that any device has a bit number attribute, check whether the bit number of the device is displayed; The highlight display module is used to highlight the device if it is determined that the bit number of the device is not displayed.

[0013] In a third aspect, the present application provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method for checking whether a device has no bit number as described in the first aspect.

[0014] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and a processor executes the computer program to implement the method for checking whether a device has no bit number as described in the first aspect.

[0015] Compared with the prior art, the present invention has the following beneficial effects: The present application provides a method for checking whether a device has no bit number, the method comprising: starting Allegro software, importing the initial schematic diagram of a printed circuit board, and displaying all devices of the printed circuit board; in response to the call instruction of the skill program input by the user, checking whether each device among all devices has a bit number attribute; if it is determined that any device has a bit number attribute, checking whether the bit number of the device is displayed; if it is determined that the bit number of the device is not displayed, highlighting the device. Compared with the method of manually checking whether the device displays the bit number one by one in the prior art, in the present application, the user only needs to input the instruction, and the Allegro software will automatically check which devices on the printed circuit board have bit numbers and are not displayed, and highlight them, so that the user can quickly find the device without the bit number displayed, thereby improving the inspection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0017] Figure 1 A schematic diagram of the computer device structure of the hardware operating environment involved in the embodiment of the present application; Figure 2 A schematic flow chart of a method for checking if a device has no bit number provided in an embodiment of the present application; Figure 3 A schematic diagram of the contents of a target file provided in an embodiment of the present application; Figure 4 A schematic diagram of the structure of an apparatus for checking if a device has no bit number provided in an embodiment of the present application.

[0018] Markings in the figure: 101 - processor, 102 - communication bus, 103 - network interface, 104 - user interface, 105 - memory. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical scheme and advantages of the present application clearer, the technical scheme in the embodiment of the present application will be clearly and completely described below in conjunction with the drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined with each other arbitrarily. In addition, although the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in an order different from that here.

[0020] PCB board, also known as printed circuit board, printed circuit board, or circuit board for short, is made of insulating board as base material, cut into a certain size, with at least one conductive pattern attached to it, and arranged 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. Because this board is made by electronic printing, it is called a "printed" circuit board.

[0021] The role of device designation on PCB circuit boards is multifaceted. It not only provides key information and guidance, but also helps improve production efficiency, product quality and user experience. Therefore, device designation is an indispensable part of the PCB design and manufacturing process.

[0022] As PCB boards develop towards high precision, devices are getting smaller and smaller, board designs are also getting smaller and smaller, and the space is getting smaller and smaller, but the functions are increasing. The device bit numbers can no longer be fully displayed on the board. Therefore, in order to facilitate the debuggers to quickly locate, PCB layout engineers usually output a bit number map after the design is completed. The bit number map displays the bit numbers of all devices on the device body. However, due to the large number of devices, engineers can easily delete the bit numbers of some devices by mistake during the design process, resulting in an incomplete output bit number map, which makes it difficult for subsequent debuggers to find the corresponding devices for operation.

[0023] Existing software functions cannot locate devices with deleted bit numbers, and PCB layout engineers can only check them one by one, which is too inefficient and easy to miss. In view of this, the present application embodiment provides a method for checking devices without bit numbers, which can be executed by a computer device. Please refer to Figure 1 , which is a schematic diagram of the computer device structure of the hardware operating environment involved in the embodiment of the present application.

[0024] like Figure 1 As shown, the computer device may include: a processor 101, such as a central processing unit (CPU), a communication bus 102, a user interface 104, a network interface 103, and a memory 105. Among them, the communication bus 102 is used to realize the connection and communication between these components. The user interface 104 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 104 may include a standard wired interface and a wireless interface. The network interface 103 may include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 105 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 105 may optionally also be a storage device independent of the aforementioned processor 101.

[0025] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation of the device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0026] like Figure 1 As shown, the memory 105 as a storage medium may include an operating system, a network communication module, a user interface module, and a device for checking whether a device has a bit number.

[0027] exist Figure 1 In the computer device shown, the network interface 103 is mainly used for data communication with the network server; the user interface 104 is mainly used for data interaction with the user; the processor 101 and the memory 105 in the computer device of the present invention can be set in the computer device, and the computer device calls the device for checking whether the device has no bit number stored in the memory 105 through the processor 101, and executes the method for checking whether the device has no bit number provided in the embodiment of the present application.

[0028] It should be noted that Figure 1 The computer device shown is installed with Allegro software, which can execute the method for checking the device without a bit number provided in the embodiment of the present application. Allegro is a powerful, flexible and efficient electronic design software, which is widely used in various fields of PCB and packaging design. It has an interface that is convenient for users to conduct secondary development and a relatively complete development language library. Users can conduct secondary development according to their needs on this basis.

[0029] based on Figure 1 The computer equipment shown below Figure 2 A method for checking whether a device has no bit number is introduced as shown in the figure.

[0030] S201. Start the Allegro software, import the initial schematic diagram of the printed circuit board, and display all the components of the printed circuit board.

[0031] In order to implement the method for checking whether a device has no bit number provided in the embodiment of the present application in the Allegro software, in a possible embodiment, before executing S201, the method may further include the following steps: Encapsulate the skill program written by the user into a .il program file, and put the .il program file into the folder pointed to by the environment variable value; use Notepad to open the allegro.ilinit file in the folder; add instructions to call the .il program file through the load function in the allegro.ilinit file.

[0032] In the specific implementation process, first, the user can write the method for checking the device without a bit number provided in the embodiment of the present application into a skill program, and encapsulate the skill program written by the user into a .il program file. The skill program needs to set a program call entry shortcut key to facilitate the Allegro software call. Secondly, you can check the environment variable value of the computer device, find the folder pointed to by the environment variable value, and put the .il program file into the folder pointed to by the environment variable value.

[0033] Next, find the allegro.ilinit file in the folder pointed to by the environment variable value. The allegro.ilinit file is the interface file. Use Notepad to open the allegro.ilinit file and add instructions to call the .il program file through the load function in the allegro.ilinit file, for example: load " / path / to / allegro / scripts / my_script.il", / path / to / allegro / scripts / my_script.il is the actual storage location of the .il program file. Finally, restart the Allegro software. When the user enters the call instruction of the skill program in the command box, the Allegro software will load all the instructions in the allegro.ilinit file and execute the load function to call the .il program file according to the folder path pointed to by the environment variable.

[0034] In the embodiment of the present application, the method for checking the device without a bit number provided in the embodiment of the present application is written based on the skill program and implanted into the Allegro software. The skill program is called by rewriting the system interface file so that the Allegro software can execute the skill program. Skill language is a high-level programming language based on C language and LISP language built into the Cadence Allegro software, which can make good use of the rich interactive functions of the Cadence Allegro software. Using the Skill language as an auxiliary tool for writing can greatly improve work efficiency.

[0035] Furthermore, there are two specific implementations of S201, which are introduced below respectively.

[0036] In the first way, Allegro software is started to display all components of the printed circuit board in response to the user's import operation of the initial schematic diagram of the printed circuit board.

[0037] In the specific implementation process, after starting the Allegro software, the user can manually import the initial schematic diagram of the existing printed circuit board into the Allegro software. After the Allegro software is loaded, all the devices on the printed circuit board will be displayed. These devices usually include resistors, capacitors, integrated circuits, etc., as well as the connections between them.

[0038] The second method is to start the Allegro software, and in response to the user's design operation on the printed circuit board, obtain the initial schematic diagram of the printed circuit board and display all the components of the printed circuit board.

[0039] In the specific implementation process, after starting the Allegro software, the user can enter the design work interface of the printed circuit board and start the design process. After the user completes the initial schematic diagram of the printed circuit board, the Allegro software will display all the devices on the printed circuit board.

[0040] In the embodiments of the present application, It should be noted that the initial schematic diagram of the printed circuit board refers to the PCB schematic diagram that has just been designed and has not yet been checked whether the device has a bit number. The PCB schematic diagram is a schematic diagram of the circuit, showing the electrical connection, component symbols and current flow path. The user can set the user view visibility, and the Allegro software can display the PIN, bit number silk screen, frame, etc. of all devices on the printed circuit board according to the user's settings.

[0041] S202 : In response to a skill program calling instruction input by a user, check whether each device in all devices has a bit number attribute.

[0042] The bit number is used to uniquely identify each device in the PCB. It is usually composed of letters and numbers. The letter part indicates the type of component, and the number part indicates the serial number of the component of that type. For example, R1 and R2 represent two resistors, the first resistor is R1, and the second is R2. Bit number attributes are additional information related to the bit number. These attributes can help describe other characteristics of the device. For example, bit number R1 indicates the first resistor. Bit number attributes may include: 10kΩ resistance value, 0.25W power value, etc.

[0043] In a possible embodiment, in response to a skill program calling instruction input by a user, the bit number attribute data is read from the Ref DesSilkscreen layer; and it is checked whether the bit number attribute of each device in all the devices exists in the bit number attribute data.

[0044] In the actual implementation process, engineers may introduce fake components that do not have properties such as network and position number, such as screw holes and heat sinks, during the design process of the PCB board. Therefore, all components of the PCB board displayed by the Allegro software may include fake components.

[0045] After importing the initial schematic diagram of the printed circuit board, Allegro software automatically generates bit number attribute data in the Ref Des Silkscreen layer (i.e., the silk screen layer), that is, the bit number attributes of the real devices in all devices. For all devices on the PCB board, check one by one whether the bit number attribute of each device exists in the bit number attribute data. If it exists, it means that the device is a real device with bit number attributes. If not, it means that the device is a fake device without bit number attributes.

[0046] In the embodiment of the present application, since fake components will not be involved in testing and repair, it does not matter if they do not have a position number. Therefore, by checking the position number attribute, fake components that do not need to display position numbers can be quickly excluded to avoid subsequent highlighting of fake components.

[0047] S203: If it is determined that any device has a bit number attribute, check whether the bit number of the device is displayed.

[0048] In the specific implementation process, if it is determined that any device does not have the bit number attribute, then the device is skipped and the next device is checked to see if it has the bit number attribute. If it is determined that any device has the bit number attribute, then the bit number of the device is further checked to see if it is displayed.

[0049] S204: If it is determined that the bit number of the device is not displayed, highlight the device.

[0050] In the specific implementation process, if it is determined that the bit number of any device has been displayed, then skip the device and continue to check whether the bit number of the next device is displayed. If it is determined that the bit number of any device is not displayed, it means that the bit number of the device may have been accidentally deleted by the engineer. Therefore, after determining that the bit number of any device is not displayed, the device is highlighted according to the default color or the color set by the user (such as red, yellow, etc.) to highlight the difference of the device. After the user sees the devices of different colors, he can quickly find the devices without bit numbers, and then manually add the bit numbers of these devices in the initial schematic to obtain a complete bit number diagram.

[0051] In a possible embodiment, after executing S204, the method may further include the following steps: Until all devices are checked, the bit numbers and coordinates of multiple highlighted devices are obtained; according to the coordinates of each highlighted device, the bit number of each highlighted device is added to obtain a complete bit number map of the printed circuit board.

[0052] In the specific implementation process, Allegro software will check whether each device on the PCB has a bit number and whether it is displayed, until all devices on the PCB are checked, multiple devices without bit numbers are found, and bit numbers are added to them again to obtain a complete bit number map. The complete bit number map includes the bit numbers of all real devices (other devices except fake devices).

[0053] In an embodiment of the present application, automatically adding bit numbers to highlighted devices can avoid users from manually adding bit numbers of devices one by one, thereby improving the efficiency of adding bit numbers. Subsequent debugging personnel can test, rework, and perform other operations on the PCB board based on the complete bit number map, which can improve the efficiency and accuracy of the operation.

[0054] In a possible embodiment, after all devices are checked and the bit numbers and coordinates of the multiple highlighted devices are obtained, the method may further include the following step: recording the bit numbers and coordinates of the multiple highlighted devices into a target file.

[0055] In the specific implementation process, a target file (no_refdes.log file) is automatically generated in the folder where the schematic diagram is located, and the bit numbers and coordinates of multiple highlighted components are recorded in the target file. Subsequent engineers can manually add bit numbers for each highlighted component based on the target file to ensure the integrity of the final output bit number diagram.

[0056] In a possible embodiment, after recording the bit numbers and coordinates of the plurality of highlight display components into the target file, the method may further include the following steps: Count the number of multiple highlighted devices and record the number of highlighted devices in a target file.

[0057] Please refer to Figure 3 , which is a schematic diagram of the content of the target file provided in the embodiment of the present application. Among them, "Thecomponent without refdes" means "device without a bit number", "Ref_Des" means "bit number", and "Location" means "location coordinate". "Total component without refdes: 7" means "the total number of devices without a bit number is 7". The first device without a bit number: the bit number is RY76, the coordinates are (2338.94, 2925.34), the second device without a bit number: the bit number is CY3, the coordinates are (2303.94, 2925.34), the third device without a bit number: the bit number is RY59, the coordinates are (1918.36, 2733.86), the fourth device without a bit number: the bit number is RY60, the coordinates are (1918.36,2958.86), the fifth device without a bit number: the bit number is R33, the coordinates are (580.0, 570.0), the sixth device without a bit number: the bit number is HOLE3, the coordinates are (1429.13, 1566.93), the seventh device without a bit number: the bit number is U10, the coordinates are (780.0, 1370.0).

[0058] In summary, the embodiment of the present application provides a method for quickly checking devices without bit numbers. After setting up the environment, the user only needs to enter a call command, and the Allegro software will automatically highlight all devices without bit numbers and automatically add bit numbers to the highlighted devices, thereby improving the inspection efficiency and adding efficiency.

[0059] The following example introduces part of the code of the method for checking whether a device has a bit number provided in an embodiment of the present application.

[0060] First, you can use the axlVisibleLayer function to set the display interface, where axlVisibleLayer("PIN / TOP" t ) means displaying all PINs of the TOP layer, and the rest are similar. The specific code is as follows:

[0061] Then, you can use the foreach function to traverse all the devices on the PCB, and then use the if function's judgment condition txt== nil&&symbol->refdes != nil to find the device without a bit number and highlight it. The specific code is as follows:

[0062] Finally, the total number of devices without bit numbers can be output in the command bar through the axlMsgPut function. The specific code is as follows:

[0063] Based on the same inventive concept, Figure 4 As shown, the embodiment of the present application also provides a device for checking whether a device has a bit number, including: The startup module is used to start the Allegro software, import the initial schematic diagram of the printed circuit board, and display all the components of the printed circuit board; A checking module, for checking whether each device among all devices has a bit number attribute in response to a calling instruction of a skill program input by a user; if it is determined that any device has a bit number attribute, checking whether the bit number of the device is displayed; The highlight display module is used to highlight the device if it is determined that the bit number of the device is not displayed.

[0064] It should be noted that the modules in the device for checking whether a device has a bit number in this embodiment correspond one-to-one to the steps in the method for checking whether a device has a bit number in the aforementioned embodiment. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned method for checking whether a device has a bit number, which will not be repeated here.

[0065] In addition, in one embodiment, the present application also provides a computer device, which includes a processor, a memory, and a computer program stored in the memory, and the computer program implements the aforementioned method of checking whether a device has a bit number when executed by the processor.

[0066] In addition, in one embodiment, the present application further provides a computer storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the aforementioned method of checking if a device has no bit number is implemented.

[0067] In some embodiments, the computer readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or various devices including one or any combination of the above memories. The computer may be various computing devices including intelligent terminals and servers.

[0068] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0069] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file storing other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).

[0070] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.

[0071] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0072] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not indicate the advantages or disadvantages of the embodiments.

[0073] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a disk, or an optical disk), and includes a number of instructions for a multimedia terminal device to execute the methods described in each embodiment of the present application.

[0074] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for checking whether a device has no bit number, characterized in that: The method comprises: Start Allegro software, import the initial schematic diagram of the printed circuit board, and display all components of the printed circuit board; In response to a call instruction of a skill program input by a user, checking whether each of all the devices has a bit number attribute; If it is determined that any device has a bit number attribute, check whether the bit number of the device is displayed; If it is determined that the bit number of the device is not displayed, the device is highlighted.

2. The method for checking whether a device has no bit number according to claim 1, characterized in that: If the bit number of the device is not displayed, then after the device is highlighted, the method further comprises: Until all the components are checked, the position numbers and coordinates of the multiple highlighted components are obtained; According to the coordinates of each highlighted component, the bit number of each highlighted component is added to obtain a complete bit number map of the printed circuit board.

3. The method for checking whether a device has no bit number according to claim 2, characterized in that: After all the components are checked and the position numbers and coordinates of the multiple highlighted components are obtained, the method further includes: The bit numbers and coordinates of the plurality of highlighted display components are recorded in a target file.

4. The method for checking whether a device has no bit number according to claim 3, characterized in that: After recording the position numbers and coordinates of the plurality of highlight display devices into the target file, the method further comprises: Counting the number of the plurality of highlight display devices, and recording the number of the highlight display devices into the target file.

5. The method for checking whether a device has no bit number according to claim 1, characterized in that: The step of checking whether each of the components has a bit number attribute in response to a call instruction of a skill program input by a user comprises: In response to the calling instruction of the skill program input by the user, the bit number attribute data is read from the Ref Des Silkscreen layer; Check whether the bit number attribute data contains the bit number attribute of each device in all the devices.

6. The method for checking whether a device has no bit number according to claim 1, characterized in that: The Allegro software is started, an initial schematic diagram of the printed circuit board is imported, and all components of the printed circuit board are displayed, including: The Allegro software is started, and in response to the user's design operation on the printed circuit board, an initial schematic diagram of the printed circuit board is obtained, and all components of the printed circuit board are displayed.

7. The method for checking whether a device has no bit number according to claim 1, characterized in that: Before starting the Allegro software, importing the initial schematic diagram of the printed circuit board, and displaying all the components of the printed circuit board, the method further includes: Encapsulate the skill program written by the user into a .il program file, and put the .il program file into the folder pointed to by the environment variable value; Use Notepad to open the allegro.ilinit file in the folder; Add an instruction to call the .il program file through the load function in the allegro.ilinit file.

8. A device for checking whether a device has no bit number, characterized in that: include: A startup module, used for starting the Allegro software, importing the initial schematic diagram of the printed circuit board, and displaying all components of the printed circuit board; A checking module, configured to check whether each of all the devices has a bit number attribute in response to a call instruction of a skill program input by a user; If it is determined that any device has a bit number attribute, check whether the bit number of the device is displayed; The highlight display module is used to highlight the device if it is determined that the bit number of the device is not displayed.

9. A computer device, characterized in that: The computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method for checking whether a device has a bit number according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the processor executes the computer program to implement the method for checking if a device has no bit number according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Schematic diagram bit number marking attention resetting method

    CN118709248A

  • Adding method, device and equipment for bit number screen printing and medium

    CN119584433A

  • Method, device and equipment for quickly checking false device and medium

    CN119667450A