A method, device, equipment and medium for quickly checking fake devices

By receiving skill program instructions written by users in Allegro software and implanting fake device inspection programs, the problem of low efficiency of fake device inspection in the existing technology is solved, and the rapid inspection of PCB board is achieved, and efficiency and accuracy are improved.

CN119667450BActive Publication Date: 2025-06-17SICHUAN TIANYI COMHEART TELECOM
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510188067.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-20
Publication Date
2025-06-17
Estimated Expiration
2045-02-20

AI Technical Summary

Technical Problem

In the prior art, the inspection efficiency of fake devices is low, and it is impossible to directly find the location of fake devices through software. It needs to be checked one by one by PCB Layout engineers, which is inefficient and easy to miss.

Method used

By receiving skill program instructions written by users in the Allegro software, using the axlCmdRegister(), axlDBGetDesign(), axlHighlightObject() and printf() functions to write a fake device check program, and implant it into the Allegro software to achieve rapid inspection of fake devices on the target PCB board.

Benefits of technology

It realizes the rapid inspection of the target PCB board directly based on the fake device inspection instructions entered by the user in Allegro software, which improves inspection efficiency, is simple to operate and is not easy to miss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119667450B_ABST
    Figure CN119667450B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, equipment and medium for quickly inspecting fake devices, which relates to the technical field of circuit boards and is used to solve the problem of low inspection efficiency of fake devices in the prior art. The method includes: starting the Allegro software; receiving a fake device inspection instruction input by a user in the command box of the Allegro software; wherein, the fake device inspection instruction is a skill program instruction written by the user himself; and performing a quick inspection of fake devices on the target PCB board according to the fake device inspection instruction. Therefore, since the present application can directly perform a quick inspection of fake devices on the target PCB board according to the fake device inspection instruction input by the user in the Allegro software, compared with the traditional manual inspection method one by one, the present application is not only simple to operate and highly efficient, but also will not miss any.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of circuit boards, and provides a method, device, equipment and medium for quickly inspecting fake devices. Background Art

[0002] With the development of science and technology, users' requirements for products such as intelligent gateways, Fiber to The Room (FTTR), routers, cloud boxes, set-top box devices, integrated gateways, government and enterprise gateways, 4 / 5G Customer Premise Equipment (CPE), and wireless modems are becoming more and more diverse. Based on this, more and more devices are integrated on the printed circuit boards (PCBs) of these products, and inspecting fake devices on the PCB is an important step to ensure product quality and supply chain security.

[0003] As is well known, fake devices are usually generated when using sub-drawings for module reuse. For example, there are devices outside the design on the reused module, or devices that are duplicates of the devices already placed on the reused module. In actual applications, fake devices have no network attributes on the PCB, but they are still produced normally like other devices. Therefore, fake devices usually cause the phenomenon of PCB short circuits and the formation of isolated copper blocks, which in turn affects the performance of the product. So, to ensure product quality, PCB Layout engineers usually manually inspect, delete, or modify fake devices at the end of the design. However, in the prior art, the positions of fake devices cannot be directly found through the existing functions of the software, and only PCB Layout engineers can check them one by one. Obviously, this not only has low efficiency but also is prone to omission.

[0004] Therefore, how to improve the inspection efficiency of fake devices has become an urgent problem to be solved at present. Summary of the Invention

[0005] The present application provides a method, device, equipment and medium for quickly inspecting fake devices, which are used to solve the problem of low inspection efficiency of fake devices in the prior art.

[0006] On the one hand, a method for quickly inspecting fake devices is provided, and the method includes:

[0007] Start the Allegro software;

[0008] Receive a fake device inspection instruction input by a user in the command box of the Allegro software; wherein, the fake device inspection instruction is a skill program instruction written by the user himself;

[0009] Perform a quick inspection of fake components on the target PCB board according to the fake component inspection instruction.

[0010] Optionally, before starting the Allegro software, the method further includes:

[0011] Write a fake component inspection program corresponding to the fake component inspection instruction using the skill language;

[0012] Integrate the fake component inspection program into the Allegro software.

[0013] Optionally, the step of writing a fake component inspection program corresponding to the fake component inspection instruction using the skill language includes:

[0014] Write a fake component inspection program corresponding to the fake component inspection instruction using the Skill language based on the axlCmdRegister() function, axlDBGetDesign() function, axlHighlightObject() function, and printf() function.

[0015] Optionally, the step of integrating the fake component inspection program into the Allegro software includes:

[0016] Package the fake component inspection program as an.il file; where the.il file is an interface file;

