PCB printing method, computer equipment and storage medium

By distinguishing between fixed and variable printing information, unifying the information hierarchy structure and D-code identification, the problem of inconsistent data formats among different MES systems is solved, achieving efficient, flexible and traceable PCB printing, and supporting the intelligent and automated transformation of PCB factories.

CN122018828APending Publication Date: 2026-05-12GUANGDONG ZHENGYE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUANGDONG ZHENGYE TECH CO LTD
Filing Date
2026-02-03
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

Existing PCB printing technologies require extensive customization due to the different printing information data formats provided by various MES systems. This increases costs and reduces production flexibility and efficiency, making it difficult to meet the demands of modern PCB production for high efficiency, flexibility, and traceability.

Method used

By distinguishing between fixed and variable printing information, and unifying the information hierarchy and D-code identification, the system can quickly adapt to and manage data formats from different MES systems, generate target printing information, and print it on the PCB, ensuring full-process traceability.

Benefits of technology

It significantly reduces the cost of customized development, improves production flexibility and efficiency, enables full traceability of PCB production, and supports the intelligent and automated transformation of PCB factories.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122018828A_ABST
    Figure CN122018828A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of PCB manufacturing, and discloses a PCB printing method, computer equipment and a storage medium, through innovatively introducing distinguishing between fixed printing information and variable printing information, and unifying an information hierarchical structure and a D code identifier, rapid adaptation and unified management of different MES system data formats are realized; according to the method, the customization development cost for different client MES systems is remarkably reduced, and the production flexibility and efficiency are greatly improved; in addition, the target printing information generated by the variable printing information and the fixed printing information is printed on the PCB, so that the traceability of the whole process of PCB production is ensured; the requirements of modern PCB production for high efficiency, flexibility and traceability are met, powerful support is provided for intelligent and automatic transformation of a PCB factory, and the technical progress of the whole industry is promoted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of PCB manufacturing technology, and in particular to a PCB printing method, computer equipment, and storage medium. Background Technology

[0002] With the continuous development of the PCB industry, PCB factories are gradually transforming towards intelligent and automated manufacturing. In this transformation process, achieving full-process traceability of PCB production information has become a key requirement for intelligent and automated manufacturing.

[0003] In the current market environment, traditional PCB character printing technologies, such as screen printing and laser engraving, are gradually becoming insufficient to meet the needs of modern production. At the same time, inkjet printing technology (hereinafter referred to as printing technology) continues to develop, with its printing quality and accuracy significantly improved, and has become an important means of achieving full-process traceability.

[0004] However, existing printing technologies face a significant problem: different MES (Manufacturing Execution System) systems provide printing information data in different formats, lacking a unified standard. This forces PCB manufacturers to undertake extensive customization work when adapting to different MES systems, increasing development costs and reducing production flexibility and efficiency.

[0005] Therefore, in order to meet the market's demand for efficient, flexible and traceable PCB printing, it is urgent to improve existing printing technologies to achieve rapid adaptation and unified management of different MES systems.

[0006] The above information is provided as background information only to aid in understanding the present invention, and does not constitute an assertion or admission that any of the above content can be used as prior art relative to the present invention. Summary of the Invention

[0007] This invention provides a PCB printing method, a computer device, and a storage medium to solve the problems existing in the prior art.

[0008] To achieve the above objectives, the present invention provides the following technical solution:

[0009] In a first aspect, the present invention provides a PCB printing method, the method comprising:

[0010] S101. Obtain fixed printing information, information hierarchy structure, code skipping rules for each level, D-code identification rules and position and posture information corresponding to various coding types from the production drawings.

[0011] S102. Obtain several variable printing information from the MES system;

[0012] S103. According to the information hierarchy structure, match each variable printing information with a corresponding D code identifier;

[0013] S104. Generate image information corresponding to the coding type based on the D-code identifier corresponding to each of the variable printing information; one type of D-code identifier corresponds to one type of coding type.

