Methods, apparatus, and computer-readable storage media for checking a number of targets

CN116071340BActive Publication Date: 2026-08-18SHENNAN CIRCUITS
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310145979.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-13
Publication Date
2026-08-18
Estimated Expiration
2043-02-13

AI Technical Summary

Technical Problem

[0003]在现有技术中,采用手动选中靶标图形的方式检查靶标数量时,容易重复选择且效率低,并且人员在检查过程中容易出现漏检查或判断错误,造成靶标数量设计异常,若靶标数量设计异常的封装基板流出到现场,则会导致板件报废

Benefits of technology

[0017]根据本发明实施例提出的检查靶标数量的装置,根据本发明实施例提出的检查靶标数量的装置,通过在服务器中设置厂内预设规则,并执行上面任一项的检查靶标数量的方法,能实现靶标数量的全自动化检查,既不需要对待测基板进行图形选择操作,也不需要人员手动确认参数,能够提升数据处理的精确度,提升处理效率,不会出现漏检查或判断错误的情况,能够降低靶标数量异常的流出风险。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116071340B_ABST
    Figure CN116071340B_ABST
Patent Text Reader

Abstract

The application discloses a kind of method, device and computer readable storage medium for checking target quantity, wherein the method for checking target quantity comprises: obtaining the design parameter of to-be-tested substrate, and obtaining the graphic segmentation data of to-be-tested substrate;Actual graphic data of to-be-tested substrate is obtained, and actual graphic data includes the actual target quantity information of to-be-tested substrate;Based on the preset rule in factory, the standard target quantity information of to-be-tested substrate is obtained according to graphic segmentation data and design parameter;Actual target quantity information and standard target quantity information are compared, and comparison result is obtained.The method for checking target quantity is replaced by manual inspection by automatic checking target quantity, does not need to operate target graphic, can automatically process and judge data, accurate and efficient operation, can reduce the risk of target quantity exception outflow.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of packaging substrate technology, and in particular to a method, apparatus and computer-readable storage medium for checking the number of targets. Background Technology

[0002] During the fabrication of the packaging substrate, it is necessary to check the number of targets on the completed packaging substrate. Currently, the panelization position in the packaging substrate engineering department uses manual selection of target graphics to determine the correctness of the target quantity design when checking the number of targets.

[0003] In the existing technology, when checking the number of targets by manually selecting the target pattern, it is easy to make repeated selections and the efficiency is low. In addition, personnel are prone to omissions or errors in judgment during the inspection process, resulting in abnormal target quantity design. If the packaging substrate with abnormal target quantity design is sent to the field, it will lead to the scrapping of the board. Summary of the Invention

[0004] This invention aims to at least solve one of the technical problems existing in the prior art. Therefore, the first objective of this invention is to propose a method for checking the number of targets, which automates the checking of target numbers instead of manual checking, eliminates the need to manipulate target graphics, automates data processing and judgment, is accurate and efficient, and reduces the risk of abnormal target number leakage.

[0005] The second objective of this invention is to provide a device for checking the number of targets.

[0006] A third objective of this invention is to provide a computer-readable storage medium.

[0007] To achieve the above objectives, the method for checking the number of targets proposed in the first aspect of the present invention includes: acquiring design parameters of the substrate under test and acquiring graphic segmentation data of the substrate under test; acquiring actual graphic data of the substrate under test, wherein the actual graphic data includes actual target number information of the substrate under test; acquiring standard target number information of the substrate under test based on factory preset rules, according to the graphic segmentation data and the design parameters; comparing the actual target number information and the standard target number information, and obtaining a comparison result.

[0008] The method for checking the number of targets proposed in this embodiment of the invention can directly determine the standard target quantity information of the substrate under test based on graphic segmentation data and design parameters by setting preset rules in the factory. The entire data processing process, which compares the actual target quantity information with the standard target quantity information, is a pure data processing process. It does not require graphic selection operation on the substrate under test, nor does it require manual confirmation of parameters. It can ensure that the entire inspection process is fully automated to replace manual inspection. Compared with the traditional method of manually selecting target graphics to determine the target quantity, the method for checking the number of targets in this embodiment is more accurate, faster and more efficient in data processing, and will not cause missed inspections or judgment errors, thereby reducing the risk of abnormal target quantity leakage.

