Printed circuit board signal detection method, system and equipment and computer medium

By determining the pin connection relationship of the relay connector and defining the signal transmission relationship according to the pin, the accuracy of the printed circuit board signal detection is solved, and the accurate detection and signal transmission relationship of the printed circuit board signal is realized. Correctness.

CN119414211APending Publication Date: 2025-02-11INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411671664.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-21
Publication Date
2025-02-11

AI Technical Summary

Technical Problem

The prior art is difficult to accurately detect printed circuit board (PCB) signals, especially when pin jumps, resulting in signal detection errors.

Method used

By determining the pin connection relationship between the input and output pins of the relay connector, the transmitting and receiving pins are determined, and the actual transmission relationship of the signal is automatically determined based on the pin connection relationship. Then, the correctness of the actual transmission relationship is detected based on the definition of the transmitter and receiver pins.

Benefits of technology

Accurate detection of printed circuit board signals is realized, detection errors caused by pin jumps are avoided, and the correctness of signal transmission relationship is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119414211A_ABST
    Figure CN119414211A_ABST
Patent Text Reader

Abstract

The invention discloses a printed circuit board signal detection method, system and device and a computer medium. The method comprises the following steps: determining a pin connection relationship between an input pin and an output pin of a relay connector; determining a sending end pin connected with an input pin of the relay connector; determining a receiving end pin connected with an output pin of the relay connector; according to the pin connection relationship, determining an actual signal transmission relationship between the sending end pin and the receiving end pin; according to the definition of the sending end pin and the definition of the receiving end pin, whether the actual transmission relation is correct is detected, and a detection result is obtained; wherein the transmitting end and the receiving end are formed based on a printed circuit board. The signal transmission relation between the transmitting end and the receiving end is traced by taking the relay connector as the center, and then whether the actual transmission relation is correct or not is detected according to the definition of the transmitting end pin and the definition of the receiving end pin, so that whether the signal transmission between the printed circuit boards is correct or not can be accurately detected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic circuit technology, and more specifically, to a printed circuit board signal detection method, system, device and computer medium. Background Art

[0002] In the design process of PCB (Print circuit Board) boards, it is necessary to ensure the correctness of the interconnection of PCB boards of different types and functions. In addition to the correct interconnection relationship between the interconnected boards, the correctness of the signal connection in the interconnected link relationship must also be ensured. For this reason, it is necessary to detect the correctness of the signals of the PCB boards. For example, the signal network name matching of the two interconnected pins in the PCB boards can be checked and judged. However, if the pins of the PCB boards jump, the pin network name still behaves normally, but the signal represented by the pin is no longer compatible with the network name, which leads to errors in the PCB board signal detection.

[0003] In summary, how to accurately detect signals on a printed circuit board is a problem that needs to be solved urgently by those skilled in the art. Summary of the invention

[0004] The purpose of the present application is to provide a printed circuit board signal detection method, which can solve the technical problem of how to accurately detect the signal of the printed circuit board to a certain extent. The present application also provides a printed circuit board signal detection system, an electronic device and a computer readable storage medium.

[0005] In order to achieve the above objectives, this application provides the following technical solutions:

[0006] A printed circuit board signal detection method, comprising:

[0007] Determine the pin connection relationship between the input pins and the output pins of the relay connector;

[0008] Determine a transmitting end pin connected to an input pin of the relay connector;

[0009] Determine a receiving end pin connected to an output pin of the relay connector;

[0010] Determining an actual transmission relationship of a signal between the transmitting end pin and the receiving end pin according to the pin connection relationship;

[0011] According to the definition of the transmitting end pin and the definition of the receiving end pin, detecting whether the actual transmission relationship is correct, and obtaining a detection result;

[0012] Wherein, the transmitting end and the receiving end are composed based on a printed circuit board.

[0013] In an exemplary embodiment, determining the pin connection relationship between the input pin and the output pin of the relay connector includes:

[0014] Determine the type of relay connector;

[0015] According to the type, a pin connection relationship between an input pin and an output pin of the relay connector is determined.

[0016] In an exemplary embodiment, after determining the pin connection relationship between the input pin and the output pin of the relay connector, the method further includes:

[0017] generating an input matrix recording the input pin numbers of the relay connector;

[0018] Generate an output matrix recording the output pin numbers of the relay connector;

[0019] According to the pin connection relationship, the corresponding relationship between the input matrix and the output matrix is ​​recorded.

[0020] In an exemplary embodiment, the determining a transmitting end pin connected to an input pin of the relay connector, determining a receiving end pin connected to an output pin of the relay connector, and determining an actual transmission relationship of a signal between the transmitting end pin and the receiving end pin according to the pin connection relationship, includes:

[0021] Selecting an unselected input pin of the relay connector as the first pin;

[0022] According to the pin connection relationship, determine the output pin of the relay connector connected to the first pin as the second pin;

[0023] Determine a transmitting end pin connected to the first pin;

[0024] Determining a receiving end pin connected to the second pin;

[0025] Establishing a signal transmission relationship representing that the transmitting end pin transmits a signal to the receiving end pin;

