A system and method for triggering a chassis intrusion function when power is off

By designing the connection method of COMS battery and chassis intrusion device in the server, the problem of chassis intrusion function failure during power outage is solved, and the chassis intrusion detection during power outage is realized, ensuring the security of hardware and data.

CN115238265BActive Publication Date: 2025-06-13INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210870479.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-22
Publication Date
2025-06-13
Estimated Expiration
2042-07-22

AI Technical Summary

Technical Problem

The existing chassis intrusion function cannot work when the motherboard is powered off, which makes it difficult to detect when someone opens the chassis case during the power outage, and faces the risk of data theft and hardware theft.

Method used

Through the design of COMS battery and chassis intrusion device, the chassis intrusion device acts after the system powers off and disconnects the COMS battery from the CMOS hardware circuit, and CMOS data is lost. After power supply is restored, when the BIOS detects that the system time is the factory preset time, it sends a command to notify the BMC, and determines that the chassis is opened during power outage.

Benefits of technology

In the event of a server power outage, it effectively protects the hardware security and data security in the server chassis, promptly reminds users whether the chassis intrusion occurred during the power outage, and provides guarantees for the safe operation of the server.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115238265B_ABST
    Figure CN115238265B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of server monitoring security, and specifically provides a system and method for triggering the chassis intrusion function during power failure. The system includes a CMOS battery and a chassis intrusion device arranged inside the chassis shell that operates according to the opening and closing of the chassis; the chassis intrusion device is connected to the CMOS battery through a protection resistor; the CMOS battery is connected to a CMOS hardware circuit; the CMOS hardware circuit is communicatively connected to the BMC through the BIOS; the CMOS battery and the chassis intrusion device are connected through a jumper cap; after the system powers off and shuts down, the mechanical device operates to disconnect the power supply between the CMOS battery and the CMOS hardware circuit, resulting in the loss of CMOS data; the BIOS is used to detect the system time after the system resumes power supply, and when the BIOS detects that the system time is the factory preset time, it sends a command to notify the BMC. In the case of server power failure, it can effectively protect the hardware security and data security inside the server chassis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of server monitoring security, and particularly relates to a system and method for triggering a chassis intrusion function when power is off. Background Art

[0002] For servers on any platform, an embedded chip will be onboard for baseboard management, generally called a BMC chip (Baseboard Management Controller). The BMC has many functions, and one of them is called the chassis intrusion function, which is used to detect whether the chassis shell is opened and has a certain function of security monitoring. Once the chassis is opened, there is a risk of hardware theft and even data theft, so this function is still a relatively important one. Generally, there will be a relevant detection status display directly on the BMC management page to remind the user whether the chassis is opened in a timely manner.

[0003] The implementation principle of the existing chassis intrusion function is as follows: There is a chassis intrusion device on the inner side of the chassis shell. When the shell is removed, the chassis intrusion device will also act accordingly. The chassis intrusion device is designed to be connected to a gpio (General-purpose input / output) of the BMC. As the chassis intrusion device moves, the level state of the gpio connected to it will also change accordingly. The BMC determines whether the chassis shell is opened by detecting whether the state of the gpio has changed.

[0004] The existing chassis intrusion function relies on the BMC to continuously monitor the state of the gpio. When the main board is powered off, the BMC cannot work due to lack of power supply, and thus cannot detect the state of the gpio. The chassis intrusion function will be temporarily disabled until the power is restored. During this period, if someone opens the chassis shell, there is a risk of data theft and hardware theft, and it is also very difficult to detect in a timely manner after the power is restored. Summary of the Invention

[0005] In view of the problem that the existing chassis intrusion function relies on the BMC to continuously monitor the state of the gpio. When the main board is powered off, the BMC cannot work due to lack of power supply, and thus cannot detect the state of the gpio. The chassis intrusion function will be temporarily disabled until the power is restored. During this period, if someone opens the chassis shell, there is a risk of data theft and hardware theft, and it is also very difficult to detect in a timely manner after the power is restored, the present invention provides a system and method for triggering a chassis intrusion function when power is off.

[0006] In a first aspect, the technical solution of the present invention provides a system for triggering a chassis intrusion function when power is off, including a COMS battery and a chassis intrusion device arranged on the inner side of the chassis shell and operating according to the opening and closing of the chassis;

