High-speed wire screen printing method, system, terminal and storage medium

By obtaining and adjusting the silk screen frame list and starting point coordinates, the silk screening on the PCB board that affects the high-speed line signal quality is automatically eliminated, which solves the problem of overlap or distance in the prior art that does not meet the requirements, and improves the accuracy and efficiency of the design.

CN116113156BActive Publication Date: 2025-07-11INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211623029.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-16
Publication Date
2025-07-11
Estimated Expiration
2042-12-16

AI Technical Summary

Technical Problem

The prior art cannot automatically eliminate the part of the high-speed line and silk screen overlap or the distance does not meet the requirements in PCB board design, resulting in a decrease in signal quality and low design efficiency, requiring manual intervention, and errors and omissions.

Method used

Provide a method and system to obtain high-speed line information, filter the silk screen frame list and starting point coordinates that do not meet the conditions, adjust the silk screen starting point coordinates, and automatically eliminate silk screen that affects the signal quality of high-speed line, including the steps of obtaining the maximum number of intersections and adjusting the coordinates of silk screen starting point.

Benefits of technology

It realizes the automatic elimination of overlapping points and distances that do not meet the requirements, improves the accuracy and efficiency of PCB design, and reduces the error of manual intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116113156B_ABST
    Figure CN116113156B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of PCB board design, and specifically relates to a method, system, terminal and storage medium for eliminating high-speed wire silk printing. The method includes the following steps: obtaining high-speed wire information to be inspected; obtaining a list of silk printing frames linelistJJ that do not meet the conditions and the starting point coordinates linesListXY corresponding to each silk printing frame based on the high-speed wire information; obtaining the maximum number of intersection points linePointNumEND; adjusting the starting point coordinates lineXY of the silk printing that affects the signal quality of the high-speed wire; and eliminating the silk printing that affects the high-speed wire. The present invention realizes the automatic elimination of silk printing with multiple overlapping points, non-overlapping but with a distance less than the requirement of the board factory and a distance less than a fixed distance D from the high-speed wire.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of PCB board design, and particularly to a method, system, terminal and storage medium for eliminating the silk screen of high-speed lines. Background Art

[0002] In PCB design, the silk screen itself has a certain relative permittivity Er, which is a non-1 value, and the relative permittivity of air is equal to 1. Since different relative permittivities will affect the electrical performance of high-speed lines, the silk screen that affects the performance of high-speed lines needs to be removed to ensure the electrical performance of high-speed lines.

[0003] However, currently, the method of cutting off the overlapping or non-conforming silk screen in the PCB board can only solve the situation where the silk screen overlaps with the high-speed line. However, in actual PCB design, considering the deviation of the silk screen production during the processing of the PCB board, it is required that in PCB design, any high-speed line overlapping with the silk screen or the distance not meeting a fixed value should be removed. As Figure 4 shown.

[0004] The current tools and methods cannot meet the automatic elimination Figure 4 situation, and manual judgment of non-conforming silk screens is still required to manually remove the part that affects the signal quality of high-speed lines, which is prone to errors and omissions, with low accuracy and low work efficiency, thus resulting in low efficiency of PCB design. Summary of the Invention

[0005] In order to solve the above technical problems existing in the prior art, the present invention provides a method, system, terminal and storage medium for eliminating the silk screen of high-speed lines.

[0006] To achieve the above object, the embodiments of the present invention provide the following technical solutions:

[0007] In a first aspect, in an embodiment provided by the present invention, a method for eliminating the silk screen of high-speed lines is provided, and the method includes the following steps:

[0008] Obtain the high-speed line information to be inspected;

[0009] Based on the high-speed line information, obtain a list of silk screen frames linelistJJ that do not meet the conditions and the starting point coordinates linesListXY corresponding to each silk screen frame;

[0010] Obtain the maximum number of intersections linePointNumEND;

[0011] Adjust the starting point coordinates lineXY of the silk screen that affects the signal quality of the high-speed line;

[0012] Eliminate the silk screen that affects the high-speed line.

[0013] As a further solution of the present invention, obtaining the high-speed line information to be inspected includes the following steps:

[0014] Input the threshold D of the silk screen printing and the high-speed line, and enter the layer where the silk screen printing needs to be inspected and removed;

[0015] Screen all high-speed line clines attributes starting with "_DP" or "_DN", and put them into the list objlist.

[0016] As a further solution of the present invention, obtaining the list linelistJJ of silk screen frames that do not meet the conditions and the starting point coordinates linesListXY corresponding to each silk screen frame based on the high-speed line information includes the following steps:

[0017] Loop to take the elements in the list objlist and record them as item. Use the axlPolyExpand() function to expand the item high-speed line by the threshold D and record it as itemExpand;

[0018] Obtain the linesegs of each silk screen frame on the opened layer and put them into the linelist list;

[0019] Use axlPolyOperation() to perform an intersection operation on each element in linelist and itemExpand. If there is an intersection, store it in the list linelistJJ;

[0020] Take the starting coordinates startEnd of each element in the list linelistJJ and put them into the list linesListXY.

[0021] As a further solution of the present invention, the above-mentioned obtaining the maximum number of intersections linePointNumEND; includes the following steps:

[0022] Declare the variable linePointNumEND = 0; loop to take the element iteI in linelistJJ and perform an intersection operation with itemExpand after expanding each high-speed line by the threshold D. If the number of elements in the intersection list recorded as interPointList is greater than linePointNumEND, then linePointNumEND = the number of intersections, until the loop ends, and obtain the maximum number of intersections linePointNumEND.

[0023] As a further solution of the present invention, the above-mentioned adjusting the starting point coordinates lineXY of the silk screen printing that affects the high-speed line signal quality is specifically: loop to take the element itemI in linelistJJ and the corresponding starting point coordinates lineXY((x1 y1),(x2y2)).

[0024] As a further solution of the present invention, eliminating the silk printing affecting the high-speed line includes the following steps:

[0025] If the number of intersections linePointNumEND = 1, then take the line width corresponding to the silk printing itemI as lineWidth, the corresponding attribute parentDbid of itemI, the layer where itemI is located, and the BBOX of the elements in the interPointList list, as Figure 6 shown;

[0026] Take the starting point coordinates of lineXY and denote them as (X1, Y1), (X2, Y2);

[0027] Take the lower left and upper right coordinates of the BBOX and denote them as (pX1 pY1), (pX2 pY2);

[0028] Delete the silk printing itemI;

[0029] Based on the starting point coordinates of lineXY respectively, use the projection of the vector on the unit direction vector to determine the length of the new silk printing, draw two layers of new silk printing, and attach the original attribute parentDbid to the new silk printing.

[0030] As a further solution of the present invention, the steps of respectively based on the starting point coordinates of lineXY, using the projection of the vector on the unit direction vector to determine the length of the new silk printing, drawing silk printing one and silk printing two, and attaching the original attribute parentDbid to silk printing one and silk printing two include the following steps:

[0031] Step 1: Take the unit direction vector from the starting point to the ending point uniV1 = ((X2 - X1) / , (Y2 - Y1) / );

[0032] Step 2: The vector from the starting point to the lower left of the BBOX (pX1 - X1, pY1 - Y1);

[0033] Step 3: The distance of the newly drawn silk printing one from the starting point newDisTance1 = (X2 - X1) / * (pX1 - X1) + (Y2 - Y1) / ) * (pY1 - Y1) - lineWidth / 1.5;

[0034] Step 4: Draw the newly drawn silk printing one with the starting point and the distance newDisTance1, and attach the original attribute parentDbid to the silk printing one;

[0035] Step 5: Obtain the unit direction vector uniV2 from the end point to the start point, uniV2 = ((X1 - X2) / , (Y1 - Y2) / );

[0036] Step 6: The vector from the end point to the upper right of the BBOX (pX2 – X2, pY2 – Y2);

[0037] Step 7: The distance newDisTance2 from the newly drawn second silk screen to the end point = (X1 - X2) / * (pX2 – X2) + (Y1 - Y2) / ) * (pY2 – Y2) - lineWidth / 1.5;

[0038] Step 8: Draw the newly drawn second silk screen with the end point and newDisTance2 and assign the original attribute parentDbid to the second silk screen.

[0039] In a second aspect, in another embodiment provided by the present invention, a high-speed line silk screen elimination system is provided, and the system includes: a high-speed line information acquisition module, a non-conformity information acquisition module, an intersection number acquisition module, a coordinate adjustment module, and a silk screen elimination module;

[0040] The high-speed line information acquisition module is used to acquire the high-speed line information that needs to be inspected;

[0041] The non-conformity information acquisition module is used to acquire the list of silk screen frames linelistJJ that do not meet the conditions and the starting point coordinates linesListXY corresponding to each silk screen frame based on the high-speed line information;

[0042] The intersection number acquisition module is used to acquire the maximum number of intersections linePointNumEND;

[0043] The coordinate adjustment module is used to adjust the starting point coordinates lineXY of the silk screen that affects the high-speed line signal quality;