[0026] Detecting whether there is an input pin of the relay connector that has not been selected;

[0027] In response to there being an input pin of the relay connector that has not been selected, returning to the step of selecting an input pin of the relay connector that has not been selected as the first pin;

[0028] In response to the input pins of the relay connector being selected, all of the signal transmission relationships are integrated into an actual transmission relationship of the signal between the sending end pin and the receiving end pin.

[0029] In an exemplary embodiment, detecting whether the actual transmission relationship is correct according to the definition of the transmitting end pin and the definition of the receiving end pin to obtain the detection result includes:

[0030] Selecting the transmitting end pin as the third pin;

[0031] Determine the pin name of the third pin according to the definition of the sending end pin;

[0032] Extracting function bit information of the third pin from the pin name of the third pin;

[0033] According to the actual transmission relationship, determine the receiving end pin connected to the third pin as the fourth pin;

[0034] Determine the pin name of the fourth pin according to the definition of the receiving end pin;

[0035] Extracting function bit information of the fourth pin from the pin name of the fourth pin;

[0036] Detecting whether the function bit information of the third pin is consistent with the function bit information of the fourth pin;

[0037] If they are consistent, a detection result indicating that the transmission relationship between the third pin and the fourth pin is correct is obtained;

[0038] If they are inconsistent, a detection result indicating that the transmission relationship between the third pin and the fourth pin is wrong is obtained.

[0039] In an exemplary embodiment, the function bit information of the pin includes a bus type bit, a transmitting end bit, a receiving end bit, and a cable signal bit;

[0040] The process of detecting whether the function bit information of the third pin is consistent with the function bit information of the fourth pin includes:

[0041] In response to a target pin being flipped, flipping a cable signal bit of the target pin, the target pin including the third pin and / or the fourth pin;

[0042] It is detected whether the cable signal bit of the third pin is consistent with the cable signal bit of the fourth pin.

[0043] In an exemplary embodiment, the process of detecting whether the function bit information of the third pin is consistent with the function bit information of the fourth pin includes:

[0044] In response to the target pin having signal splitting, splitting the cable signal bit of the target pin, the target pin including the third pin and / or the fourth pin;

[0045] It is detected whether the cable signal bit of the third pin is consistent with the cable signal bit of the fourth pin.

[0046] A printed circuit board signal detection system, comprising:

[0047] A first determination module, used to determine a pin connection relationship between an input pin and an output pin of a relay connector;

[0048] A second determining module, used to determine a sending end pin connected to an input pin of the relay connector;

[0049] A third determining module is used to determine a receiving end pin connected to the output pin of the relay connector;

[0050] A fourth determination module, used to determine an actual transmission relationship of a signal between the sending end pin and the receiving end pin according to the pin connection relationship;

[0051] A first detection module, used to detect whether the actual transmission relationship is correct according to the definition of the sending end pin and the definition of the receiving end pin, and obtain a detection result;

[0052] Wherein, the transmitting end and the receiving end are composed based on a printed circuit board.

[0053] An electronic device, comprising:

[0054] Memory for storing computer programs;

[0055] A processor is used to implement the steps of any of the above-mentioned printed circuit board signal detection methods when executing the computer program.

[0056] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any one of the above printed circuit board signal detection methods are implemented.

[0057] The present application provides a printed circuit board signal detection method, which determines the pin connection relationship between the input pin and the output pin of a relay connector; determines the sending end pin connected to the input pin of the relay connector; determines the receiving end pin connected to the output pin of the relay connector; determines the actual transmission relationship of the signal between the sending end pin and the receiving end pin based on the pin connection relationship; detects whether the actual transmission relationship is correct based on the definition of the sending end pin and the definition of the receiving end pin to obtain a detection result; wherein the sending end and the receiving end are based on the printed circuit board. This application takes the relay connector as the center, determines the sending end pin and the receiving end pin connected to the relay connector, and automatically determines the actual transmission relationship of the signal between the sending end pin and the receiving end pin according to the connection relationship between the pins of the relay connector itself. Compared with the detection based on the signal network name only, the tracing of the signal transmission relationship between the sending end and the receiving end is added, and then the actual transmission relationship is detected based on the definition of the sending end pin and the definition of the receiving end pin. Since the pin definition clarifies the pin function, and the pin function determines the signal transmission, the correctness of the signal transmission between the printed circuit boards can be accurately detected based on the pin definition. A printed circuit board signal detection system, electronic equipment and computer-readable storage medium provided by this application also solve corresponding technical problems. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0059] Figure 1 A flow chart of a printed circuit board signal detection method provided in an embodiment of the present application;

[0060] Figure 2 A schematic diagram of the pin correspondence in a one-to-one correspondence relationship;

[0061] Figure 3 The diagram is a corresponding diagram of the pins in an orthogonal relationship;

[0062] Figure 4 It is a user operation interface diagram of the link model;

[0063] Figure 5 This is a schematic diagram of the connection between the CPU and the riser card;

[0064] Figure 6 A schematic diagram of the structure of a printed circuit board signal detection system provided in an embodiment of the present application;