[0007] The chassis intrusion device is connected to the CMOS battery through a protection resistor;

[0008] The COMS battery is connected to a COMS hardware circuit;

[0009] The COMS hardware circuit is communicatively connected to the BMC through the BIOS;

[0010] The COMS battery and the chassis intrusion device are connected through a jumper; when the system powers off and shuts down, a mechanical device acts to disconnect the power supply of the COMS battery and the CMOS hardware circuit, causing the CMOS data to be lost; the BIOS is used to detect the system time after the system resumes power supply, and when the BIOS detects that the system time is the factory preset time, it sends a command to notify the BMC.

[0011] When the jumper is installed, the chassis intrusion device with the chassis intrusion function and the CMOS battery are associated with each other. When the chassis is opened (the chassis intrusion device is triggered), the COMS hardware circuit and the CMOS battery are disconnected, so that all the contents in the CMOS will be lost (system settings and system real-time clock information will be lost). Then, a mechanism for detecting time is added to the BIOS. When the BIOS detects that the time is the factory preset time, it sends relevant IPMI commands to notify the BMC that the chassis was opened during the power-off period. If it is indeed necessary to open the chassis to install or remove equipment, just open the chassis, remove the jumper when the system is powered on, and then shut down and disconnect the power supply to perform relevant operations. Because when the system is powered on, the CMOS hardware circuit does not require power supply from the CMOS battery and is directly powered by the motherboard. So when the chassis is opened at this time, the power supply of the CMOS hardware circuit still exists and the CMOS information will not be cleared. After removing the jumper, the connection between the CMOS battery and the CMOS hardware circuit is disconnected as described above. Therefore, when shutting down and disconnecting the power supply at this time, even if the chassis is opened, the CMOS battery will operate normally and the time detected by the BIOS when it boots up next time will also be normal, and relevant mechanisms will not be triggered.

[0012] Furthermore, the positive pole of the COMS battery is connected to the chassis intrusion device through a jumper, and the chassis intrusion device is connected to the negative pole of the CMOS battery through a protection resistor.

[0013] Furthermore, the chassis intrusion device includes a chassis switch. When the chassis is closed, the common terminal of the chassis switch is connected to the normally closed contact;

[0014] When the chassis is opened, the common terminal of the chassis switch is connected to the normally open contact;

[0015] The normally open contact protection resistor at the beginning is connected to the negative pole of the CMOS battery;

[0016] The common terminal of the chassis switch is connected to the positive pole of the COMS battery through a jumper.

[0017] Further, the positive electrode of the COMS battery is connected to the chassis intrusion device through a jumper. When the chassis is opened after the system is shut down and powered off, the common terminal of the chassis switch is connected to the normally open contact. The positive electrode of the COMS battery is connected to the negative electrode of the COMS battery through the chassis switch and the protection resistor. The COMS hardware circuit is short-circuited and the content in the COMS will be lost. When the BIOS detects that the real-time clock is the factory preset time when power is restored and the machine is turned on, it determines that the clock is abnormal and notifies the BMC.

[0018] Further, when the BIOS detects that the system real-time clock is the factory preset time during the BIOS startup process, it determines that the clock is abnormal and notifies the BMC by sending an IPMI command.

[0019] Further, after the BMC receives the command from the BIOS, it reminds the operation and maintenance personnel to check the chassis and internal status of the machine through web display and / or sending an alarm email.

[0020] Further, the connection between the positive electrode of the COMS battery and the chassis intrusion device is disconnected. When the chassis is opened after the system is shut down and powered off, the common terminal of the chassis switch is connected to the normally open contact. At this time, the positive electrode of the COMS battery is disconnected from the common terminal of the chassis switch, and the COMS battery supplies power to the CMOS hardware circuit. When power is restored and the machine is turned on, the BIOS detects that the system time is the normal time and the system starts up normally.