[0014] S105. Based on the position and orientation information, embed the image information corresponding to each variable printing information into the corresponding position of the fixed printing information to generate target printing information;

[0015] S106. Print the target printing information on the PCB.

[0016] Further, in the PCB printing method, step S101 includes:

[0017] S1011. Obtain fixed printing information and several D-code identifiers from the printing layer of the production drawing, and perform rasterization processing on the fixed printing information;

[0018] S1012. According to the production process requirements, the fixed printing information after rasterization is subjected to image optimization processing;

[0019] S1013. Obtain the stored information hierarchy structure;

[0020] S1014. Obtain position and orientation information from the reference layer of the production drawing, or receive position and orientation information manually added by the operator in the line layer of the production drawing in the form of positioning points and positioning boxes.

[0021] Furthermore, in the PCB printing method, the information hierarchy structure includes Pnl-Group-Set-Pcs.

[0022] Further, in the PCB printing method, step S102 includes:

[0023] S1021. Obtain several variable printing information and coding types related to the current production task from the MES system.

[0024] Further, in the PCB printing method, step S103 includes:

[0025] S1031. Determine the hierarchical position of each variable printable information according to the information hierarchy structure;

[0026] S1032. Match each of the variable printing information with a D-code identifier at the corresponding level position.

[0027] Further, in the PCB printing method, step S105 includes:

[0028] S1061. Perform expansion and contraction transformation on the target printing information to adapt to the actual size of the PCB;

[0029] S1062. Print the target printing information after expansion and contraction transformation onto the PCB.

[0030] Furthermore, in the PCB printing method, after step S106, the method further includes:

[0031] S107. After printing is completed, the target print information is uploaded and bound for traceability.

[0032] Furthermore, in the PCB printing method, after step S106, the method further includes:

[0033] S108. After printing is completed, the target printed information is read and the printing quality is rated based on the reading result.

[0034] In a second aspect, the present invention provides a computer device including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the PCB printing method provided in the first aspect above.

[0035] Thirdly, the present invention provides a computer-readable storage medium having computer-executable instructions stored thereon, the computer-executable instructions being executed by a computer processor to implement the PCB printing method provided in the first aspect above.

[0036] Compared with the prior art, the present invention has the following beneficial effects:

[0037] This invention provides a PCB printing method, computer equipment, and storage medium. By innovatively introducing a distinction between fixed and variable printing information and unifying the information hierarchy and D-code identification, it achieves rapid adaptation and unified management of data formats across different MES systems. This method not only significantly reduces the customized development costs for different customer MES systems but also greatly improves production flexibility and efficiency. Furthermore, by printing the target printing information generated from variable and fixed printing information onto the PCB, it ensures full traceability of the PCB production process. This not only meets the demands of modern PCB production for efficiency, flexibility, and traceability but also provides strong support for the intelligent and automated transformation of PCB factories, driving technological progress across the entire industry.

[0038] The present invention has other features and advantages, which will be apparent from or will be set forth in detail in the accompanying drawings and the following detailed description, which together serve to explain the particular principles of the invention. Attached Figure Description

[0039] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0040] Figure 1 This is one of the flowcharts of a PCB printing method provided in Embodiment 1 of the present invention;

[0041] Figure 2 This is a further detailed flowchart of S101 provided in Embodiment 1 of the present invention;

[0042] Figure 3 This is a second schematic flowchart of a PCB printing method provided in Embodiment 1 of the present invention;

[0043] Figure 4 This is a further detailed flowchart of S103 provided in Embodiment 1 of the present invention;

[0044] Figure 5 This is a further detailed flowchart of S106 provided in Embodiment 1 of the present invention;

[0045] Figure 6 This is the third flowchart of a PCB printing method provided in Embodiment 1 of the present invention;

[0046] Figure 7 This is the fourth flowchart of a PCB printing method provided in Embodiment 1 of the present invention;

[0047] Figure 8 This is a schematic diagram of the structure of a computer device provided in Embodiment 2 of the present invention. Detailed Implementation

[0048] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0049] Example 1