[0017] Determine the allegro.ilinit folder pointed to by the computer's environment variable value;

[0018] Put the.il file into the allegro.ilinit folder.

[0019] Optionally, the step of performing a quick inspection of fake components on the target PCB board according to the fake component inspection instruction includes:

[0020] Find the.il file in the allegro.ilinit folder according to the fake component inspection instruction;

[0021] Open the.il file using the Notepad text editor;

[0022] Call the.il file using the load function to perform a quick inspection of fake components on the target PCB board.

[0023] Optionally, the step of performing a quick inspection of fake components on the target PCB board according to the fake component inspection instruction includes:

[0024] According to the fake device inspection instruction, highlight the fake devices on the target PCB board and display the reference designators of each genuine device on the target PCB board by silkscreen printing.

[0025] Optionally, after highlighting the fake devices on the target PCB board and displaying the reference designators of each genuine device on the target PCB board by silkscreen printing according to the fake device inspection instruction, the method further includes:

[0026] Display the number of the fake devices in the command box.

[0027] On the one hand, a fake device quick inspection device is provided, and the device includes:

[0028] A software startup unit for starting the Allegro software;

[0029] An instruction receiving unit for receiving a fake device inspection instruction input by a user in the command box of the Allegro software; wherein, the fake device inspection instruction is a skill program instruction written by the user himself;

[0030] A fake device inspection unit for quickly inspecting fake devices on a target PCB board according to the fake device inspection instruction.

[0031] On the one hand, an electronic device is provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, any of the above methods is implemented.

[0032] On the one hand, a storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, any of the above methods is implemented.

[0033] Compared with the prior art, the beneficial effects of the present application are:

[0034] In the present application, when performing a quick inspection of fake devices, first, the Allegro software can be started; then, a fake device inspection instruction input by a user in the command box of the Allegro software can be received; wherein, the fake device inspection instruction is a skill program instruction written by the user himself; finally, a quick inspection of fake devices on the target PCB board can be directly performed according to the fake device inspection instruction.

[0035] Therefore, in the present application, since a quick inspection of fake devices on the target PCB board can be directly performed according to the fake device inspection instruction input by the user in the Allegro software, compared with the traditional manual inspection method one by one, the present application is not only simple to operate and high in efficiency, but also will not miss any. Description of the Drawings

[0036] To more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the following will briefly introduce the drawings required for use in the description of the embodiments or the related art. Obviously, the drawings in the following description are only those of the embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on the provided drawings.

[0037] Figure 1 An electronic device provided by an embodiment of the present application;

[0038] Figure 2 A schematic diagram of a method for quickly checking fake devices provided by an embodiment of the present application;

[0039] Figure 3 A schematic diagram of inputting a fake device inspection instruction provided by an embodiment of the present application;

[0040] Figure 4 A schematic diagram of highlighting fake devices provided by an embodiment of the present application;

[0041] Figure 5 A schematic diagram of displaying the number of fake devices provided by an embodiment of the present application;

[0042] Figure 6 A schematic diagram of a device for quickly checking fake devices provided by an embodiment of the present application.

[0043] Reference numerals in the figure: 10 - Fake device quick inspection device, 101 - Processor, 102 - Memory, 103 - I / O interface, 104 - Database, 60 - Fake device quick inspection device, 601 - Software startup unit, 602 - Instruction receiving unit, 603 - Fake device inspection unit, 604 - Program writing unit. Detailed implementation manners

[0044] To make the objectives, technical solutions, and advantages of the present application clearer and more understandable, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the 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 of the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present application. Without conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other. And, although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.

[0045] As is well known, dummy devices are usually generated when using sub-drawings for module reuse. For example, there are devices outside the design on the reused module, or devices that duplicate the devices already placed on the reused module. In practical applications, dummy devices have no network attributes on the PCB board. However, they are still produced normally like other devices. Therefore, dummy devices usually cause PCB short circuits and the formation of isolated copper blocks, which in turn affect the performance of the product. So, to ensure product quality, PCB Layout engineers usually manually check, delete, or modify dummy devices at the end of the design. However, in the prior art, the positions of dummy devices cannot be directly found through the existing functions of the software, but only by PCB Layout engineers checking one by one. Obviously, this not only has low efficiency but also is prone to omission.