[0044] The silk screen elimination module is used to eliminate the silk screen that affects the high-speed line.

[0045] In a third aspect, in another embodiment provided by the present invention, a terminal is provided, including a memory and a processor. When the memory stores a computer program and the processor loads and executes the computer program, the steps of the high-speed line silk screen elimination method are implemented.

[0046] In a fourth aspect, in another embodiment provided by the present invention, a storage medium is provided, storing a computer program. When the computer program is loaded and executed by a processor, the steps of the high-speed line silk screen elimination method are implemented.

[0047] The technical solution provided by the present invention has the following beneficial effects:

[0048] The present invention provides a method, system, terminal and storage medium for eliminating silk-screen printing on high-speed lines. The present invention obtains high-speed line information that needs to be inspected; based on the high-speed line information, it obtains a list of silk-screen frames linelistJJ that do not meet the conditions and the starting point coordinates linesListXY corresponding to each silk-screen frame; obtains the maximum number of intersection points linePointNumEN; adjusts the starting point coordinates lineXY of the silk-screen printing that affects the signal quality of the high-speed line; eliminates the silk-screen printing that affects the high-speed line. The present invention realizes the automatic elimination of silk-screen printing with multiple overlapping points, non-overlapping but with a distance less than the requirement of the board factory and a distance less than the fixed distance D from the high-speed line.

[0049] These aspects or other aspects of the present invention will be more clearly understood in the following description of the embodiments. It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other embodiments can be obtained based on these drawings without creative efforts.

[0051] Figure 1 It is a flowchart of a method for eliminating silk-screen printing on high-speed lines according to an embodiment of the present invention;

[0052] Figure 2 It is a structural block diagram of a system for eliminating silk-screen printing on high-speed lines according to an embodiment of the present invention;

[0053] Figure 3 It is a structural block diagram of a terminal according to an embodiment of the present invention;

[0054] Figure 4 For the PCB board state Figure 1 ;

[0055] Figure 5 It is a diagram of the starting coordinates of the silk-screen frame;

[0056] Figure 6 For the PCB board state Figure 2 ;

[0057] Figure 7 It is a production drawing of the first silk-screen printing;

[0058] Figure 8For the elimination effect of high-speed wire screen printing;

[0059] Figure 9 It is a comparison diagram for the elimination of high-speed wire screen printing.

[0060] In the figure: high-speed wire information acquisition module - 100, non-conforming information acquisition module - 200, intersection number acquisition module - 300, coordinate adjustment module - 400, screen printing elimination module - 500, processor - 601, communication interface - 602, memory - 603, communication bus - 604. Specific implementation mode

[0061] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0062] The flowcharts shown in the accompanying drawings are only illustrative examples, and do not necessarily include all the contents and operations / steps, nor do they necessarily need to be executed in the described order. For example, some operations / steps can also be decomposed, combined, or partially merged, so the actual execution order may change according to the actual situation.

[0063] It should be understood that the terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms of "a", "an", and "the" are intended to include the plural forms.

[0064] Specifically, the embodiments of the present invention will be further elaborated below in conjunction with the accompanying drawings.

[0065] Please refer to Figure 1 , Figure 1 is a flowchart of a method for eliminating high-speed wire screen printing provided by an embodiment of the present invention. As Figure 1 shown, the method for eliminating high-speed wire screen printing includes steps S10 to step S50.

[0066] S10. Obtain the high-speed wire information that needs to be inspected;

[0067] In the embodiment of the present invention, obtaining the high-speed wire information that needs to be inspected includes the following steps:

[0068] Input the threshold D of the screen printing and the high-speed wire, and enter the layer where the screen printing to be removed needs to be inspected;

[0069] Filter all high-speed line clines attributes starting with "_DP" or "_DN" and put them into the list objlist.

[0070] S20. Obtain the list linelistJJ of silk screen frames that do not meet the conditions and the starting point coordinates linesListXY corresponding to each silk screen frame based on the high-speed line information;

[0071] In the embodiment of the present invention, the step S20 of obtaining the list linelistJJ of silk screen frames that do not meet the conditions and the starting point coordinates linesListXY corresponding to each silk screen frame based on the high-speed line information includes the following steps:

[0072] S201. Loop to take the elements in the list objlist and record them as item, and use the axlPolyExpand() function to expand the item high-speed line by the threshold D and record it as itemExpand;

[0073] S202. Obtain the linesegs of each silk screen frame on the opened layer and put them into the linelist list;

[0074] S203. Use axlPolyOperation() to perform an intersection operation on each element in linelist and itemExpand. If there is an intersection, store it in the list linelistJJ;

