Signal line group detection method and device and medium

CN119604891APending Publication Date: 2025-03-11BOE TECHNOLOGY GROUP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380009200.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-24
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

In the prior art, confirming whether the length of the differential signal line is equal and whether the electrical connection is correct requires manual clicking and calculation in the drawing software, which is cumbersome and time-consuming.

Method used

Provide a detection method for signal line groups, by automatically reading the length of segment lines in the drawing software, comparing the difference and sum of each segment line, combining the name and direction of the signal line, judging the qualification of the signal line group, And judge the connectivity of the electrical connection through the end point coordinates.

Benefits of technology

It realizes the detection results of the signal line group quickly and accurately, reduces the time and errors of manual operation, and improves the detection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119604891A_ABST
    Figure CN119604891A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computers, and discloses a signal line group detection method and device and a medium, and the method comprises the steps: determining segment groups according to segment lines in two signal lines contained in a signal line group, generally, each signal line in the signal line group comprises a plurality of segment lines, so that the number of the segment groups is multiple, and the segment groups are not equal to the segment lines. Each subsection group comprises two subsection lines, the two subsection lines belong to different signal lines, the two signal lines are used for transmitting two signals with the same amplitude and opposite phases, and the detection result of the signal line group is determined according to the difference value of the lengths of the two subsection lines in the subsection group, namely the detection result of the signal line group is determined by comparing the difference values corresponding to the subsection groups. And whether the detection result of the signal line group is qualified or not can be quickly and accurately determined.
Need to check novelty before this filing date? Find Prior Art

Description

A method, device and medium for detecting a signal line group Technical Field

[0001] The present disclosure relates to the field of computer technology and provides a method, device, and medium for detecting a signal line group. Background Art

[0002] In the related art, when confirming whether the two segmented lines (assuming there are P line and N line) in the corresponding area of ​​the differential signal line and the entire differential signal line meet the preset equal length requirements, it is necessary to manually click and select the above segmented lines in the drawing software, and manually calculate the lengths of the two segmented lines, P line and N line, based on the coordinates of the two endpoints of the above segmented lines, and then compare whether the above lengths are equal. The processing process is cumbersome. In addition, based on the determination of the length, the correctness of the electrical connection must be further checked, which is time-consuming and labor-intensive.

[0003] Summary of the Invention

[0004] Embodiments of the present disclosure provide a method, device, and medium for detecting a signal line group, which are used to quickly and accurately determine whether a detection result of the signal line group is qualified.

[0005] The specific technical solutions provided by this disclosure are as follows:

[0006] In a first aspect, an embodiment of the present disclosure provides a method for detecting a signal line group, comprising:

[0007] Determine a segmented group based on segmented lines in two signal lines included in the signal line group; the segmented group includes two segmented lines, and the two segmented lines belong to different signal lines; the two signal lines are used to transmit two signals with the same amplitude and opposite phases;

[0008] The detection result of the signal line group is determined according to the difference between the lengths of the two segment lines in the segment group.

[0009] Optionally, determining the detection result of the signal line group according to the difference between the lengths of two segment lines in the segment group includes:

[0010] If the difference between the lengths of the two segment lines in each segment group is less than the corresponding length threshold, the segment detection result of the signal line group is determined to be qualified.

[0011] Optionally, determining the detection result of the signal line group according to the difference between the lengths of two segment lines in the segment group includes:

[0012] If the sum of the lengths of the segmented lines belonging to the same signal line is less than the preset length sum threshold, and the difference between the sums of the lengths of the segmented lines belonging to the same signal line group is less than the total length threshold, the total length detection result of the signal line group is determined to be qualified.

[0013] Optionally, each segment group is located in the same layer or different layers of the printed circuit board, and the values ​​of the length thresholds corresponding to two segment lines in segment groups located in different layers of the printed circuit board are different.

[0014] Optionally, the length of each segment line in the segment group is automatically read from drawing software, which is used to draw the signal line group in the printed circuit board.

[0015] Optionally, determine whether two segment lines belong to the same segment group by:

[0016] Whether any two segment lines belong to the same segment group is determined based on the names of the signal lines corresponding to the two segment lines and the signal directions of the signals in the signal lines.

[0017] Optionally, according to the names of the signal lines corresponding to the two segmented lines and the signal directions of the signals in the signal lines, the method includes:

[0018] Determine the corresponding signal lines of any two segmented lines in the drawing software;

[0019] If the names of the signal lines corresponding to any two segment lines are the same, and the signal directions of the signals of any two segment lines in the signal lines are the same, then it is determined that the any two segment lines belong to the same segment group.

[0020] Optionally, before determining the lengths of the two segment lines in the segment group, the method further includes:

[0021] Determine whether the electrical connection performance of each signal line in the signal line group is qualified.

[0022] Optionally, determining whether the electrical connection performance of each signal line in the signal line group is qualified includes:

[0023] Arranging the segment lines of each signal line in the signal line group in sequence based on the signal direction of the signal used to transmit the signal line group;

[0024] Whether the electrical connection performance of the signal line is qualified is determined based on whether the segmented lines can form a connected signal line after being arranged.

[0025] Optionally, determine whether the segment lines of each signal line can form a connected signal line by:

[0026] Obtain the coordinates of the endpoints of each segment line of each signal line, where the coordinates do not include the coordinates of the initial endpoint and the final endpoint of the signal line. The endpoints are used to represent the connection points of the corresponding electrical symbols of each segment line on the printed circuit board;

[0027] According to the coordinates of each endpoint, a coordinate set is established;

[0028] According to the distance between each coordinate in the coordinate set, it is determined whether each segment line of the signal line can form a connected signal line after being arranged.

[0029] Optionally, determining whether the segmented lines of the signal line can form a connected signal line after being arranged according to the distances between the coordinates in the coordinate set includes:

[0030] Searching in the coordinate set whether there is a matching coordinate whose distance to the target coordinate is not greater than a coordinate threshold, wherein the target coordinate is the coordinate of any endpoint in the coordinate set;

[0031] Based on whether there are matching coordinates, it is determined whether the segmented lines of the signal line can form a connected signal line after being arranged.

[0032] Optionally, determining whether the segmented lines of the signal line can form a connected signal line after being arranged according to whether matching coordinates exist includes:

[0033] If there are matching coordinates, it is determined that the segmented lines of the signal line can form a connected signal line after being arranged;

[0034] If there are no matching coordinates, it is determined that the segment lines of the signal line cannot form a connected signal line after being arranged.

[0035] Optionally, searching the coordinate set for matching coordinates whose distance to the target coordinates is not greater than a coordinate threshold includes:

[0036] According to each endpoint included in the coordinate set, each coordinate in the coordinate set is divided into a plurality of subsets of different types;

[0037] Search in the subset of the same type whether there is a matching coordinate whose distance to the target coordinate is not greater than the coordinate threshold;

[0038] If no matching coordinates are found in the subset of the same type, a search is then performed in the subset of other types to determine whether there are matching coordinates whose distance to the target coordinates is not greater than the coordinate threshold.

[0039] Optionally, the multiple subsets of different types include at least a pin subset, a via subset, a surface line subset, and an inner line subset.

[0040] In a second aspect, an embodiment of the present disclosure further provides a detection device for a signal line group, comprising:

[0041] a determining unit, configured to determine a segment group based on segment lines in two signal lines included in the signal line group; the segment group includes two segment lines, and the two segment lines belong to different signal lines; the two signal lines are used to transmit two signals with the same amplitude and opposite phases;

[0042] The detection unit is used to determine the detection result of the signal line group according to the difference between the lengths of two segment lines in the segment group.

[0043] In a third aspect, a signal line group detection device includes:

[0044] a memory for storing executable instructions;

[0045] A processor is used to read and execute executable instructions stored in a memory to implement any method of the first aspect.

[0046] In a fourth aspect, a computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor, the processor is enabled to execute the method described in any one of the first aspects above.

[0047] The beneficial effects of the present disclosure are as follows:

[0048] In summary, a method, device and medium for detecting a signal line group are provided in an embodiment of the present disclosure. The method is: determining a segmented group based on the segmented lines in the two signal lines included in the signal line group. Usually, each signal line in the signal line group will include multiple segmented lines. In this way, the number of segmented groups is multiple. Each of the above segmented groups includes two segmented lines, and the two segmented lines belong to different signal lines. In addition, the two signal lines are used to transmit two signals with the same amplitude and opposite phases. The detection result of the signal line group is determined based on the difference in the lengths of the two segmented lines in the segmented group. That is, by comparing the differences corresponding to each segmented group, whether the detection result of the signal line group is qualified can be quickly and accurately determined.

[0049] Other features and advantages of the present disclosure will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present disclosure. The purposes and other advantages of the present disclosure can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] The drawings described herein are used to provide a further understanding of the present disclosure and constitute a part of the present disclosure. The exemplary embodiments of the present disclosure and their descriptions are used to explain the present disclosure and do not constitute an improper limitation of the present disclosure. In the drawings:

[0051] FIG1 is a schematic diagram of a signal line group according to an embodiment of the present disclosure;

[0052] FIG2 is a schematic diagram of another signal line group in an embodiment of the present disclosure;

[0053] FIG3 is a schematic diagram showing a signal line group having multiple segment lengths after passing through different PCB layers in an embodiment of the present disclosure;

[0054] FIG4 is a schematic flow chart of a method for detecting a signal line group according to an embodiment of the present disclosure;

[0055] FIG5 is a schematic flow chart of another method for detecting a signal line group according to an embodiment of the present disclosure;