[0021] In a second aspect, the technical solution of the present invention also provides a method for triggering the chassis intrusion function during power-off, which is applied to a system for triggering the chassis intrusion function during power-off. The system includes an OMS battery and a chassis intrusion device arranged inside the chassis shell and operating according to the opening and closing of the chassis; the chassis intrusion device is connected to the CMOS battery through a protection resistor; the COMS battery is connected to a COMS hardware circuit; the COMS hardware circuit is communicatively connected to the BMC through the BIOS; the COMS battery and the chassis intrusion device are connected through a jumper; after the system is powered off and shut down, the mechanical device operates to disconnect the power supply between the COMS battery and the CMOS hardware circuit, and the CMOS data is lost; the BIOS is used to detect the system time after the system is powered on again. When the BIOS detects that the system time is the factory preset time, it sends a command to notify the BMC; the method includes the following steps:

[0022] Detect whether the jumper is installed after the system is shut down and powered off;

[0023] When the jumper is installed, the COMS battery is associated with the CMOS hardware circuit;

[0024] When the chassis is opened, the power supply between the COMS battery and the CMOS hardware circuit is disconnected due to the operation of the chassis intrusion device;

[0025] The CMOS data is lost;

[0026] When the BIOS detects that the system time is the factory preset time during power-on after power restoration, it determines that the clock is abnormal.

[0027] Notify the BMC by sending an IPMI command.

[0028] Furthermore, after the step of notifying the BMC by sending an IPMI command, it further includes:

[0029] After receiving the command from the BIOS, the BMC reminds the operation and maintenance personnel to check the chassis and internal status of the machine by web display and / or sending an alarm email.

[0030] Furthermore, the method further includes:

[0031] When the jumper is not installed, the chassis intrusion device is not associated with the CMOS battery.

[0032] When the chassis is opened, the power supply of the CMOS hardware circuit is normal.

[0033] The CMOS data is normal.

[0034] When the BIOS detects that the system time is the normal time during power-on after power restoration, the system starts up normally.

[0035] Preferably, the chassis intrusion device includes a chassis switch. When the chassis is closed, the common terminal of the chassis switch is connected to the normally closed contact; when the chassis is opened, the common terminal of the chassis switch is connected to the normally open contact; the normally open contact protection resistor at the start end is connected to the negative pole of the CMOS battery; the common terminal of the chassis switch is connected to the positive pole of the COMS battery through a jumper.

[0036] The positive pole of the COMS battery is connected to the chassis intrusion device through a jumper. When the chassis is opened after the system shuts down and loses power, the common terminal of the chassis switch is connected to the normally open contact, and the positive pole of the COMS battery is connected to the negative pole of the COMS battery through the chassis switch and the protection resistor. The CMOS hardware circuit is short-circuited and the content in the CMOS will be lost. When the BIOS detects that the real-time clock is the factory preset time during power-on after power restoration, it determines that the clock is abnormal and notifies the BMC.

[0037] During the BIOS startup process, when it detects that the system real-time clock is the factory preset time, it determines that the clock is abnormal and notifies the BMC by sending an IPMI command.

[0038] After receiving the command from the BIOS, the BMC reminds the operation and maintenance personnel to check the chassis and internal status of the machine by web display and / or sending an alarm email.

[0039] Further, the positive electrode of the COMS battery is disconnected from the chassis intrusion device. When the chassis is opened after the system shuts down and loses power, the common terminal of the chassis switch is connected to the normally open contact. At this time, the positive electrode of the COMS battery is disconnected from the common terminal of the chassis switch, and the COMS battery supplies power to the CMOS hardware circuit. When power is restored and the machine is turned on, the BIOS detects that the system time is the normal time, and the system starts up normally.

[0040] As can be seen from the above technical solutions, the present invention has the following advantages: In the case of power failure of the server, it can effectively protect the hardware security and data security inside the server chassis, and promptly let the user know whether the hardware devices inside the chassis have been manually opened during the power failure of the server. It can realize the detection function of chassis intrusion under power failure at extremely low cost, and promptly remind the user whether a chassis intrusion event has occurred during the power failure. It provides guarantee for the safe operation of the server.

[0041] In addition, the design principle of the present invention is reliable, the structure is simple, and it has a very wide application prospect.

[0042] Thus, compared with the prior art, the present invention has prominent substantial features and significant progress, and the beneficial effects of its implementation are also obvious. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0044] Figure 1 It is a schematic block diagram of a system according to an embodiment of the present invention.