[0009] In some embodiments of the present invention, obtaining the design parameters of the substrate under test includes obtaining at least one of the following: the number of board layers, drilling type, auxiliary layers, and graphic parameters of the substrate under test.

[0010] In some embodiments of the present invention, obtaining the graphic segmentation data of the substrate to be tested includes: obtaining an XML file containing the graphic segmentation data; parsing the XML file using the Perl language, and filtering out the graphic segmentation data of the substrate to be tested.

[0011] In some embodiments of the present invention, obtaining the actual graphic data of the substrate under test includes: obtaining the actual graphic data of the substrate under test from the CAM system; filtering the actual graphic data based on the Perl language and arranging the actual graphic data according to a preset hierarchy; and storing the arranged actual graphic data into a first hash variable.

[0012] In some embodiments of the present invention, the factory preset rules are JSON files containing the number of standard targets at different levels corresponding to the design parameters and the graphic segmentation data.

[0013] In some embodiments of the present invention, comparing the actual target quantity information and the standard target quantity information and obtaining the comparison result includes: reading the arranged actual graphic data into the JSON file; parsing the JSON file using the Perl language and obtaining parsed data; storing the parsed data in a second hash variable; and comparing the actual target quantity information and the standard target quantity information layer by layer based on the actual graphic data stored in the first hash variable and the parsed data stored in the second hash variable and obtaining the comparison result.

[0014] In some embodiments of the present invention, the method for checking the number of targets further includes: determining, based on the comparison result, that the actual number of targets and the standard number of targets do not match, outputting the comparison result and displaying it.

[0015] In some embodiments of the present invention, before obtaining the actual number of targets on the substrate under test, the method further includes: fabricating targets on the substrate under test according to the design parameters and the graphic segmentation data; and uploading the actual graphic data of the substrate under test to a CAM system.

[0016] To achieve the above objectives, a second aspect of the present invention also provides an apparatus for checking the number of targets, comprising: a CAM system storing actual graphic data of a substrate under test; and a server connected to the CAM system, wherein the server is configured with factory preset rules for executing the method for checking the number of targets described above.

[0017] The apparatus for checking the number of targets proposed in the embodiments of the present invention, by setting preset rules in the server and executing any of the above methods for checking the number of targets, can realize fully automated checking of the number of targets. It does not require graphic selection operation on the substrate under test, nor does it require manual confirmation of parameters by personnel. It can improve the accuracy of data processing, improve processing efficiency, and prevent missed checks or judgment errors, thereby reducing the risk of abnormal target quantity leakage.

[0018] To achieve the above objectives, a third aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer-readable storage medium, when executed by a processor, implements the method for checking the number of targets as described in any of the preceding claims.

[0019] According to the embodiments of the present invention, a computer-readable storage medium is provided thereon storing a computer program. The computer-readable storage medium is executed by a processor to implement the method of checking the number of targets as described above. By setting the entire checking process to achieve full automation, the accuracy of data processing can be improved, the processing efficiency can be improved, and there will be no missed checks or judgment errors. The risk of abnormal target quantity leakage can be reduced.

[0020] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0021] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:

[0022] Figure 1 A flowchart of a method for checking the number of targets according to an embodiment of the present invention;

[0023] Figure 2 This is a schematic diagram illustrating the number of layers in a plate component according to an embodiment of the present invention;

[0024] Figure 3 This is a schematic diagram of the graphical parameters of a target according to an embodiment of the present invention;

[0025] Figure 4 This is a schematic diagram illustrating the process of fabricating a substrate to be tested and checking the number of targets according to an embodiment of the present invention;

[0026] Figure 5 A flowchart of a method for checking the number of targets according to another embodiment of the present invention;

[0027] Figure 6 A flowchart of a method for checking the number of targets according to yet another embodiment of the present invention;