[0065] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0066] Figure 8 Another structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0067] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0068] In the design process of PCB (Print circuit Board, printed circuit board) board, it is necessary to ensure the correctness of the interconnection of PCB boards of different types and functions. In addition to the correct interconnection relationship of each interconnected board, the correctness of the signal connection in the interconnected link relationship must also be ensured. For this reason, it is necessary to detect the correctness of the signal of the PCB board. For example, the signal network name matching of the two interconnected pins in the PCB board can be checked and judged. However, if the pin of the PCB board jumps, the pin network name still behaves normally, but the signal represented by the pin is no longer compatible with the network name, resulting in an error in the PCB board signal detection. For example, the signal network names corresponding to A1B1, C1D1, and E1F1 are all DPDN. According to the rule, the next signal network name should be G1H1, but it is actually H1G1. At this time, if human negligence is used and the corresponding signal is named DPDN according to the above rule, then the error cannot be detected when checking the network name between the connectors, resulting in the interconnection of the PCB board causing the pins to be connected incorrectly, resulting in the problem of burning or scrapping the board. A printed circuit board signal detection method provided by the present application can avoid this situation.

[0069] See also Figure 1 , Figure 1 A flowchart of a printed circuit board signal detection method provided in an embodiment of the present application.

[0070] A printed circuit board signal detection method provided in an embodiment of the present application may include the following steps:

[0071] Step S101: Determine the pin connection relationship between the input pins and the output pins of the relay connector.

[0072] In actual applications, the transmitting end and the receiving end composed of a printed circuit board are connected through a relay connector, and the connection relationship between the pins of the relay connector itself is fixed, so the pin connection relationship between the input pins and the output pins of the relay connector can be determined first, so that the signal transmission relationship between the transmitting end and the receiving end can be analyzed based on the pin connection relationship with the relay connector as the center.

[0073] It should be noted that the type of relay connector can be determined according to the application scenario, for example, the relay connector can be straight male-bent female, bent male-bent female, etc. And the types of the transmitter and the receiver can also be determined according to the application scenario, for example, the transmitter and the receiver can be the control board, backplane, riser board, etc. on the server.

[0074] In a specific application scenario, in the process of determining the pin connection relationship between the input pins and the output pins of the relay connector, the type of the relay connector can be determined; then, based on the type of the relay connector, the pin connection relationship between the input pins and the output pins of the relay connector can be determined. For example, in response to the relay connector being a plug-in type, the pin connection relationship between the input pins and the output pins of the relay connector is determined to be a one-to-one correspondence. In response to the relay connector being an orthogonal type, the pin connection relationship between the input pins and the output pins of the relay connector is determined to be an orthogonal correspondence. Furthermore, in order to facilitate understanding of the pin connection relationship, after determining the pin connection relationship between the input pins and the output pins of the relay connector, an input matrix that records the input pin numbers of the relay connector can be generated, and an output matrix that records the output pin numbers of the relay connector can be generated. Then, based on the pin connection relationship, the correspondence between the input matrix and the output matrix can be recorded. For example, in response to the pin connection relationship being a one-to-one correspondence, the input matrix and the output matrix can be recorded in a one-to-one correspondence. Figure 2 As shown, the PIN of the xth row and yth column of matrix A corresponds to the PIN of the xth row and yth column of matrix B. In response to the orthogonal correspondence between the pin connection relationship, the output matrix is ​​flipped 180 degrees, and the input matrix and the flipped output matrix are recorded one-to-one, as shown in Figure 3 As shown, the PIN in the xth row and yth column of matrix C corresponds to the PIN in the xth row and yth column of matrix D.

[0075] Step S102: Determine the transmitting end pin connected to the input pin of the relay connector.

[0076] Step S103: Determine the receiving end pin connected to the output pin of the relay connector.

[0077] Step S104: determining the actual transmission relationship of the signal between the transmitting end pin and the receiving end pin according to the pin connection relationship.

[0078] In actual applications, the pin of the transmitting end is connected to the input pin of the relay connector, and the pin of the receiving end is connected to the output pin of the relay connector. If an input pin and an output pin of the relay connector are connected, then the transmitting end pin connected to the input pin and the receiving end pin connected to the output pin are also connected. Therefore, the transmitting end pin connected to the input pin of the relay connector and the receiving end pin connected to the output pin can be determined, and the receiving end pin connected to the output pin of the relay connector can be determined. Then, based on the pin connection relationship, the actual transmission relationship of the signal between the transmitting end pin and the receiving end pin can be determined.