[0056] FIG6 is a schematic diagram of a process for determining whether the electrical connection performance of a signal line is qualified according to a segment line in an embodiment of the present disclosure;

[0057] FIG7 is a schematic diagram of a process for determining whether the electrical connection performance of a signal line is qualified according to the connectivity of segmented lines after arrangement in an embodiment of the present disclosure;

[0058] FIG8 is a schematic diagram of the logic architecture of a detection device for a signal line group according to an embodiment of the present disclosure;

[0059] FIG9 is a schematic diagram of the physical structure of a detection device for a signal line group according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0060] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the technical solutions of the present disclosure, but not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments described in this disclosure without making any creative efforts shall fall within the scope of protection of the technical solutions of the present disclosure.

[0061] The terms "first," "second," and the like in the description and claims of the present invention and the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a particular order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, such that the embodiments of the present invention described herein can be practiced using orders other than those illustrated or described herein.

[0062] The preferred embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

[0063] First, it should be noted that the signal line group in this application generally refers to a differential signal line group. In some application scenarios, the above-mentioned signal line group can also be a collection of other types of signal lines. Differential signaling is a common signal form. Generally, differential signaling transmits signals on two signal lines. The signals transmitted on the above-mentioned different signal lines have the same amplitude and opposite phase. In the embodiments of the present disclosure, the above-mentioned two signal lines used to transmit differential signals are referred to as a signal line group.

[0064] As shown in Figure 1, the mainboard includes two signal line groups, namely signal line group 1 starting from the PCH and signal line group 2. After passing through the cable, the above signal line group 1 and signal line group 2 extend to the connection board Add-in Card connected to the mainboard.

[0065] Referring to FIG1 , the signal line group 1 in the mainboard is used for illustration. The signal line group 1 includes two signal lines, one of which passes through the TX port and the mark M0 and then passes through a via (i.e., Via) to form a segment line 1, and then passes through the mark M1 and then passes through the next via (i.e., Via) to form a segment line 3, and then passes through the mark M2 to reach one plate of the capacitor (i.e., Cap) to form a segment line 5, and the other plate of the capacitor and the mark M3 to form a segment line 7, and then passes through the cable and the mark M4 to reach the next via (i.e., Via) to form a segment line 9, and then passes through After the marker M5, it reaches the receiving port RX, thus forming a segment line 11; another signal line passes through the TX port and the marker M0, passes through a via (i.e., Via), thus forming a segment line 2, and then passes through the marker M1 and the next via (i.e., Via), thus forming a segment line 4, and then passes through the marker M2 to reach one plate of the capacitor (i.e., Cap), thus forming a segment line 6, and is formed by the other plate of the capacitor and the marker M3, and then passes through the wiring and the marker M4 to reach the next via (i.e., Via), thus forming a segment line 10, and then passes through the marker M5 to reach the receiving port RX, thus forming a segment line 12.

[0066] Similarly, the segmented lines included in the two signal lines in signal line group 2 are segmented line a, segmented line b, segmented line c, segmented line d, segmented line e, segmented line f, segmented line m, segmented line n, segmented line o and segmented line u.

[0067] In addition, referring to FIG2 , when the signal line group passes through a larger processing chip, for example, a processing chip MUX, in this case, in order to facilitate accurate detection of the signal line group, it is preferred that the signal lines located at different ends (for example, the input end and the output end) of the processing chip MUX be regarded as different signal line groups, thereby avoiding the processing chip cutting off the signal lines and affecting the detection.

[0068] The drawing of the above-mentioned signal line group 1 (or signal line group 2) in the drawing software is shown in Figure 3. Figure 3 is only a partial schematic diagram of the drawing of signal line group 1 (or signal line group 2). As can be seen from the figure, the two signal lines included in signal line group 1 (or signal line group 2) will be routed in different layers of the printed circuit board (PCB) after passing through the vias. Typically, the routing lengths of each signal line in different layers of the PCB are also different, that is, the lengths between each segment line are different. After drawing signal line group 1 (or signal line group 2) in the drawing software, it is necessary to test the signal line group to confirm that the drawing of the signal line group is correct. Only when the signal line group is drawn correctly can the manufactured circuit board have the corresponding electrical characteristics.

[0069] The following describes in detail the process of detecting the signal line group. Referring to FIG4 , the specific process of a method for detecting the signal line group in an embodiment of the present disclosure is as follows:

[0070] Step 201: Determine a segment group based on segment lines in two signal lines included in the signal line group; the segment group includes two segment lines, and the two segment lines belong to different signal lines; the two signal lines are used to transmit two signals with the same amplitude and opposite phases.

[0071] In the process of detecting the signal line group, the length of each segment line included in the signal line group must be detected first. It should be noted that the length of each segment line in the segment group is automatically read from the drawing software, which is used to draw the signal line group in the printed circuit board.