[0045] Figure 2 It is a schematic flowchart of a method according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0046] The implementation principle of the existing chassis intrusion function is as follows: There will be a chassis intrusion device inside the inner side of the chassis shell. When the shell is removed, the chassis intrusion device will also act accordingly. The chassis intrusion device is designed to be connected to a gpio (General-purpose input / output) of the BMC. As the chassis intrusion device moves, the level state of the gpio connected to it will also change accordingly. The BMC determines whether the chassis shell has been opened by detecting whether the state of the gpio has changed.

[0047] The existing chassis intrusion function relies on the BMC to monitor the status of this GPIO in real time. When the mainboard is powered off, the BMC cannot work due to lack of power supply, and thus cannot detect the status of this GPIO. The chassis intrusion function will be temporarily disabled until the power is restored. During this period, if someone opens the chassis, there will be risks of data theft and hardware theft, and it is also difficult to detect immediately after the power is restored. To enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of the present invention.

[0048] Embodiment 1 of the present invention provides a system for triggering the chassis intrusion function when powered off, including a CMOS battery and a chassis intrusion device arranged inside the chassis shell and operating according to the opening and closing of the chassis;

[0049] The chassis intrusion device is connected to the CMOS battery through a protection resistor;

[0050] The CMOS battery is connected to a CMOS hardware circuit;

[0051] The CMOS hardware circuit is communicatively connected to the BMC through the BIOS;

[0052] The CMOS battery and the chassis intrusion device are connected through a jumper. After the system powers off and shuts down, the mechanical device operates to disconnect the power supply between the CMOS battery and the CMOS hardware circuit, and the CMOS data is lost. The BIOS is used to detect the system time after the system is powered on again. When the BIOS detects that the system time is the factory preset time, it sends a command to notify the BMC.

[0053] After the system shuts down and powers off, it is detected whether the jumper is installed. When the jumper is installed, the CMOS battery is associated with the CMOS hardware circuit. When the chassis is opened, since the chassis intrusion device operates, the power supply between the CMOS battery and the CMOS hardware circuit is disconnected, and the CMOS data is lost. When the power is restored and the machine is powered on, when the BIOS detects that the system time is the factory preset time, it determines that the clock is abnormal, and notifies the BMC by sending an IPMI command. After receiving the command from the BIOS, the BMC reminds the operation and maintenance personnel to check the chassis and internal status of the machine through web display and / or sending an alarm email.

[0054] When the jumper is not installed, the chassis intrusion device is not associated with the CMOS battery. When the chassis is opened, the power supply of the CMOS hardware circuit is normal, the CMOS data is normal, and when the power is restored and the machine is powered on, the BIOS detects that the system time is the normal time, and the system starts normally.

[0055] As Figure 1 shown, Embodiment 2 of the present invention provides a system for triggering the chassis intrusion function during power-off, including a COMS battery and a chassis intrusion device arranged inside the chassis shell and operating according to the opening and closing of the chassis;

[0056] The chassis intrusion device is connected to the CMOS battery through a protection resistor;

[0057] The COMS battery is connected to a COMS hardware circuit;

[0058] The COMS hardware circuit is communicatively connected to the BMC through the BIOS;

[0059] The COMS battery and the chassis intrusion device are connected through a jumper; after the system powers off and shuts down, the mechanical device operates to disconnect the power supply between the COMS battery and the CMOS hardware circuit, and the CMOS data is lost; the BIOS is used to detect the system time after the system resumes power supply, and when the BIOS detects that the system time is the factory preset time, it sends a command to notify the BMC. The positive electrode of the COMS battery is connected to the chassis intrusion device through a jumper, and the chassis intrusion device is connected to the negative electrode of the CMOS battery through a protection resistor.

[0060] The chassis intrusion device includes a chassis switch. When the chassis is closed, the common terminal of the chassis switch is connected to the normally closed contact;

[0061] When the chassis is opened, the common terminal of the chassis switch is connected to the normally open contact;

[0062] The normally open contact of the starting end is connected to the negative electrode of the CMOS battery through a protection resistor;