[0079] In a specific application scenario, in the process of determining the transmitting end pin connected to the input pin of the relay connector, determining the receiving end pin connected to the output pin of the relay connector, and determining the actual transmission relationship of the signal between the transmitting end pin and the receiving end pin according to the pin connection relationship, it is possible to start from the input pin of the relay connector and determine each pair of connected transmitting end pins and receiving end pins in turn to avoid missing the transmission relationship, that is, an input pin of the relay connector that is not selected can be selected as the first pin; according to the pin connection relationship, the output pin of the relay connector connected to the first pin can be determined as the second pin; the transmitting end pin connected to the first pin can be determined The sending end pin is as shown in Table 1, and the receiving end pin connected to the second pin is determined, as shown in Table 2, wherein ZL represents the input pin and ZR represents the output pin; a signal transmission relationship characterizing the transmission of the signal from the sending end pin to the receiving end pin is established, as shown in Table 3; it is detected whether there is an input pin of the relay connector that has not been selected; in response to the input pin of the relay connector that has not been selected, the step of returning to select an input pin of the relay connector that has not been selected as the first pin is executed; in response to the input pins of the relay connector being selected, all signal transmission relationships are integrated into the actual transmission relationship of the signal between the sending end pin and the receiving end pin.

[0080] Table 1 Transmitter pin information

[0081]

[0082] Table 2 Receiver pin information

[0083]

[0084] Table 3 Signal transmission relationship table

[0085]

[0086] Step S105: According to the definition of the pins of the transmitting end and the pins of the receiving end, detect whether the actual transmission relationship is correct and obtain a detection result; the transmitting end and the receiving end are composed based on a printed circuit board.

[0087] In actual applications, because each pin has its own definition, this definition determines the pin function, and the pin function determines the signal transmission relationship. Therefore, after knowing the actual transmission relationship of the signal between the sending end pin and the receiving end pin, it is possible to detect whether the actual transmission relationship is correct based on the definition of the sending end pin and the definition of the receiving end pin, and obtain the detection result. Furthermore, after obtaining the detection result, the printed circuit board of the sending end or the receiving end can be adjusted according to the detection result. For example, the transmission relationship detected in error in the actual transmission relationship is used as the target transmission relationship, and the sending end pin or the receiving end pin corresponding to the target transmission relationship is adjusted so that the signal transmission relationship between the adjusted sending end pin and the receiving end pin is compatible with the pin definition, thereby avoiding the problem of burning and scrapping the board caused by the wrong signal connection due to multi-level PCB interconnection, effectively intercepting the occurrence of errors from the design end and reducing the scrapping caused by board design errors.

[0088] In practical applications, considering that the pin name in the pin definition reflects the functional information of the pin, the pin name can be analyzed to detect whether the transmission relationship is correct, that is, in the process of detecting whether the actual transmission relationship is correct according to the definition of the sending end pin and the definition of the receiving end pin, and obtaining the detection result, the sending end pin can be selected as the third pin, one sending end pin can be selected as the third pin at a time, or multiple sending end pins can be selected as the third pin at a time; according to the definition of the sending end pin, the pin name of the third pin is determined, as shown in Table 4; from the pin name of the third pin The function bit information of the third pin is extracted from the name; according to the actual transmission relationship, the receiving end pin connected to the third pin is determined as the fourth pin; according to the definition of the receiving end pin, the pin name of the fourth pin is determined, as shown in Table 5; from the pin name of the fourth pin, the function bit information of the fourth pin is extracted; it is detected whether the function bit information of the third pin is consistent with the function bit information of the fourth pin; if they are consistent, a detection result indicating that the transmission relationship between the third pin and the fourth pin is correct is obtained; if they are inconsistent, a detection result indicating that the transmission relationship between the third pin and the fourth pin is incorrect is obtained.

[0089] Table 4 Pin name table of the third pin

[0090]

[0091] Table 5 Pin name table of the fourth pin

[0092]

[0093] From the implementation process, it can be known that the present application can determine the pin name of the third pin according to the definition of the transmitting end pin, extract the function bit information of the third pin from the pin name of the third pin, and analyze the function bit information of the third pin with the help of the pin name in the pin definition; determine the receiving end pin connected to the third pin as the fourth pin according to the actual transmission relationship, determine the pin name of the fourth pin according to the definition of the receiving end pin, extract the function bit information of the fourth pin from the pin name of the fourth pin, and analyze the function bit information of the fourth pin connected to the third pin with the help of the pin name in the pin definition; finally, detect whether the function bit information of the third pin and the function bit information of the fourth pin are consistent to obtain the detection result. It realizes the analysis of the pin function bit with the help of the pin name in the pin definition, and detects whether the signal transmission between the pins is correct by comparing the pin function bits. The logic is clear and easy to implement, and the applicability is good.

[0094] In a specific application scenario, the function bit information of the pin may include a bus type bit, a transmitting end bit, a receiving end bit, and a cable signal bit. Correspondingly, when detecting whether the function bit information of the third pin and the function bit information of the fourth pin are consistent: it is possible to detect whether the bus type bit of the third pin and the bus type bit of the fourth pin are consistent. If the bus type bits are inconsistent, a detection result indicating that the transmission relationship between the third pin and the fourth pin is wrong is obtained. If the bus type bits are consistent, it is detected whether the sending end bit of the third pin and the sending end bit of the fourth pin are consistent; if the sending end bits are inconsistent, a detection result indicating that the transmission relationship between the third pin and the fourth pin is wrong is obtained. If the sending end bits are consistent, it is detected whether the receiving end bit of the third pin and the receiving end bit of the fourth pin are consistent. If the receiving end bits are inconsistent, a detection result indicating that the transmission relationship between the third pin and the fourth pin is wrong is obtained. If the receiving end bits are consistent, it is detected whether the cable signal bit of the third pin and the cable signal bit of the fourth pin are consistent. If the cable signal bits are inconsistent, a detection result indicating that the transmission relationship between the third pin and the fourth pin is wrong is obtained. If the cable signal bits are consistent, a detection result indicating that the transmission relationship between the third pin and the fourth pin is correct is obtained.