[0072] In the embodiment of the present application, the length of each segment line in each segment group is automatically read from the drawing software using an automatic reading tool, which is pre-developed using the Skill language. In order to record each length, the read length is preferably stored in a pre-designated location.

[0073] To facilitate comparison of the lengths (length 1, 2, or 3) corresponding to two segmented lines, segmented groups are first determined based on the segmented lines within the two signal lines in the signal line group. Each segmented group includes two segmented lines, but these two segmented lines belong to different signal lines. When a signal line is truncated into N segmented lines, the number of segmented groups is N.

[0074] For example, let's take the length 1 mentioned above, which corresponds to two segment lines of length 1. When the signal lines are arranged horizontally, the segment group includes the upper and lower segment lines of length 1; when the signal lines are arranged vertically, the segment group includes the left and right segment lines of length 1. It should be noted that although the segment group is marked with a length of 1 in Figure 3, in reality, the lengths of the two segment lines in the segment group are not necessarily 1. Further comparison of the lengths of the two segment lines is required to determine this.

[0075] Typically, the aforementioned drawing software is used to draw signal line groups on printed circuit boards (PCBs). This is because PCBs are converted from schematics with electrical properties. Furthermore, to facilitate practical application of the subsequently manufactured PCBs, the PCBs are often provided with vias, etc. This allows the electrical traces corresponding to the schematics to be arranged in multiple layers on the PCB, thereby reducing the volume occupied by the PCB in practical applications. The segmented lines in this application are formed when the electrical traces pass through vias, components (e.g., capacitors, resistors, inductors, etc.), etc. The name of the aforementioned drawing software is not specifically defined herein.

[0076] During implementation, in order to determine which segment lines in a signal line group belong to the same segment group, the following method is used:

[0077] Whether any two segment lines belong to the same segment group is determined based on the names of the signal lines corresponding to the two segment lines and the signal directions of the signals in the signal lines.

[0078] The names of the signal lines corresponding to the two segmented lines and the signal directions in the signal lines specifically include:

[0079] [1] Determine the corresponding signal lines of any two segmented lines in the drawing software.

[0080] In order to determine which two segment lines belong to the same segment group, during the implementation process, the signal lines corresponding to any two segment lines in the drawing software must first be determined.

[0081] Since the electrical routing corresponding to the signal line in the PCB is arbitrary, in order to identify the various segmented lines of the signal line, in an embodiment of the present application, they will be named according to the vias and components through which the segmented lines pass. For example, the name 1 of segment 1 is PICE_SSD_RXA0_P, the name 2 of segment 2 is PICE_SSD_RXA0_N, the name 3 of segment 3 is PICE_SSD_TXA0_P, and the name 4 of segment 4 is PICE_SSD_TXA0_N.

[0082] Considering that the segment lines in the same segment group pass through the same vias and components, but belong to different signal lines, the prefixes of the names in the above examples can be used to determine which segment lines are in the same segment group, and the suffixes of the names in the above examples can be used to determine which segment lines belong to different signal lines.

[0083] [2] If the names of the signal lines corresponding to any two segment lines are the same, and the signal directions of the signals of any two segment lines in the signal lines are the same, then it is determined that any two segment lines belong to the same segment group.

[0084] Considering that some components may be connected to multiple other components simultaneously, a signal line with the same name may have multiple branches. Therefore, when determining the segment group, it is necessary to comprehensively consider the signal directions of the signals of the two segment lines within the signal line. That is, if it is determined that the signal lines corresponding to any two segment lines have the same name, it is further determined whether the signal directions of the signals of any two segment lines are the same within the signal line. If the signal directions are the same, the two segment lines are determined to belong to the same segment group.

[0085] Step 202: Determine the detection result of the signal line group according to the difference between the lengths of two segment lines in the segment group.

[0086] During implementation, the aforementioned length involves both segment length and total length. This means determining whether the lengths of the segment lines in the segment group meet requirements, while also checking the total length of each signal line in the signal line group. Typically, two signal lines transmit two signals with the same amplitude and opposite phases, meaning the signal line group is a differential signal line group.

[0087] On the one hand, the above-mentioned determination of the detection result of the signal line group based on the difference in lengths of two segment lines in the segment group includes:

[0088] If the difference between the lengths of the two segment lines in each segment group is less than the corresponding length threshold, the segment detection result of the signal line group is determined to be qualified.

[0089] During the specific implementation process, after obtaining the lengths of the two segment lines in any segment group, the two lengths obtained are subtracted, and the difference is compared with the pre-set length threshold corresponding to the segment group. If the difference is less than the length threshold, for example, the length threshold is 5 mil, the detection result of the segment group is determined to be qualified. When the detection results of each segment group in the signal line group are qualified, the segment detection result of the signal line group is determined to be qualified.