[0063] The common terminal of the chassis switch is connected to the positive electrode of the COMS battery through a jumper.

[0064] The positive electrode of the COMS battery is connected to the chassis intrusion device through a jumper. When the chassis is opened after the system shuts down and loses power, the common terminal of the chassis switch is connected to the normally open contact, and the positive electrode of the COMS battery is connected to the negative electrode of the COMS battery through the chassis switch and the protection resistor R. The COMS hardware circuit is short-circuited and the content in the COMS will be lost. When the BIOS detects that the real-time clock is the factory preset time during the power-on process after the power is restored, it determines that the clock is abnormal and notifies the BMC. When the BIOS detects that the system real-time clock is the factory preset time during the startup process, it determines that the clock is abnormal and notifies the BMC by sending an IPMI command. After receiving the command from the BIOS, the BMC reminds the operation and maintenance personnel to check the chassis and internal status of the machine through web display and / or sending an alarm email.

[0065] The positive electrode of the COMS battery is disconnected from the chassis intrusion device. When the chassis is opened after the system shuts down and loses power, the common terminal of the chassis switch is connected to the normally open contact. At this time, the positive electrode of the COMS battery is disconnected from the common terminal of the chassis switch, and the COMS battery supplies power to the CMOS hardware circuit. When power is restored and the machine is started, the BIOS detects that the system time is the normal time, and the system starts up normally.

[0066] When the jumper cap is installed, the chassis intrusion device of the chassis intrusion function and the CMOS battery will be associated with each other. When the chassis is opened (the chassis intrusion device is triggered), the COMS hardware circuit and the CMOS battery will be disconnected, so that all the content in the CMOS will be lost (system settings and system real-time clock information will be lost). Then, a mechanism for detecting time is added to the BIOS. When the BIOS detects that the time is the factory preset time, it will send relevant IPMI commands to notify the BMC that the chassis has been opened during the power-off period. If it is indeed necessary to open the chassis to install or remove equipment, just open the chassis, remove the jumper cap when the system is powered on, and then shut down and disconnect the power to perform relevant operations. Because when the system is powered on, the CMOS hardware circuit does not require the CMOS battery to supply power, and it is directly powered by the motherboard. So at this time, when the chassis is opened, the power supply of the CMOS hardware circuit still exists, and the CMOS information will not be cleared. After removing the jumper cap, the connection between the CMOS battery and the CMOS hardware circuit is disconnected as described above. Therefore, when shutting down and disconnecting the power at this time, even if the chassis is opened, the CMOS battery will operate normally, and the time detected by the BIOS when starting up next time will also be normal, and relevant mechanisms will not be triggered.

[0067] As Figure 2 shown, Embodiment 3 of the present invention also provides a method for triggering the chassis intrusion function when power is off, which is applied to a system for triggering the chassis intrusion function when power is off. The system includes an OMS battery and a chassis intrusion device arranged inside the chassis shell and operating according to the opening and closing of the chassis; the chassis intrusion device is connected to the CMOS battery through a protection resistor; the COMS battery is connected to a COMS hardware circuit; the COMS hardware circuit is communicatively connected to the BMC through the BIOS; the COMS battery and the chassis intrusion device are connected through a jumper cap; after the system shuts down and loses power, the mechanical device operates to disconnect the power supply between the COMS battery and the CMOS hardware circuit, and the CMOS data is lost; the BIOS is used to detect the system time after the system restores power. When the BIOS detects that the system time is the factory preset time, it sends a command to notify the BMC; the method includes the following steps:

[0068] After the system shuts down and loses power, detect whether the jumper cap is installed;

[0069] When the jumper cap is installed, the COMS battery is associated with the CMOS hardware circuit;

[0070] When the chassis is opened, the power supply of the CMOS battery and the CMOS hardware circuit is disconnected due to the operation of the chassis intrusion device;

[0071] The CMOS data is lost;

[0072] When the BIOS detects that the system time is the factory preset time during power-on after power restoration, it determines that the clock is abnormal;

[0073] Notify the BMC by sending an IPMI command.

[0074] After receiving the command from the BIOS, the BMC reminds the operation and maintenance personnel to check the chassis and internal status of the machine by web display and / or sending an alarm email.