[0075] S204. Take the starting coordinates startEnd of each element in the list linelistJJ and put them into the list linesListXY.

[0076] S30. Obtain the maximum number of intersections linePointNumEND.

[0077] In the embodiment of the present invention, the step S30 of obtaining the maximum number of intersections linePointNumEND includes the following steps:

[0078] Declare the variable linePointNumEND = 0; loop to take the element iteI in linelistJJ and perform an intersection operation with itemExpand after expanding each high-speed line by the threshold D. If the number of elements in the intersection list recorded as interPointList is greater than linePointNumEND, then linePointNumEND = the number of intersections until the loop ends, and obtain the maximum number of intersections linePointNumEND.

[0079] S40. Adjust the starting point coordinates lineXY of the silk screen that affects the high-speed line signal quality.

[0080] In an embodiment of the present invention, the S40, adjusting the starting point coordinates lineXY of the silk screen printing affecting the high-speed line signal quality, specifically: circularly taking the element itemI of the linelistJJ, and the corresponding starting point coordinates lineXY((x1 y1),(x2 y2)).

[0081] In an embodiment of the present invention, to ensure the consistency of the subsequent line drawing algorithm, the starting coordinates of the silk screen frame are uniformly adjusted, and the rules are as follows: as follows Figure 5 shown:

[0082] If X2 < X1, then the starting point coordinates are swapped and adjusted;

[0083] If X2 = X1 and Y2 < Y1, the starting point coordinates are also swapped and adjusted;

[0084] To ensure X1 <= X2, Y1 <= Y2.

[0085] S50, eliminating the silk screen printing affecting the high-speed line.

[0086] In an embodiment of the present invention, the S50, eliminating the silk screen printing affecting the high-speed line, includes the following steps:

[0087] Judging the maximum number of intersections;

[0088] Eliminating the silk screen printing affecting the high-speed line according to the maximum number of intersections.

[0089] In an embodiment of the present invention, the S50, eliminating the silk screen printing affecting the high-speed line, includes the following steps:

[0090] S5011, if the number of intersections linePointNumEND = 1, then take the line width corresponding to the silk screen itemI and record it as lineWidth, the attribute parentDbid corresponding to itemI, the layer layer where itemI is located, and the BBOX of the elements in the interPointList list, as Figure 6 shown;

[0091] S5012, taking the starting point coordinates of lineXY and recording them as (X1, Y1), (X2, Y2);

[0092] S5013, taking the lower left and upper right coordinates of the BBOX and recording them as (pX1 pY1), (pX2 pY2);

[0093] S5014, deleting the silk screen itemI;

[0094] S5015. Based on the starting point coordinates of line XY respectively, use the projection of the vector on the unit direction vector to determine the length of the new silk screen printing, draw two new silk screen printings, and attach the original attribute parentDbid to the new silk screen printing.

[0095] The above-described S5015. Based on the starting point coordinates of line XY respectively, use the projection of the vector on the unit direction vector to determine the length of the new silk screen printing, draw Silk Screen Printing 1 and Silk Screen Printing 2, and attach the original attribute parentDbid to Silk Screen Printing 1 and Silk Screen Printing 2, including the following steps:

[0096] Step 1. Obtain the unit direction vector uniV1 from the starting point to the ending point: uniV1 = ((X2 - X1) / , (Y2 - Y1) / );

[0097] Step 2. The vector from the starting point to the lower left of the BBOX: (pX1 - X1, pY1 - Y1);

[0098] Step 3. The distance of the newly drawn Silk Screen Printing 1 from the starting point: newDisTance1 = (X2 - X1) / * (pX1 - X1) + (Y2 - Y1) / ) * (pY1 - Y1) - lineWidth / 1.5;

[0099] Step 4. Draw the newly drawn Silk Screen Printing 1 with the starting point and the distance newDisTance1, and attach the original attribute parentDbid to Silk Screen Printing 1; as Figure 7 shown.

[0100] Step 5. Obtain the unit direction vector uniV2 from the ending point to the starting point: uniV2 = ((X1 - X2) / , (Y1 - Y2) / );

[0101] Step 6. The vector from the ending point to the upper right of the BBOX: (pX2 – X2, pY2 – Y2);

[0102] Step 7. The distance of the newly drawn Silk Screen Printing 2 from the ending point: newDisTance2 = (X1 - X2) / * (pX2 – X2) + (Y1 - Y2) / ) * (pY2 – Y2) - lineWidth / 1.5;