[0050] Please refer to Figure 1 This is a flowchart illustrating a PCB printing method according to Embodiment 1 of the present invention. This method is applicable to scenarios involving information printing on PCBs and can be implemented using software and / or hardware. The method specifically includes the following steps:

[0051] S101. Obtain fixed printing information, information hierarchy structure, several D-code identifiers, and position and orientation information from the production drawings;

[0052] It should be noted that some information remains relatively constant during PCB manufacturing, such as the PCB model, version number, and manufacturer's name. This information is clearly marked in the production drawings. Obtaining this fixed printing information from the production drawings ensures that this basic information is accurately presented on the PCB during subsequent printing.

[0053] Information hierarchy defines the hierarchical relationships between different types of information. For example, in PCB information, there may be different levels such as overall product information, batch information, and individual PCB information. A clear information hierarchy helps to organize and arrange printing information logically, making the information presented on the PCB clearer and more organized.

[0054] The information hierarchy is a logical framework for organizing information. It defines packaging or production units from large to small, including Pnl-Group-Set-Pcs.

[0055] A single PCB board (Pnl, Panel) may contain multiple Sets, and each Set may contain multiple Pcs. This board structure can be a three-level structure of Pnl-Set-Pcs or a two-level structure of Pnl-Set, depending on production needs and design requirements.

[0056] Furthermore, a Group is a coding information structure built on top of the Pnl-Set-Pcs hierarchy, used to organize and classify different types of codes. For example, one Group might contain a set of serial numbers, and another Group might contain a set of QR codes. Each Group corresponds to a specific type of code. For instance, one Group might contain all serial numbers with a D-code identifier of 250, another Group might contain all serial numbers with a D-code identifier of 260, and yet another Group might contain all QR codes with a D-code identifier of 350. This grouping method enables more efficient management and application of different coding information during the production process, ensuring that each code accurately corresponds to its respective level and type, thereby improving production efficiency and the accuracy of information management.

[0057] This structure determines how variable printing information is distributed across different levels.

[0058] Coding types may include different forms such as QR codes, barcodes, and serial numbers. The D-code identification rules specify how each coding type should be encoded, that is, what coding type should be printed in subsequent printing to accurately represent the corresponding information.

[0059] For example, serial numbers are identified by 250, 260, and 270, while QR codes are identified by 350, 360, and 370.

[0060] Position and orientation information refers to the specific location of the information to be printed on the PCB and its orientation (such as direction and angle) during printing. Clarifying this information ensures that the information to be printed is accurately placed in the pre-designed position on the PCB, guaranteeing that the printing effect meets the requirements of the production drawings.

[0061] S102. Obtain several variable printing information from the MES system;

[0062] It's important to note that MES (Manufacturing Execution System) is a system used to manage the production process, storing various dynamic information related to production. This information is variable during the production process and is therefore called variable print information. Variable print information includes, but is not limited to, production order number, production time, and operator information. This information is updated and adjusted in real time according to specific production tasks and operational conditions during production. The purpose of obtaining this variable print information from the MES system is to enable the real-time printing of this dynamic information onto the PCB during the PCB printing process, ensuring the timeliness and accuracy of production information, thereby improving the transparency and traceability of the production process.

[0063] S103. According to the information hierarchy structure, match each variable printing information with a corresponding D code identifier;

[0064] It's important to note that the information hierarchy clearly defines the relationships between different levels of information. The purpose of this step is to match the variable print information obtained from the MES system with the D-code identifiers defined in the production drawings. This matching ensures that each variable print information accurately corresponds to its respective level and type. For example, if a variable print information is a serial number, it will be matched to the corresponding D-code identifier (such as 250), thus ensuring that the serial number is correctly printed on the PCB during subsequent printing.

[0065] S104. Generate image information corresponding to the coding type based on the D-code identifier corresponding to each of the variable printing information;