[0090] It should be noted that, because the positions of the various segment groups within the printed circuit board are uncertain, i.e., the segments may be located on the same or different layers of the printed circuit board, different length thresholds are set for different segment groups in the present embodiment to accurately determine the position of each segment group. Specifically, the length threshold values ​​corresponding to two segment lines in segment groups located on different layers of the printed circuit board are different. Typically, the length threshold values ​​range from 5 mil to 10 mil.

[0091] On the other hand, the above-mentioned method of determining the detection result of the signal line group according to the difference in length between the two segment lines in the segment group includes:

[0092] If the sum of the lengths of the segmented lines belonging to the same signal line is less than the preset length sum threshold, and the difference between the sums of the lengths of the segmented lines belonging to the same signal line group is less than the total length threshold, the total length detection result of the signal line group is determined to be qualified.

[0093] It should be noted that the above-mentioned total length is the total length of the signal line from the initial endpoint to the terminal endpoint, that is, the number of segmented lines of each signal line is one segment, and the length of the segmented line is the length of a section of the signal line that is cut off after passing through a certain component or a certain via, refer to length 1, length 2, length 3, etc. in Figure 3.

[0094] During the implementation process, for any signal line in the signal line group, it is first necessary to detect whether the total length (i.e., the total length) is less than the preset total length threshold. In order to calculate the total length, the various segmented lines belonging to the same signal line are first determined, and the lengths of the various segmented lines are added together to obtain the total length. After that, it is determined whether the total length is less than the preset total length threshold. Only when the total length is less than the preset total length threshold is the total length of the signal line determined to be qualified.

[0095] On the basis that the total length of the signal lines is qualified, it is further determined that the difference between the total lengths of the individual lengths belonging to the same signal line group is less than the total length threshold. During the implementation process, for the two signal lines included in the signal line group, after respectively calculating the total lengths of the two signal lines, and on the basis that the total lengths are qualified, the difference between the total lengths is further calculated. When the above difference is less than the preset total length threshold, it is determined that the total length detection result of the signal line group is qualified.

[0096] Furthermore, during the process of testing the signal line group, in addition to testing the lengths of the two signal lines included in the signal line group, it is also necessary to test the electrical connection performance of each signal line.

[0097] During implementation, before determining the lengths of the two segment lines in the segment group, referring to FIG5 , the following steps are further included:

[0098] Step 101: Determine whether the electrical connection performance of each signal line in the signal line group is qualified.

[0099] Considering that the two signal lines in the signal line group are used to connect components and vias in the drawing software, in order to avoid invalid electrical connections of the signal lines due to false connections, missing connections, etc., during the implementation process, it is necessary to test the electrical connection performance of each of the two signal lines to see if they are qualified.

[0100] Referring to FIG. 6 , determining whether the electrical connection performance of each signal line in the signal line group is qualified includes:

[0101] Step 1011 : Based on the signal direction of the signal transmitted by the signal line group, arrange the segment lines of each signal line in the signal line group in sequence.

[0102] Since the signal line group drawn in the drawing software is used to transmit the signal from the initial endpoint to the terminal endpoint, that is, the signal line group is drawn according to the signal direction, after being segmented by components or vias, two coordinates will be generated at the corresponding components or vias, but these two coordinates belong to different segmentation lines, that is, the coordinates of the endpoints of two adjacent segmentation lines should be the same, and the coordinates of the connected endpoints should be extended sequentially according to the signal direction.

[0103] Based on this, in the process of determining whether the electrical connection performance of the signal line is qualified, it is necessary to determine one by one whether the segment lines of each signal line in the signal line group can be arranged in sequence.

[0104] Step 1012: Determine whether the electrical connection performance of the signal line is qualified based on whether the segment lines can form a connected signal line after being arranged.

[0105] After arranging the segmented lines of each signal line in the signal line group in sequence, if the segmented lines of the same signal line can form a connected signal line, it is determined that the electrical connection performance of the signal line is qualified; if the segmented lines of the same signal line cannot form a connected signal line, it is determined that the electrical connection performance of the signal line is unqualified.

[0106] Referring to FIG. 7 , the following method is used to determine whether the segment lines of each signal line can form a connected signal line:

[0107] Step 10121: Obtain the coordinates of the endpoints of each segment line of each signal line, where the coordinates do not include the coordinates of the initial endpoint and the terminal endpoint of the signal line. The endpoints are used to represent the connection points of the electrical symbols corresponding to each segment line in the printed circuit board.

[0108] To quickly and accurately determine the connectivity of a signal line, in this embodiment, the connectivity is determined based on the coordinates of the endpoints of each segment of the same signal line. These endpoints represent the connection points of the corresponding electrical symbols of each segment on the printed circuit board, such as the pins of a resistor, the plates of a capacitor, vias, and so on.