[0095] For ease of understanding, taking the pins shown in Table 4 and Table 5 as an example, according to the PIN NAME information P2_TXN11 corresponding to the ZL endpoint PIN, the characters representing the functional meanings of the bus type bit, the transmitter bit, the receiver bit, and the cable signal bit are P, T, N, and 11, respectively, and the corresponding signals are PCIE (peripheral component interconnect express, high-speed serial computer expansion bus standard) bus category, TX, DN, and 11, respectively; and the PIN NAME information PETN3 corresponding to the ZR endpoint PIN can be seen, the characters representing the functional meanings of the bus type bit, the transmitter bit, the receiver bit, and the cable signal bit are P, T, N, and 3, respectively, and the corresponding signals are PCIE bus category, TX, DN, and 3, respectively. Since P2_TXN11 is 8 bits, the function characters are located at the 0th, 3rd, 5th, 7th and 8th bits respectively, and PETN3 is 5 bits, the function characters are located at the 0th, 2nd, 3rd, 4th and 5th bits respectively, so when the 0th bit of ZL is equal to the 0th bit of ZR, proceed downward, otherwise the detection result indicating that the transmission relationship between the third pin and the fourth pin is wrong is obtained; when the 3rd bit of ZL is equal to the 2nd bit of ZR, proceed downward, otherwise the detection result indicating that the transmission relationship between the third pin and the fourth pin is wrong is obtained; when the 5th bit of ZL is equal to the 3rd bit of ZR, proceed downward, otherwise the detection result indicating that the transmission relationship between the third pin and the fourth pin is wrong is obtained; when the 7th and 8th bits of ZL are equal to the 4th and 5th bits of ZR, the detection result indicating that the transmission relationship between the third pin and the fourth pin is correct is obtained, otherwise the detection result indicating that the transmission relationship between the third pin and the fourth pin is wrong is obtained.

[0096] In a specific application scenario, considering that the pins may flip, the flipping may affect the comparison result of whether the cable signal bits are consistent. In order to avoid this and improve the accuracy of the comparison of whether the cable signal bits are consistent, in the process of detecting whether the cable signal bits of the third pin and the cable signal bits of the fourth pin are consistent, in response to a flipping of the target pin, the cable signal bits of the target pins may be flipped first, the target pins including the third pin and / or the fourth pin, that is, if the third pin is flipped, the cable signal bits of the third pin are flipped, and if the fourth pin is flipped, the cable signal bits of the fourth pin are flipped; then, it is detected whether the cable signal bits of the third pin and the cable signal bits of the fourth pin are consistent. For ease of understanding, assume that both the transmitting end and the receiving end are X16 buses. If there is a flip, the cable signal bits 0-15 can be flipped to 15-0, that is, the cable signal bit of the third pin can be signal 0, and the cable signal bit of the fourth pin can be signal 15. At this time, the transmission relationship between the third pin and the fourth pin is still correct. Of course, if there is no flip, this transmission relationship between the third pin and the fourth pin is wrong.

[0097] In a specific application scenario, taking into account the situation that the pins are split, the splitting will affect the detection result of whether the cable signal bits are consistent. In order to avoid this situation and improve the accuracy of the comparison of whether the cable signal bits are consistent, in the process of detecting whether the function bit information of the third pin and the function bit information of the fourth pin are consistent, in response to the signal splitting of the target pin, the cable signal bit of the target pin is split, and the target pin includes the third pin and / or the fourth pin; and detecting whether the cable signal bit of the third pin is consistent with the cable signal bit of the fourth pin. For ease of understanding, assume that both the transmitting end and the receiving end are X16 buses. If there is a split, that is, when the X16 signal is split into two X8s, 0-7 can correspond to 0-7, and 8-15 can also correspond to 0-7, that is, the cable signal bit of the third pin can be signal 3, and the cable signal bit of the fourth pin can be signal 3 or signal 11. In these two cases, the transmission relationship between the third pin and the fourth pin is still correct. Of course, if there is no split, the transmission relationship that the cable signal bit of the third pin is signal 3 and the cable signal bit of the fourth pin is signal 11 is wrong. It should be noted that signal flipping and signal splitting can exist together. In this case, you only need to flip and split the cable signal bit in the same way to compare the consistency of the cable signal bit.