[0028] Figure 7 A flowchart of a method for checking the number of targets according to yet another embodiment of the present invention;

[0029] Figure 8 This is a block diagram of an apparatus for checking the number of targets according to an embodiment of the present invention.

[0030] Figure label:

[0031] Device 10 for checking the number of targets;

[0032] CAM system 1, server 2. Detailed Implementation

[0033] The embodiments of the present invention are described in detail below. The embodiments described with reference to the accompanying drawings are exemplary. The embodiments of the present invention are described in detail below.

[0034] The following is for reference. Figures 1-7 A method for checking the number of targets according to an embodiment of the present invention is described.

[0035] In some embodiments of the present invention, such as Figure 1 The diagram shows a flowchart of a method for checking the number of targets according to an embodiment of the present invention, wherein the method for checking the number of targets includes at least steps S1-S4, as detailed below.

[0036] S1, obtain the design parameters of the substrate under test, and obtain the pattern segmentation data of the substrate under test.

[0037] As is understandable, a packaging substrate is a circuit board used to protect chips and provide interfaces for communication between chips and external circuits. During the manufacturing process of a packaging substrate, operations such as target fabrication and pattern segmentation are required on the panel. A panel is a complete board in the packaging substrate manufacturing process. The target is located on the panel and is a design pattern used for alignment of different layers of the packaging substrate to achieve positioning function.

[0038] In some embodiments, obtaining the design parameters of the substrate under test includes obtaining at least one of the following: the number of board layers, drilling type, auxiliary layers, and pattern parameters of the substrate under test.

[0039] Specifically, the number of board layers, drill type, auxiliary layers, graphic parameters, and graphic segmentation data all affect the target design. Among these, the number of copper-clad laminates determines the total number of board layers, such as... Figure 2 The diagram shown is a schematic representation of the number of layers in a plate according to an embodiment of the present invention, wherein... Figure 2 The number of copper-clad laminates A shown is 4, indicating that the board is a 4-layer board. Drilling types include mechanical drilling and laser drilling. Laser drilling processes include windowing and LDD (Laser Deposition) processes. Mechanical drilling uses a mechanical drill bit to drill holes in the board, while laser drilling uses a laser to create holes. The windowing process involves applying a dry film to the board before laser deposition, while the LDD process involves attaching a heat-absorbing material to the board. Regarding the number of pattern segments, when creating targets, the panel can be divided into different areas for exposure. Common methods include no segmentation, two-segmentation, four-segmentation, and six-segmentation. Higher segmentation numbers result in higher precision, but also require more targets. Auxiliary layers can include circuit layers, which can be divided into inner and outer layers, etc., depending on the circuit layer. Different target pattern designs have different parameters. Figure 3 This is a schematic diagram of the graphic parameters of a target according to an embodiment of the present invention. The graphic parameters include at least the shape and size of the graphic, such as... Figure 3 As shown in (1), r indicates that the target is circular, and 1000 indicates that the diameter is 1000 micrometers; as Figure 3 As shown in (2), r indicates that the target is circular and 2000 indicates that the diameter is 2000 micrometers.

[0040] Understandably, the number of targets is affected by parameters such as the number of board layers, drilling type, auxiliary layers, graphic parameters, and graphic segmentation data. Therefore, during the board making and target quantity inspection process, it is necessary to obtain the design parameters of the substrate under test and the graphic segmentation data of the substrate under test.

[0041] Among them, can be combined Figure 4 Understanding the process of fabricating the substrate to be tested and checking the number of targets in embodiments of the present invention. Figure 4This is a schematic diagram illustrating the process of fabricating a substrate to be tested and checking the number of targets according to an embodiment of the present invention.