[0046] Based on this, an embodiment of the present application provides a method for quickly checking dummy devices. In this method, first, the Allegro software can be started; then, a dummy device check instruction input by the user in the command box of the Allegro software can be received; where the dummy device check instruction is a skill program instruction written by the user himself; finally, the target PCB board can be quickly checked for dummy devices directly according to the dummy device check instruction. Therefore, in the present application, since the target PCB board can be quickly checked for dummy devices directly according to the dummy device check instruction input by the user in the Allegro software, compared with the traditional manual checking method one by one, the present application is not only simple to operate and highly efficient, but also will not be omitted.

[0047] After introducing the design concept of the embodiment of the present application, the following briefly introduces the application scenarios applicable to the technical solution of the embodiment of the present application. It should be noted that the following introduced application scenarios are only used to illustrate the embodiment of the present application rather than to limit it. In the specific implementation process, the technical solution provided by the embodiment of the present application can be flexibly applied according to actual needs.

[0048] As Figure 1 shown, an electronic device provided by an embodiment of the present application, and the electronic device can specifically be a dummy device quick check device 10.

[0049] Among them, the fake device quick inspection device 10 can be used to quickly inspect the fake devices on the PCB board. For example, it can be a personal computer (PC), a server, a laptop, etc. The fake device quick inspection device 10 may include one or more processors 101, a memory 102, an I / O interface 103, and a database 104. Specifically, the processor 101 can be a central processing unit (CPU), or a digital processing unit, etc. The memory 102 can be a volatile memory, such as a random-access memory (RAM); the memory 102 can also be a non-volatile memory, such as a read-only memory, a flash memory, a hard disk drive (HDD), or a solid-state drive (SSD); or the memory 102 is any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 102 can be a combination of the above memories. Part of the program instructions of the fake device quick inspection method provided by the embodiments of the present application can be stored in the memory 102. When these program instructions are executed by the processor 101, they can be used to implement the steps of the fake device quick inspection method provided by the embodiments of the present application, so as to solve the problem of low efficiency of fake device inspection in the prior art. The database 104 can be used to store data such as Allegro software, fake device inspection programs, .il files, and Notepad text editors involved in the solutions provided by the embodiments of the present application.

[0050] In the embodiments of the present application, the fake device quick inspection device 10 can obtain a fake device inspection instruction through the I / O interface 103. Then, the processor 101 of the fake device quick inspection device 10 will improve the fake device inspection efficiency according to the program instructions of the fake device quick inspection method provided by the embodiments of the present application in the memory 102. In addition, data such as Allegro software, fake device inspection programs, .il files, and Notepad text editors can also be stored in the database 104.

[0051] Of course, the method provided by the embodiments of the present application is not limited to Figure 1 the application scenarios shown, and can also be used in other possible application scenarios, which are not limited by the embodiments of the present application. The functions that can be realized by each device in Figure 1 the application scenarios shown will be described together in the subsequent method embodiments, and will not be elaborated here too much. Next, the method of the embodiments of the present application will be introduced with reference to the drawings.

[0052] As shown Figure 2 in the figure, it is a schematic diagram of a method for quickly checking dummy devices provided by an embodiment of the present application. This method can be executed by the dummy device quick check device 10 in Figure 1 . Specifically, the process of this method is introduced as follows.

[0053] Step 201: Start the Allegro software.

[0054] In the embodiment of the present application, in order to improve the efficiency of dummy device inspection, before starting the Allegro software, it is also necessary to perform "writing a dummy device inspection program (setting a program call entry shortcut key for easy calling by the Allegro software)" and "using environment setting (program implantation - rewriting the interface file of the Allegro software to call the skill program)", that is, a skill language can be used to write a dummy device inspection program corresponding to the dummy device inspection instruction; and implant this dummy device inspection program into the Allegro software.

[0055] Specifically, when using the skill language to write a dummy device inspection program corresponding to the dummy device inspection instruction, the Skill language can be used to write a dummy device inspection program corresponding to the dummy device inspection instruction according to the axlCmdRegister() function, axlDBGetDesign() function, axlHighlightObject() function, and printf() function. For example, the following is a dummy device inspection program:

[0056] axlCmdRegister("cds" 'find_dummy_symbols)

[0057] defun(find_dummy_symbols ()

[0058] let((allsyms sym)

[0059] cnt = 0

[0060] allsyms = axlDBGetDesign()->symbols

[0061] foreach(sym allsyms

[0062] unless(sym->refdes

[0063] axlHighlightObject(sym)

[0064] ++cnt ) )

[0067] printf("Total dummy symbol: %d\n" cnt) ) )

[0070] In addition, when implanting the dummy device inspection program into the Allegro software, first, the dummy device inspection program can be encapsulated as an.il file; where the.il file is an interface file; then, the allegro.ilinit folder pointed to by the value of the computer's environment variable can be determined. That is, the value of the computer's environment variable can be viewed and the folder pointed to by the variable value can be found; finally, the.il file can be placed in the allegro.ilinit folder, that is, the.il file implementing the quick inspection function of the dummy device can be placed in the allegro.ilinit folder pointed to by the value of the environment variable.

[0071] Step 202: Receive the dummy device inspection instruction input by the user in the command box of the Allegro software.

[0072] In the embodiment of the present application, the dummy device inspection instruction is a skill program instruction written by the user himself.

[0073] After completing the environment setting described in the foregoing step 201, during subsequent actual use, it is no longer necessary to re-set the environment, and only the call command (dummy device inspection instruction) needs to be input to perform the operation of quickly inspecting the dummy device (the dummy device has no position number, and the real device has a position number). The specific operation is as follows: Input the dummy device inspection instruction in the command box of the Allegro software and press the Enter key to confirm, as Figure 3 shown, which is a schematic diagram of inputting the dummy device inspection instruction provided by the embodiment of the present application.

[0074] Step 203: According to the dummy device inspection instruction, perform a quick inspection of the target PCB board for dummy devices.

[0075] In an embodiment of the present application, after entering a fake device inspection instruction in the command box of the Allegro software and pressing the Enter key to confirm, the.il file can be directly found in the allegro.ilinit folder according to the fake device inspection instruction; then, the.il file can be opened using the Notepad text editor; finally, the load function can be used to call the.il file, thereby quickly inspecting for fake devices on the target PCB board. That is, the load function can be used to call the.il program file according to the path of the allegro.ilinit folder pointed to by the environment variable, thereby quickly inspecting for fake devices on the target PCB board.

[0076] In a possible implementation manner, since the fake device inspection instruction of the present application specifically determines whether each device is a fake device by checking whether there is a reference designator for each device, in an embodiment of the present application, when quickly inspecting for fake devices on the target PCB board according to the fake device inspection instruction, specifically, the fake devices on the target PCB board can be highlighted, and the reference designators of each genuine device on the target PCB board can be silk-screened, as Figure 4 shown, is a schematic diagram of highlighting fake devices provided by an embodiment of the present application. Among them, the "C" and "※" on the left are fake devices, so they are highlighted, while the "R803" on the right is a genuine device, so their reference designators are silk-screened.

[0077] In a possible implementation manner, in order to facilitate the user to quickly understand the situation of fake devices, in an embodiment of the present application, after highlighting the fake devices on the target PCB board and silk-screening the reference designators of each genuine device on the target PCB board according to the fake device inspection instruction, the number of fake devices can also be displayed in the command box, as Figure 5 shown, is a schematic diagram of displaying the number of fake devices provided by an embodiment of the present application.

[0078] In summary, in an embodiment of the present application, since the fake device inspection program is written in advance and the fake device inspection program is set in the Allegro software environment, compared with the traditional manual test method, the present application only needs to input an execution command (that is, the fake device inspection instruction), and the Allegro software can automatically highlight all fake devices. Obviously, the present application is not only simple to operate and highly efficient, but also will not miss any.

[0079] Based on the same inventive concept, an embodiment of the present application provides a fake device quick inspection device 60, as Figure 6 shown, the fake device quick inspection device 60 includes:

[0080] A software startup unit 601 for starting the Allegro software;

[0081] An instruction receiving unit 602 for receiving a fake device inspection instruction input by a user in a command box of the Allegro software; wherein, the fake device inspection instruction is a skill program instruction written by the user himself;

[0082] A fake device inspection unit 603 for quickly inspecting fake devices on a target PCB board according to the fake device inspection instruction.

[0083] Optionally, the fake device quick inspection device 60 further includes a program writing unit 604 for:

[0084] Writing a fake device inspection program corresponding to the fake device inspection instruction using the skill language;

[0085] Implanting the fake device inspection program into the Allegro software.

[0086] Optionally, the program writing unit 604 is further used for:

[0087] Writing a fake device inspection program corresponding to the fake device inspection instruction using the Skill language according to the axlCmdRegister() function, axlDBGetDesign() function, axlHighlightObject() function, and printf() function.

[0088] Optionally, the program writing unit 604 is further used for:

[0089] Packaging the fake device inspection program into an.il file; wherein, the.il file is an interface file;

[0090] Determining the allegro.ilinit folder pointed to by the environment variable value of the computer;

[0091] Putting the.il file into the allegro.ilinit folder.

[0092] Optionally, the fake device inspection unit 603 is further used for:

[0093] Finding the.il file in the allegro.ilinit folder according to the fake device inspection instruction;

[0094] Opening the.il file using a Notepad text editor;

[0095] Calling the.il file using the load function to quickly inspect fake devices on a target PCB board.

[0096] Optionally, the fake device inspection unit 603 is further configured to:

[0097] According to the fake device inspection instruction, highlight the fake devices on the target PCB board, and perform component reference printing display on each genuine device on the target PCB board.

[0098] Optionally, the fake device inspection unit 603 is further configured to:

[0099] Display the number of the fake devices in a command box.

[0100] The fake device quick inspection device 60 can be used to execute Figures 2 - 5 the method executed in the embodiments shown, and therefore, for the functions that can be achieved by each functional module of the fake device quick inspection device 60, reference can be made to Figures 2 - 5 the description of the embodiments shown, which will not be elaborated here.

[0101] In some possible implementation manners, each aspect of the method provided in this application can also be implemented in the form of a program part, which includes program code. When the program part runs on a computer device, the program code is used to cause the computer device to execute the steps in the method according to various exemplary implementation manners of this application described above in this specification. For example, the computer device can execute the method executed in the embodiments shown in Figures 2 - 5 the embodiments shown.

[0102] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above method embodiments; and the foregoing storage medium includes: removable storage devices, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks, or optical disks and other various media that can store program code. Or, if the above integrated unit is implemented in the form of a software functional module and sold or used as an independent part, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software part. This computer software part is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present invention. And the foregoing storage medium includes: removable storage devices, ROM, RAM, magnetic disks, or optical disks and other various media that can store program code.

[0103] While the preferred embodiments of the present application have been described, additional changes and modifications can be made to these embodiments by those skilled in the art once they learn of the basic creative concept. Therefore, the appended claims are intended to be construed to include the preferred embodiments as well as all changes and modifications that fall within the scope of the present application.

[0104] Obviously, those skilled in the art can make various changes and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.

Claims

1. A method for quickly checking fake devices, characterized in that: The method comprises: Using Skill language, according to axlCmdRegister() function, axlDBGetDesign() function, axlHighlightObject() function and printf() function, write a fake device inspection program corresponding to the fake device inspection instruction; wherein the fake device includes a duplicate device and a device outside the design; Implanting the fake device inspection program into Allegro software; Start Allegro software; Receiving a fake device check instruction input by a user in a command box of the Allegro software; wherein the fake device check instruction is a skill program instruction written by the user; and the fake device check instruction is used to check whether each device has a bit number; According to the fake device inspection instruction, each real device on the target PCB board is silk-screened with a bit number; The number of the dummy components is displayed in a command box.

2. The method according to claim 1, characterized in that The step of implanting the fake device inspection program into the Allegro software comprises: Encapsulating the fake device inspection program into a .il file; wherein the .il file is an interface file; Determine the allegro.ilinit folder pointed to by the computer's environment variable value; Place the .il file into the allegro.ilinit folder.

3. The method according to claim 2, characterized in that The step of performing a quick fake device check on the target PCB board according to the fake device check instruction comprises: According to the fake device check instruction, find the .il file in the allegro.ilinit folder; Use Notepad text editor to open the .il file; The load function is used to call the .il file to quickly check the target PCB board for fake components.

4. A fast detection device for fake devices, characterized in that: The device comprises: A program writing unit is used to write a fake device inspection program corresponding to the fake device inspection instruction by using Skill language according to axlCmdRegister() function, axlDBGetDesign() function, axlHighlightObject() function and printf() function; wherein the fake device includes a duplicate device and a device other than the design; and the fake device inspection program is implanted into Allegro software; Software startup unit, used to start Allegro software; An instruction receiving unit, used for receiving a fake device check instruction input by a user in a command box of the Allegro software; wherein the fake device check instruction is a skill program instruction written by the user; and the fake device check instruction is used for checking whether each device has a bit number; A fake device inspection unit, used to screen-print the bit numbers of the real devices on the target PCB board according to the fake device inspection instruction; The number of the dummy components is displayed in a command box.

5. An electronic device, characterized in that: The device comprises: A memory for storing program instructions; A processor is used to call the program instructions stored in the memory, and execute any method according to claims 1-3 according to the obtained program instructions.

6. A storage medium, characterized in that: The storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute any one of the methods of claims 1-3.

Citation Information

Patent Citations

  • Method and device for checking repeated resistance in printed circuit board

    CN108491586A