[0098] In actual applications, in the process of detecting whether the actual transmission relationship is correct according to the definition of the transmitting end pin and the definition of the receiving end pin to obtain the detection result, the initial transmission relationship of the signal between the transmitting end pin and the receiving end pin can also be generated according to the definition of the transmitting end pin and the definition of the receiving end pin; in response to the existence of flipping at the transmitting end and / or the receiving end, the flipping information of the pin is determined, and in the initial transmission relationship, the pin is flipped according to the flipping information to obtain the set transmission relationship, and / or, in response to the existence of splitting at the transmitting end and / or the receiving end, the splitting information of the pin is determined, and in the initial transmission relationship, the pin is split according to the splitting information to obtain the set transmission relationship; detect whether the actual transmission relationship and the set transmission relationship are consistent, and in response to the actual transmission relationship and the set transmission relationship being consistent, a detection result indicating that the actual transmission relationship is correct is obtained, and in response to the actual transmission relationship and the set transmission relationship being inconsistent, a detection result indicating that the actual transmission relationship is incorrect is obtained.

[0099] From this implementation process, it can be seen that the present application can first generate an initial transmission relationship of signals between the transmitting end pin and the receiving end pin according to the definition of the transmitting end pin and the definition of the receiving end pin. This initial transmission relationship represents the theoretical transmission relationship of signals between the transmitting end pin and the receiving end pin. However, considering flipping and splitting, the initial transmission relationship needs to be optimized, that is, in response to flipping of the transmitting end and / or the receiving end, the flipping information of the pin is determined, and in the initial transmission relationship, the pin is flipped according to the flipping information to obtain a set transmission relationship, and / or, in response to splitting of the transmitting end and / or the receiving end, the splitting information of the pin is determined, and in the initial transmission relationship, the pin is split according to the splitting information to obtain a set transmission relationship, so that the set transmission relationship truly expresses the theoretical transmission relationship of signals between the transmitting end pin and the receiving end pin; finally, whether the actual transmission relationship is consistent with the set transmission relationship can be detected to obtain the corresponding detection result, so as to avoid one-to-one detection of pin function bits with the help of the set transmission relationship, and the detection process can be simplified while ensuring the detection accuracy, so as to achieve the compatibility of detection efficiency and detection accuracy.

[0100] In practical applications, in order to facilitate users to understand the signal detection process of the printed circuit board, this process can also be described through modeling. For example, after knowing the link structure of the transmitter, relay connector and receiver, a link model can be created in the order of transmitter-relay connector-receiver. The user operation interface can be as follows: Figure 4 As shown, Figure 5Taking the PCIE link from the board where the CPU (Central Processing Unit) is located to the riser card as an example, a link model of end (CPU)-relay connector-end (SLOT1&2&3&4) can be formed; then the pin connection relationship of the relay connector can be modeled, and the actual transmission relationship of the signal between the sending end pin and the receiving end pin can be modeled, and the pin connection relationship of the relay connector and the actual transmission relationship of the signal between the sending end pin and the receiving end pin can be modeled together to form a connection diagram of each pin in the sending end-relay connector-receiving end. Finally, according to the detection results, the pins corresponding to the wrong transmission relationship are marked in the connection diagram so that the user can quickly view the wrong pins.

[0101] The present application provides a printed circuit board signal detection method, which determines the pin connection relationship between the input pin and the output pin of a relay connector; determines the sending end pin connected to the input pin of the relay connector; determines the receiving end pin connected to the output pin of the relay connector; determines the actual transmission relationship of the signal between the sending end pin and the receiving end pin based on the pin connection relationship; detects whether the actual transmission relationship is correct based on the definition of the sending end pin and the definition of the receiving end pin to obtain a detection result; wherein the sending end and the receiving end are based on the printed circuit board. This application takes the relay connector as the center, determines the sending end pin and the receiving end pin connected to the relay connector, and automatically determines the actual transmission relationship of the signal between the sending end pin and the receiving end pin according to the connection relationship between the pins of the relay connector itself. Compared with the detection based only on the signal network name, the tracing of the signal transmission relationship between the sending end and the receiving end is added, and then the actual transmission relationship is detected based on the definition of the sending end pin and the definition of the receiving end pin. Since the pin definition clarifies the pin function, and the pin function determines the signal transmission, the correctness of the signal transmission between printed circuit boards can be accurately detected based on the pin definition.

[0102] See also Figure 6 , Figure 6 A schematic diagram of the structure of a printed circuit board signal detection system provided in an embodiment of the present application.

[0103] A printed circuit board signal detection system provided in an embodiment of the present application may include:

[0104] A first determining module 101 is used to determine a pin connection relationship between an input pin and an output pin of a relay connector;

[0105] A second determination module 102 is used to determine a sending end pin connected to an input pin of the relay connector;

[0106] A third determination module 103, used to determine a receiving end pin connected to an output pin of the relay connector;

[0107] A fourth determination module 104, configured to determine an actual transmission relationship of a signal between a transmitting end pin and a receiving end pin according to a pin connection relationship;

[0108] The first detection module 105 is used to detect whether the actual transmission relationship is correct according to the definition of the sending end pin and the definition of the receiving end pin, and obtain a detection result;

[0109] Among them, the transmitting end and the receiving end are composed based on a printed circuit board.