[0042] Among these parameters, the number of board layers, drilling type, auxiliary layers, and graphic parameters are the fundamental data for manufacturing packaging substrates. These are obtained by personnel at the single-board stage based on customer-provided design drawings and other materials. This data is then compiled into photoplotting data and sent to the panelization stage for board fabrication. The single-board stage, located at the workstation, is one of the roles within the packaging substrate engineering department, used to compensate for customer designs according to factory rules. Graphic segmentation data is set by personnel at the MI (Manufacturing Components) stage based on the process definition. This graphic segmentation data cannot be directly obtained from the substrate during board fabrication or when checking the number of targets; it can only be obtained from the MI stage. The MI stage, located on the PC, is also one of the roles within the packaging substrate engineering department, possessing process and parameter design capabilities.

[0043] In some embodiments, the process of creating targets and dividing patterns on a panel is called panel fabrication. This process is performed by the panelization team, which is one of the roles in the packaging substrate engineering department and has functions such as panel design and inspection of other layers. Figure 4 As shown, the panelization team creates targets and performs graphic segmentation based on the data in the photoplotting data, which is the design parameters and graphic segmentation data of the substrate under test. When checking the number of targets, the design parameters of the substrate under test can be directly obtained from the substrate under test.

[0044] S2, acquire the actual graphic data of the substrate under test, which includes information on the actual number of targets on the substrate under test.

[0045] During the PCB fabrication process, the design parameters and manufacturing data of the substrate under test are also stored. Therefore, when inspecting the substrate under test, the actual graphic data of the substrate can be obtained directly from the substrate side, specifically including the design parameters and manufacturing data of the substrate under test. The actual graphic data also includes the number of targets on the substrate under test, which is recorded as the actual target quantity information.

[0046] S3, based on factory-preset rules, obtains the number of standard targets on the substrate under test according to graphic segmentation data and design parameters.

[0047] The factory's preset rules are JSON files containing standard target quantity information at different levels, corresponding to design parameters and pattern segmentation data. These preset rules include a summary of all layers, drilling processes, target properties, and pattern segmentation data. The generated JSON file includes parameters such as the number of layers, drilling processes, target properties, and pattern segmentation data for all involved packaging substrates. A unified JSON text is generated based on these preset rules. JSON is a formatted language that uses text to describe data objects, using key-value pairs. The JSON file contains different keys, each corresponding to a factor influencing the target quantity. Layers, drilling processes, target properties, and pattern segmentation data can be used as keys in a hierarchical manner within the JSON text. The JSON data format is intuitive and easy to understand, and business personnel do not need programming skills, making it highly maintainable. The JSON file is stored on a server, which performs the target quantity check.

[0048] Understandably, according to the factory's preset rules, the number of targets is fixed when the parameters are constant, but different parameters result in different numbers of targets. For example, the number of targets matching all parameters can be obtained based on the number of layers, drilling process, drilling level, target properties, and pattern segmentation data of different substrates under test, serving as standard target quantity information. For instance, for a two-layer board with laser drilling-LDD process, drilling level d12 / d21, and target property r2000, the number of targets should be designed to be 8 when performing two-segmentation, and 24 when performing six-segmentation.

[0049] For a two-layer substrate with laser drilling, d12 represents drilling from the first layer to the second layer, and D21 represents drilling from the second layer to the first layer.

[0050] When obtaining the number of standard targets for the substrate under test based on the graphic segmentation data and design parameters, the corresponding number of standard targets can be obtained by capturing a portion of the matching data from the JSON file based on the graphic segmentation data and design parameters of the substrate under test.

[0051] S4 compares the actual number of targets with the standard number of targets and obtains the comparison results.

[0052] Specifically, in some embodiments, before comparing the actual target quantity information with the standard target quantity information, the acquired actual graphic data is arranged in a preset order and stored in a first hash variable. When comparing the actual target quantity information with the standard target quantity information, the arranged actual graphic data can first be read into a JSON file with unified rules. Then, the JSON file is parsed layer by layer using the Perl language to obtain the parsed data. Perl is a programming language with strong advantages in text processing. The JSON data is processed by Perl's JSON parsing module, and the parsed data is assigned to a new hash variable, that is, stored in a second hash variable. In this way, the keys in the JSON file are converted into hash function keys.