[0066] It's important to note that the purpose of this step is to convert the matched variable print information into specific image information. Based on the D-code identifier corresponding to each variable print information, its coding type (such as QR code, barcode, serial number, etc.) is determined, and the corresponding image information is generated. For example, if the D-code identifier of a variable print information is 350, indicating that it is a QR code, then this step will generate a QR code image. The generated image information will be used in the subsequent printing process to ensure that the variable print information is presented correctly on the PCB.

[0067] S105. Based on the position and orientation information, embed the image information corresponding to each variable printing information into the corresponding position of the fixed printing information to generate target printing information;

[0068] It should be noted that the position and orientation information determines the location and orientation of the fixed print information on the PCB. When embedding variable print information, it is necessary to accurately place the variable print information in the corresponding position of the fixed print information according to the same position and orientation requirements to ensure that the layout of the print information on the PCB is reasonable, aesthetically pleasing, and meets the design requirements of the production drawings.

[0069] After the above operations of embedding variable printing information into fixed printing information, a complete set of information containing all the information that needs to be printed on the PCB is formed, namely the target printing information. This target printing information is the basis for the content that is actually printed on the PCB.

[0070] S106. Print the target printing information on the PCB.

[0071] It should be noted that this step involves actually outputting the previously generated target printing information onto the PCB using a printing device. Through printing technology, various information is accurately presented on the PCB surface according to the content and layout of the target printing information, completing the PCB information printing process. This gives the PCB traceability and identifiability, meeting the requirements of production and use.

[0072] In summary, this invention, by distinguishing between fixed and variable printing information and unifying related rules, achieves rapid adaptation and unified management of data formats across different MES systems. This means that regardless of the different data formats of the MES systems, standardized processing can be performed uniformly, reducing development workload caused by system differences and significantly lowering the customized development costs for different customer MES systems. This is because it eliminates the need to develop complex information processing and printing logic for each different MES system, greatly improving production flexibility and efficiency. Furthermore, the more standardized and automated information processing and generation processes enable rapid response to changes in production needs. Printing the target printing information on the PCB ensures full traceability of the PCB production process, meeting the demands of modern PCB production for efficiency, flexibility, and traceability. This provides strong support for the intelligent and automated transformation of PCB factories and promotes technological progress throughout the industry.

[0073] Please refer to Figure 2 In one embodiment of this example, step S101 can be further refined to include the following sub-steps:

[0074] S1011. Obtain fixed printing information and several D-code identifiers from the printing layer of the production drawing, and perform rasterization processing on the fixed printing information;

[0075] It's important to note that production drawings typically contain multiple layers, each with different functions and information. The print layer is specifically designed to define the content to be printed on the PCB. This layer contains fixed information such as the PCB model number, version number, and manufacturer identification. Obtaining this fixed print information from this layer ensures that the information retrieved is accurate and directly relevant to printing, avoiding the acquisition of incorrect information from other unrelated layers. Additionally, the print layer also contains several D-code identifiers, which are used for subsequent encoding and printing processing.

[0076] Rasterization is the process of converting continuous image information into discrete raster (pixel) form. Rasterizing fixed print information has two advantages: firstly, it converts the print information into a digital format that computers can process and store more easily, facilitating subsequent image optimization and other operations; secondly, the rasterized information allows for more precise control of the printing position and state of each point during printing, improving printing accuracy and quality, and making printed text, graphics, etc., clearer and more regular.

[0077] S1012. According to the production process requirements, the fixed printing information after rasterization is subjected to image optimization processing;

[0078] It should be noted that different PCB manufacturing processes have different requirements for the quality and presentation of printed information. For example, some high-precision PCBs may require sharper and clearer edges for printed text and more uniform lines for graphics; while PCBs made of certain special materials may have specific requirements for ink adhesion, abrasion resistance, etc. Based on these specific manufacturing process requirements, the printed information is optimized accordingly.

[0079] Optimization processing may include various operations, such as sharpening to enhance the edge contrast of text and graphics, making them clearer and more legible; smoothing to reduce noise and jagged edges in the image, resulting in a more refined print; and contrast adjustment to improve the visibility of printed information against different backgrounds. Through these image optimization processes, it is possible to ensure that the printed information meets production process standards after being printed on the PCB, thereby improving product quality.