[0109] The determination of the connectivity of the signal line is explained by the following example. For example, for two segment lines starting from the initial endpoint, the coordinates of the right endpoint of the first segment line are to the right of the coordinates of the left endpoint, and the coordinates of the right endpoint of the second segment line are also to the right of the coordinates of the left endpoint. The coordinates of the right endpoint of the first segment line are the same as the coordinates of the left endpoint of the second segment line, that is, it is determined that the coordinates of the endpoints of the above two segment lines can be arranged in sequence, and so on, until all segment lines are determined to be able to be arranged in sequence, it can be determined that the signal line is a connected signal line.

[0110] During implementation, the coordinates of the endpoints of each segment of each signal line are first obtained in the drawing software. Typically, these coordinates are xy coordinates in a two-dimensional coordinate system. Furthermore, since the coordinates of the initial and final endpoints of a signal line are isolated points, they are merely isolated input (or output) points during signal transmission. Therefore, these endpoints are not considered when determining the connectivity of the signal line.

[0111] Step 10122: Create a coordinate set based on the coordinates of each endpoint.

[0112] During implementation, after obtaining the coordinates of each endpoint of each segment line, each obtained coordinate is added to the coordinate set, that is, the determination of the connectivity of the signal line is converted into processing the coordinates in the coordinate set.

[0113] Step 10123: Determine, based on the distances between the coordinates in the coordinate set, whether the segmented lines of the signal line can form a connected signal line after being arranged.

[0114] After determining the coordinate set, the distance between any two coordinates is determined respectively. On this basis, the following two cases are used to determine whether the segmented lines can form a connected signal line after being arranged.

[0115] Case 1: Based on the distances between the coordinates in the coordinate set, it is determined whether the segmented lines of the signal line can form a connected signal line after being arranged, including:

[0116] [1] Search in the coordinate set whether there is a matching coordinate whose distance to the target coordinate is not greater than the coordinate threshold, where the target coordinate is the coordinate of any endpoint in the coordinate set.

[0117] Since each coordinate in the coordinate set is the sum of the coordinates of the endpoints of all segment lines of the signal line, to determine signal connectivity, the coordinates of any endpoint in the coordinate set are referred to as target coordinates. That is, all endpoints in the coordinate set are considered target coordinates. The coordinate set is then searched for matching coordinates corresponding to the target coordinates. These matching coordinates are the coordinates of the endpoint of another segment line whose distance from the target coordinate is no greater than a coordinate threshold. To account for errors in coordinate acquisition, two coordinates within the coordinate threshold are typically considered identical.

[0118] [2] Based on whether there are matching coordinates, determine whether the segmented lines of the signal line can form a connected signal line after being arranged.

[0119] During the implementation process, if it is determined that each target coordinate has a corresponding matching coordinate in the coordinate set, then each segment line can be connected through the target coordinate and matching coordinate with the same coordinates, and then the segment lines of the signal line can be arranged to form a connected signal line.

[0120] If it is determined that at least one target coordinate does not have a corresponding matching coordinate in the coordinate set, then the segment line corresponding to the at least one target coordinate cannot be connected through the target coordinate and the matching coordinate with the same coordinates, so that the signal line will be broken, and it is determined that the segment lines of the signal line cannot form a connected signal line after being arranged.

[0121] The second case: Search the coordinate set to see if there are matching coordinates whose distance to the target coordinates is no greater than the coordinate threshold, including:

[0122] (1) According to each endpoint included in the coordinate set, each coordinate in the coordinate set is divided into multiple subsets of different types.

[0123] Considering the large number of signal line groups on the printed circuit board, the coordinates of the endpoints of all segmented lines are put into a coordinate set. The data volume of the coordinate set is large, so the subsequent search process is cumbersome.

[0124] Based on this, during the implementation process, it is taken into account that the endpoints are the connection points of the electrical symbols corresponding to each segment line in the printed circuit board, and the electrical symbols include vias, pins of components, etc., and then according to the type of electrical symbols of each endpoint included in the coordinate set, the coordinates in the coordinate set are divided into multiple subsets of different types.

[0125] After dividing the coordinate set into multiple subsets of different types, the subsets are used as search objects in the process of searching for matching coordinates, thereby effectively improving the search efficiency.

[0126] In the embodiment of the present application, the above-mentioned multiple subsets of different types include at least a pin subset, a via subset, a surface line subset and an inner line subset.

[0127] The above-mentioned pin subset is usually a collection of segmented lines formed by the pins of various components, the above-mentioned via subset is usually a collection of segmented lines formed by the vias of the printed circuit board, the above-mentioned surface line subset is usually a collection of segmented lines formed by the surface wiring of the printed circuit board, and the above-mentioned inner layer line subset is usually a collection of segmented lines formed by the non-surface wiring of the printed circuit board, that is, the above-mentioned coordinate set is split into the pin subset, the via subset, the surface line subset and the inner layer line subset.

[0128] It should be noted that the division of the above subsets can also be flexibly set according to the size of the printed circuit board, the number of signal line groups, etc.