[0053] Hash variables are a variable type in the Perl language, and their data format is also key-value. Whether it's retrieving all the data of the substrate under test and storing it in the first hash variable, or using the hash key to index the JSON file, it's a pure data processing process. It doesn't require graphical selection of the substrate under test, saving control resources, shortening data processing time, and ensuring high server speed when checking the number of targets.

[0054] Furthermore, based on the actual graphic data and the parsed data stored in the second hash variable, all layers of the target base are iteratively operated on, and the actual target quantity information and standard target quantity information are compared layer by layer to obtain the comparison results.

[0055] Based on the above, the entire data processing process is a pure data processing process. It does not require graphic selection of the substrate under test, nor does it require manual confirmation of parameters. It can ensure that the entire inspection process is fully automated to replace manual inspection. Moreover, compared with the traditional method of manually selecting target graphics to determine the number of targets, the method of checking the number of targets in this embodiment is more accurate, faster and more efficient in data processing. It will not miss any inspections or make incorrect judgments, and can reduce the risk of abnormal target quantity leakage.

[0056] In some embodiments of the present invention, such as Figure 5 The diagram shows a flowchart of a method for checking the number of targets according to another embodiment of the present invention. Specifically, obtaining the graphic segmentation data of the substrate under test may include steps S11 and S12, as follows.

[0057] S11, Obtain the XML file containing the image segmentation data.

[0058] S12 uses Perl language to parse XML files and filter out the graphic segmentation data of the substrate under test.

[0059] Specifically, the panelization team needs to acquire pattern segmentation data and other process parameters, and then perform target fabrication and pattern segmentation based on these parameters. Furthermore, when checking the number of targets on the substrate to be tested after panel fabrication is complete, all process parameters, including pattern segmentation data, are also required. However, the pattern segmentation data cannot be obtained directly from the substrate; it can only be obtained from files sent by the MI (Mining and Inspection) team.

[0060] Therefore, when personnel at the MI (Mining Automation) position send all process parameters, including pattern segmentation data, to the panelization position, or provide pattern segmentation data for target quantity checks, the MI position can employ two data transmission methods. First, the MI position can directly send the pattern segmentation data of the substrate under test to a web interface (computer webpage) for display on a fixed page, facilitating viewing by on-site personnel and subsequent personnel. Second, since XML format files are unaffected by network fluctuations and website stability, offering better stability, the MI position can export all data in XML format and place it in a designated path. Upon receiving the XML file, the panelization position can parse it using Perl. Perl, a text analysis reporting language designed by Larry Wall, possesses strong processing and transformation capabilities for files and characters and can be used for programming under Unix environments. Parsing the XML file using Perl allows for step-by-step filtering according to the XML file format, ultimately retrieving the pattern segmentation data transmitted by the MI position. The entire output processing process is more stable.

[0061] In some embodiments of the present invention, such as Figure 6 The diagram shows a flowchart of a method for checking the number of targets according to another embodiment of the present invention, wherein obtaining the actual graphic data of the substrate under test, i.e., step S2 above specifically includes steps S21-S23.

[0062] S21: Obtain the actual graphic data of the substrate under test from the CAM system.

[0063] CAM systems are computer numerical control (CNC) programming software. Typically, after physical modeling is completed, a machining program is created on the computer and then transmitted to the machine tool via a card or Bluetooth for processing. Therefore, after the photoplotting data is transferred from the single-board station to the panelization station, the panelization station uses the data in the photoplotting data—that is, the design parameters of the substrate under test—to perform target fabrication and graphic segmentation, etc.

[0064] Furthermore, in some embodiments, during the PCB fabrication process, the design parameters of the substrate under test are synchronously stored in the CAM system. Additionally, during the fabrication process, processing data of the substrate under test, such as type, attributes, size, and target quantity, are also directly stored in the CAM system. Therefore, when inspecting the substrate under test, all the data from the photoplotting data—that is, the design parameters—can be directly obtained from the CAM system, along with the processing data of the substrate under test. This data constitutes the actual graphic data of the substrate under test.