[0080] S1013. Obtain the stored information hierarchy structure;

[0081] It should be noted that this information is usually predefined and stored in a specific location (such as a database, configuration file, etc.) during the system design or production planning phase.

[0082] Obtaining the stored information hierarchy is crucial for organizing and arranging print information logically in subsequent steps. For example, the information hierarchy might include levels such as Pnl (Panel), Group, Set, and Pcs, which determine the layout and printing order of information on the PCB. By acquiring this hierarchy, we can ensure that the printed information is presented more clearly and systematically on the PCB, facilitating management and quality control during production.

[0083] S1014. Obtain position and orientation information from the reference layer of the production drawing, or receive position and orientation information manually added by the operator in the line layer of the production drawing in the form of positioning points and positioning boxes.

[0084] It's important to note that the reference layer in production drawings is specifically designed to define various reference information, including position and orientation information. Position and orientation information refers to the specific location of the information to be printed on the PCB and its orientation during printing (such as direction and angle). Obtaining this information from the reference layer ensures that the obtained position data is designed and planned. This data typically matches the overall layout and design requirements of the PCB, guaranteeing that the printed information is accurately printed in the pre-designed positions.

[0085] In some cases, it may be necessary to manually adjust the position and orientation information based on actual production needs or special circumstances. Operators can specify the position and orientation of fixed printing information by adding positioning points and positioning frames on the line layer of the production drawings. Positioning points serve as reference points for the printing information, while positioning frames define the range and direction of the printing information. Normally, the position and orientation information is considered positive when the positioning point is located at the upper left corner of the positioning frame. Receiving this manually added information increases the flexibility and adaptability of position and orientation information determination, meeting the needs of some special production scenarios.

[0086] Please refer to Figure 3 In one embodiment of this example, in Figure 1 Based on this, S102 can be further refined to include the following sub-steps:

[0087] S1021. Obtain several variable printing information related to the current production task from the MES system.

[0088] It should be noted that obtaining variable printing information from the MES system can ensure that the obtained information is highly matched with the current production task, avoiding production errors caused by information mismatch, such as printing the wrong product number or using an inappropriate coding method.

[0089] By interacting with the MES system, production task information is closely integrated with the printing process, achieving information integration across different stages of the production workflow. This helps improve the transparency and controllability of the production process, enabling production managers to monitor production progress and printing status in real time.

[0090] Please refer to Figure 4 In one embodiment of this example, step S103 can be further refined to include the following sub-steps:

[0091] S1031. Determine the hierarchical position of each variable printable information according to the information hierarchy structure;

[0092] It should be noted that the information hierarchy systematically categorizes various types of information in production. Clearly defining the hierarchy to which each variable printable information belongs ensures the accuracy of subsequent update operations and avoids information confusion.

[0093] The purpose of this step is to determine the specific hierarchical position of each variable printable message by analyzing the information hierarchy. By clearly defining the hierarchical position of each variable printable message, it can be ensured that this information can be accurately placed in the corresponding position on the PCB during subsequent printing.

[0094] S1032. Match each of the variable printing information with a D-code identifier at the corresponding level position.

[0095] It should be noted that after determining the hierarchical position of each variable print information, the next step is to match these variable print information with the corresponding D-code identifier.

[0096] The purpose of this step is to match each variable print information with a D-code identifier for its corresponding hierarchical position. This matching ensures that each variable print information can be correctly identified and processed in subsequent printing processes.

[0097] By refining step S103 into two sub-steps, S1031 and S1032, this embodiment provides a more systematic method for processing variable printing information. First, the hierarchical structure of the information is analyzed to determine the hierarchical position of each variable printing information; then, each variable printing information is matched with its corresponding D-code identifier. This refined method not only improves the accuracy of information processing but also enhances the system's flexibility and adaptability, ensuring the efficiency and reliability of the PCB printing process.

