A circuit board and a server
By setting up power-off detection circuits and power-on detection circuits on the server circuit board and using components such as field-effect transistors and resistors, the problem of the server unpacking detection being unable to continue when powered on is solved, achieving low-cost, high-reliability unpacking detection.
Patent Information
- Application Number
- CN202310276081.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-20
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2043-03-20
AI Technical Summary
Existing server unpacking detection circuits cannot continuously detect when powered on, and the additional dedicated triggers are costly and affect battery life.
A box-opening detection circuit is designed, which includes a power-off detection circuit and a power-on detection circuit. Basic components such as field-effect transistors, diodes, and resistors are used to realize box-opening detection of the server in any state. The power-off detection circuit generates a trigger signal in the power-off state and shields interference in the power-on state, ensuring the accuracy and reliability of the detection.
It realizes unpacking detection of servers in any scenario, has a simple structure and low cost, improves the accuracy and reliability of detection, and avoids the high cost and battery life issues of additional triggers.
Smart Images

Figure CN116467763B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of box opening detection, and particularly relates to a circuit board and a server. BACKGROUND
[0002] The server is a key information processing infrastructure and has various working places. When unattended, the device data needs to be ensured to be safe. Meanwhile, the internal hard disk, CPU and memory bar of the server are valuable assets, and the asset safety of the internal components of the server also needs to be ensured. When the server device is intruded by a person, the background management system needs to perceive in the first time and also needs to record whether the intrusion behavior occurs. Based on this, the server installs a mechanical lock to protect the safety of the internal devices of the server. In addition, the detection of the box opening behavior is also the most direct and effective safety measure.
[0003] At present, a commonly used detection method is that a physical switch is linked with the lock of the server. When the lock is opened, the mechanical switch generates a trigger signal to trigger the INTEL server platform management chip to record the box opening event. However, the existing reporting mechanism is based on the CMOS register, and can only detect the box opening behavior of the server when the server is not powered on, and can only report the detection result once after being powered on. During the process of the server being powered on and running, the CMOS register is set, and the reporting cannot be continued. At this time, an additional special trigger needs to be added to detect the signal of the mechanical switch, so as to realize the box opening detection of the server in the powered-on state.
[0004] However, the additional special trigger has a high cost, and needs to be additionally powered by the internal power supply when being at rest, which reduces the service life of the internal battery. Therefore, there is an urgent need for a detection circuit which has a simple structure, a low cost and can detect the box opening of the server in any scene. SUMMARY
[0005] The present application provides a circuit board and a server, and the circuit board is provided with a box opening detection circuit, so that the box opening of the server can be detected in any scene, and the structure is simple and the cost is low.
[0006] The embodiments of the present application adopt the following technical solutions:
[0007] In a first aspect, the present application provides a circuit board, and the circuit board is provided with a box opening detection circuit, and the box opening detection circuit comprises:
[0008] a power-off detection circuit, a power-on detection circuit and a switch;
[0009] One end of the switch is connected with a first end of the power-on detection circuit, and the other end of the mechanical switch is grounded and connected with a second end of the power-on detection circuit;
[0010] The first end of the power-on detection circuit is connected with the first end of the power-off detection circuit, the third end of the power-on detection circuit is connected with the second end of the power-off detection circuit and the internal power supply respectively, and the fourth end of the power-on detection circuit is used for being connected with the controller;
[0011] The third end of the power-off detection circuit is connected with the controller, and the fourth end of the power-off detection circuit is grounded;
[0012] The power-off detection circuit is used for generating a first trigger signal when the circuit board is in a power-off state and the switch is closed, and sending the first trigger signal to the controller to remind the user of the opening box event after the circuit board is powered on again, and the power-off state is a state when the circuit board is not connected to the external power supply.
[0013] The power-on detection circuit is used for generating a second trigger signal when the opening box circuit board is in a power-on state and the switch is closed, and sending the second trigger signal to the controller to remind the user of the opening box event, and the power-on state is a state when the circuit board is connected to the external power supply.
[0014] As can be seen, in the embodiment, by setting the power-off detection circuit and the power-on detection circuit, detection of abnormal opening box of the server in any state is realized. And in the power-off state, the power-on detection circuit is shielded; in the power-on state, the power-off detection circuit is shielded, thereby preventing interference between signals and improving the accuracy and reliability of detection. At the same time, the whole opening box detection circuit is composed of basic components such as field effect tubes, diodes and resistors, and has simple overall structure, low cost and easy realization, and can be used for server opening box detection in various scenes.
[0015] In a possible implementation, the power-off detection circuit comprises:
[0016] The first resistor, the second resistor, the first field effect tube, the PCH chip and the diode;
[0017] The gate of the first field effect tube is the first end of the power-off detection circuit, one end of the first resistor is the second end of the power-off detection circuit, the third pin of the PCH chip is the third end of the power-off detection circuit, and one end of the second resistor is the fourth end of the power-off detection circuit;
[0018] The source of the first field effect tube is connected with the negative electrode of the diode and the other end of the second resistor respectively;
[0019] The drain of the first field effect tube is connected with the other end of the first resistor and the first pin of the PCH chip respectively;
[0020] One end of the first resistor is connected with the second pin of the PCH chip;
[0021] The positive electrode of the diode is connected with the external power supply.
[0022] In a possible implementation, the first pin of the PCH chip is an intruder pin, the second pin of the PCH chip is a power supply pin, and the third pin of the PCH chip is an LPC interface pin.
[0023] In a possible implementation, the first field effect transistor is an N-channel field effect transistor.
[0024] In a possible implementation, the power-on detection circuit comprises:
[0025] a third resistor, a fourth resistor, and a second field effect transistor;
[0026] One end of the third resistor is a first end of the power-on detection circuit, a source of the second field effect transistor is a second end of the power-on detection circuit, the other end of the third resistor is a third end of the power-on detection circuit, and a drain of the second field effect transistor is a fourth end of the power-on detection circuit.
[0027] One end of the third resistor is connected to a gate of the second field effect transistor.
[0028] The drain of the second field effect transistor is connected to one end of the fourth resistor.
[0029] The other end of the fourth resistor is connected to the second power supply.
[0030] In a possible implementation, the second field effect transistor is an N-channel field effect transistor.
[0031] In a possible implementation, the power-on detection circuit is disabled when the out-of-box detection circuit is in a power-off state, and the power-off detection circuit is disabled when the out-of-box detection circuit is in a power-on state.
[0032] In a possible implementation, the third end of the power-off detection circuit is connected to a baseboard management controller through an enhanced serial peripheral interface bus.
[0033] In a possible implementation, the fourth end of the power-on detection circuit is connected to an interrupt pin of the baseboard management controller.
[0034] In a second aspect, the embodiments of the present application provide a server, which comprises a chassis and a circuit board as in the first aspect arranged in the chassis. BRIEF DESCRIPTION OF DRAWINGS
[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are only some of the embodiments of the present application.
[0036] Figure 1A schematic diagram of an opening box detection system provided by an embodiment of the present application;
[0037] Figure 2 A structural schematic diagram of a server provided by an embodiment of the present application;
[0038] Figure 3 A structural schematic diagram of a physical linkage mechanism provided by an embodiment of the present application;
[0039] Figure 4 A structural schematic diagram of another server provided by an embodiment of the present application;
[0040] Figure 5 A structural schematic diagram of another physical linkage mechanism provided by an embodiment of the present application;
[0041] Figure 6 A circuit block diagram of an opening box detection circuit provided by an embodiment of the present application;
[0042] Figure 7 A structural schematic diagram of an opening box detection circuit provided by an embodiment of the present application;
[0043] Figure 8 A working schematic diagram of a circuit board provided by an embodiment of the present application. DETAILED DESCRIPTION
[0044] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all the other embodiments obtained by those skilled in the art without any creative work fall within the scope of protection of the present application.
[0045] The terms “first”, “second”, “third”, and “fourth” and the like in the specification and claims of the present application and the drawings are used to distinguish different objects, rather than to describe a particular order. In addition, the terms “include” and “have” and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but can optionally include other steps or units not listed or can optionally include other steps or units inherent to the process, method, product or device.
[0046] Reference to an "embodiment" in this document means that a particular feature, structure, result or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase that the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are they necessarily mutually exclusive of other embodiments. It is explicitly contemplated that embodiments described herein can be combined with each other, even though some embodiments are not explicitly described or illustrated to be combinable.
[0047] First, for the convenience of understanding, the related terms involved in the present application are explained:
[0048] BMC, BaseBoard Management Controller, baseboard management controller, used to run an operating system, can be in the state of server without starting, to machine firmware upgrade, view machine component state, on the device power on and some operations.
[0049] PCH, Platform Controller Hub, Intel's integrated south bridge, used for X86 server platform state management and I / O (Input / Output, input / output) function extension.
[0050] CMOS register, Complementary Metal-Oxide-Semiconductor, complementary metal oxide semiconductor register, is a set of registers inside PCH, powered by a battery, used to latch data.
[0051] Power-off state refers to the state in which the server, circuit board and other devices are not connected to the external power supply. At this time, only the internal power supply in the circuit board supplies power to the CMOS register inside the PCH.
[0052] Power-on state refers to the state in which the server, circuit board and other devices are connected to the external power supply.
[0053] Secondly, the circuit board provided by the embodiment of the present application can be used for opening box detection of electronic devices in any case, specifically, as shown in Figure 1 Figure 1 A schematic diagram of an opening box detection system provided by the embodiment of the present application is shown, which can include: an electronic device 10, a detection device, the detection device includes a circuit board 11, the circuit board 11 is provided with an opening box detection circuit and a controller (not shown in the figure), wherein the detection device can be arranged in the electronic device 10, or can be arranged outside the electronic device 10.
[0054] Exemplarily, the electronic device can be a server, a switch cabinet, a power distribution cabinet, etc. In this embodiment, the electronic device 10 is taken as an example, when the electronic device 10 is a server, the detection device is arranged in the server, and the circuit board 11 in the detection device can be a mainboard in the electronic device 10. The mainboard further includes a central processing unit CPU, a memory bank, a south bridge chip PCH, a BMC chip, and the like.
[0055] In some embodiments, the circuit board 11 can also be other circuit boards in the electronic device 10, such as a hard disk backboard, a power supply backboard, a PCIE card connector circuit board, etc.
[0056] In this embodiment, the server can be a file server, a domain server, a database server, a mail server, a web server, a multimedia server, a communication server, a terminal server, an infrastructure server, a virtualization server, etc. The server can be a tower server, a rack server, a blade server, a dense server, a cabinet server, a high-performance computing (HPC) server, a heterogeneous server, etc., which can be but is not limited to an X86 architecture, a reduced instruction set computer (RISC) architecture, an advanced RISC machine (ARM) architecture, etc. The server is used to receive data transmitted by other devices, process the data to generate new data, and send the new data to the corresponding device. The electronic device 10 is provided with a lock on the case / cabinet, which is used to lock the electronic device 10 to ensure the safety of the internal components of the server, such as hard disks, CPUs, memory banks, etc. It should be noted that one or more nodes can be placed in the case of the server, and a node is a minimum computing unit, that is, a node includes a mainboard, a backboard, and the like. The mainboard is provided with a central processing unit CPU, a memory bank, a south bridge chip PCH, a BMC chip, and the like. The backboard can be a hard disk backboard, a PCIE card, a power supply backboard, etc. Multiple server cases can be arranged in the cabinet of the server through U positions or slots.
[0057] In the embodiment, the circuit board 11 is provided with an opening detection circuit and a controller. The opening detection circuit can include a power-off detection circuit, a power-on detection circuit and a switch. The switch and the lock 28 of the electronic device 10 are physically linked. Specifically, when the lock 28 is opened, the switch is closed. Meanwhile, the opening detection circuit sends a signal to the controller 12.
[0058] For example, the circuit board 11 can be arranged near the lock 28 in the electronic device 10, as shown in Figure 2 Figure 2 The structure of the server is shown when the circuit board 11 is the mainboard of the electronic device 10. The lock 28 is arranged on the case cover 21 of the electronic device 10, and the mainboard 22 is arranged inside the electronic device 10. The mainboard 22 is provided with a physical linkage mechanism 23, and the upper surface of the physical linkage mechanism 23 is close to the case cover 21.
[0059] Specifically, as shown in Figure 3 Figure 3 The structure of the physical linkage mechanism 23 is shown. The physical linkage mechanism 23 includes a shell 24, a button 25, a pressing piece 26 and a spring 27. The shell 24 is hollow, and the upper surface is provided with a hole 30. The button 25 is arranged through the hole 30, and one end of the button 25 is located in the cavity of the shell 24 and connected with the pressing piece 26. The diameter of the pressing piece 26 is slightly larger than the diameter of the hole 30. The end of the pressing piece 26 not connected with the button 25 is connected with the spring 27. The inner side of the upper surface of the shell 24 is provided with a contact 29. Thus, in the absence of external pressure, the spring 27 keeps the pressing piece 26 in contact with the contact 29. When the button 25 is pressed by external pressure, the pressing piece 26 is separated from the contact 29 under the action of the pressure.
[0060] Therefore, in the embodiment, the combination of the pressing piece 26 and the contact 29 can be regarded as a switch in the opening detection circuit. The contact between the pressing piece 26 and the contact 29 corresponds to the closing of the switch, and the separation between the pressing piece 26 and the contact 29 corresponds to the opening of the switch.
[0061] In the embodiment, as shown in Figure 2 When the case cover 21 is not opened, the upper surface of the physical linkage mechanism 23 is close to the case cover 21. The case cover 21 presses the button 25, so that the pressing piece 26 is separated from the contact 29, and the switch is in an open state. When the case cover 21 is opened, the button 25 is reset and pops out under the action of the spring 27. The pressing piece 26 is in contact with the contact 29, so that the switch is closed.
[0062] In another embodiment, as shown in Figure 4 The circuit board 11 can also be arranged near the lock 18. In this case, as shown in Figure 5 As shown, the lock 18 can include a locking mechanism 13, a pendulum 14 and a connecting mechanism 15. When the lock is opened, the locking mechanism 13 moves away from the server door 16, driving the connecting mechanism 15, so that the pendulum 14 also swings away from the server door 16. At the same time, the side of the pendulum 14 away from the server door 16 is provided with a push rod 17. The push rod 17 is a physical linkage mechanism, one end of which is located at the side of the pendulum 14 away from the server door 16, the other end is located at the side of a switch 19 on the circuit board 11, and the midpoint 20 is fixed on the server box, so that the push rod 17 can rotate around the midpoint 20. When the pendulum 14 swings away from the server door 16, it will contact the push rod 17 and push the push rod 17 away from the server door 16, thereby driving the push rod 17 to rotate, so that the other end of the push rod 17 presses the switch 19, and the switch is closed.
[0063] In the embodiment, the controller 12 can be a BMC or other CPLD, FPGA, MCU, etc., wherein the BMC can perform operations such as firmware upgrade of the machine, checking the status of the machine components, powering on and off the device, etc. in the state that the electronic device 10 is not powered on.
[0064] In the embodiment, the controller is taken as an example of BMC. When the electronic device 10 is in a power-off state (no external power is connected), if the lock is opened, the switch is closed under the driving of the physical linkage mechanism, and the power-off detection circuit generates a first trigger signal. Since the BMC does not work when the electronic device 10 is powered off, the power-off detection circuit needs to send the first trigger signal to the BMC after the electronic device 10 is powered on and the BMC starts to work, so as to remind the user that the box opening event occurs.
[0065] When the electronic device 10 is in a power-on state (external power is connected), the BMC is in a working state. If the lock is opened at this time, the switch is closed under the driving of the physical linkage mechanism, the power-on detection circuit generates a second trigger signal, and the second trigger signal is sent to the BMC in real time, so as to remind the user that the box opening event occurs.
[0066] In addition, the detection device provided in the embodiment of the application can also be applied to other devices with a box or a lock, such as the opening detection of a safe, a door, a window, etc., which is not limited in the application.
[0067] In the following, the circuit board provided by the embodiment of the present application will be described in detail with the scenario of server out-of-box detection as an example. In this case, the controller 12 takes the BMC as an example, the electronic device 10 takes the server as an example, the circuit board 11 is arranged in the case of the server and is the mainboard of the server. Based on this, the power-off state refers to the state that the server is not connected to the external power supply, and then the circuit board 11 arranged in the server is also not connected to the external power supply. Similarly, the power-on state refers to the state that the server is connected to the external power supply, and then the circuit board 11 arranged in the server is also connected to the external power supply synchronously.
[0068] In the embodiment, the circuit board 11 is provided with an out-of-box detection circuit. Referring to Figure 6 , Figure 6 The circuit block diagram of the out-of-box detection circuit provided by the embodiment of the present application can include a power-off detection circuit 100, a power-on detection circuit 200 and a switch 300. Specifically, one end of the switch 300 is connected with a first end 601 of the power-on detection circuit 200, the other end of the switch 300 is grounded and connected with a second end 602 of the power-on detection circuit 200. The first end 601 of the power-on detection circuit 200 is connected with a first end 701 of the power-off detection circuit 100, a fourth end 604 of the power-on detection circuit is connected with the BMC 400, and a third end 603 of the power-on detection circuit 200 is respectively connected with a second end 702 of the power-off detection circuit 100 and a positive electrode of an internal power supply 500. The internal power supply can be a backup power supply inside the server, for example, a 3.3V battery. When the server / circuit board is not connected to the external power supply, the 3.3V battery can be used to supply power to the chips such as PCH on the circuit board. The third end 703 of the power-off detection circuit 100 is connected with the BMC 400, and the fourth end 704 of the power-off detection circuit 100 is grounded.
[0069] In the embodiment, the power-off detection circuit 100 is used to generate a first trigger signal when the server / circuit board is in the power-off state, i.e., the server / circuit board is not connected to the external power supply, and the switch 300 is closed. After the circuit board is powered on again, the BMC starts to work and receives the first trigger signal to remind the user that the out-of-box event occurs.
[0070] For example, as shown in Figure 7 , the power-on detection circuit 200 is used to generate a second trigger signal when the server / circuit board is in the power-on state, i.e., the server / circuit board is connected to the external power supply, and the switch 300 is closed. After the circuit board is powered on again, the BMC starts to work and receives the second trigger signal to remind the user that the out-of-box event occurs. Figure 7A structural diagram of an opening box detection circuit provided by an embodiment of the present application is shown in the figure. The power-off detection circuit 100 can include a first resistor 101, a second resistor 102, a first field effect transistor 103, a PCH chip 104, and a diode 105. The first resistor 101 can have a resistance of 1MΩ-2MΩ. One end of the first resistor 101 is the second end 702 of the power-off detection circuit 100, and is connected to the second pin of the PCH chip 104 and the positive electrode of the internal power supply 500. The second pin of the PCH chip 104 can be a power supply pin. The other end of the first resistor 101 is connected to the drain of the first field effect transistor 103. The second resistor 102 can have a resistance of 1KΩ-10KΩ. One end of the second resistor 102 is the fourth end 704 of the power-off detection circuit 100, and the other end of the second resistor 102 is connected to the source of the first field effect transistor 103. The first field effect transistor 103 can be an N-channel field effect transistor. The gate of the first field effect transistor 103 is connected to the first end 701 of the power-off detection circuit 100 and the first end 601 of the power-on detection circuit 200. The source of the first field effect transistor 103 is connected to the negative electrode of the diode 105. The drain of the first field effect transistor 103 is connected to the first pin of the PCH chip 104. The first pin of the PCH chip 104 can be an intruder pin. The intruder pin is associated with a CMOS register in the PCH chip 104. When the level of the intruder pin changes, the value in the CMOS register changes from 0 to 1, to record the level change event. The third pin of the PCH chip 104 is the third end 703 of the power-off detection circuit 100, and is connected to the BMC 400. The third pin of the PCH chip 104 can be an LPC (LOW PIN COUNT) interface pin, and is connected to the BMC 400 through an ESPI (Enhanced Serial Peripheral Interface) bus, to transmit the information stored in the CMOS register to the BMC 400. The positive electrode of the diode 105 is connected to an external power supply 106. The external power supply 106 can be a power supply provided by the server when the server accesses the external power supply, for example, a driving power supply of STBY_3V3.
[0071] From the above, in the present embodiment, the conduction of the first field effect tube 103 is controlled by the switch 300, and then the intruder pin level of the PCH chip 104 is changed, and then the first trigger signal is generated and locked in the CMOS register. The CMOS register has no register address and cannot be directly accessed, and the PCH chip can only actively report the information in the CMOS register once when the server starts. Therefore, after the server / circuit board is powered on, the opening box condition of the server cannot be reported by the power-off detection circuit 100. In view of this, in the present embodiment, the power-on detection circuit 200 is provided, which is used to generate a second trigger signal when the server / circuit board is connected to an external power supply and is in a power-on state, and send the second trigger signal to the BMC 400 to remind the user that the opening box event has occurred.
[0072] As shown in Figure 7 , the power-on detection circuit 200 can include a third resistor 201, a fourth resistor 202, and a second field effect tube 203. The resistance value of the third resistor 201 can be 1MΩ-2MΩ, one end of the third resistor 201 is the first end 601 of the power-on detection circuit 200, and is connected with the gate of the second field effect tube 203 and one end of the switch 300, the other end of the third resistor 201 is the third end 603 of the power-on detection circuit 200 and is connected with the positive electrode of the internal power supply 500. The resistance value of the fourth resistor 202 can be 1KΩ-10KΩ, one end of the fourth resistor 202 is connected with the drain of the second field effect tube 203, and the other end of the fourth resistor 202 is connected with the external power supply 106. The second field effect tube 203 can be an N-channel field effect tube, the source thereof is the second end 602 of the power-on detection circuit 200, and is connected with the other end of the switch 300 and grounded, the drain thereof is the fourth end 604 of the power-on detection circuit 200, and is connected with the BMC 400.
[0073] In the following, the working principle of the circuit board provided by the application embodiment will be described in combination with Figure 7 and Figure 8 , and specifically, Figure 8A working schematic of a circuit board is provided for the embodiments of the present application, wherein the first behavior is in a power-off state, i.e., the external power supply 106 is not connected, and the circuit board is only powered by the internal power supply 500. Specifically, when the server is not externally powered, i.e., the circuit board is in a power-off state, only the internal power supply 500, i.e., the 3.3V backup battery, drives the PCH chip in the circuit board to be in a working state. Since the server is not connected to the external power supply, at this time, the STBY voltage output by the external power supply 106 is 0, and the potentials of the drain and source of the second field effect transistor 203 are both 0, so that the second field effect transistor 203 cannot be triggered by the switch 300, and then the power-on detection circuit 200 fails. In this state, when the server opening behavior occurs, the lock on the server is opened, driving the switch 300 to close, driving the first field effect transistor 103 to generate a first trigger signal, which is stored in the CMOS register in the PCH chip 104 in the power-off state. When the server is powered on and the BMC starts to work, the PCH chip sends the first trigger signal stored in the CMOS register to the BMC when the server starts, and then reminds the user that the server has an abnormal opening box behavior in the unpowered scenario.
[0074] Specifically, when the switch 300 is closed, the loop in which the third resistor 201 is located is conducted, and since the resistance value of the third resistor 201 is large, the current flowing through the third resistor 201 is very small, approximately 0, so the voltage across the third resistor 201 can be regarded as the voltage of the internal power supply 500, which is 3.3V. At this time, the gate voltage V G1 of the first field effect transistor 103 is 3.3V, the source voltage V S1 is 0, and then the gate-source voltage V GS1 of the first field effect transistor 103 is 3.3V, and the conduction voltage V T1 of the first field effect transistor 103 is 3V, so at this time V GS1 >V T1, the first field effect transistor 103 is turned on, and the loop in which the first resistor 101 is located is turned on. Similarly, the resistance of the first resistor 101 is large, so the current flowing through the first resistor 101 at this time is very small, approximately 0, and the voltage across the first resistor 101 can be regarded as 3.3V, which is a high level. The high level signal is the first trigger signal. At this time, the intruder pin of the PHC chip 104 inputs the first trigger signal and saves it to the COMS register in the PCH chip to record the opening box event. When the server is powered on, the BMC is started, and at this time, the PCH chip 104 sends the first trigger signal latched in the COMS register to the BMC through the ESPI bus to remind the user that the opening box event has occurred when the power is off. In the embodiment, due to the mechanism that the PCH chip only reports once when the server is started, and the characteristics that the COMS register has no register address and cannot be actively accessed, the opening box detection reporting of the power-off detection circuit 100 cannot be realized after the server is powered on. To this end, in the circuit board provided in the present application, the opening box detection and reporting of the server after the server is powered on will be handled by the power-on detection circuit.
[0075] In the embodiment, Figure 8 In the second behavior, the server is powered on, that is, the circuit board is powered by the internal power supply 500 and the external power supply 106 at the same time. Specifically, when the server is externally powered, that is, the circuit board is in the power-on state, the STBY voltage output by the external power supply 106 is 3.3V, the diode 105 is turned on, and the source voltage V S2 of the first field effect transistor 103 is 3.3V. At this time, if the opening box event occurs, the voltage across the third resistor 201 can be regarded as the voltage of the internal power supply 500, which is 3.3V. At this time, the gate voltage V G2 of the first field effect transistor 103 is 3.3V, and then the gate-source voltage V GS2 of the first field effect transistor 103 is 0V, so that the first field effect transistor 103 cannot be triggered by the switch 300, and then the power-off detection circuit 100 fails. In this state, when the server opening box behavior occurs, the lock on the server is opened, which drives the switch 300 to close and drives the second field effect transistor 203 to generate the second trigger signal. At the same time, the second field effect transistor 203 sends the generated second trigger signal to the BMC in real time, and then reminds the user that the server has an abnormal opening box behavior.
[0076] Specifically, when the switch 300 is closed, the loop in which the third resistor 201 is located is turned on, and because the resistance of the third resistor 201 is large, the current flowing through the third resistor 201 is very small, approximately 0, so the voltage across the third resistor 201 can be regarded as the voltage of the internal power supply 500, which is 3.3V. Therefore, the gate voltage VG3 = 3.3V, at the same time, the source voltage V S3 = 0V of the second field effect transistor 203, then the gate-source voltage V GS3 = 3.3V of the second field effect transistor 203. While the on voltage V T2 = 3V of the second field effect transistor 203, then V GS3 > V T2 , the second field effect transistor 203 is turned on. The second field effect transistor 203 is connected with the interrupt pin of the BMC, thus the turn-on of the second field effect transistor will trigger the interrupt event of the BMC, which is the second trigger signal. After the BMC receives the interrupt event, the user can be reminded that the abnormal opening box behavior of the server occurs, so as to realize the detection and reporting of the opening box behavior in the first time.
[0077] Specifically, in the embodiment, after the BMC receives the first trigger signal or the second trigger signal, the BMC can generate the text prompt information that the server is opened, and pop up the text prompt information on the display device of the server administrator through the system pop-up window, so as to remind the server administrator that the opening box event of the server occurs. Meanwhile, the text prompt information can be converted into voice, and then played synchronously through the audio playing device, so as to further improve the reminding efficiency.
[0078] In summary, in the embodiment, the power-off detection circuit and the power-on detection circuit are set up, so as to detect the abnormal opening box of the server in any state. Moreover, in the power-off state, the power-on detection circuit is shielded, and in the power-on state, the power-off detection circuit is shielded, so as to prevent the interference between the signals, and improve the accuracy and reliability of the detection. Meanwhile, the whole opening box detection circuit is composed of the basic components such as the field effect transistor, the diode and the resistor, so the whole structure is simple, the cost is low and the implementation is easy, and the opening box detection of the server in various scenes can be realized.
[0079] It should be understood that the processor mentioned in the embodiment can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.
[0080] It should also be understood that the memory referred to in the implementations of the application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable Programmable ROM (EPROM), an Electrically EPROM (EEPROM) or a flash memory. The volatile memory can be a Random Access Memory (RAM) used as an external cache. By way of example but not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM) and Direct Rambus RAM (DRRAM).
[0081] It should be noted that when the processor is a general processor, a DSP, an ASIC, a FPGA or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, the memory (storage module) is integrated in the processor.
[0082] It should be noted that for the foregoing method embodiments, in order to simply describe, they are all expressed as a combination of a series of actions, but those skilled in the art should know that the application is not limited by the order of the actions described, because according to the application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily necessary for the application.
[0083] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can refer to the related description of other embodiments.
[0084] In several embodiments provided in the present application, it should be understood that the disclosed apparatus can be implemented in other manners. For example, the division of the apparatus embodiments described above is merely illustrative, and the division of units can be different, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electrical, mechanical or other forms.
[0085] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they can be located in one place, or can be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the present embodiment.
[0086] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can be physically present separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in the form of hardware or in the form of a software program module.
[0087] If the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer readable memory. Based on this understanding, the technical solutions of the present application essentially or the part of the prior art that contributes or the whole or part of the technical solutions can be embodied in the form of a software product, which is stored in a memory and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the method of each embodiment of the present application.
[0088] Those of ordinary skill in the art can understand that all or part of the steps of the various methods in the above embodiments can be completed by a program instructing relevant hardware, and the program can be stored in a computer readable memory. The memory can include a flash disk, a read-only memory (English: Read-Only Memory, abbreviated: ROM), a random access memory (English: Random Access Memory, abbreviated: RAM), a magnetic disk or an optical disk, etc.
[0089] The above has carried out the detailed introduction to the embodiment of the application, the principle and the implementation of the application are described in the text by applying specific examples, the above implementation of the method of the application and its core idea is only used for helping understanding; simultaneously, for the general technical personnel of the field, according to the idea of the application, there will be changes in specific implementation and application range, and on the basis, the content of the specification should not be understood as the limitation of the application.
Claims
1. A circuit board, characterized by, The circuit board is provided with an opening box detection circuit, the opening box detection circuit comprises: power-off detection circuit, power-on detection circuit and switch; One end of the switch is connected with the first end of the power-on detection circuit, the other end of the switch is grounded and connected with the second end of the power-on detection circuit; The first end of the power-on detection circuit is connected with the first end of the power-off detection circuit, the third end of the power-on detection circuit is respectively connected with the second end of the power-off detection circuit and the internal power supply, and the fourth end of the power-on detection circuit is used for being connected with the controller; The third end of the power-off detection circuit is connected with the controller, and the fourth end of the power-off detection circuit is grounded; Wherein, the power-off detection circuit is used for generating a first trigger signal in the case that the circuit board is in a power-off state and the switch is closed, and sending the first trigger signal to the controller after the circuit board is powered on again, so as to remind the user that the opening box event occurs, and the power-off state is the state when the circuit board is not connected with the external power supply; The power-on detection circuit is used for generating a second trigger signal in the case that the circuit board is in a power-on state and the switch is closed, and sending the second trigger signal to the controller, so as to remind the user that the opening box event occurs, and the power-on state is the state when the circuit board is connected with the external power supply.
2. The circuit board of claim 1, wherein The power-off detection circuit comprises: first resistor, second resistor, first field effect tube, PCH chip and diode; The gate of the first field effect tube is the first end of the power-off detection circuit, one end of the first resistor is the second end of the power-off detection circuit, the third pin of the PCH chip is the third end of the power-off detection circuit, and one end of the second resistor is the fourth end of the power-off detection circuit; The source of the first field effect tube is connected with the negative electrode of the diode and the other end of the second resistor respectively; The drain of the first field effect tube is connected with the other end of the first resistor and the first pin of the PCH chip respectively; One end of the first resistor is connected with the second pin of the PCH chip; The positive electrode of the diode is connected with the external power supply.
3. The circuit board according to claim 2, wherein The first pin of the PCH chip is an intruder pin; The second pin of the PCH chip is a power supply pin; The third pin of the PCH chip is an LPC interface pin.
4. The circuit board according to claim 2 or 3, wherein The first field effect tube is an N-channel field effect tube.
5. The circuit board of claim 1, wherein The power-on detection circuit comprises: third resistor, fourth resistor and second field effect tube; One end of the third resistor is the first end of the power-on detection circuit, the source of the second field effect tube is the second end of the power-on detection circuit, the other end of the third resistor is the third end of the power-on detection circuit, and the drain of the second field effect tube is the fourth end of the power-on detection circuit; One end of the third resistor is connected with the gate of the second field effect tube; The drain of the second field effect tube is connected with one end of the fourth resistor; The other end of the fourth resistor is connected with the second power supply.
6. The circuit board according to claim 5, characterized in that The second field effect transistor is an N-channel field effect transistor.
7. The circuit board according to claim 2, wherein: When the unpacking detection circuit is in a power-off state, the power-on detection circuit is invalid; when the unpacking detection circuit is in a power-on state, the power-off detection circuit is invalid.
8. The circuit board according to claim 1, wherein: The third terminal of the power-off detection circuit is connected to the baseboard management controller via an enhanced serial peripheral interface bus.
9. The circuit board according to claim 1, wherein: The fourth terminal of the power-on detection circuit is connected to the interrupt pin of the baseboard management controller.
10. A server, characterized by The server includes a chassis, and a circuit board according to any one of claims 1 to 9 disposed in the chassis.
Citation Information
Patent Citations
Server case uncovering detection method and device
CN112099613A
Method and apparatus for industrial product tamper detection
US20220026241A1