[0065] The actual graphic data obtained from the CAM system can be in the form of code. Taking a network line as an example, the data obtained from the CAM system could be "#3#L 139.6044175 0.35 141.552.2955825r300P 0;.pattern_fill". Here, L represents a line, and this data includes the type, size, and attributes of the substrate under test. The number of targets read from the CAM system represents the actual number of targets on the substrate under test.

[0066] S22 uses the Perl language to filter the actual graphic data and arranges the actual graphic data according to a preset hierarchy.

[0067] S23, store the arranged actual graphic data into the first hash variable.

[0068] Specifically, after acquiring all the panel's graphic data, the data is filtered using the Perl language. The data is stored in the first hash variable according to the structure of panel layer number, drill type, number of graphic segments, auxiliary layers, and graphic parameters. The hash function processes any input in a specific way to generate a value, which is equivalent to the address where the data is stored.

[0069] Based on the above, whether it is acquiring all the data of the substrate under test and storing it in the first hash variable, or using the hash key to index the JSON file, it is a pure data processing process. There is no need to perform graphical selection operations on the substrate under test, which saves control resources, shortens the data processing time, and ensures that the server has a high running speed when checking the number of targets.

[0070] In some embodiments of the present invention, such as Figure 7 The diagram shows a flowchart of a method for checking the number of targets according to another embodiment of the present invention, wherein the method for checking the number of targets further includes step S5, as follows.

[0071] S5, based on the comparison results, determines that the actual target quantity information and the standard target quantity information do not match, outputs the comparison results and displays them.

[0072] When discrepancies arise between the actual target quantity information and the standard target quantity information, the server can directly summarize and output the evasion results, presenting the results to the user in a user interface. For inspectors, the process of comparing the actual and standard target quantity information is automated, requiring no manual parameter confirmation. Only an output result is provided, preventing missed checks or incorrect judgments. Therefore, no programming skills are required from operational personnel, making it more convenient.

[0073] Furthermore, during automated target quantity checks, a JSON file is generated in a fixed path on the server according to pre-defined factory rules. A parameter maintenance interface is designed and access is controlled, making it accessible only to the panelization workstation. This panelization workstation designates an account to maintain and update the rules. In other words, maintenance and updates of the pre-defined factory rules are only accessible to the panelization workstation. When maintenance and updates of the pre-defined factory rules are needed, access to the backend is granted through a designated account. Since the pre-defined factory rules generate a uniform JSON text, only backend maintenance personnel maintain this JSON text, ensuring high maintainability and efficiency, and preventing situations where updated rules are not maintained.

[0074] Based on the above, the method for checking the number of targets proposed in the embodiments of the present invention achieves full automation in the checking process. It does not require graphic selection of the substrate under test, nor does it require manual confirmation of parameters. Compared with the traditional method of manually selecting target graphics, the data processing is more accurate, faster and more efficient, and there will be no missed checks or incorrect judgments, which can reduce the risk of abnormal target quantity leakage.

[0075] In addition, such as Figure 4 As shown, the imposition station not only has plate-making functions, but also inspection functions. This inspection function is a self-check by the personnel in the imposition station. It mainly checks a series of data output by the previous stations, such as the single-board station and the MI station, and can compensate for the customer's design.

[0076] In some embodiments of the present invention, such as Figure 8 The diagram shown is a block diagram of an apparatus for checking the number of targets according to an embodiment of the present invention, wherein the apparatus 10 for checking the number of targets includes a CAM system 1 and a server 2.

[0077] CAM system 1 stores the actual graphic data of the substrate under test. Specifically, during the board manufacturing process, the design parameters of the substrate under test, as well as processing data such as type, attributes, size, and number of targets, are stored in the CAM system. This data constitutes the actual graphic data of the substrate under test. Server 2 is connected to CAM system 1 and is configured with factory-preset rules for executing any of the above-mentioned methods for checking the number of targets.