[0103] Step 8. Draw the newly drawn Silk Screen Printing 2 with the ending point and newDisTance2 and attach the original attribute parentDbid to Silk Screen Printing 2, as Figure 8 described.

[0104] In an embodiment of the present invention, S50, eliminating the silk printing affecting the high-speed line, includes the following steps:

[0105] If there are multiple intersections, that is, linePointNumEND > 1, then in the first layer, loop through the elements item of the high-speed line list objlist. In the second layer, let i = 1, and until the loop is executed linePointNumEND times and the single intersection processing is completed, then exit the first layer loop.

[0106] The present invention realizes automatic elimination of silk printing with multiple overlapping points, non-overlapping but the distance less than the requirement of the board factory and the distance from the high-speed line less than the fixed distance D.

[0107] It should be understood that although the above is described in a certain order, these steps are not necessarily executed in the above order. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, a part of the steps in this embodiment may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least a part of other steps or steps in other steps.

[0108] In one embodiment, see Figure 2 As shown, in an embodiment of the present invention, a system for eliminating high-speed line silk printing is further provided. The system includes a high-speed line information acquisition module 100, a non-conformance information acquisition module 200, an intersection number acquisition module 300, a coordinate adjustment module 400, and a silk printing elimination module 500.

[0109] The high-speed line information acquisition module 100 is used to acquire the high-speed line information that needs to be inspected.

[0110] In an embodiment of the present invention, the high-speed line information acquisition module 100 acquires the high-speed line information that needs to be inspected, including the following steps:

[0111] Input the threshold D between the silk printing and the high-speed line, and enter the layer where the silk printing to be inspected and cut needs to be located;

[0112] Screen all the high-speed line clines attributes starting with "_DP" or "_DN", and put them in the list objlist.

[0113] The non-conformance information acquisition module 200 is used to obtain the list of silk printing frames linelistJJ that do not meet the conditions and the starting point coordinates linesListXY corresponding to each silk printing frame based on the high-speed line information.

[0114] In an embodiment of the present invention, the non-compliance information acquisition module 200 obtains a list of silk screen frames linelistJJ that do not meet the conditions and the starting point coordinates linesListXY corresponding to each silk screen frame based on the high-speed line information, including the following steps:

[0115] S201. Loop through the elements in the list objlist and denote the element as item. Use the axlPolyExpand() function to expand the high-speed line of item by the threshold D and denote it as itemExpand;

[0116] S202. Obtain the linesegs of each silk screen frame on the opened layer and put them into the linelist list;

[0117] S203. Use axlPolyOperation() to perform an intersection operation on each element in linelist and itemExpand. Those with intersections are stored in the list linelistJJ;

[0118] S204. Take the starting coordinates startEnd of each element in the list linelistJJ and put them into the list linesListXY.

[0119] The intersection number acquisition module 300 is used to obtain the maximum intersection number linePointNumEND.

[0120] In an embodiment of the present invention, the intersection number acquisition module 300 obtains the maximum intersection number linePointNumEND; including the following steps:

[0121] Declare the variable linePointNumEND = 0; loop through the elements iteI in linelistJJ and perform an intersection operation with itemExpand after expanding each high-speed line by the threshold D. If the number of elements in the intersection list denoted as interPointList is greater than linePointNumEND, then linePointNumEND = the number of intersections. Until the loop ends, obtain the maximum intersection number linePointNumEND.

[0122] The coordinate adjustment module 400 is used to adjust the starting point coordinates lineXY of the silk screen that affects the high-speed line signal quality.

[0123] In an embodiment of the present invention, the coordinate adjustment module 400 adjusts the starting point coordinates lineXY of the silk screen that affects the high-speed line signal quality, specifically: loop through the elements itemI in linelistJJ and the corresponding starting point coordinates lineXY((x1y1),(x2y2)).

[0124] In an embodiment of the present invention, to ensure the consistency of subsequent line drawing algorithms, the starting coordinates of the silk screen frame are uniformly adjusted, and the rules are as follows: as follows Figure 5 as shown:

[0125] If X2 < X1, then the starting point coordinates are swapped;

[0126] If X2 = X1 and Y2 < Y1, the starting point coordinates are also swapped;

[0127] To ensure X1 <= X2 and Y1 <= Y2.

[0128] The silk screen elimination module 500 is used to eliminate the silk screen that affects the high-speed line.

[0129] In an embodiment of the present invention, the silk screen elimination module 500 eliminates the silk screen that affects the high-speed line, including the following steps:

[0130] Judge the maximum number of intersections;

[0131] Eliminate the silk screen that affects the high-speed line according to the maximum number of intersections.