[0110] In a printed circuit board signal detection system provided by an embodiment of the present application, the first determination module may include:

[0111] The first determining unit is used to determine the type of the relay connector; and according to the type, determine the pin connection relationship between the input pin and the output pin of the relay connector.

[0112] A printed circuit board signal detection system provided in an embodiment of the present application may further include:

[0113] The first generating unit is used to generate an input matrix recording the input pin numbers of the relay connector after the first determining module determines the pin connection relationship between the input pins and the output pins of the relay connector; generate an output matrix recording the output pin numbers of the relay connector; and record the corresponding relationship between the input matrix and the output matrix according to the pin connection relationship.

[0114] A printed circuit board signal detection system provided in an embodiment of the present application may include:

[0115] A first selection unit, used for selecting an unselected input pin of the relay connector as a first pin;

[0116] A second determining unit, configured to determine, according to the pin connection relationship, an output pin of the relay connector connected to the first pin as the second pin;

[0117] A third determining unit is used to determine a transmitting end pin connected to the first pin; and determine a receiving end pin connected to the second pin;

[0118] A first establishing unit is used to establish a signal transmission relationship representing the transmission of a signal from a sending end pin to a receiving end pin;

[0119] The first detection unit is used to detect whether there are any unselected input pins of the relay connector; in response to the presence of unselected input pins of the relay connector, the step of returning to select an unselected input pin of the relay connector as the first pin; in response to all input pins of the relay connector being selected, all signal transmission relationships are integrated into the actual transmission relationship of signals between the sending end pin and the receiving end pin.

[0120] An embodiment of the present application provides a printed circuit board signal detection system, wherein the first detection module may include:

[0121] A first setting unit, used for selecting a sending end pin as a third pin;

[0122] The fourth determining unit is used to determine the pin name of the third pin according to the definition of the sending end pin; and extract the function bit information of the third pin from the pin name of the third pin;

[0123] a fifth determining unit, configured to determine, according to an actual transmission relationship, a receiving end pin connected to the third pin as a fourth pin;

[0124] A sixth determining unit is used to determine the pin name of the fourth pin according to the definition of the receiving end pin; and extract the function bit information of the fourth pin from the pin name of the fourth pin;

[0125] The second detection unit is used to detect whether the function bit information of the third pin is consistent with the function bit information of the fourth pin; if they are consistent, a detection result is obtained indicating that the transmission relationship between the third pin and the fourth pin is correct; if they are inconsistent, a detection result is obtained indicating that the transmission relationship between the third pin and the fourth pin is wrong.

[0126] A printed circuit board signal detection system provided by an embodiment of the present application, wherein the function bit information of the pin includes a bus type bit, a transmitting end bit, a receiving end bit, and a cable signal bit;

[0127] The first detection module may include:

[0128] The third detection unit is used to flip the cable signal bit of the target pin in response to the target pin being flipped, the target pin includes the third pin and / or the fourth pin; and detect whether the cable signal bit of the third pin is consistent with the cable signal bit of the fourth pin.

[0129] An embodiment of the present application provides a printed circuit board signal detection system, wherein the first detection module may include:

[0130] The fourth detection unit is used to split the cable signal bit of the target pin in response to the signal splitting of the target pin, where the target pin includes the third pin and / or the fourth pin; and detect whether the cable signal bit of the third pin is consistent with the cable signal bit of the fourth pin.

[0131] The present application also provides an electronic device and a computer-readable storage medium, both of which have the corresponding effects of the printed circuit board signal detection method provided in the embodiment of the present application. Figure 7 , Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0132] An electronic device provided in an embodiment of the present application includes a memory 201 and a processor 202. The memory 201 stores a computer program. When the processor 202 executes the computer program, the steps of the printed circuit board signal detection method described in any of the above embodiments are implemented.

[0133] See also Figure 8 , another electronic device provided in the embodiment of the present application may also include: an input port 203 connected to the processor 202, for transmitting commands input from the outside to the processor 202; a display unit 204 connected to the processor 202, for displaying the processing results of the processor 202 to the outside; a communication module 205 connected to the processor 202, for realizing communication between the electronic device and the outside. The display unit 204 can be a display panel, a laser scanning display, etc.; the communication method adopted by the communication module 205 includes but is not limited to mobile high-definition link technology (Mobile High-Definition Link, MHL), Universal Serial Bus (Universal Serial Bus, USB), High-Definition Multimedia Interface (High-DefinitionMultimedia Interface, HDMI), wireless connection: wireless fidelity technology (WIreless Fidelity, WiFi), Bluetooth communication technology, low-power Bluetooth communication technology, and communication technology based on IEEE802.11s.

[0134] An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of the printed circuit board signal detection method described in any of the above embodiments are implemented.

[0135] The computer-readable storage medium involved in this application includes random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs (Compact Disc Read-Only Memory), or any other form of storage medium known in the technical field.

[0136] A computer program product provided in an embodiment of the present application includes a computer program / instruction, which, when executed by a processor, implements the steps of the printed circuit board signal detection method described in any of the above embodiments.