[0078] Specifically, server 2 is used to perform the operation of checking the number of targets. The JSON file is stored on server 2, which can connect to the interface in CAM system 1. Therefore, when inspecting the substrate under test, server 2 can directly obtain all the data of the photoplotting data, i.e., the design parameters, from CAM system 1, as well as the processing data of the substrate under test. Furthermore, the number of targets obtained by server 2 from CAM system 1 is the actual number of targets on the substrate under test.

[0079] Furthermore, the specific process of server 2 obtaining the number of standard targets on the substrate under test based on the pre-set rules in the factory, according to the graphic segmentation data and design parameters, and comparing the actual number of targets with the number of standard targets to obtain the comparison results can be understood in conjunction with the above content, and will not be elaborated here.

[0080] The device 10 for checking the number of targets according to the present invention can achieve fully automated checking of the number of targets by setting preset rules in the server 2 and executing any of the above-mentioned methods for checking the number of targets. It does not require graphic selection operation on the substrate under test, nor does it require manual confirmation of parameters by personnel. It can improve the accuracy of data processing, improve processing efficiency, and prevent missed checks or judgment errors, thereby reducing the risk of abnormal target quantity outflow.

[0081] In some embodiments of the present invention, a computer-readable storage medium is also proposed, on which a computer program is stored. When the computer-readable storage medium is executed by a processor, it implements the method for checking the number of targets as described above. By setting the entire checking process to achieve full automation, the accuracy of data processing can be improved, the processing efficiency can be improved, and there will be no missed checks or incorrect judgments. The risk of abnormal target quantity leakage can be reduced.

[0082] Other configurations and operations of the apparatus 10 for checking the number of targets according to embodiments of the present invention are known to those skilled in the art and will not be described in detail here.

[0083] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.

[0084] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example.

[0085] Although embodiments of the invention have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims

1. A method for checking the number of targets, characterized in that, include: Obtain at least one of the following parameters of the substrate under test: number of board layers, drilling type, auxiliary layers, and pattern parameters; Obtain the XML file containing image segmentation data; The XML file is parsed using the Perl language to filter out the graphic segmentation data of the substrate under test; Obtain actual graphic data of the substrate under test, wherein the actual graphic data includes information on the actual number of targets on the substrate under test; The actual graphic data is filtered using the Perl language and arranged according to a preset hierarchy; The arranged actual graphic data is stored in the first hash variable; Based on the factory's preset rules, the standard target quantity information of the substrate under test is obtained according to the graphic segmentation data and design parameters. The factory's preset rules are JSON files of the standard target quantity information at different levels corresponding to the design parameters and the graphic segmentation data. The arranged actual graphic data is read into the JSON file; The JSON file is parsed using the Perl language to obtain the parsed data; The parsed data is stored in a second hash variable; Based on the actual graphic data stored in the first hash variable and the parsed data stored in the second hash variable, the actual target quantity information and the standard target quantity information are compared layer by layer to obtain the comparison results.

2. The method for checking the number of targets according to claim 1, characterized in that, The acquisition of the actual graphic data of the substrate under test includes: The actual graphic data of the substrate under test is obtained from the CAM system.

3. The method for checking the number of targets according to claim 1, characterized in that, Also includes: Based on the comparison results, if it is determined that the actual target quantity information and the standard target quantity information do not match, the comparison results are output and displayed.

4. The method for checking the number of targets according to claim 1, characterized in that, Before obtaining the actual number of targets on the substrate under test, the method further includes: A target is fabricated on the substrate under test according to the design parameters and the graphic segmentation data. The actual graphic data of the substrate under test is uploaded to the CAM system.

5. A device for checking the number of targets, characterized in that, include: A CAM system, wherein the CAM system stores the actual graphic data of the substrate under test; A server, connected to the CAM system, is configured with factory-preset rules for executing the method for checking the number of targets as described in any one of claims 1-4.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer-readable storage medium is executed by a processor, it implements the method for checking the number of targets as described in any one of claims 1-4.

Citation Information

Patent Citations

  • Slotted hole defect labeling method and device and storage medium

    CN111598832A

  • Layout image generation method and device, computer equipment and storage medium

    CN120852589A