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

By writing skill program instructions in Allegro software, quick inspection of fake devices of PCB boards is achieved, the problem of low inspection efficiency in the prior art is solved, and inspection efficiency and accuracy are improved.

CN119667450AActive Publication Date: 2025-03-21SICHUAN TIANYI COMHEART TELECOM

Patent Information

Application Number
CN202510188067.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-20
Publication Date
2025-03-21
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

The Allegro software provides a quick check method for fake devices. The user writes skill program instructions by himself and uses the functions of the Allegro software to quickly check fake devices on the target PCB board, including highlighting the fake devices and displaying the bit numbers of the real devices.

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 CN119667450A_ABST
    Figure CN119667450A_ABST
Patent Text Reader

Abstract

The invention discloses a method, a device and equipment for quickly checking a false device and a medium, relates to the technical field of circuit boards, and is used for solving the problem of relatively low checking efficiency of the false device in the prior art. The method comprises the following steps: starting Allegro software; receiving a false device checking instruction input by a user in a command box of the Allegro software; wherein the false device checking instruction is a skill program instruction written by a user; and according to the false device inspection instruction, performing false device rapid inspection on a target PCB. Therefore, as the false devices of the target PCB can be quickly checked directly according to the false device checking instruction input by the user in the Allegro software, compared with a traditional manual one-by-one checking method, the false device checking method is simple to operate, high in efficiency and free of omission.
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 checking fake devices. Background Art

[0002] With the development of science and technology, users' requirements for products such as smart gateways, fiber to the room (FTTR), routers, cloud boxes, set-top boxes, converged gateways, government and enterprise gateways, 4 / 5G customer premise equipment (CPE) and wireless kittens are becoming more and more diversified. Based on this, more and more devices are integrated on the printed circuit boards (PCBs) of these products. Checking for fake devices on PCBs is an important step to ensure product quality and supply chain security.

[0003] As we all know, fake devices are usually generated when sub-drawing is used for module reuse. For example, devices outside the design appear on the reused module, or devices that are duplicated with the devices already placed in the reused module. In actual applications, fake devices have no network attributes on the PCB board, but they will still be produced normally like other devices. Therefore, fake devices usually cause PCB short circuits and the formation of isolated copper blocks, which in turn affects the performance of the product. Therefore, in order to ensure product quality, PCB Layout engineers usually manually check, delete or modify fake devices at the end of the design. However, in the prior art, the location of fake devices cannot be directly found through the existing functions of the software, but can only be checked one by one by the PCBLayout engineer. Obviously, this is not only inefficient, but also easy to miss.

[0004] Therefore, how to improve the efficiency of counterfeit device inspection has become a problem that needs to be solved urgently. 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 efficiency of fake device inspection in the prior art.

[0006] In one aspect, a method for quickly checking a fake device is provided, the method comprising: Start Allegro software; 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; According to the fake component inspection instruction, a fake component quick inspection is performed on the target PCB board.

[0007] Optionally, before starting the Allegro software, the method further includes: Using skill language, write a fake device inspection program corresponding to the fake device inspection instruction; The dummy device inspection program is implanted into the Allegro software.

[0008] Optionally, the step of using a skill language to write a fake device inspection program corresponding to the fake device inspection instruction includes: A fake device inspection program corresponding to the fake device inspection instruction is written by using Skill language according to axlCmdRegister() function, axlDBGetDesign() function, axlHighlightObject() function and printf() function.

[0009] Optionally, the step of implanting the fake device inspection program into the Allegro software includes: 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.

[0010] Optionally, the step of performing a quick fake device check on the target PCB board according to the fake device check instruction includes: 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.

[0011] Optionally, the step of performing a quick fake device check on the target PCB board according to the fake device check instruction includes: According to the fake component inspection instruction, the fake components on the target PCB board are highlighted, and the bit numbers of the real components on the target PCB board are silk-screened.

[0012] Optionally, after highlighting the fake components on the target PCB board and silk-screening the bit numbers of the real components on the target PCB board according to the fake component inspection instruction, the method further includes: The number of the dummy components is displayed in a command box.

[0013] In one aspect, a device for quickly checking fake devices is provided, the device comprising: Software startup unit, used to start Allegro software; An instruction receiving unit, used 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; The fake device inspection unit is used to perform a fake device quick inspection on the target PCB board according to the fake device inspection instruction.