[0132] In an embodiment of the present invention, the silk screen elimination module 500 eliminates the silk screen that affects the high-speed line, including the following steps:

[0133] S5011. If the number of intersection points linePointNumEND = 1, then take the line width corresponding to the silk screen itemI as lineWidth, the corresponding attribute parentDbid of itemI, the layer where itemI is located, and the BBOX of the elements in the interPointList list, as Figure 6 shown;

[0134] S5012. Take the starting point coordinates of lineXY and record them as (X1, Y1), (X2, Y2);

[0135] S5013. Take the lower left and upper right coordinates of the BBOX and record them as (pX1, pY1), (pX2, pY2);

[0136] S5014. Delete the silk screen itemI;

[0137] S5015. Respectively based on the starting point coordinates of lineXY, use the projection of the vector on the unit direction vector to determine the length of the new silk screen, draw two layers of new silk screens, and attach the original attribute parentDbid to the new silk screen.

[0138] The S5015 respectively determines the length of the new silk screen by using the projection of the vector on the unit direction vector based on the starting point coordinates of line XY, draws silk screen one and silk screen two, and attaches the original attribute parentDbid to silk screen one and silk screen two, including the following steps:

[0139] Step 1: Take the unit direction vector uniV1 from the starting point to the ending point = ((X2 - X1) / , (Y2 - Y1) / );

[0140] Step 2: The vector from the starting point to the lower left of the BBOX (pX1 - X1, pY1 - Y1);

[0141] Step 3: The distance newDisTance1 of the newly drawn silk screen one from the starting point = (X2 - X1) / * (pX1 - X1) + (Y2 - Y1) / ) * (pY1 - Y1) - lineWidth / 1.5;

[0142] Step 4: The newly drawn silk screen one is drawn with the starting point and the distance newDisTance1, and the original attribute parentDbid is attached to the silk screen one;

[0143] Step 5: Take the unit direction vector uniV2 from the ending point to the starting point = ((X1 - X2) / , (Y1 - Y2) / );

[0144] Step 6: The vector from the ending point to the upper right of the BBOX (pX2 – X2, pY2 – Y2);

[0145] Step 7: The distance newDisTance2 of the newly drawn silk screen two from the ending point = (X1 - X2) / * (pX2 – X2) + (Y1 - Y2) / ) * (pY2 – Y2) - lineWidth / 1.5;

[0146] Step 8: The newly drawn silk screen two is drawn with the ending point and newDisTance2 and the original attribute parentDbid is attached to the silk screen two.

[0147] In the embodiment of the present invention, the silk screen elimination module 500 eliminates the silk screens that affect the high-speed lines, including the following steps:

[0148] If there are multiple intersections, that is, linePointNumEND > 1, then in the first layer, loop through the high-speed line list objlist to obtain elements item. In the second layer, set i = 1 and loop linePointNumEND times until a single intersection is processed and then exit the first-layer loop.

[0149] In one embodiment, refer to Figure 3 As shown, in an embodiment of the present invention, a terminal is further provided, including a processor 601, a communication interface 602, a memory 603, and a communication bus 604. Among them, the processor 601, the communication interface 602, and the memory 603 complete mutual communication through the communication bus 604.

[0150] The memory 603 is used to store computer programs;

[0151] The processor 601, when executing the computer program stored on the memory 603, executes the above-mentioned method for eliminating high-speed line silk printing. When the processor executes the instructions, it implements the steps in the above method embodiment.

[0152] The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of simplicity, only a thick line is used to represent it in the figure, but it does not mean that there is only one bus or one type of bus.

[0153] The communication interface is used for communication between the above terminal and other devices.

[0154] The memory may include a Random Access Memory (RAM), or may also include a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located far from the aforementioned processor.

[0155] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU for short), a network processor (NP for short), etc.; it can also be a digital signal processor (DSP for short), an application specific integrated circuit (ASIC for short), a field-programmable gate array (FPGA for short), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0156] The terminal includes a user device and a network device. Among them, the user device includes, but is not limited to, a computer, a smart phone, a PDA, etc.; the network device includes, but is not limited to, a single network server, a server group composed of multiple network servers, or a cloud composed of a large number of computers or network servers based on cloud computing. Among them, cloud computing is a type of distributed computing, which consists of a super virtual computer formed by a group of loosely coupled computer sets. Among them, the terminal can run independently to implement the present invention, or can be connected to the network and implement the present invention through interaction with other terminals in the network. Among them, the network where the terminal is located includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, etc.

[0157] It should also be understood that the term "and / or" used in the specification and claims of the present invention refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0158] In an embodiment of the present invention, a storage medium is further provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above method embodiment are implemented.