[0075] When the jumper is not installed, the chassis intrusion device is not associated with the CMOS battery;

[0076] When the chassis is opened, the power supply of the CMOS hardware circuit is normal;

[0077] The CMOS data is normal;

[0078] When the BIOS detects that the system time is the normal time during power-on after power restoration, the system starts up normally.

[0079] It should be noted that the chassis intrusion device includes a chassis switch. When the chassis is closed, the common terminal of the chassis switch is connected to the normally closed contact; when the chassis is opened, the common terminal of the chassis switch is connected to the normally open contact; the normally open contact protection resistor at the opening is connected to the negative pole of the CMOS battery; the common terminal of the chassis switch is connected to the positive pole of the COMS battery through a jumper.

[0080] The positive pole of the COMS battery is connected to the chassis intrusion device through a jumper. When the chassis is opened after the system shuts down and loses power, the common terminal of the chassis switch is connected to the normally open contact, and the positive pole of the COMS battery is connected to the negative pole of the COMS battery through the chassis switch and the protection resistor. The CMOS hardware circuit is short-circuited and the content in the CMOS will be lost. When the BIOS detects that the real-time clock is the factory preset time during power-on after power restoration, it determines that the clock is abnormal and notifies the BMC.

[0081] When the BIOS detects that the system real-time clock is the factory preset time during the startup process, it determines that the clock is abnormal and notifies the BMC by sending an IPMI command.

[0082] After receiving the command from the BIOS, the BMC reminds the operation and maintenance personnel to check the chassis and internal status of the machine by web display and / or sending an alarm email.

[0083] The positive electrode of the CMOS battery is disconnected from the chassis intrusion device. When the chassis is opened after the system is shut down and powered off, the common terminal of the chassis switch is connected to the normally open contact. At this time, the positive electrode of the CMOS battery is disconnected from the common terminal of the chassis switch, and the CMOS battery supplies power to the CMOS hardware circuit. When power is restored and the system is turned on, the BIOS detects that the system time is the normal time, and the system starts up normally.

[0084] The operation process when the jumper cap is installed is as follows:

[0085] 1. The system is shut down and powered off. Since the jumper cap is installed, the chassis intrusion device and the CMOS battery of the chassis intrusion are interconnected.

[0086] 2. Assume that the chassis is opened at this time. The chassis intrusion device is activated, and the associated CMOS battery is also disconnected. The CMOS hardware circuit powered by the CMOS battery is powered off.

[0087] 3. Since the CMOS hardware circuit is disconnected, all the data in the CMOS will be lost.

[0088] 4. After the system is restored to power, during the BIOS startup process, it is detected that the system real-time clock is the factory default time, which does not match the time before the system power-off.

[0089] 5. The BIOS determines that there has been a chassis intrusion during the power-off period based on the detected change in the real-time clock, and notifies the BMC by sending an IPMI command.

[0090] 6. After receiving the command from the BIOS, the BMC reminds the operation and maintenance personnel to check the chassis of the machine and its internal status by means such as web display and sending warning emails.

[0091] The operation process when the jumper cap is removed is as follows:

[0092] 1. The system is shut down and powered off. Since the jumper cap is removed, the chassis intrusion device and the CMOS battery of the chassis intrusion are no longer associated and have no impact on each other.

[0093] 2. Assume that the chassis is opened at this time. The chassis intrusion device is activated, but the CMOS battery is not affected and continues to supply power to the CMOS hardware circuit.

[0094] 3. The CMOS data will not be affected.

[0095] 4. After the system is restored to power, during the BIOS startup process, it is detected that the system real-time clock is normal.

[0096] 5. The system starts up normally.