[0014] On the one hand, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein any one of the above methods is implemented when the processor executes the computer program.

[0015] In one aspect, a storage medium is provided, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, any of the above methods is implemented.

[0016] Compared with the prior art, the beneficial effects of this application are: In the present application, when performing a quick check of fake devices, first, the Allegro software can be started; then, the fake device check instruction entered by the user in the command box of the Allegro software can be received; wherein the fake device check instruction is a skill program instruction written by the user; finally, the fake device quick check can be performed on the target PCB board directly according to the fake device check instruction.

[0017] Therefore, in the present application, since the target PCB board can be quickly checked for fake devices directly according to the fake device inspection instructions 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 efficient, but also will not miss any parts. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] 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.

[0019] Figure 1 An electronic device provided in an embodiment of the present application; Figure 2 A schematic diagram of a method for quickly checking fake devices provided in an embodiment of the present application; Figure 3 A schematic diagram of an input fake device check instruction provided in an embodiment of the present application; Figure 4 A schematic diagram showing a highlighted fake device provided in an embodiment of the present application; Figure 5 A schematic diagram showing the number of dummy devices provided in an embodiment of the present application; Figure 6 A schematic diagram of a device for quickly inspecting fake devices provided in an embodiment of the present application.

[0020] Markings in the figure: 10 - fake device quick inspection equipment, 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 DESCRIPTION

[0021] 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.

[0022] As we all know, fake devices are usually generated when sub-drawing is used for module reuse. For example, devices outside the design appear on the reused module, or devices that are duplicated with the devices already placed in the reused module. In actual applications, fake devices have no network attributes on the PCB board, but they will still be produced normally like other devices. Therefore, fake devices usually cause PCB short circuits and the formation of isolated copper blocks, which in turn affects the performance of the product. Therefore, in order to ensure product quality, PCB Layout engineers usually manually check, delete or modify fake devices at the end of the design. However, in the prior art, the location of fake devices cannot be directly found through the existing functions of the software, but can only be checked one by one by the PCBLayout engineer. Obviously, this is not only inefficient, but also easy to miss.

[0023] Based on this, the embodiment of the present application provides a method for quickly checking fake devices, in which, first, the Allegro software can be started; then, the fake device check instruction entered by the user in the command box of the Allegro software can be received; wherein the fake device check instruction is a skill program instruction written by the user; finally, the target PCB board can be directly checked for fake devices according to the fake device check instruction. Therefore, in the present application, since the target PCB board can be quickly checked for fake devices according to the fake device check instruction entered by the user in the Allegro software, compared with the traditional manual one-by-one inspection method, the present application is not only simple to operate and efficient, but also will not be missed.

[0024] After introducing the design ideas of the embodiments of the present application, the following briefly introduces the application scenarios to which the technical solutions of the embodiments of the present application can be applied. It should be noted that the application scenarios introduced below are only used to illustrate the embodiments of the present application and are not limited. In the specific implementation process, the technical solutions provided by the embodiments of the present application can be flexibly applied according to actual needs.

[0025] like Figure 1 As shown, an electronic device provided in an embodiment of the present application is provided, and the electronic device may specifically be a fake device rapid inspection device 10.

[0026] The fake device quick inspection device 10 can be used to quickly inspect fake devices on a PCB board, for example, 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 may be a central processing unit (CPU), or a digital processing unit, etc. The memory 102 may be a volatile memory, such as a random-access memory (RAM); the memory 102 may 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 may be a combination of the above memories. The memory 102 may store some program instructions of the method for quickly checking fake devices provided in the embodiment of the present application, and these program instructions can be used to implement the steps of the method for quickly checking fake devices provided in the embodiment of the present application when executed by the processor 101, so as to solve the problem of low efficiency of checking fake devices in the prior art. The database 104 may be used to store data such as the Allegro software, fake device checking program, .il file, and Notepad text editor involved in the solution provided in the embodiment of the present application.

[0027] In the embodiment of the present application, the fake device quick inspection device 10 can obtain the fake device inspection instruction through the I / O interface 103, and 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 in the embodiment of the present application in the memory 102. In addition, data such as Allegro software, fake device inspection program, .il file and Notepad text editor can also be stored in the database 104.