[0137] For the description of the relevant parts of a printed circuit board signal detection system, an electronic device, and a computer-readable storage medium provided in the embodiments of the present application, please refer to the detailed description of the corresponding parts in a printed circuit board signal detection method provided in the embodiments of the present application, which will not be repeated here. In addition, the parts of the above technical solutions provided in the embodiments of the present application that are consistent with the implementation principles of the corresponding technical solutions in the prior art are not described in detail to avoid excessive elaboration.

[0138] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0139] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A printed circuit board signal detection method, characterized in that: include: Determine the pin connection relationship between the input pins and the output pins of the relay connector; Determine a transmitting end pin connected to an input pin of the relay connector; Determine a receiving end pin connected to an output pin of the relay connector; Determining an actual transmission relationship of a signal between the transmitting end pin and the receiving end pin according to the pin connection relationship; According to the definition of the transmitting end pin and the definition of the receiving end pin, detecting whether the actual transmission relationship is correct, and obtaining a detection result; Wherein, the transmitting end and the receiving end are composed based on a printed circuit board.

2. The method according to claim 1, characterized in that The step of determining the pin connection relationship between the input pin and the output pin of the relay connector includes: Determine the type of relay connector; According to the type, a pin connection relationship between an input pin and an output pin of the relay connector is determined.

3. The method according to claim 2, characterized in that After the pin connection relationship between the input pin and the output pin of the relay connector is determined, the method further includes: generating an input matrix recording the input pin numbers of the relay connector; Generate an output matrix recording the output pin numbers of the relay connector; According to the pin connection relationship, the corresponding relationship between the input matrix and the output matrix is ​​recorded.

4. The method according to claim 1, characterized in that: The step of determining a transmitting end pin connected to an input pin of the relay connector, determining a receiving end pin connected to an output pin of the relay connector, and determining an actual transmission relationship of a signal between the transmitting end pin and the receiving end pin according to the pin connection relationship comprises: Selecting an unselected input pin of the relay connector as the first pin; According to the pin connection relationship, determine the output pin of the relay connector connected to the first pin as the second pin; Determine a transmitting end pin connected to the first pin; Determining a receiving end pin connected to the second pin; Establishing a signal transmission relationship representing that the transmitting end pin transmits a signal to the receiving end pin; Detecting whether there is an input pin of the relay connector that has not been selected; In response to there being an input pin of the relay connector that has not been selected, returning to the step of selecting an input pin of the relay connector that has not been selected as the first pin; In response to the input pins of the relay connector being selected, all of the signal transmission relationships are integrated into an actual transmission relationship of the signal between the sending end pin and the receiving end pin.

5. The method according to claim 1, characterized in that The detecting whether the actual transmission relationship is correct according to the definition of the transmitting end pin and the definition of the receiving end pin to obtain the detection result includes: Selecting the transmitting end pin as the third pin; Determine the pin name of the third pin according to the definition of the sending end pin; Extracting function bit information of the third pin from the pin name of the third pin; According to the actual transmission relationship, determine the receiving end pin connected to the third pin as the fourth pin; Determine the pin name of the fourth pin according to the definition of the receiving end pin; Extracting function bit information of the fourth pin from the pin name of the fourth pin; Detecting whether the function bit information of the third pin is consistent with the function bit information of the fourth pin; If they are consistent, a detection result indicating that the transmission relationship between the third pin and the fourth pin is correct is obtained; If they are inconsistent, a detection result indicating that the transmission relationship between the third pin and the fourth pin is wrong is obtained.

6. The method according to claim 5, characterized in that The function bit information of the pin includes bus type bit, transmitting end bit, receiving end bit, and cable signal bit; The process of detecting whether the function bit information of the third pin is consistent with the function bit information of the fourth pin includes: In response to a target pin being flipped, flipping a cable signal bit of the target pin, the target pin including the third pin and / or the fourth pin; It is detected whether the cable signal bit of the third pin is consistent with the cable signal bit of the fourth pin.

7. The method according to claim 6, characterized in that The process of detecting whether the function bit information of the third pin is consistent with the function bit information of the fourth pin includes: In response to the target pin having signal splitting, splitting the cable signal bit of the target pin, the target pin including the third pin and / or the fourth pin; It is detected whether the cable signal bit of the third pin is consistent with the cable signal bit of the fourth pin.

8. A printed circuit board signal detection system, characterized in that: include: A first determination module, used to determine a pin connection relationship between an input pin and an output pin of a relay connector; A second determining module, used to determine a sending end pin connected to an input pin of the relay connector; A third determining module is used to determine a receiving end pin connected to the output pin of the relay connector; A fourth determination module, used to determine an actual transmission relationship of a signal between the sending end pin and the receiving end pin according to the pin connection relationship; A first detection module, used to detect whether the actual transmission relationship is correct according to the definition of the sending end pin and the definition of the receiving end pin, and obtain a detection result; Wherein, the transmitting end and the receiving end are composed based on a printed circuit board.

9. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the printed circuit board signal detection method as claimed in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the printed circuit board signal detection method according to any one of claims 1 to 7 are implemented.