[0129] (2) Search in the subset of the same type whether there is a matching coordinate whose distance to the target coordinate is not greater than the coordinate threshold.

[0130] In order to find the matching coordinates quickly and accurately, during the implementation process, matching coordinates are first found for the target coordinates in subsets of the same type, that is, a subset of a type is first determined, and any coordinate in the subset is used as the target coordinate.

[0131] If, for each target coordinate, a matching coordinate with a distance no greater than the coordinate threshold can be found in the subset, the segmented line corresponding to the subset is connected. If, for at least one target coordinate, no matching coordinate with a distance no greater than the coordinate threshold can be found in the subset, the segmented line corresponding to the same type of subset is disconnected.

[0132] (3) If no matching coordinates are found in the subset of the same type, then a search is made in the subset of other types to determine whether there are matching coordinates whose distance to the target coordinates is not greater than the coordinate threshold.

[0133] Considering that some segmented lines are at endpoints of different types, during implementation, if no matching coordinates are found in a subset of the same type, the search continues in subsets of other types to see if there are matching coordinates. That is, based on the target coordinates for which no matching coordinates are found in the subsets of the same type, the search continues in subsets of other types to see if there are matching coordinates whose distance to the target coordinates is no greater than the coordinate threshold. The types of the subsets of other types here are different from those of the subsets of the same type.

[0134] If, for each target coordinate, a matching coordinate with a distance no greater than the threshold value can be found in any other subset of the same type, the segmented line corresponding to that coordinate is connected. If, for at least one target coordinate, no matching coordinate with a distance no greater than the threshold value can be found in any other subset of the same type, the segmented lines corresponding to that subset of the same type are disconnected.

[0135] Corresponding to the first and second cases above, the above-mentioned determination of whether the segmented lines of the signal line can form a connected signal line after being arranged based on whether matching coordinates exist includes:

[0136] Case 1: If there are matching coordinates, it is determined that the segmented lines of the signal line can form a connected signal line after being arranged.

[0137] During the implementation process, whether through the coordinate set or each subset, after determining that each target coordinate has a corresponding matching coordinate, it is determined that the various segmented lines of the signal line can be arranged to form a connected signal line, and then the electrical connection performance of the signal line is determined to be qualified.

[0138] Case 2: If there are no matching coordinates, it is determined that the segment lines of the signal line cannot form a connected signal line after being arranged.

[0139] During the implementation process, whether through the coordinate set or each subset, after determining that at least one target coordinate has no corresponding matching coordinate, it is determined that the various segment lines of the signal line cannot form a connected signal line after being arranged, and then it is determined that the electrical connection performance of the signal line is unqualified.

[0140] After it is determined that the electrical connection performances of the two signal lines of the signal line group are qualified and the relevant length test of the signal line group including the two signal lines is qualified, it is determined that the drawing of the signal line group is correct.

[0141] Based on the same inventive concept, referring to FIG8 , an embodiment of the present disclosure provides a detection device for a signal line group, comprising:

[0142] A determining unit 801 is configured to determine a segment group based on segment lines in two signal lines included in the signal line group; the segment group includes two segment lines, and the two segment lines belong to different signal lines; the two signal lines are used to transmit two signals with the same amplitude and opposite phases;

[0143] The detection unit 802 is configured to determine a detection result of the signal line group according to a difference between the lengths of two segment lines in the segment group.

[0144] Based on the same inventive concept, referring to Figure 9, an embodiment of the present disclosure provides a signal line group detection device, including: a memory 901 for storing executable instructions; a processor 902 for reading and executing the executable instructions stored in the memory, and executing any one of the above-mentioned signal line group detection methods.

[0145] Based on the same inventive concept, an embodiment of the present disclosure provides a computer-readable storage medium. When instructions in the storage medium are executed by a processor, the processor is enabled to execute any one of the above-mentioned methods for detecting a signal line group.

[0146] In summary, a method, device and medium for detecting a signal line group are provided in an embodiment of the present disclosure, wherein the method is: determining a segmented group based on the segmented lines in the two signal lines included in the signal line group. Usually, each signal line in the signal line group will include multiple segmented lines. In this way, the number of segmented groups is multiple, and each of the above segmented groups includes two segmented lines, and the two segmented lines belong to different signal lines, and the two signal lines are used to transmit two signals with the same amplitude and opposite phases. The detection result of the signal line group is determined based on the difference in the lengths of the two segmented lines in the segmented group, that is, by comparing the differences corresponding to each segmented group, whether the detection result of the signal line group is qualified can be quickly and accurately determined.

[0147] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program product systems. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present disclosure may take the form of a computer program product system implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0148] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program product systems according to the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0149] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0150] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0151] Obviously, those skilled in the art may make various changes and modifications to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is intended to include these modifications and variations.

Claims