[0028] Of course, the method provided in the embodiment of the present application is not limited to Figure 1 The application scenarios shown can also be used in other possible application scenarios, and the embodiments of the present application are not limited thereto. Figure 1 The functions that can be realized by each device in the application scenario shown will be described in the subsequent method embodiments, and will not be described in detail here. Below, the method of the embodiment of the present application will be introduced in conjunction with the accompanying drawings.

[0029] like Figure 2 FIG. 1 is a schematic diagram of a method for quickly checking a fake device provided in an embodiment of the present application. The method can be performed by Figure 1 The method is performed by the fake device rapid inspection device 10, and specifically, the process of the method is described as follows.

[0030] Step 201: Start Allegro software.

[0031] In an embodiment of the present application, in order to improve the efficiency of fake device inspection, before starting the Allegro software, it is also necessary to "write a fake device inspection program (set a program call entry shortcut key to facilitate Allegro software calling)" and "use environment settings (program implantation - rewrite the Allegro software interface file to call the skill program)", that is, the skill language can be used to write a fake device inspection program corresponding to the fake device inspection instruction; and the fake device inspection program is implanted into the Allegro software.

[0032] Specifically, when using the skill language to write a fake device inspection program corresponding to the fake device inspection instruction, the skill language can be used to write a fake device inspection program corresponding to the fake device inspection instruction according to the axlCmdRegister() function, axlDBGetDesign() function, axlHighlightObject() function and printf() function, for example, the fake device inspection program is as follows: axlCmdRegister("cds" 'find_dummy_symbols) defun(find_dummy_symbols()) let((allsyms sym) cnt = 0 allsyms = axlDBGetDesign()->symbols foreach(sym allsyms unless(sym->refdes axlHighlightObject(sym) ++cnt ) ) printf("Total dummy symbol: %d\n" cnt) ) ) In addition, when the fake device check program is implanted into the Allegro software, first, the fake device check program can be encapsulated into a .il file; wherein the .il file is an interface file; then, the allegro.ilinit folder pointed to by the computer's environment variable value can be determined. That is, the computer's environment variable value can be checked 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 that implements the fake device quick check function can be placed in the allegro.ilinit folder pointed to by the environment variable value.

[0033] Step 202: receiving a fake device inspection instruction input by a user in a command box of the Allegro software.

[0034] In the embodiment of the present application, the fake device checking instruction is a skill program instruction written by the user.

[0035] After completing the environment settings described in the aforementioned step 201, in the subsequent actual use process, there is no need to re-set the environment. Instead, you only need to enter a call command (fake device check command) to perform a quick check of fake devices (fake devices have no number position, while real devices have number positions). The specific operation is as follows: Enter the fake device check command in the command box of the Allegro software and press the Enter key to confirm, such as Figure 3 , which is a schematic diagram of inputting a fake device check instruction provided in an embodiment of the present application.

[0036] Step 203: Perform a quick fake component check on the target PCB board according to the fake component check instruction.

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

[0038] 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 each device has a bit number, therefore, in the embodiment of the present application, when the target PCB board is quickly inspected for fake devices according to the fake device inspection instruction, the fake devices on the target PCB board can be highlighted according to the fake device inspection instruction, and the bit numbers of each real device on the target PCB board can be silk-screened, such as Figure 4 As shown, it is a schematic diagram of highlighting fake devices provided in an embodiment of the present application, wherein "C" and "※" on the left are fake devices, so they are highlighted, and "R803" on the right is a real device, so their position numbers are silk-screened.

[0039] In a possible implementation, in order to facilitate users to quickly understand the situation of fake devices, in the embodiment of the present application, after highlighting the fake devices on the target PCB board according to the fake device inspection instruction and silk-screening the bit numbers of each real device on the target PCB board, the number of fake devices can also be displayed in the command box, such as Figure 5 As shown, it is a schematic diagram showing the number of dummy devices provided in an embodiment of the present application.

[0040] To summarize, in the embodiments of the present application, since the fake device check program is written in advance and the fake device check program is set in the Allegro software environment, compared with the traditional manual testing method, the present application only needs to input the execution command (i.e., the fake device check instruction), and the Allegro software can automatically highlight all fake devices. Obviously, the present application is not only simple to operate and efficient, but also will not be missed.

[0041] Based on the same inventive concept, the embodiment of the present application provides a fast detection device 60 for fake devices, such as Figure 6 As shown, the fake device rapid inspection device 60 comprises: A software startup unit 601 is used to start the Allegro software; The instruction receiving unit 602 is used to 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; The fake component inspection unit 603 is used to perform a fake component quick inspection on the target PCB board according to the fake component inspection instruction.

[0042] Optionally, the fake device rapid inspection device 60 further includes a program writing unit 604, which is used to: Using skill language, write a fake device inspection program corresponding to the fake device inspection instruction; The dummy device inspection program is implanted into the Allegro software.

[0043] Optionally, the program writing unit 604 is further used for: A fake device inspection program corresponding to the fake device inspection instruction is written by using Skill language according to axlCmdRegister() function, axlDBGetDesign() function, axlHighlightObject() function and printf() function.

[0044] Optionally, the program writing unit 604 is further used for: 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.

[0045] Optionally, the fake device checking unit 603 is further configured to: 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.

[0046] Optionally, the fake device checking unit 603 is further configured to: According to the fake component inspection instruction, the fake components on the target PCB board are highlighted, and the bit numbers of the real components on the target PCB board are silk-screened.

[0047] Optionally, the fake device checking unit 603 is further configured to: The number of the dummy components is displayed in a command box.

[0048] The fake device rapid inspection device 60 can be used to perform Figure 2-Figure 5 The method implemented in the embodiment shown in FIG. 6 is therefore useful for reference to the functions that can be implemented by each functional module of the fake device rapid inspection device 60. Figure 2-Figure 5 The description of the illustrated embodiment is not repeated in detail.

[0049] In some possible implementations, various aspects of the method provided in the present application may also be implemented in the form of a program part, which includes a program code. When the program part is run on a computer device, the program code is used to enable the computer device to execute the steps of the method according to various exemplary embodiments of the present application described above in this specification. For example, the computer device may execute the following steps: Figure 2-Figure 5 The method performed in the illustrated embodiment.

[0050] Those skilled in the art can understand that all or part of the steps of the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above method embodiment are executed; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks or optical disks. Alternatively, if the above integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent part, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or in other words, the part that contributes to the prior art can be embodied in the form of a software part, which is stored in a storage medium and includes several instructions for 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 various embodiments of the present invention. And the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

[0051] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0052] Obviously, those skilled in the art can make various changes and modifications 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 equivalents, 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: Start Allegro software; 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; According to the fake component inspection instruction, a fake component quick inspection is performed on the target PCB board.