[0159] Those of ordinary skill in the art can understand that all or part of the processes in the above method embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the above method embodiments. Among them, any reference to a memory, storage, database, or other medium used in the various embodiments provided by the present invention can include at least one of non-volatile and volatile memories.

[0160] It should be understood that, as used herein, unless the context clearly supports the exception, the singular form "a" is also intended to include the plural form. It should also be understood that "and / or" as used herein refers to any and all possible combinations of one or more of the associated listed items. The serial numbers of the disclosed embodiments of the present invention above are only for description and do not represent the superiority or inferiority of the embodiments.

[0161] Those of ordinary skill in the art should understand that the discussion of any of the above embodiments is only exemplary and is not intended to imply that the scope of the disclosure of the embodiments of the present invention (including the claims) is limited to these examples; under the concept of the embodiments of the present invention, the technical features in the above embodiments or different embodiments can also be combined, and there are many other variations in different aspects of the embodiments of the present invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omission, modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of the present invention shall be included within the protection scope of the embodiments of the present invention.

Claims

1. A method for eliminating high-speed wire screen printing, characterized in that, The method includes: obtaining high-speed line information to be inspected; obtaining a list of silk-screen frames linelistJJ that do not meet the conditions and the starting point coordinates linesListXY corresponding to each silk-screen frame based on the high-speed line information; obtaining the maximum number of intersections linePointNumEND; adjusting the starting point coordinates lineXY of the silk-screen that affects the signal quality of the high-speed line; eliminating the silk-screen that affects the high-speed line; Among them, obtaining the high-speed line information to be inspected includes the following steps: inputting the threshold D between the silk-screen and the high-speed line, and entering the layer where the silk-screen to be inspected and cut needs to be inspected; screening all high-speed line clines attributes starting with "_DP" or "_DN" and putting them into the list objlist; Obtaining a list of silk-screen frames linelistJJ that do not meet the conditions and the starting point coordinates linesListXY corresponding to each silk-screen frame based on the high-speed line information includes the following steps: looping through the elements in the list objlist and denoting them as item, using the axlPolyExpand() function to expand the item high-speed line by the threshold D and denoting it as itemExpand; obtaining the linesegs of each silk-screen frame on the opened layer and putting them into the linelist list; using axlPolyOperation() to perform an intersection operation on each element in the linelist and the itemExpand, and if there is an intersection, storing it in the list linelistJJ; taking the starting coordinates startEnd of each element in the list linelistJJ and putting them into the list linesListXY; The obtaining of the maximum number of intersections linePointNumEND includes the following steps: declaring the variable linePointNumEND = 0; looping through the elements iteI in linelistJJ and performing an intersection operation with the itemExpand after expanding each high-speed line by the threshold D. If the number of elements in the intersection list denoted as interPointList is greater than linePointNumEND, then linePointNumEND = the number of intersections, until the loop ends to obtain the maximum number of intersections linePointNumEND; The adjustment of the starting point coordinates lineXY of the silk-screen that affects the signal quality of the high-speed line is specifically: looping through the elements itemI in linelistJJ and the corresponding starting point coordinates lineXY ((x1 y1), (x2 y2)); Eliminate the silk screen printing that affects the high-speed line, including the following steps: If the number of intersections linePointNumEND = 1, then take the line width corresponding to the silk screen printing itemI as lineWidth, the corresponding attribute parentDbid of itemI, the layer where itemI is located, and the BBOX of the elements in the interPointList list; Take the starting point coordinates of lineXY and record them as (X1, Y1), (X2, Y2); Take the lower left and upper right coordinates of the BBOX and record them as (pX1, pY1), (pX2, pY2); Delete the silk screen printing itemI; Respectively based on the starting point coordinates of lineXY, use the projection of the vector on the unit direction vector to determine the length of the new silk screen printing, draw two layers of new silk screen printing, and attach the original attribute parentDbid to the new silk screen printing.