[0097] Although the present invention has been described in detail by referring to the accompanying drawings and in conjunction with the preferred embodiments, the present invention is not limited thereto. Without departing from the spirit and essence of the present invention, those of ordinary skill in the art can make various equivalent modifications or substitutions to the embodiments of the present invention, and these modifications or substitutions should all be within the scope of the present invention. / Any person familiar with the technical field of the present invention can easily think of changes or substitutions within the technical scope disclosed by the present invention, and all should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A system that triggers the chassis intrusion function when power is off, characterized in that, it includes a CMOS battery and a chassis intrusion device arranged inside the chassis shell that operates according to the opening and closing of the chassis; the chassis intrusion device is connected to the CMOS battery through a protection resistor; the CMOS battery is connected to a CMOS hardware circuit; the CMOS hardware circuit is communicatively connected to the BMC through the BIOS; the CMOS battery and the chassis intrusion device are connected through a jumper; after the system shuts down due to power failure, the chassis intrusion device operates to disconnect the power supply to the CMOS hardware circuit from the CMOS battery, and the CMOS data is lost; the BIOS is used to detect the system time after the system resumes power supply, and when the BIOS detects that the system time is the factory preset time, it sends a command to notify the BMC; the positive pole of the CMOS battery is connected to the chassis intrusion device through a jumper, and the chassis intrusion device is connected to the negative pole of the CMOS battery through a protection resistor; the chassis intrusion device includes a chassis switch. When the chassis is closed, the common terminal of the chassis switch is connected to the normally closed contact; when the chassis is opened, the common terminal of the chassis switch is connected to the normally open contact; the normally open contact protection resistor at the start is connected to the negative pole of the CMOS battery; the common terminal of the chassis switch is connected to the positive pole of the CMOS battery through a jumper; the positive pole of the CMOS battery is connected to the chassis intrusion device through a jumper. When the chassis is opened after the system shuts down and loses power, the common terminal of the chassis switch is connected to the normally open contact, and the positive pole of the CMOS battery is connected to the negative pole of the CMOS battery through the chassis switch and the protection resistor. The CMOS hardware circuit is short-circuited and the content in the CMOS will be lost. When the BIOS detects that the real-time clock is the factory preset time when power is restored and turned on, it judges that the clock is abnormal and notifies the BMC.

2. The system that triggers the chassis intrusion function when power is off according to claim 1, characterized in that, when the BIOS detects that the system real-time clock is the factory preset time during the startup process, it judges that the clock is abnormal and notifies the BMC by sending an IPMI command.

3. The system that triggers the chassis intrusion function when power is off according to claim 2, characterized in that, after receiving the command from the BIOS, the BMC reminds the operation and maintenance personnel to check the chassis and internal status of the machine through web display and / or sending an alarm email.

4. The system that triggers the chassis intrusion function when power is off according to claim 3, characterized in that, the connection between the positive pole of the CMOS battery and the chassis intrusion device is disconnected. When the chassis is opened after the system shuts down and loses power, the common terminal of the chassis switch is connected to the normally open contact. At this time, the positive pole of the CMOS battery is disconnected from the common terminal of the chassis switch, and the CMOS battery supplies power to the CMOS hardware circuit. When the BIOS detects that the system time is normal time when power is restored and turned on, the system starts normally.

5. A method for triggering the chassis intrusion function when power is off, characterized in that, applied to the system that triggers the chassis intrusion function when power is off according to any one of claims 1-4, the method includes the following steps: detect whether the jumper is installed after the system shuts down and loses power; when the jumper is installed, the CMOS battery is associated with the CMOS hardware circuit; When the chassis is opened, the power supply to the CMOS battery and the CMOS hardware circuit is disconnected due to the operation of the chassis intrusion device; CMOS data is lost; When power is restored and the BIOS detects that the system time is the factory preset time during startup, it determines that the clock is abnormal; Notify the BMC by sending an IPMI command.

6. The method for triggering the chassis intrusion function during power-off according to claim 5, characterized in that, After the step of notifying the BMC by sending an IPMI command, it further includes: After receiving the command from the BIOS, the BMC reminds the operation and maintenance personnel to check the chassis and internal status of the machine by web display and / or sending an alarm email.

7. The method for triggering the chassis intrusion function during power-off according to claim 6, characterized in that, The method further includes: When the jumper is not installed, the chassis intrusion device is not associated with the CMOS battery; When the chassis is opened, the power supply to the CMOS hardware circuit is normal; CMOS data is normal; When power is restored and the BIOS detects that the system time is the normal time during startup, the system starts up normally.

Citation Information

Patent Citations

  • Basic input / output system BIOS configuration data management method and system

    CN102308280A

  • Device information security protection method and apparatus

    CN108256330A