2. The method according to claim 1, characterized in that Before starting the Allegro software, the method further includes: Using skill language, write a fake device inspection program corresponding to the fake device inspection instruction; The dummy device inspection program is implanted into the Allegro software.

3. The method according to claim 2, characterized in that The step of using the skill language to write a fake device inspection program corresponding to the fake device inspection instruction includes: A fake device inspection program corresponding to the fake device inspection instruction is written by using Skill language according to axlCmdRegister() function, axlDBGetDesign() function, axlHighlightObject() function and printf() function.

4. The method according to claim 2, 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.

5. The method according to claim 4, 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.

6. The method according to claim 1, 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 component inspection instruction, the fake components on the target PCB board are highlighted, and the bit numbers of the real components on the target PCB board are silk-screened.

7. The method according to claim 6, characterized in that After highlighting the fake components on the target PCB board and silk-screening the bit numbers of the real components on the target PCB board according to the fake component inspection instruction, the method further includes: The number of the dummy components is displayed in a command box.

8. A rapid detection device for fake devices, characterized in that: The device comprises: Software startup unit, used to start Allegro software; An instruction receiving unit, used 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; The fake device inspection unit is used to perform a fake device quick inspection on the target PCB board according to the fake device inspection instruction.

9. 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-7 according to the obtained program instructions.

10. 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-7.

Citation Information

Patent Citations

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

    CN108491586A

  • Method, system and related device for deleting floating device on board

    CN109388872A

  • Query method and system of bonding pad overlapping device, electronic equipment and storage medium

    CN113727524A

  • Method for adjusting silk-screen placement of components of multi-site ATE items

    CN114117997A

  • Method for integrally and automatically replacing same circuit module devices

    CN115774969A

Cited By

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

    CN119886049A

  • Method and device for highlighting without network pin, terminal and storage medium

    CN119990038A

  • Highlighting Method, Device, Terminal, and Storage Medium for Network-Free Pins

    CN119990038B