1. A method for detecting a signal line group, wherein: The method includes: Determine a segment group according to segment lines in two signal lines included in the signal line group; the segment group includes two segment lines, and the two segment lines belong to different signal lines; the two signal lines are used to transmit two signals with the same amplitude and opposite phases; The detection result of the signal line group is determined according to the difference between the lengths of two segment lines in the segment group.

2. The method of claim 1, wherein: The step of determining the detection result of the signal line group according to the difference between the lengths of two segment lines in the segment group comprises: If the difference between the lengths of the two segment lines in each of the segment groups is less than the corresponding length threshold, it is determined that the segment detection result of the signal line group is qualified.

3. The method of claim 1, wherein: The step of determining the detection result of the signal line group according to the difference between the lengths of two segment lines in the segment group comprises: If the sum of the lengths of the segmented lines belonging to the same signal line is less than a preset length sum threshold, and the difference between the sums of the lengths of the segmented lines belonging to the same signal line group is less than a total length threshold, the total length detection result of the signal line group is determined to be qualified.

4. The method of claim 2, wherein: The segment groups are located in the same layer or different layers of the printed circuit board, and the values ​​of the length thresholds corresponding to two segment lines in the segment groups located in different layers of the printed circuit board are different.

5. The method of claim 1, wherein: The length of each segment line in the segment group is automatically read from drawing software, and the drawing software is used to draw the signal line group in the printed circuit board.

6. The method of claim 5, wherein: Determine whether two segment lines belong to the same segment group by: Whether the two segment lines belong to the same segment group is determined according to the names of the signal lines corresponding to any two segment lines and the signal directions of the signals in the signal lines.

7. The method of claim 6, wherein: The names of the signal lines corresponding to the two segment lines and the signal directions of the signals in the signal lines include: Determine the signal lines corresponding to any two segmented lines in the drawing software; If the names of the signal lines corresponding to any two segment lines are the same, and the signal directions of the signals of the any two segment lines in the signal lines are the same, it is determined that the any two segment lines belong to the same segment group.

8. The method according to any one of claims 1 to 7, wherein: Before the difference between the lengths of the two segment lines in the segment group, the method further includes: Determine whether the electrical connection performance of each of the signal lines in the signal line group is qualified.

9. The method of claim 8, wherein: The determining whether the electrical connection performance of each signal line in the signal line group is qualified comprises: Based on the signal direction of the signal transmitted by the signal line group, the segment lines of each signal line in the signal line group are arranged in sequence; Whether the electrical connection performance of the signal line is qualified is determined according to whether each of the segment lines can form a connected signal line after being arranged.

10. The method of claim 9, wherein: Determine whether each segment line of each signal line can form a connected signal line by the following method: Obtaining the coordinates of the endpoints of each segment line of each signal line, wherein the endpoints are used to represent the connection points of the electrical symbols corresponding to each segment line in the printed circuit board; Establishing a coordinate set according to the coordinates of each of the endpoints; It is determined, according to the distances between the coordinates in the coordinate set, whether the segment lines of the signal line can form a connected signal line after being arranged.

11. The method of claim 10, wherein: The determining, based on the distances between the coordinates in the coordinate set, whether the segmented lines of the signal line can form a connected signal line after being arranged comprises: Searching in the coordinate set whether there is a matching coordinate whose distance to the target coordinate is not greater than a coordinate threshold, wherein the target coordinate is the coordinate of any endpoint in the coordinate set; According to whether the matching coordinate exists, the segment lines of the signal line are arranged Can the columns form a connected signal line? 12. The method of claim 11, wherein: The determining, according to whether the matching coordinates exist, whether the segmented lines of the signal line can form a connected signal line after being arranged, comprises: If the matching coordinates exist, determining that each of the segment lines of the signal line can form a connected signal line after being arranged; If the matching coordinates do not exist, it is determined that the segment lines of the signal line cannot form a connected signal line after being arranged.

13. The method of claim 12, wherein: The searching in the coordinate set whether there is a matching coordinate whose distance to the target coordinate is not greater than a coordinate threshold comprises: According to each of the endpoints included in the coordinate set, each coordinate in the coordinate set is divided into a plurality of subsets of different types; Searching in the subset of the same type whether there is the matching coordinate whose distance from the target coordinate is not greater than the coordinate threshold; If the matching coordinates cannot be found in the subset of the same type, then a search is made in other types of subsets to determine whether there are matching coordinates whose distance from the target coordinates is not greater than the coordinate threshold.

14. The method of claim 13, wherein: The plurality of subsets of different types include at least a pin subset, a via subset, a surface line subset, and an inner line subset.

15. A detection device for a signal line group, wherein: include: A memory for storing executable instructions; A processor, configured to read and execute the executable instructions stored in the memory to implement the method according to any one of claims 1 to 14.

16. A computer-readable storage medium, wherein: When the instructions in the storage medium are executed by a processor, the processor is enabled to perform the method according to any one of claims 1 to 14.