[0098] Please refer to Figure 5 In one embodiment of this example, step S106 can be further refined to include the following sub-steps:

[0099] S1061. Perform expansion and contraction transformation on the target printing information to adapt to the actual size of the PCB;

[0100] It should be noted that during the actual production of PCBs, due to factors such as material properties and manufacturing processes, the actual dimensions of the PCB may deviate from the design dimensions. Scaling the target printing information can compensate for this manufacturing error, ensuring that the printed information is accurately presented in the designated position on the PCB and avoiding misalignment or incomplete printing due to dimensional deviations.

[0101] PCBs come in various specifications and sizes, and even the same design may exhibit dimensional differences between different production batches. By using scaling adjustments, the target print information can be adapted to PCBs of different specifications and sizes, improving the versatility and flexibility of printing solutions and reducing the cost and workload of designing print information separately for PCBs of different specifications.

[0102] S1062. Print the target printing information after expansion and contraction transformation onto the PCB.

[0103] It should be noted that accurately printing the target information, after expansion and contraction transformation, onto the PCB provides the PCB with necessary identification information, such as product model, production date, batch number, and serial number. This identification information is of great significance for PCB production management, quality traceability, and after-sales service.

[0104] Please refer to Figure 6 In one embodiment of this example, after step S106, the method further includes:

[0105] S107. After printing is completed, the target print information is uploaded and bound for traceability.

[0106] It should be noted that during the PCB manufacturing process, the printed information includes important product identifiers such as product model, production batch, and serial number. Uploading and binding this target printed information allows for quick and accurate tracing of each stage of the production process when product quality issues arise, identifying the cause and responsibility for the problem, and enabling timely improvement and recall measures.

[0107] Specifically, by tracing the printed information, companies can understand the production progress and quality status of their products, providing a basis for formulating and adjusting production plans. Simultaneously, they can analyze data from the production process to identify potential problems and areas for improvement, optimize production processes, and enhance production efficiency and product quality.

[0108] Understandably, effective data security measures are necessary to prevent data leakage and tampering during the uploading and storage of target print information. Encryption technology can be used to encrypt the data, and access control can be set to ensure that only authorized personnel can access and manipulate the data. At the same time, relevant privacy laws and standards must be complied with to protect users' privacy information.

[0109] Please refer to Figure 7 In one embodiment of this example, after step S106, the method further includes:

[0110] S108. After printing is completed, the target printed information is read and the printing quality is rated based on the reading result.

[0111] It is important to note that the accuracy, clarity, and completeness of printed information are crucial in PCB manufacturing. By reading the codes and rating the quality based on the results, PCBs with substandard printing quality can be identified in a timely manner, preventing them from entering subsequent production stages or the market, thereby ensuring the quality of the final product.

[0112] Furthermore, rating print quality can collect a large amount of quality data, which is of great value for analyzing problems in the production process and optimizing printing processes and equipment parameters. Statistical analysis of quality rating data from different batches and time periods can reveal patterns and trends in quality fluctuations, providing a basis for production management decisions.

[0113] Although this invention makes frequent use of terms such as production drawings, information hierarchy, and code skipping rules, the possibility of using other terms is not excluded. These terms are used merely to facilitate the description and explanation of the essence of this invention; interpreting them as any additional limitation would contradict the spirit of this invention.

[0114] Example 2

[0115] Figure 8 This is a schematic diagram of the structure of a computer device provided in Embodiment 2 of the present invention. Figure 8 A block diagram of an exemplary computer device 12 suitable for implementing embodiments of the present invention is shown. Figure 8 The computer device 12 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present invention.

[0116] like Figure 8 As shown, the computer device 12 is represented in the form of a general-purpose computing device. The components of the computer device 12 may include, but are not limited to: one or more processors or processing units 16, system memory 28, and bus 18 connecting different system components (including system memory 28 and processing unit 16).

[0117] Bus 18 represents one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. For example, these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.

[0118] Computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer device 12, including volatile and non-volatile media, removable and non-removable media.

