Background
In recent years, information security has been receiving more and more attention. With the increasing functions of information systems, various information systems often carry various integrated circuit chips, passwords or key data often need to be transmitted among the integrated circuit chips, and the communication security among the chips often cannot be guaranteed at the PCB level, so that the security of the information systems is seriously threatened.
In order to ensure the security of communication between chips, chips requiring communication are often packaged together by using SIP packages, but the SIP packages have a large size, which virtually hinders the development of miniaturization of integrated circuit systems, and the SIP packages are expensive, so that the application range of the integrated circuit systems is limited.
In order to protect the communication safety of chips, the invention provides a PCB level protection method and a PCB level protection structure for ensuring the communication of integrated circuit chips.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention aims to provide a protection method and a structure which are suitable for protecting the safety of communication information between chips at a PCB level, so that an attacker is prevented from directly contacting communication routing and acquiring mutual information such as keys, key data and the like transmitted between the chips. The technical scheme adopted by the invention is that the PCB level protection method for ensuring the communication of the integrated circuit chip comprises the steps of firstly utilizing a Ball Grid Array (BGA) packaging pin to be positioned at the bottom of the chip so that an attacker cannot directly contact the chip pin, then utilizing the middle layer of a multilayer Printed Circuit Board (PCB) to carry out important data communication so that the attacker cannot directly contact communication wiring, simultaneously adding chip anti-removal detection, and immediately terminating the communication once one part of the communication chip is removed from the PCB by the attacker.
A PCB board-level protection structure for ensuring communication of an integrated circuit chip is characterized in that a protected chip selects a Ball Grid Array (BGA) packaging pin, a multi-layer Printed Circuit Board (PCB) middle layer on which the chip is supported and fixed is an important data communication wiring layer, and the chip is also provided with an anti-dismounting device.
The anti-dismantling device is characterized in that a sensing pin is arranged on a chip and is connected with a high level, and the high level of the sensing pin is pulled down to trigger communication interruption when the chip is dismantled.
The anti-dismounting device is characterized in that a thin-mode switch is arranged on the PCB, when the chip is normally connected to the PCB, the thin-mode switch below the chip is pressed, the thin-mode switch is closed, and a pin connected with the thin-mode switch is led in a high level; when the chip is detached, the thin-mode switch is in an off state, and a pin connected with the thin-mode switch is pulled down at a high level to trigger communication interruption.
The invention has the characteristics and beneficial effects that:
because the chips are packaged by BGA, and the important communication connecting wires among the chips are all positioned in the middle layer of the multilayer PCB, an attacker cannot contact pins and wires, and therefore communication information cannot be stolen. Also, if one of the communication chips is removed, the removal can be recognized as well to interrupt the communication. The protective layer is simple in structural principle, easy to implement, high in applicability of the protective method, low in cost and capable of guaranteeing communication safety, and extra packaging bodies are not needed.
Detailed Description
According to the PCB level protection structure provided by the invention, firstly, the advantage that BGA (Ball Grid Array, spherical pin Grid Array package technology) package pins are positioned at the bottom of a chip is utilized, so that an attacker cannot directly contact the chip pins, then important data communication is carried out by utilizing the middle layers of a multilayer PCB, so that the attacker cannot directly contact communication wiring, meanwhile, chip removal prevention detection is added, and once one part of a communication chip is removed from the PCB by the attacker, communication is immediately terminated.
As shown in fig. 1, which is a schematic cross-sectional view of a PCB-level protection structure provided by the present invention, the structure mainly comprises a chip 1, a chip 2, and a PCB. Chip 1, chip 2 all adopt the BGA encapsulation, and the PCB board adopts the multilayer PCB board, and for the convenience of description, adopt four layers of PCB boards in the embodiment, actually can adopt the PCB board that is higher than four layers.
Pins 2 and 3 of the chip 1 are communication pins, and pins 4 and 5 are sensing pins. Pins 4 and 5 of the chip 2 are communication pins, and pins 2 and 3 are sensing pins. The communication pins are used for important data interaction between the chips, and the sensing pins are used for sensing whether the chips are detached from the PCB by an attacker or not. Four layers of PCBs are arranged from top to bottom, the first layer is a ground layer, and the layer is completely covered with copper and grounded and used for shielding attacks from the top layer, so that an attacker cannot identify the second layer of wiring. The second layer is a sensing layer and is used for communication between pins of sensing attack between chips. The third layer is a communication layer and is used for transmitting interactive data such as keys and key information among chips. The fourth layer is a ground layer, and the layer is completely covered with copper and grounded and is used for shielding the attack from the bottom layer, so that an attacker cannot identify the third layer of wiring.
Pin 2 of chip 1 links to each other with pin 5 of chip 2 through PCB board third layer communication layer, and pin 3 of chip 1 links to each other with pin 4 of chip 2 through PCB board third layer communication layer, and pin 4 of chip 1 links to each other with pin 3 of chip 2 through PCB board second layer perception layer, and pin 5 of chip 1 links to each other with pin 2 of chip 2 through PCB board second layer perception layer.
Pin 4 of chip 1 is in output state, and outputs high level, and pin 5 is in input state. Pin 2 of chip 2 is in output state, and outputs high level, and pin 3 is in input state. In normal operation, pin 5 of chip 1 inputs high level, and pin 3 of chip 2 also inputs high level. When the chip 1 and the chip 2 communicate, firstly, the input signal levels on the pin 5 and the pin 3 are respectively detected, if the input signal levels are high levels, the communication chip is in a normal state, the two chips can communicate, and at the moment, the pin 2 and the pin 3 of the chip 1 and the pin 4 and the pin 5 of the chip 2 can perform data interaction. Once the pin 5 of the chip 1 inputs a low level or the pin 3 of the chip 2 inputs a low level, which represents that one of the communication chips is removed from the PCB by an attacker, the data interaction between the chip 1 and the chip 2 is terminated immediately, i.e., the pin 2 and the pin 3 of the chip 1 and the pin 4 and the pin 5 of the chip 2 have no effective signal output.
For some chips that cannot provide sensing pins, the shielding layer structure shown in fig. 2 may be used. Chip 2 is the main control chip, and the communication between chip 1 and chip 2 is controlled by chip 2. A thin film switch with extremely thin thickness is arranged between the bottom surface of the chip 1 and the upper surface of the PCB, and when the chip 1 is welded and attached to the PCB, the thin film switch is pressed by the chip 1 to be closed, so that the thin film switch can be regarded as a lead. Pin 2 of chip 2 is connected with membrane switch right side pin, and pin 3 is connected with membrane switch left side pin. When the circuit works normally, the chip 1 and the chip 2 are connected with the PCB completely, and the film switch is closed. Pin 2 of chip 2 outputs high level, inputs pin 3 after the membrane switch, and pin 3 detects high level, and then both chips are in normal state, can communicate. Once the chip 1 is removed, the membrane switch has no external force and is in an off state, the input level of the pin 3 of the chip 2 is low level, and therefore the chip 1 is detected to be removed, and communication is immediately terminated. Once the chip 2 is removed, the pin 3 input level is low and communication is terminated.
As shown in fig. 1, the chip packages are selected to be BGA packages, sensing communication and important data communication are performed by using the intermediate layer of the multi-layer PCB, and all the upper and lower layers are copper-clad and grounded, respectively. The scope of the present invention is not limited to the above embodiments, and equivalent modifications or variations made by those skilled in the art according to the present disclosure should be included in the scope of the present invention.