Chassis intrusion monitoring system and method, chip, and electronic device
By combining switches and resistive components with an intrusion detection chip, the system identifies when the chassis cover is opened and records the intrusion time, solving the problem of high complexity in peripheral circuits and achieving efficient intrusion behavior detection.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- HAIGUANG INTEGRATED CIRCUIT DESIGN (BEIJING) CO LTD
- Filing Date
- 2025-06-05
- Publication Date
- 2026-05-21
AI Technical Summary
Existing chassis intrusion detection methods involve complex peripheral circuits, occupy a large area of the motherboard, and cannot effectively determine the number of intrusions and the time of intrusion.
By employing switches, resistive components, and chips with intrusion detection capabilities, the opening of the chassis cover is detected by the switch being turned on, and the chip records the intrusion time and a flag bit, thus reducing the complexity of the external circuitry.
It achieves intrusion detection without sensors and analog-to-digital conversion circuits, accurately identifies intrusion behavior, records intrusion time, and improves the efficiency and accuracy of intrusion detection.
Smart Images

Figure CN2025099228_21052026_PF_FP_ABST
Abstract
Description
Chassis intrusion detection system, method, chip and electronic equipment
[0001] Related applications
[0002] This application claims priority to Chinese invention patent filed on November 12, 2024, application number 202411610425.4, entitled "Chassis Intrusion Detection System, Method, Chip and Electronic Device", all contents of which are incorporated herein by reference. Technical Field
[0003] This application relates to the field of computer technology, and more specifically, to a chassis intrusion detection system, method, chip, and electronic device. Background Technology
[0004] Current chassis intrusion detection methods primarily rely on a Baseboard Management Controller (BMC) and complex peripheral circuitry. Specifically, this peripheral circuitry typically includes sensors, switches, power supplies, and analog-to-digital converters (ADCs). The power supply powers the other components of the peripheral circuitry, sensors detect whether the chassis cover is open, and the ADC converts the sensor readings into digital signals, which are then transmitted to the BMC. The BMC analyzes the signals transmitted from the peripheral circuitry to determine if an intrusion has occurred. However, this implementation method results in complex peripheral circuitry, thus occupying a significant amount of space on the motherboard within the chassis.
[0005] This application content
[0006] This application provides a chassis intrusion detection system, method, chip, and electronic device to reduce the complexity of the peripheral circuitry for intrusion detection.
[0007] In a first aspect, this application provides a chassis intrusion detection system, comprising: a switch, a resistive element, a first power supply, and a chip with intrusion detection function; a first terminal of the switch is connected to the input terminal of the chip, and the first terminal of the switch is also connected to the first power supply through the resistive element; a second terminal of the switch is grounded; the switch is configured to conduct in response to the chassis cover being opened, so that the input terminal of the chip is grounded; the chip is configured to set the value of a preset flag bit to a first value indicating the presence of intrusion in response to the input terminal being grounded, and record the current time as the intrusion time.
[0008] In this embodiment, the switch is turned on in response to the opening of the chassis cover, thereby pulling down the voltage at the first terminal of the switch. Therefore, a chip with intrusion detection functionality can determine whether the chassis cover is open by identifying the voltage change at the first terminal of the switch, eliminating the need for external circuits such as sensors and analog-to-digital converters, thus reducing the complexity of the external circuitry. Furthermore, upon determining that the cover is open, a preset flag is set to a first value indicating the presence of an intrusion, and the current time is recorded as the intrusion time. This allows for direct determination of whether an intrusion occurred previously using the flag, and rapid investigation of intrusion behavior based on the intrusion time. Compared to related technologies that use BMC analysis to only determine if an intrusion occurred but not the number of intrusions or the time of the intrusion, the method in this embodiment can more effectively detect intrusion behavior.
[0009] In conjunction with the technical solution provided in the first aspect above, in some possible implementations, the chip includes: an intrusion input module, an intrusion detection module, and a storage module; the input terminal of the intrusion input module is the input terminal of the chip, and the intrusion input module is used to generate a first designated signal in response to the switch being turned on; the input terminal of the intrusion detection module is connected to the output terminal of the intrusion input module, and the output terminal of the intrusion detection module is connected to the storage module; the intrusion detection module is used to set the value of the preset flag bit to the first value when receiving the first designated signal, and write the current time into the storage module as the intrusion time.
[0010] In this embodiment, an intrusion input module generates a first specified signal in response to a switch being turned on. When the switch is on, the intrusion input module can generate the first specified signal to instruct the intrusion detection module to set the value of a flag bit to a first value indicating the presence of an intrusion, and to instruct the intrusion detection module to write the intrusion time into the storage module. The intrusion detection function of the chip can be realized through the cooperation of the intrusion input module, the intrusion detection module, and the storage module, thereby reducing the circuit complexity of implementing the intrusion detection function.
[0011] In conjunction with the technical solution provided in the first aspect above, in some possible implementations, the intrusion detection system further includes: a second power supply, the second power supply being connected to the chip, the second power supply being used to power the intrusion input module, the intrusion detection module, and the storage module.
[0012] In this embodiment, a second power supply separately powers the intrusion input module, intrusion detection module, and storage module within the chip. This ensures that even when the main chip stops operating, these modules can still function. Therefore, intrusion activity can be monitored regardless of whether the main chip is operational.
[0013] In conjunction with the technical solution provided in the first aspect above, in some possible implementations, the intrusion input module is further configured to generate a second designated signal in response to the switch changing from on to off; wherein, when the cover of the chassis is closed, the switch changes from on to off; the intrusion monitoring module is further configured to write the current time as the intrusion end time into the storage module when the second designated signal is received.
[0014] In this embodiment of the application, the intrusion detection module is instructed by a second designated signal to end the intrusion behavior (that is, the cover of the chassis is closed), so that the intrusion end time can be recorded, which is convenient for subsequent analysis of the intrusion behavior based on the intrusion time and the intrusion end time, thereby improving the business value of intrusion detection.
[0015] In conjunction with the technical solution provided in the first aspect above, in some possible implementations, the intrusion input module includes: a comparator, the first input terminal of the comparator being the input terminal of the chip, the second input terminal of the comparator being used to receive a comparison voltage, and the output terminal of the comparator being connected to the input terminal of the intrusion detection module.
[0016] In this embodiment, a comparator is used to compare the voltage at the first terminal of the switch with a comparison voltage. This allows for accurate identification of voltage changes at the first terminal of the switch after the switch is turned on and the voltage at the first terminal is pulled down, improving the accuracy of intrusion behavior identification and simplifying the implementation.
[0017] In conjunction with the technical solution provided in the first aspect above, in some possible implementations, the intrusion input module includes: a programmable interrupt controller, the input terminal of the programmable interrupt controller being the input terminal of the chip, the output terminal of the programmable interrupt controller being connected to the input terminal of the intrusion detection module, and the programmable interrupt controller being used to generate an interrupt signal in response to the switch being turned on, the interrupt signal being the first designated signal.
[0018] In this embodiment, the programmable interrupt controller can generate an interrupt signal in response to the switch being turned on. This allows for accurate identification of whether the chassis cover has been opened, and the interrupt signal instructs the intrusion detection module to proceed with subsequent processing, improving the accuracy of intrusion detection. Furthermore, since the programmable interrupt controller is an on-chip device used to implement interrupt pins, if the chip itself has interrupt pins, the programmable interrupt controller with the interrupt pins can be reused, or the chip's interrupt pins can be directly used to implement this function.
[0019] In conjunction with the technical solution provided in the first aspect above, in some possible implementations, the intrusion detection module includes: a clock unit and a storage unit. The enable terminal of the clock unit is connected to the output terminal of the intrusion input module, and the output terminal of the clock unit is connected to the storage module. The clock unit is used to write its recorded current time into the storage module as the intrusion time when it receives the first designated signal. The input terminal of the storage unit is connected to the output terminal of the intrusion input module, and the storage unit is used to set the value of a preset flag bit to the first value when it receives the first designated signal.
[0020] Secondly, this application provides a chassis intrusion detection system, comprising: a switch, a resistive element, a first power supply, an intrusion input module, an intrusion detection module, and a storage module; a first terminal of the switch is connected to the input terminal of the intrusion input module, and the first terminal of the switch is also connected to the first power supply through the resistive element; a second terminal of the switch is grounded; the switch is configured to conduct in response to the chassis cover being opened, so that the input terminal of the intrusion input module is grounded; the intrusion input module is configured to generate a first designated signal in response to the switch being turned on; the input terminal of the intrusion detection module is connected to the output terminal of the intrusion input module, and the output terminal of the intrusion detection module is connected to the storage module; the intrusion detection module is configured to, upon receiving the first designated signal, set the value of a preset flag bit to a first value indicating the presence of an intrusion, and write the current time as the intrusion time into the storage module.
[0021] In this embodiment, the switch is turned on in response to the opening of the chassis cover, causing the voltage at the first terminal of the switch to drop. Therefore, the opening of the chassis cover can be determined by identifying the voltage change at the first terminal of the switch. If it is determined that the cover has been opened, the value of a preset flag is set to a first value indicating an intrusion, and the current time is recorded as the intrusion time. Subsequently, the flag can be used to directly determine whether an intrusion has occurred, and the intrusion time can be used to quickly investigate the intrusion behavior. Compared to related technologies where BMC analysis can only determine whether an intrusion has occurred, but cannot determine the number of intrusions or the time of the intrusion, the method in this embodiment can more effectively detect intrusion behavior.
[0022] In conjunction with the technical solution provided in the second aspect above, in some possible implementations, the intrusion input module includes: a comparator, the first input terminal of the comparator being the input terminal of the intrusion input module, the second input terminal of the comparator being used to receive a comparison voltage, and the output terminal of the comparator being connected to the input terminal of the intrusion monitoring module.
[0023] In conjunction with the technical solution provided in the second aspect above, in some possible implementations, the intrusion detection module includes: a clock unit and a storage unit. The enable terminal of the clock unit is connected to the output terminal of the intrusion input module, and the output terminal of the clock unit is connected to the storage module. The clock unit is used to write its recorded current time into the storage module as the intrusion time when it receives the first designated signal. The input terminal of the storage unit is connected to the output terminal of the intrusion input module, and the storage unit is used to set the value of the preset flag bit to the first value when it receives the first designated signal.
[0024] Thirdly, this application provides a chip, including: an intrusion input module, an intrusion detection module, and a storage module; the input terminal of the intrusion input module is used to connect to a first power supply through a resistive element, and the input terminal of the intrusion input module is also used to connect to a first terminal of a switch, the intrusion input module being used to generate a first designated signal in response to the switch being turned on; wherein, the second terminal of the switch is grounded, and the switch is used to turn on in response to the cover of the chassis being opened, so that the input terminal of the intrusion input module is grounded; the input terminal of the intrusion detection module is connected to the output terminal of the intrusion input module, and the output terminal of the intrusion detection module is connected to the storage module; the intrusion detection module is used to, upon receiving the first designated signal, set the value of a preset flag bit to a first value indicating the presence of an intrusion, and write the current time as the intrusion time into the storage module.
[0025] In this embodiment, since the intrusion input module generates a first specified signal in response to the switch being turned on, when the switch is on, the intrusion input module can generate the first specified signal to instruct the intrusion detection module to set the value of the flag bit to a first value indicating the presence of an intrusion, and to instruct the intrusion detection module to write the intrusion time into the storage module. The intrusion detection function of the chip can be realized through the cooperation of the intrusion input module, the intrusion detection module, and the storage module. Furthermore, by integrating the intrusion input module, the intrusion detection module, and the storage module inside the chip, there is no need to place them in external circuitry outside the chip, thus reducing the circuit complexity of implementing the intrusion detection function.
[0026] Fourthly, this application provides a chassis intrusion detection method, comprising: detecting whether the value of a flag bit is a first value indicating the existence of an intrusion; if the value of the flag bit is the first value indicating the existence of an intrusion, reading the intrusion time, and sending a prompt message including the intrusion time.
[0027] In this embodiment, the value of the flag bit can be used to quickly determine whether an intrusion has occurred. If an intrusion has occurred, the intrusion time can be read, and a notification message including the intrusion time can be sent. Subsequent investigations can be conducted solely based on the flag bit value, thereby improving the efficiency of intrusion detection. Furthermore, the intrusion time can be used in conjunction with monitoring and other methods to quickly locate intruders.
[0028] In conjunction with the technical solution provided in the third aspect above, in some possible implementations, the method further includes: if the value of the flag bit is not a first value indicating the presence of an intrusion, continuing to detect whether the value of the flag bit is a first value indicating the presence of an intrusion.
[0029] In conjunction with the technical solution provided in the third aspect above, in some possible implementations, if an intrusion end time is also recorded, the method further includes: reading the intrusion end time before sending a prompt message including the intrusion time; correspondingly, sending a prompt message including the intrusion time includes: sending a prompt message including the intrusion time and the intrusion end time.
[0030] In this embodiment, the prompt information includes the intrusion time and the intrusion end time, which facilitates subsequent analysis of the intrusion behavior based on the intrusion time and the intrusion end time, thereby improving the user experience.
[0031] Fifthly, this application provides an electronic device, including: a chassis and a chassis intrusion detection system, wherein the chassis intrusion detection system is an intrusion detection system described in the first aspect and / or in combination with any possible implementation of the first aspect, or an intrusion detection system described in the second aspect and / or in combination with any possible implementation of the second aspect; wherein the chassis intrusion detection system is disposed inside the chassis. Attached Figure Description
[0032] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0033] Figure 1 is a structural block diagram of a chassis intrusion detection system according to an embodiment of this application;
[0034] Figure 2 is a structural block diagram of a chip according to an embodiment of this application;
[0035] Figure 3 is a circuit structure block diagram of a chassis intrusion detection system according to an embodiment of this application;
[0036] Figure 4 is a structural block diagram of a chassis intrusion detection system according to an embodiment of this application;
[0037] Figure 5 is a flowchart illustrating a chassis intrusion detection method according to an embodiment of this application;
[0038] Figure 6 is a structural block diagram of an electronic device according to an embodiment of this application. Detailed Implementation
[0039] The terms “first,” “second,” “third,” etc., are used only for distinguishing descriptions and do not indicate a sequence number, nor should they be interpreted as indicating or implying relative importance.
[0040] In the description of this application, unless otherwise expressly specified and limited, the terms "set" and "connection" shall be interpreted broadly, for example, as a fixed connection, a detachable connection, or an integral connection; as a mechanical connection or an electrical connection; as a direct connection or an indirect connection through an intermediate medium; or as a connection within two components.
[0041] The technical solution of this application will now be clearly and completely described with reference to the accompanying drawings.
[0042] Please refer to Figure 1, which is a structural block diagram of a chassis intrusion detection system 100 shown in an embodiment of this application. The intrusion detection system 100 will be described below with reference to Figure 1.
[0043] As shown in Figure 1, the intrusion detection system 100 includes: a switch 110, a chip 120 with intrusion detection function, a resistive element 130, and a first power supply 140.
[0044] The first terminal of switch 110 is connected to the input terminal of chip 120. The first terminal of switch 110 is also used to connect to the first power supply 140 through resistive element 130. The second terminal of switch 110 is grounded. Switch 110 is turned on in response to the opening of the chassis cover so that the input terminal of chip 120 is grounded.
[0045] Optionally, the aforementioned switch 110 is not limited to various types of switches available on the market. Any component with a switching function can achieve the aforementioned function of switch 110. The specific type of switch 110 can be determined according to actual needs, and its specific type is not limited here.
[0046] For example, switch 110 can be a conductive structure connected to the chassis cover, with one end of the conductive structure connected to the input terminals of resistive element 130 and chip 120. When the chassis cover is opened from the closed state, the conductive structure moves along with the chassis cover, and the other end of the conductive structure contacts the ground connection contact, thereby connecting the input terminal of chip 120 to the ground, achieving the effect of switch 110 being turned on when the chassis cover is open. This example is for illustrative purposes only and should not be construed as limiting the scope of this application.
[0047] Alternatively, switch 110 can also be a trigger-type switch (such as a push-button switch). When the chassis cover is closed, the cover applies pressure to switch 110, keeping it in the open state. When the chassis cover is opened, the pressure on switch 110 disappears, triggering switch 110 (changing from the open state to the closed state), thereby grounding the input terminal of chip 120. Correspondingly, when the chassis cover changes from the open state to the closed state, switch 110 is again subjected to pressure from the cover, triggering it again, that is, changing from the closed state to the open state. This example is for illustrative purposes only and should not be construed as limiting the scope of this application.
[0048] Optionally, the aforementioned resistive element 130 may be a fixed resistor, an adjustable resistor, or other electronic components that impede current flow and cause energy consumption.
[0049] The specific resistance value of resistive element 130 can be set according to actual needs, and its specific value is not limited here.
[0050] In one implementation, the specific type and size of the first power supply 140 can be set according to actual needs. For example, the size of the first power supply 140 can be set to 3.3V, 5V, etc. The first power supply 140 can be, for example, a CMOS power supply, a lithium manganese battery, and a lithium thionyl chloride battery. Here, the specific type and voltage of the first power supply 140 are not limited.
[0051] Chip 120 is used to set the value of a preset flag bit to a first value indicating the presence of an intrusion in response to the input terminal being grounded, and to record the current time as the intrusion time.
[0052] In one implementation, the function of setting the value of a preset flag bit to a first value indicating the presence of an intrusion and recording the intrusion time can be implemented by a pre-configured software function module in the chip 120 when the switch 110 is detected to be grounded.
[0053] The intrusion time can be stored in the format of year, month, day, hour, minute, and second.
[0054] Optionally, the precision of the intrusion time can be set according to actual needs. For example, the precision of the intrusion time can be day, hour, minute, second, millisecond, microsecond, etc.
[0055] For ease of understanding, if the intrusion time is accurate to minutes, the stored time format is "Year XX Month XX Day XX Hour XX Minute"; or, if the intrusion time is accurate to seconds, the stored time format is "Year XX Month XX Day XX Hour XX Minute XX Second". These examples are for illustrative purposes only and should not be construed as limiting this application.
[0056] For example, if the current time recorded in the chip is 13:26:08 on January 1, 2024, then this time can be recorded as the intrusion time, that is, the intrusion time is 13:26:08 on January 1, 2024. This example is only for the purpose of understanding and should not be construed as a limitation of this application.
[0057] In one implementation, when recording the intrusion time, if a previous intrusion time record already exists, the current intrusion time can be used to overwrite the original intrusion time.
[0058] Alternatively, the current intrusion time can be recorded directly without modifying the original intrusion time.
[0059] In one implementation, chip 120 may include an intrusion input module 121, an intrusion detection module 122, and a storage module 123. Please refer to Figure 2 for clarity.
[0060] As shown in Figure 2, the input terminal of the intrusion input module 121 is the input terminal of the chip 120. The intrusion input module 121 is used to generate a first specified signal in response to the switch 110 being turned on.
[0061] When switch 110 is turned on, it pulls down the voltage at the input terminal of intrusion input module 121. Therefore, intrusion input module 121 will detect a voltage drop (falling edge). In response to this voltage change, intrusion input module 121 can determine that an intrusion has occurred and thus generate a first specified signal.
[0062] In one implementation, the storage module 123 can be any type of storage module 123, such as a random access memory, flash memory, or other functional modules that can be located inside the chip 120 and have storage capabilities.
[0063] Optionally, the storage module 123 may be made of a non-volatile storage medium to reduce the risk of data loss recorded in the storage module 123.
[0064] Optionally, if the number of intrusion times recorded in storage module 123 reaches the maximum number of records, rolling recording is performed, that is, a new file is created to store intrusion times, and subsequent intrusion times are recorded in the new file.
[0065] In one embodiment, the intrusion input module 121 may include a comparator. The first input terminal of the comparator is the input terminal of the chip 120, the second input terminal of the comparator is used to receive a comparison voltage, and the output terminal of the comparator is connected to the input terminal of the intrusion detection module 122.
[0066] When the switch is not turned on, the input terminal of the intrusion input module 121 has a relatively high voltage. When the switch 110 is turned on, the input terminal of the intrusion input module 121 has a relatively low voltage (reference ground). Therefore, by setting the comparator's comparison voltage between this relatively high and relatively low voltage, a first output signal can be output when the second terminal of switch 110 is not grounded. A second output signal (i.e., a first specified signal) is output when switch 110 is turned on. The first and second output signals are different.
[0067] The comparison voltage can be provided by a third power supply, or it can be provided by stepping down the voltage provided by the first power supply through a step-down circuit. The specific method of providing the comparison voltage can be set according to actual needs, and the methods of providing the comparison voltage include, but are not limited to, the methods exemplified here.
[0068] The specific type and model of the comparator can be set according to actual needs; there are no restrictions on its specific type and model here.
[0069] Optionally, the intrusion input module 121 may also include a programmable interrupt controller. The input terminal of the programmable interrupt controller is the input terminal of the chip 120, and the output terminal of the programmable interrupt controller is connected to the input terminal of the intrusion detection module 122. The programmable interrupt controller is used to generate an interrupt signal in response to the conduction of the switch 110.
[0070] The programmable interrupt controller is the device that implements the interrupt pin in the existing chip 120. By pre-configuring the interrupt request signal of the peripherals (in this solution, the switch 110, the resistive element 130, and the first power supply 140) for the programmable interrupt controller (the falling edge signal generated at the first end of the switch 110 during the transition from open to closed), the programmable interrupt controller generates an interrupt signal (i.e., the first specified signal mentioned above) when it receives the interrupt request signal.
[0071] The specific methods for implementing interrupt pins through a programmable interrupt controller are well known to those skilled in the art, and will not be elaborated here for the sake of brevity.
[0072] The input terminal of the intrusion detection module 122 is connected to the output terminal of the intrusion input module 121, and the output terminal of the intrusion detection module 122 is connected to the storage module 123. The intrusion detection module 122 is used to set the value of the preset flag bit to the first value indicating the existence of an intrusion when it receives the first specified signal, and write the current time into the storage module 123 as the intrusion time.
[0073] Optionally, the intrusion detection module 122 may include a clock unit and a storage unit.
[0074] The enable terminal of the clock unit is connected to the output terminal of the intrusion input module 121, and the output terminal of the clock unit is connected to the storage module 123. The clock unit, upon receiving a first specified signal, writes its recorded current time into the storage module 123 as the intrusion time. The input terminal of the storage unit is connected to the output terminal of the intrusion input module 121, and the storage unit, upon receiving the first specified signal, sets the value of a preset flag bit to a first value indicating the presence of an intrusion.
[0075] The clock unit can be a hardware circuit module that provides calendar / clock functions, such as an RTC (Real Time Clock) module.
[0076] The storage unit can be a circuit module with data storage function, such as a register or latch. It internally stores a flag bit, and upon receiving a first specified signal, it sets the value of its stored flag bit to a first value indicating the presence of an intrusion. The specific type of storage unit is not restricted here.
[0077] For example, the flag value can be "0" or "1". A pre-set flag value of "0" indicates no intrusion activity, while a pre-set flag value of "1" indicates intrusion activity. This example is for illustrative purposes only; the specific way to set the flag value is not limited to the example shown here.
[0078] In one implementation, the chip 120 can also be used to record the intrusion end time when the switch 110 is detected to change from being on to being off (that is, the voltage at the first terminal of the switch 110 rises from zero potential).
[0079] Specifically, the switch 110 changing from on to off indicates the end of the intrusion. The specific implementation and recording method of the intrusion end time is the same as the aforementioned implementation and recording method of the intrusion time, and will not be repeated here for the sake of brevity.
[0080] Optionally, when the chip 120 includes an intrusion input module 121, an intrusion detection module 122, and a storage module 123, the intrusion input module 121 is further configured to generate a second specified signal in response to the switch 110 changing from being on to being off. Specifically, the switch 110 changes from being on to being off when the chassis cover is closed; and the second specified signal is different from the first specified signal.
[0081] Correspondingly, the intrusion detection module 122 is also used to write the current time into the storage module 123 as the intrusion end time when it receives the second designated signal.
[0082] Even if the intrusion has ended, since the intrusion has already occurred, the value of the flag bit recorded in the chip 120 remains the first value representing the occurrence of the intrusion after the switch 110 is switched from on to off.
[0083] Optionally, to facilitate the distinction between intrusion time and intrusion end time, different labels can be used to mark the intrusion end time and intrusion time separately. Alternatively, two storage areas can be set in the storage module 123 (or chip 120), such as a first storage area and a second storage area. The first storage area is used to store the intrusion time, and the second storage area is used to store the intrusion end time; correspondingly, when the intrusion monitoring module 122 receives the first specified signal, it writes the current time into the first storage area; when the intrusion monitoring module 122 receives the second specified signal, it writes the current time into the second storage area. Since the intrusion time is necessarily earlier than the intrusion end time, the intrusion end time that is closest to the specified intrusion time after the specified intrusion time is the intrusion end time corresponding to the specified intrusion time.
[0084] Other methods can also be used to distinguish the intrusion time and intrusion end time stored in storage module 123, and are not limited to the implementation methods mentioned above.
[0085] In one embodiment, the intrusion detection system 100 further includes a second power supply. The second power supply is connected to the chip 120 and is used to supply power to the intrusion input module 121, the intrusion detection module 122, and the storage module 123.
[0086] By providing separate power to the intrusion input module 121, intrusion detection module 122, and storage module 123 within chip 120 via a second power supply, these modules can continue to operate even when the main body of chip 120 is not functioning. Therefore, intrusion activities can be monitored regardless of whether the main body of chip 120 is operational.
[0087] Optionally, the second power source can be, for example, a CMOS power source, a lithium manganese battery, or a lithium thionyl chloride battery, and the specific type of the second power source is not limited to the examples given here.
[0088] The specific voltage of the second power supply can be set according to actual needs, as long as it can meet the normal operation of the intrusion input module 121, the intrusion detection module 122, and the storage module 123.
[0089] To facilitate understanding of the intrusion detection system 100 described above, the specific working principle of the intrusion detection system 100 shown in Figure 3 will be explained as an example.
[0090] As shown in Figure 3, the intrusion detection system 100 includes a switch 110, a chip 120, a resistive element 130, a first power supply 140, and a second power supply.
[0091] The first terminal of switch 110 is connected to the input terminal of chip 120. The first terminal of switch 110 is also connected to the first power supply 140 through resistive element 130. The second terminal of switch 110 is grounded. Switch 110 is turned on in response to the opening of the chassis cover so that the input terminal of chip 120 is grounded.
[0092] Chip 120 includes an intrusion input module 121, an intrusion detection module 122, and a storage module 123.
[0093] The input terminal of the intrusion input module 121 is the input terminal of the chip 120. The input terminal of the intrusion detection module 122 is connected to the output terminal of the intrusion input module 121, and the output terminal of the intrusion detection module 122 is connected to the storage module 123.
[0094] The specific working principle of the intrusion detection system 100 shown in Figure 3 is as follows: when the cover of the chassis is not opened, the switch 110 is turned off. At this time, the input terminal of the intrusion input module 121 is connected to the first power supply 140 through the resistive element 130, that is, the input terminal of the intrusion input module 121 receives a higher voltage.
[0095] When the chassis cover is opened, switch 110 closes, and the voltage at the first terminal of switch 110 is pulled down to zero potential. Therefore, when switch 110 is closed, the input terminal of intrusion input module 121 receives a lower voltage compared to when switch 110 is open. Accordingly, intrusion input module 121 generates a first designated signal in response to the falling edge of this voltage change from higher to lower.
[0096] Upon receiving the first designated signal, the intrusion detection module 122 sets the value of the preset flag to a first value indicating the presence of an intrusion, and writes the current time into the storage module 123 as the intrusion time, thus completing the recording of the intrusion behavior.
[0097] When the chassis cover changes from open to closed, switch 110 changes from closed to open, and the voltage at the first terminal of switch 110 is pulled up to a higher voltage. Therefore, in response to the rising edge of this voltage change from lower to higher voltage, intrusion input module 121 generates a second designated signal. Upon receiving the second designated signal, intrusion detection module 122 writes the current time into storage module 123 as the intrusion end time.
[0098] Based on the same technical concept, this application also provides a chassis intrusion detection system. As shown in Figure 4, the chassis intrusion detection system includes a switch, a resistive component, a first power supply, an intrusion input module, an intrusion detection module, and a storage module.
[0099] The first terminal of the switch is connected to the input terminal of the intrusion input module. The first terminal of the switch is also connected to the first power supply through a resistive element. The second terminal of the switch is grounded. The switch is used to conduct in response to the opening of the chassis cover so that the input terminal of the intrusion input module is grounded.
[0100] The intrusion input module is used to generate a first specified signal in response to the switch being turned on.
[0101] The input terminal of the intrusion detection module is connected to the output terminal of the intrusion input module, and the output terminal of the intrusion detection module is connected to the storage module. When the intrusion detection module receives the first specified signal, it sets the value of the preset flag bit to the first value indicating the existence of an intrusion and writes the current time into the storage module as the intrusion time.
[0102] The aforementioned intrusion input module, intrusion detection module, and storage module can be located on the motherboard or other peripheral circuits within the chassis. Alternatively, as described above, the intrusion input module, intrusion detection module, and storage module can be integrated into the chip.
[0103] The specific implementation methods and principles of the switches, resistive components, first power supply, intrusion input module, intrusion detection module, and storage module are the same as those in the aforementioned intrusion detection system. For example, the intrusion input module may include a comparator, and the intrusion detection module may include a clock unit and a storage unit. For brevity, these details will not be elaborated upon here.
[0104] Based on the same technical concept, this application also provides a chip, as shown in Figure 2, which includes an intrusion input module, an intrusion detection module, and a storage module.
[0105] The input terminal of the intrusion input module is used to connect to a first power supply via a resistive element. The input terminal of the intrusion input module is also used to connect to the first terminal of a switch. The intrusion input module is used to generate a first specified signal in response to the switch being turned on. The second terminal of the switch is grounded. The switch is used to turn on in response to the cover of the chassis being opened, so that the input terminal of the intrusion input module is grounded.
[0106] The input terminal of the intrusion detection module is connected to the output terminal of the intrusion input module, and the output terminal of the intrusion detection module is connected to the storage module.
[0107] The intrusion detection module is used to set the value of the preset flag bit to the first value indicating the existence of an intrusion when it receives the first specified signal, and write the current time into the storage module as the intrusion time.
[0108] The specific implementation methods of the intrusion input module, intrusion detection module, and storage module have been clearly described above, and will not be repeated here for the sake of brevity.
[0109] The aforementioned chips may include, but are not limited to, SOC (System On Chip) chips, CUP (Central Processing Unit) chips, etc.
[0110] Optionally, the intrusion input module can be a programmable interrupt controller within the multiplexed chip, which generates an interrupt signal by responding to the switch being turned on. The interrupt signal is the first specified signal.
[0111] Optionally, the intrusion detection module can reuse the clock unit and registers within the chip. Upon receiving a first specified signal, the clock unit writes its recorded current time into the storage module as the intrusion time. Upon receiving the first specified signal, the registers or other storage units set a preset flag to a first value.
[0112] Optionally, the storage module can be a reused random access memory, flash memory, or other storage modules within the chip, thereby enabling the storage of intrusion time, intrusion end time, etc.
[0113] By reusing the internal structure of the chip to implement the functions of the intrusion input module, intrusion detection module, and storage module, the on-chip circuit complexity required to implement the intrusion detection function can be reduced.
[0114] Please refer to Figure 5. Based on the same technical concept, this application also provides a chassis intrusion detection method, the steps of which will be described below with reference to Figure 5.
[0115] S100: Detect whether the value of the flag bit is the first value that indicates the presence of an intrusion.
[0116] When the aforementioned intrusion detection system, which includes a switch, resistive components, a first power supply, and a chip with intrusion detection function, is used to update the value of the flag bit, the value of the flag bit can be read from the chip.
[0117] Alternatively, if an intrusion detection system including a switch, resistive element, first power supply, intrusion input module, intrusion detection module, and storage module is used to update the value of the flag bit, the value of the flag bit can be read from the storage module.
[0118] In one implementation, a software module deployed within the chip may read the value of the flag bit and then determine whether it is the first value.
[0119] Alternatively, the user can send a command to the software via the interactive module to read the chassis intrusion time, and then the software reads the value of the flag bit and determines whether it is the first value.
[0120] The interaction module can be a hardware device that can interact with the user, such as a display or a touch screen.
[0121] Alternatively, other electronic devices can obtain the value of the flag bit from the chip (or storage module) through wired or wireless communication and determine whether it is the first value.
[0122] S200: If the value of the flag bit is the first value indicating that an intrusion has occurred, read the intrusion time and send a prompt message including the intrusion time.
[0123] Optionally, after sending a notification message including the time of the intrusion, the flag can be reset to a second value indicating that no intrusion occurred. This facilitates subsequent determination of whether an intrusion occurred again after the notification message was sent.
[0124] In one implementation, if the value of the flag bit is not the first value indicating the presence of an intrusion, the system continues to detect whether the value of the flag bit is the first value indicating the presence of an intrusion.
[0125] Optionally, if the value of the flag is not the first value indicating the presence of an intrusion, a prompt message indicating that there is no intrusion can also be sent.
[0126] In one implementation, if the intrusion end time is also recorded, the intrusion end time can be read before sending a notification message including the intrusion time.
[0127] Accordingly, the specific method for sending a notification message including the intrusion time could be: sending a notification message including the intrusion time and the intrusion end time.
[0128] Specifically, the intrusion end time can be read from the chip's storage module.
[0129] Optionally, if the user sends a command to the software to read the time of the chassis intrusion through the interaction module, the software will return a prompt message to the interaction module so that the user can know whether an intrusion has occurred (i.e., whether the chassis cover has been opened) and the time of the intrusion.
[0130] In one implementation, after reading the intrusion time, the value of the flag bit can be set, that is, the value of the flag bit can be set to a second value that indicates that there is no intrusion behavior, so that the intrusion behavior can be monitored again in the future.
[0131] Optionally, if the user sends a command to the software to read the chassis intrusion time via the interactive module, the user can also send a command to the software via the interactive module to set the value of the flag bit, and the software will then set the value of the flag bit (that is, set it to the second value indicating no intrusion behavior).
[0132] In one implementation, after sending a notification message including the intrusion time, the recorded intrusion time can be cleared. Since the currently recorded intrusion time has already been sent via the notification message, clearing the recorded intrusion time allows for the continued recording of intrusion times later.
[0133] Optionally, if the user sends the command to the software to read the chassis intrusion time via the interactive module, the user can also send a command to the software via the interactive module to clear the recorded intrusion time, and the software will then delete the previously recorded intrusion time.
[0134] To facilitate understanding of the intrusion detection methods described above, examples will be provided below.
[0135] First, the user sends commands to the software through the interaction module, including but not limited to commands to read the chassis intrusion time, clear the chassis intrusion time record, and reset the value of the flag bit.
[0136] When a user sends a command to the software via the interaction module to read the chassis intrusion time, the software, upon receiving the command, first checks if the flag bit in the intrusion detection module is set to 1 (i.e., the first value). If the flag bit is set to 1, the software reads the recorded chassis intrusion time from the chip's non-volatile memory module and returns it to the interaction module. If the intrusion detection status flag is 0 (i.e., the second value), the software returns a message to the interaction module indicating that no intrusion detection occurred. Finally, the interaction module informs the user of the chassis intrusion time or the information that no chassis intrusion occurred.
[0137] Based on the same technical concept, this application also provides an electronic device 10, as shown in FIG6. The electronic device includes a chassis 200 and an intrusion detection system 100.
[0138] The chassis intrusion detection system 100 is installed inside the chassis 200.
[0139] The specific structure and functions of the intrusion detection system 100 have been clearly described above, and will not be repeated here for the sake of brevity.
[0140] The chassis 200 is the enclosure that houses and secures the hardware, serving to support and protect it. The specific structure and type of chassis 200 can be configured according to actual needs; there are no restrictions on its specific type here.
[0141] When the chassis cover of the chassis 200 is opened, it will turn on the switch inside the intrusion detection system 100.
[0142] For example, the switch could be a conductive structure connected to the chassis cover. When the chassis cover is opened from a closed state, the conductive structure moves along with the chassis cover, thereby connecting the chip's input terminal to the reference ground, achieving the effect of the switch being turned on when the chassis cover is open. This example is for illustrative purposes only and should not be construed as limiting the scope of this application.
[0143] Alternatively, the switch can be a trigger-type switch (such as a push-button switch). When the chassis cover is opened from the closed state, the switch is triggered (changing from the open state to the closed state), thereby grounding the chip's input terminal. Correspondingly, when the chassis cover changes from the open state to the closed state, the switch is triggered again, that is, changing from the closed state to the open state. The examples here are for illustrative purposes only and should not be construed as limiting this application.
[0144] Electronic device 10 can be a computer, computer host, server, or other device that requires a chassis. The specific type of electronic device 10 is not limited here.
[0145] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. An enclosure intrusion monitoring system, comprising: include: Switches, resistive components, primary power supply, and a chip with intrusion detection capabilities; The first terminal of the switch is connected to the input terminal of the chip, and the first terminal of the switch is also connected to the first power supply through the resistive element. The second terminal of the switch is grounded. The switch is used to conduct in response to the opening of the chassis cover so that the input terminal of the chip is grounded. The chip is used to set the value of a preset flag bit to a first value indicating the presence of an intrusion in response to the grounding of the input terminal, and to record the current time as the intrusion time.
2. The enclosure intrusion monitoring system of claim 1, wherein, The chip includes: Intrusion input module, intrusion detection module, storage module; The input terminal of the intrusion input module is the input terminal of the chip, and the intrusion input module is used to generate a first specified signal in response to the switch being turned on; The input terminal of the intrusion detection module is connected to the output terminal of the intrusion input module, and the output terminal of the intrusion detection module is connected to the storage module. The intrusion detection module is used to set the value of the preset flag bit to the first value when it receives the first specified signal, and write the current time into the storage module as the intrusion time.
3. The enclosure intrusion monitoring system of claim 1 or 2, wherein, The intrusion detection system also includes: A second power supply is connected to the chip and is used to power the intrusion input module, the intrusion detection module, and the storage module.
4. The enclosure intrusion monitoring system of claim 2, wherein, The intrusion input module is also configured to generate a second specified signal in response to the switch changing from on to off; wherein the switch changes from on to off when the cover of the chassis is closed; The intrusion detection module is further configured to write the current time as the intrusion end time into the storage module when it receives the second designated signal.
5. The enclosure intrusion monitoring system of claim 2, wherein, The intrusion input module includes: The comparator has a first input terminal that is the input terminal of the chip, a second input terminal that is used to receive a comparison voltage, and an output terminal that is connected to the input terminal of the intrusion detection module.
6. The enclosure intrusion monitoring system of claim 2, wherein, The intrusion input module includes: A programmable interrupt controller, wherein the input terminal of the programmable interrupt controller is the input terminal of the chip, and the output terminal of the programmable interrupt controller is connected to the input terminal of the intrusion detection module, and the programmable interrupt controller is used to generate an interrupt signal in response to the switch being turned on, wherein the interrupt signal is the first designated signal.
7. The enclosure intrusion monitoring system of claim 2, wherein, The intrusion detection module includes: A clock unit, wherein the enable terminal of the clock unit is connected to the output terminal of the intrusion input module, and the output terminal of the clock unit is connected to the storage module, and the clock unit is used to write its own recorded current time into the storage module as the intrusion time when it receives the first specified signal; A storage unit, the input of which is connected to the output of the intrusion input module, is used to set the value of the preset flag bit to the first value when the first specified signal is received.
8. An enclosure intrusion monitoring system, comprising: include: Switches, resistive components, primary power supply, intrusion input module, intrusion detection module, and storage module; The first terminal of the switch is connected to the input terminal of the intrusion input module. The first terminal of the switch is also connected to the first power supply through the resistive element. The second terminal of the switch is grounded. The switch is used to conduct in response to the opening of the chassis cover so that the input terminal of the intrusion input module is grounded. The intrusion input module is used to generate a first designated signal in response to the switch being turned on; The input terminal of the intrusion detection module is connected to the output terminal of the intrusion input module, and the output terminal of the intrusion detection module is connected to the storage module. When the intrusion detection module receives the first specified signal, it sets the value of the preset flag bit to a first value that indicates the existence of an intrusion, and writes the current time into the storage module as the intrusion time.
9. The enclosure intrusion monitoring system of claim 8, wherein, The intrusion input module includes: The comparator has a first input terminal that is the input terminal of the intrusion input module, a second input terminal that is used to receive a comparison voltage, and an output terminal that is connected to the input terminal of the intrusion detection module.
10. The enclosure intrusion monitoring system of claim 8, wherein, The intrusion detection module includes: A clock unit, wherein the enable terminal of the clock unit is connected to the output terminal of the intrusion input module, and the output terminal of the clock unit is connected to the storage module, and the clock unit is used to write its own recorded current time into the storage module as the intrusion time when it receives the first specified signal; A storage unit, the input of which is connected to the output of the intrusion input module, is used to set the value of the preset flag bit to the first value when the first specified signal is received.
11. A chip, characterized by include: Intrusion input module, intrusion detection module, storage module; The input terminal of the intrusion input module is used to connect to a first power supply via a resistive element. The input terminal of the intrusion input module is also used to connect to a first terminal of a switch. The intrusion input module is used to generate a first designated signal in response to the switch being turned on. The second terminal of the switch is grounded. The switch is used to turn on in response to the chassis cover being opened, so that the input terminal of the intrusion input module is grounded. The input terminal of the intrusion detection module is connected to the output terminal of the intrusion input module, and the output terminal of the intrusion detection module is connected to the storage module; The intrusion detection module is used to set the value of the preset flag bit to a first value indicating the existence of an intrusion when it receives the first specified signal, and write the current time into the storage module as the intrusion time.
12. A method of monitoring intrusion into a cabinet, the method comprising: The chassis intrusion detection system according to any one of claims 1-10 includes: Check if the value of the detection flag is the first value indicating the presence of an intrusion; If the value of the flag bit is a first value indicating the presence of an intrusion, the intrusion time is read, and a prompt message including the intrusion time is sent.
13. The method of claim 12, wherein, The method further includes: If the value of the flag bit is not the first value indicating the presence of an intrusion, continue to check whether the value of the flag bit is the first value indicating the presence of an intrusion.
14. The method of claim 12, wherein, If the intrusion end time is also recorded, the method further includes the following steps before sending a notification message including the intrusion time: Read the intrusion end time; Correspondingly, sending prompt information including the intrusion time, including: Sending prompt information including the intrusion time and the end time of the intrusion.
15. An electronic device, comprising: Including: A cabinet and a cabinet intrusion monitoring system as claimed in any of claims 1-10, the cabinet intrusion monitoring system being arranged in the cabinet.