[0119] System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. Computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be used to read and write non-removable, non-volatile magnetic media (…). Figure 8 Not shown; usually referred to as a "hard drive"). Although Figure 8 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk") and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of the present invention.

[0120] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Program modules 42 typically perform the functions and / or methods described in the embodiments of the present invention.

[0121] Computer device 12 can also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), and with one or more devices that enable a user to interact with the computer device 12, and / or with any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed via input / output (I / O) interface 22. Furthermore, computer device 12 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 20. As shown, network adapter 20 communicates with other modules of computer device 12 via bus 18. It should be understood that, although... Figure 8 As not shown, it can be used in conjunction with computer device 12 with other hardware and / or software modules, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0122] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing the PCB printing method provided in the embodiments of the present invention.

[0123] Example 3

[0124] Embodiment 3 of the present invention provides a computer-readable storage medium storing computer-executable instructions thereon, which, when executed by a processor, implement the PCB printing method provided in all embodiments of the present invention.

[0125] Any combination of one or more computer-readable media may be used. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium can be, for example—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device.

[0126] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of sending, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.

[0127] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including—but not limited to—wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0128] Computer program code for performing the operations of this invention can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0129] Finally, it should be noted that although the above embodiments have been described in the description and drawings of this invention, this should not limit the scope of patent protection of this invention. Any technical solutions that are based on the essential concept of this invention, utilize the content described in the description and drawings of this invention to make equivalent structural or procedural substitutions or modifications, as well as the direct or indirect application of the technical solutions of the above embodiments to other related technical fields, are all included within the scope of patent protection of this invention.

Claims

1. A PCB printing method, characterized in that, The method includes: S101. Obtain fixed printing information, information hierarchy structure, several D-code identifiers, and position and orientation information from the production drawings; S102. Obtain several variable printing information from the MES system; S103. According to the information hierarchy structure, match each variable printing information with a corresponding D code identifier; S104. Generate image information corresponding to the coding type based on the D-code identifier corresponding to each of the variable printing information; S105. Based on the position and orientation information, embed the image information corresponding to each variable printing information into the corresponding position of the fixed printing information to generate target printing information; S106. Print the target printing information on the PCB.

2. The PCB printing method according to claim 1, characterized in that, S101 includes: S1011. Obtain fixed printing information and several D-code identifiers from the printing layer of the production drawing, and perform rasterization processing on the fixed printing information; S1012. According to the production process requirements, the fixed printing information after rasterization is subjected to image optimization processing; S1013. Obtain the stored information hierarchy structure; S1014. Obtain position and orientation information from the reference layer of the production drawing, or receive position and orientation information manually added by the operator in the line layer of the production drawing in the form of positioning points and positioning boxes.

3. The PCB printing method according to claim 2, characterized in that, The information hierarchy structure includes Pnl-Group-Set-Pcs.

4. The PCB printing method according to claim 1, characterized in that, S102 includes: S1021. Obtain several variable printing information related to the current production task from the MES system.

5. The PCB printing method according to claim 1, characterized in that, S103 includes: S1031. Determine the hierarchical position of each variable printable information according to the information hierarchy structure; S1032. Match each of the variable printing information with a D-code identifier at the corresponding level position.

6. The PCB printing method according to claim 1, characterized in that, S106 includes: S1061. Perform expansion and contraction transformation on the target printing information to adapt to the actual size of the PCB; S1062. Print the target printing information after expansion and contraction transformation onto the PCB.

7. The PCB printing method according to claim 1, characterized in that, Following S106, the method further includes: S107. After printing is completed, the target print information is uploaded and bound for traceability.

8. The PCB printing method according to claim 7, characterized in that, Following S106, the method further includes: S108. After printing is completed, the target printed information is read and the printing quality is rated based on the reading result.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the PCB printing method as described in any one of claims 1-8.

10. A computer-readable storage medium having computer-executable instructions stored thereon, characterized in that, The computer-executable instructions are executed by a computer processor to implement the PCB printing method as described in any one of claims 1-8.