2. The method for eliminating high-speed wire screen printing as described in claim 1, characterized in that, The steps of respectively based on the starting point coordinates of lineXY, using the projection of the vector on the unit direction vector to determine the length of the new silk screen printing, drawing two layers of new silk screen printing, and attaching the original attribute parentDbid to the new silk screen printing include the following steps: Step 1. Obtain the unit direction vector uniV1 from the starting point to the ending point: uniV1 = ((X2 - X1) / , (Y2 - Y1) / ); Step 2: The vector from the starting point to the lower left of the BBOX (pX1 - X1, pY1 - Y1); Step 3. The distance newDisTance1 of the newly drawn Silk Screen 1 from the starting point = (X2 - X1) / * (pX1 - X1) + (Y2 - Y1) / )* (pY1 - Y1) - lineWidth / 1.5; Step 4: Draw the first new silk screen printing with the starting point and the distance newDisTance1, and attach the original attribute parentDbid to the first silk screen printing; Step 5. Obtain the unit direction vector uniV2 from the end point to the start point: uniV2 = ((X1 - X2) / , (Y1 - Y2) / ); Step 6: The vector from the end point to the upper right of the BBOX (pX2 – X2, pY2 – Y2); Step 7. The distance newDisTance2 from the newly drawn second silk screen to the end point = (X1 - X2) / * (pX2 – X2) + (Y1 - Y2) / ) * (pY2 – Y2) - lineWidth / 1.5; Step 8: Draw the second new silk screen printing with the end point and newDisTance2 and attach the original attribute parentDbid to the second silk screen printing.

3. An elimination high-speed wire screen printing system, characterized in that, The system for eliminating the silk screen printing of the high-speed line is used to implement the method for eliminating the silk screen printing of the high-speed line described in any one of claims 1-2. The system includes: a high-speed line information acquisition module, a non-conformance information acquisition module, an intersection number acquisition module, a coordinate adjustment module, and a silk screen printing elimination module; The high-speed line information acquisition module is used to acquire the high-speed line information that needs to be inspected; The non-conformance information acquisition module is used to obtain the list of silk screen printing frames linelistJJ that do not meet the conditions and the starting point coordinates linesListXY corresponding to each silk screen printing frame based on the high-speed line information; The intersection number acquisition module is used to acquire the maximum number of intersections linePointNumEND; The coordinate adjustment module is used to adjust the starting point coordinates lineXY of the silk screen printing that affects the high-speed line signal quality; The silk screen printing elimination module is used to eliminate the silk screen printing that affects the high-speed line; Among them, the high-speed line information acquisition module is also used to input the threshold D between the silk screen printing and the high-speed line and enter the layer where the silk screen printing to be inspected and removed is located; Screen all the high-speed line clines attributes that start with "_DP" or "_DN" and put them in the list objlist; The non-conforming information acquisition module is further configured to loop through the elements in the list objlist, denoted as item, and use the axlPolyExpand() function to expand the high-speed line of item by the threshold D, denoted as itemExpand; obtain the linesegs of each silk screen frame on the opened layer and put them into the linelist list; use axlPolyOperation() to perform an intersection operation on each element in the linelist and the itemExpand, and if there is an intersection, store it in the list linelistJJ; obtain the starting coordinates startEnd of each element in the list linelistJJ and put them into the list linesListXY. The intersection number acquisition module is further configured to declare a variable linePointNumEND = 0; loop through the elements iteI in linelistJJ and perform an intersection operation with the itemExpand after expanding each high-speed line by the threshold D. If the number of elements in the intersection list, denoted as interPointList, is greater than linePointNumEND, then linePointNumEND = the number of intersections, until the loop ends, and obtain the maximum number of intersections linePointNumEND. The coordinate adjustment module is further configured to loop through the elements itemI in linelistJJ and the corresponding starting point coordinates lineXY ((x1 y1), (x2 y2)). The silk screen elimination module is further configured to, if the number of intersections linePointNumEND = 1, then obtain the line width denoted as lineWidth corresponding to the silk screen itemI, the attribute parentDbid corresponding to itemI, the layer layer where itemI is located, and the BBOX of the elements in the interPointList list; obtain the starting point coordinates of lineXY, denoted as (X1, Y1), (X2, Y2); obtain the lower left and upper right coordinates of the BBOX, denoted as (pX1, pY1), (pX2, pY2); delete the silk screen itemI; respectively, based on the starting point coordinates of lineXY, use the projection of the vector on the unit direction vector to determine the length of the new silk screen, draw two layers of new silk screens, and attach the original attribute parentDbid to the new silk screens.

4. A terminal, comprising a memory and a processor, where the memory stores a computer program, and when the processor loads and executes the computer program, the steps of the method for eliminating the silk screen of the high-speed line as described in any one of claims 1-2 are implemented.

5. A storage medium stores a computer program, and when the computer program is loaded and executed by a processor, the steps of the method for eliminating the silk screen of the high-speed line as described in any one of claims 1-2 are implemented.

Citation Information

Patent Citations

  • A method and a system for automatically cutting off laminated silk-screen printing

    CN109740193A

  • Method and device for cutting off silk screen

    CN114297977A