CN112099613B - Server case cover opening detection method and device - Google Patents

Server case cover opening detection method and device Download PDF

Info

Publication number
CN112099613B
CN112099613B CN202010766354.2A CN202010766354A CN112099613B CN 112099613 B CN112099613 B CN 112099613B CN 202010766354 A CN202010766354 A CN 202010766354A CN 112099613 B CN112099613 B CN 112099613B
Authority
CN
China
Prior art keywords
server
state
uncovering
switch
detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010766354.2A
Other languages
Chinese (zh)
Other versions
CN112099613A (en
Inventor
李鸿强
岑月宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Great Wall Technology Group Co ltd
Original Assignee
China Great Wall Technology Group Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Great Wall Technology Group Co ltd filed Critical China Great Wall Technology Group Co ltd
Priority to CN202010766354.2A priority Critical patent/CN112099613B/en
Publication of CN112099613A publication Critical patent/CN112099613A/en
Application granted granted Critical
Publication of CN112099613B publication Critical patent/CN112099613B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application is suitable for the technical field of servers, and provides a server case cover opening detection method and device, wherein the device comprises the following steps: a power interface of the server; a backup battery unit; the uncovering detection controller is respectively connected with the power interface of the server and the standby battery unit and is used for detecting whether the server case is in an uncovering state or not according to the state of the uncovering trigger switch; and the cover opening trigger switch in the second switch state is used for triggering the standby battery unit to supply power to the cover opening detection controller. Therefore, the server case uncovering detection function can still be normally performed under the condition that the power interface is powered off, and the hardware safety of the server is guaranteed.

Description

Server case cover opening detection method and device
Technical Field
The application belongs to the technical field of servers, and particularly relates to a server case cover opening detection method and device.
Background
As the security requirements of people for internet applications are continuously increased, more challenges are brought to the security of the server. The security of the server includes various aspects such as hardware, software and the like, wherein the security of the hardware aspect is a cornerstone of the security of the whole server. If the safety in terms of hardware is not guaranteed, and even major components are damaged, the safety of the whole server cannot be guaranteed.
At present, some servers are provided with chassis cover opening detection, so that when a cover of the server is opened, the server can detect a cover opening event, and operation and maintenance personnel of the server are notified timely to manage. However, the server cannot realize the server chassis uncovering detection function in the power-off state, so that the safety of the hardware of the server is difficult to guarantee.
Disclosure of Invention
In view of this, embodiments of the present application provide a server chassis uncovering detection method and apparatus, so as to solve at least the problem in the prior art that the server chassis uncovering detection function cannot be realized when the main power supply of the server is powered off, and the hardware security of the server is difficult to guarantee.
A first aspect of an embodiment of the present application provides a server chassis uncovering detection device, including: a power interface of the server; a backup battery unit; the uncovering detection controller is respectively connected with the power interface of the server and the standby battery unit and is used for detecting whether the server case is in an uncovering state according to the state of the uncovering trigger switch; and the cover opening trigger switch is used for triggering the standby battery unit to supply power to the cover opening detection controller.
A second aspect of the embodiments of the present application provides a server chassis lid opening detection method, which is applied to the above lid opening detection controller, and the method includes: acquiring the switch state of a cover opening trigger switch; and correspondingly determining whether the server case is in the uncovering state or not according to the acquired opening and closing state of the uncovering trigger switch.
A third aspect of embodiments of the present application provides a server, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method as described above when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, in which a computer program is stored, which, when executed by a processor, implements the steps of the method as described above.
A fifth aspect of embodiments of the present application provides a computer program product, which, when run on a server, causes the server to carry out the steps of the method as described above.
Compared with the prior art, the embodiment of the application has the advantages that:
the server chassis opening and closing state can be correspondingly determined by the uncovering detection controller according to the state of the uncovering trigger switch in the power-on state. Therefore, the standby battery unit can be triggered to supply power to the uncovering detection controller through the uncovering trigger switch, so that the uncovering detection function of the server case can still be normally performed under the condition that the power interface is powered off, and the hardware safety of the server is guaranteed.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a block diagram showing an example of a server chassis decapping detection apparatus according to an embodiment of the present application;
fig. 2 is a flowchart illustrating an example of a server chassis decapping detection method according to an embodiment of the present application;
fig. 3 is a flowchart illustrating an example of a server chassis decapping detection method when the decapping trigger switch is in the second switch state according to an embodiment of the present application;
fig. 4 is a flowchart illustrating an example of a server chassis decapping detection method according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating an example of power interface power supply line operation and backup battery cell power supply line non-operation according to an embodiment of the application;
FIG. 6 is a schematic diagram illustrating an example of a power interface power supply line not operating and a battery backup power supply line operating according to an embodiment of the application;
fig. 7 is a schematic diagram of an example of a server according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to explain the technical means described in the present application, the following description will be given by way of specific examples.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In particular implementations, the mobile terminals described in embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the devices described above are not portable communication devices, but rather are desktop computers having touch-sensitive surfaces (e.g., touch screen displays and/or touch pads).
In the discussion that follows, a mobile terminal that includes a display and a touch-sensitive surface is described. However, it should be understood that a mobile terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
Various applications that may be executed on the mobile terminal may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
In addition, in the description of the present application, the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
Fig. 1 is a block diagram illustrating an example of a server chassis lid opening detection apparatus according to an embodiment of the present application.
As shown in fig. 1, the server casing lid opening detection apparatus 100 includes a power interface 110 of the server, a backup battery unit 120, a lid opening detection controller 130, and a lid opening trigger switch 140. Specifically, the lid opening detection controller 130 is connected to the power interface 110 of the server and the battery backup unit 120, the first switch state and the second switch state of the lid opening trigger switch 140 correspond to the closing state and the lid opening state of the server lid, respectively, and the lid opening trigger switch 140 in the second switch state is used for triggering the battery backup unit 120 to supply power to the lid opening detection controller 130. Here, the cover opening detection controller 130 may detect whether the server chassis is in the cover opening state according to the state of the cover opening trigger switch 130.
Specifically, the uncovering detection controller 130 may perform function operations such as detection, recording and alarm on the uncovering state of the server cover, and the carrier form of the uncovering detection controller 130 may be any controller or processor on the server motherboard, for example, a CPLD (Complex Programmable Logic Device) may be used. The power interface 110 of the server may be a power plug, for example, for connecting ac power (e.g., mains ac power) to a motherboard of the server. The backup battery unit 120 may be independently powered to implement a backup power function when the power interface of the server is powered off, and it should be understood that the backup battery unit 120 may be any suitable type of power source, and should not be limited thereto. The first switch state and the second switch state of the lid opening trigger switch 140 correspond to the opening state of the server lid, respectively, for example, the first switch state represents the switch closing state and the second switch state represents the switch opening state, or the first switch state represents the switch opening state and the second switch state represents the switch closing state. For example, the cover-opening trigger switch may be disposed on the server chassis, and when the server chassis is opened, the cover-opening trigger switch is triggered to switch from the first switch state to the second switch state. In addition, the open cover trigger switch 140 in the second switching state is used to trigger the battery backup unit 120 to supply power to the open cover detection controller 130.
In one example of the embodiment of the present application, the battery backup unit 120 may monitor the switching state of the lid opening trigger switch 140, and the battery backup unit 120 enters the standby state without supplying power when the lid opening trigger switch 140 is in the first switching state, and the battery backup unit 120 enters the operating state when the lid opening trigger switch 140 is in the second switching state, thereby supplying power to the lid opening detection controller 130.
In another example of the embodiment of the present application, the cap-open trigger switch 140, the cap-open detection controller 130, and the battery backup unit 120 may be connected in series. Specifically, the open lid trigger switch 140, the open lid detection controller 130 and the battery backup unit 120 in the first switching state constitute an open circuit therebetween, and the open lid trigger switch 140, the open lid detection controller 130 and the battery backup unit 120 in the second switching state constitute a closed circuit therebetween. Therefore, when the server case is opened, the uncovering trigger switch can be switched to the second switch state to trigger the standby battery unit to supply power to the uncovering detection controller on the access, and the uncovering detection controller can still work normally under the condition that the interface power supply is powered off.
Fig. 2 is a flowchart illustrating an example of a server chassis decapping detection method according to an embodiment of the present application, which may be performed by an decapping detection controller.
As shown in fig. 2, in step 210, the switch state of the uncap trigger switch is acquired. For example, after the door opening detection controller is powered on, the door opening detection controller may detect whether the door opening trigger switch is in the first switching state or the second switching state.
In step 220, whether the server chassis is in the uncapped state is correspondingly determined according to the acquired switch state of the uncapped trigger switch. Specifically, the uncovering detection controller may determine that the server chassis is in the closed state when detecting that the uncovering trigger switch is in the first switching state, and may determine that the server chassis is in the open state when detecting that the uncovering trigger switch is in the second switching state, so that whether the server chassis is in the uncovering state may be determined by detecting the switching state of the uncovering trigger switch.
In some embodiments, when the lid opening detection controller detects that the lid opening trigger switch is switched from the second switch state to the first switch state, and the server lid is closed, the lid opening detection controller can control the standby battery unit to be powered off and reset the system.
Fig. 3 is a flowchart illustrating an example of a server chassis decapping detection method when the decapping trigger switch is in the second switch state according to an embodiment of the present application.
In step 310, the state of the power interface of the server is detected while the lid-open trigger switch is in the second switch state.
If the detection result in step 310 indicates that the power interface of the server is in a powered state, it jumps to step 321. If the detection result in step 310 indicates that the power interface of the server is in a power-off state, it jumps to step 323.
In step 321, the battery backup unit is powered down. For example, the backup battery may be in an off state or a standby state without supplying power to the open-cover detection controller.
As described above, when the lid opening trigger switch is in the second switch state, the battery backup unit is triggered to supply power to the lid opening detection controller. In addition, when the server power interface is in a power-on state, the cover opening detection controller can also supply power through the server power interface. At this time, there may be two power supply lines for the decap detection controller.
In this application embodiment, when uncap trigger switch is in the second on-off state, uncap and detect the state that controller can detect the power interface of server to when the power interface of server is in electrified state, uncap and detect the controller and can make the outage of reserve battery unit, thereby practice thrift the electric quantity of reserve battery unit, in order to ensure sufficient duration.
In step 323, the battery backup unit is de-energized after a set period of time has been reached by the battery backup unit. Here, the set time period may be set according to an application scenario to satisfy a processing time required for operations such as decap detection, information recording, user prompt, and the like.
In the embodiment of the application, the standby battery unit is powered off after the standby battery unit continuously supplies power for a set time period, so that the standby battery unit does not need to be powered off all the time, and the cruising ability of the standby battery unit can be improved while the case cover opening detection function of the server is realized.
Fig. 4 is a flowchart illustrating an example of a server chassis decapping detection method according to an embodiment of the present application.
As shown in fig. 4, in step 410, the on-off state of the lid opening trigger switch is acquired.
In step 420, whether the server chassis is in the uncapped state is correspondingly determined according to the acquired switch state of the uncapped trigger switch.
If the decap trigger switch in step 420 is in the first switch state, it jumps to step 431. If the uncap trigger switch in step 420 is in the second switch state, it jumps to step 433.
In step 431, it is determined that the server cover is in a normally closed state.
In step 433, it is determined that the server lid is in an open state and a lid open detection event is generated.
Next, in step 440, various decap management operations are performed based on the decap detection event.
In some examples of the embodiment of the present application, based on the generated decapping detection event, an decapping prompt operation is performed, for example, a corresponding decapping message may be displayed on a display screen connected to the server, or a prompt message may be sent to a preset mobile terminal through a wireless transmission device, and an operation and maintenance person may be notified in time to perform security management on the server.
In some examples of embodiments of the present application, the battery backup unit is powered down based on an open cover detection event when a power interface of the server is in a dead state. In combination with the application scenario, when the uncapping detection event is generated, the operation processes such as detection and recording for the uncapping operation at this time are already completed, and at this time, the standby battery unit is powered off, so that the power consumption of the standby battery unit can be saved.
In some examples of the embodiment of the present application, the uncap detection controller may further update the uncap detection history of the server based on the generated uncap detection event. Illustratively, when the uncapping detection event is generated, the uncapping detection event can be added into the uncapping detection history record of the server, so that operation and maintenance personnel can conveniently check the uncapping times and related information of the server, and the hardware security of the server can be comprehensively evaluated.
FIG. 5 illustrates a schematic diagram of an example of power interface (or motherboard power) power supply lines operating while BBU (Backup battery unit) power supply lines are not operating, according to an embodiment of the application.
As shown in fig. 5, in order to enable the server to realize the function of chassis cover opening detection even in the case of power failure, a BBU power supply line is designed. When the server case cover is closed and the power interface is connected with the alternating current, the CPLD of the mainboard detects that the alternating current input of the power supply is a normal High level (High), and the cover opening switch signal is the High level (High). In this state, the cover of the chassis is opened, and at this time, the CPLD (which may integrate the function of the cover opening detection controller) may detect that the cover opening switch signal is Low, and then the CPLD reads the count of the EEPROM (electrically erasable programmable read only memory) and performs cumulative addition of 1, and then stores the count in the EEPROM, thereby completing the cover opening detection record. At this time, the BBU power supply circuit can be in a standby state (Low), and the BBU is powered off.
FIG. 6 shows a schematic diagram of an example of a motherboard power supply not operating properly and a BBU power supply line operating, according to an embodiment of the present application.
As shown in fig. 6, when the server chassis cover is closed and the power interface does not receive ac power, the whole motherboard is powered off, the CPLD does not operate, the cover opening switch signal cannot be detected to be High, and cover opening detection cannot be realized. In this state, when the chassis cover is opened, the BBU circuit detects the Low level at the power interface, and the cover opening switch signal is Low level (i.e. the server chassis cover is opened), the BBU starts the power output to supply power to the CPLD and the EEPROM circuit, then the CPLD detects that the cover opening switch signal is Low, reads the count of the EEPROM and adds 1 in an accumulation manner, and then stores the count in the EEPROM to complete the cover opening detection record. And then, the CPLD can send a counting completion signal to the BBU, and the power supply output is closed after the BBU receives the counting completion signal, so that the single-switch detection function is realized. When the machine case cover is closed again, after the CPLD receives the cover opening switch signal as High, the situation is reset to wait for the next cover opening detection operation.
In the embodiment of the application, the uncovering detection function of the chassis of the server (for example, a platform server) is realized through the BBU power supply line, the BBU power supply line is controlled through the uncovering switch in the system power-off state, the BBU independently supplies power to the mainboard CPLD after uncovering for a set time period (for example, 3 seconds), the mainboard CPLD can update and store the uncovering count, and the uncovering detection function of the chassis under the power-off condition of the mainboard power supply is realized.
For the server chassis lid opening detection device 100, it should be noted that, because the contents of information interaction, execution processes and the like between the devices/units are based on the same concept as that of the method embodiment of the present application, specific functions and technical effects thereof may be specifically referred to a part of the method embodiment, and details are not described here.
Fig. 7 is a schematic diagram of an example of a server according to an embodiment of the present application. As shown in fig. 7, the server 700 of this embodiment includes: a processor 710, a memory 720, and a computer program 730 stored in said memory 720 and executable on said processor 710. The processor 710, when executing the computer program 730, implements the steps in the above-described server failure chip detection method embodiment, such as the steps 210 to 220 shown in fig. 2. Alternatively, the processor 710 may implement the functions of the modules/units in the above-described device embodiments, such as the function of the open cover detection controller 130 shown in fig. 1, when executing the computer program 730.
Illustratively, the computer program 730 may be partitioned into one or more modules/units that are stored in the memory 720 and executed by the processor 710 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 730 in the server 700. For example, the computer program 730 may be divided into a switch state acquiring module and an uncovering state detecting module, and the specific functions of each module are as follows:
and the switch state acquisition module is used for acquiring the switch state of the uncovering trigger switch.
And the uncovering state detection module is used for correspondingly determining whether the server case is in the uncovering state according to the acquired opening and closing state of the uncovering trigger switch.
The server 700 may be a desktop computer, a notebook, a palm top computer, a cloud server, or other computing devices. The server may include, but is not limited to, a processor 710, a memory 720. Those skilled in the art will appreciate that fig. 7 is merely an example of a server 700, and does not constitute a limitation of server 700, and may include more or fewer components than shown, or some components in combination, or different components, e.g., the server may also include input output devices, network access devices, buses, etc.
The Processor 710 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 720 may be an internal storage unit of the server 700, such as a hard disk or a memory of the server 700. The memory 720 may also be an external storage device of the server 700, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the server 700. Further, the memory 720 may also include both an internal storage unit and an external storage device of the server 700. The memory 720 is used for storing the computer program and other programs and data required by the server. The memory 720 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/server and method may be implemented in other ways. For example, the above-described apparatus/server embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The above units may be implemented in the form of hardware, and may also be implemented in the form of software.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (7)

1. A server case uncovering detection method is applied to an uncovering detection controller, the uncovering detection controller is respectively connected with a power interface and a standby battery unit of a server and is used for detecting whether the server case is in an uncovering state according to the state of an uncovering trigger switch, the first switch state and the second switch state of the uncovering trigger switch respectively correspond to the closing state and the uncovering state of a server cover, and the uncovering trigger switch in the second switch state is used for triggering the standby battery unit to supply power to the uncovering detection controller, and the method comprises the following steps:
acquiring the switch state of a cover opening trigger switch;
correspondingly determining whether the server case is in the uncovering state according to the acquired opening and closing state of the uncovering trigger switch, and recording and alarming the uncovering state of the server cover;
after acquiring the switch state of the uncovering trigger switch, the method further comprises the following steps:
when the uncovering trigger switch is in a second switch state, detecting the state of a power supply interface of the server;
and when the power interface of the server is in a power-on state, the standby battery unit is powered off.
2. The server chassis door opening detection method according to claim 1, wherein after detecting the state of the power interface of the server, the door opening detection controller is further configured to:
and when the power interface of the server is in a non-power state, the standby battery unit is powered off after the standby battery unit continuously supplies power for a set time period.
3. The server chassis decapping detection method according to claim 1, wherein after correspondingly determining whether the server chassis is in the decapping state according to the acquired switch state of the decapping trigger switch, the method further comprises:
when the uncovering trigger switch is in the second switch state, an uncovering detection event is generated;
and executing uncapping prompt operation based on the generated uncapping detection event.
4. The server chassis decapping detection method of claim 3, wherein after performing an decapping prompt operation based on the decapping detection event, the method further comprises:
powering down the backup battery unit based on the decap detection event when a power interface of the server is in a dead state.
5. The server chassis decap detection method of claim 3, wherein after generating the decap detection event, the method further comprises:
updating the decap detection history of the server based on the generated decap detection event.
6. A server comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 5 are implemented when the computer program is executed by the processor.
7. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN202010766354.2A 2020-08-03 2020-08-03 Server case cover opening detection method and device Active CN112099613B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010766354.2A CN112099613B (en) 2020-08-03 2020-08-03 Server case cover opening detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010766354.2A CN112099613B (en) 2020-08-03 2020-08-03 Server case cover opening detection method and device

Publications (2)

Publication Number Publication Date
CN112099613A CN112099613A (en) 2020-12-18
CN112099613B true CN112099613B (en) 2023-03-31

Family

ID=73750548

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010766354.2A Active CN112099613B (en) 2020-08-03 2020-08-03 Server case cover opening detection method and device

Country Status (1)

Country Link
CN (1) CN112099613B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113434915A (en) * 2021-06-25 2021-09-24 深圳市商汤科技有限公司 Case intrusion state detection device and method and edge server
CN113868034A (en) * 2021-08-27 2021-12-31 新华三信息安全技术有限公司 Server power-on detection method, electronic equipment and system
CN114137407A (en) * 2021-11-26 2022-03-04 联想开天科技有限公司 Method for detecting structural change of shell and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105162241A (en) * 2015-07-24 2015-12-16 青岛海信移动通信技术股份有限公司 Detection processing method and apparatus of terminal device
CN111158976A (en) * 2019-12-10 2020-05-15 苏州浪潮智能科技有限公司 Server cabinet monitoring alarm system and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6014747A (en) * 1997-09-30 2000-01-11 Intel Corporation Method and apparatus for system's and chassis protection utilizing system management interrupts
CN203590352U (en) * 2013-10-10 2014-05-07 江苏通驰自动化系统有限公司 Metering box opening monitoring device
CN109828887B (en) * 2019-01-04 2023-05-12 烽火通信科技股份有限公司 Server open/close box alarm device, system and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105162241A (en) * 2015-07-24 2015-12-16 青岛海信移动通信技术股份有限公司 Detection processing method and apparatus of terminal device
CN111158976A (en) * 2019-12-10 2020-05-15 苏州浪潮智能科技有限公司 Server cabinet monitoring alarm system and method

Also Published As

Publication number Publication date
CN112099613A (en) 2020-12-18

Similar Documents

Publication Publication Date Title
CN112099613B (en) Server case cover opening detection method and device
US9721660B2 (en) Configurable volatile memory without a dedicated power source for detecting a data save trigger condition
KR100273030B1 (en) Mobile client computer and flash memory management
TW212838B (en) Power saving control system for computer system
CN110716631B (en) Power supply management method, device, equipment and readable storage medium
CN101923381A (en) Electronic device, battery remaining time displaying method and computer executable program
CN105068915B (en) Electric power controller and method
CN106786960A (en) Charge control method, device and terminal
CN103002042B (en) Cloud terminal with multiple power supply modes and cloud computing system
KR200489179Y1 (en) Computer efficiency control device
CN111191219A (en) Control circuit with trusted computing function
CN106292989A (en) A kind of information processing method and electronic equipment
US20210018970A1 (en) Real time clock battery power management
US20220391188A1 (en) Systems and methods for context-aware firmware update
CN104166521A (en) Computer with a memory card
EP2757441B1 (en) electronic apparatus
CN117055822A (en) NVME SSD Raid card board power-carrying system and control method
CN107272864B (en) Reset circuit, battery and electronic equipment
CN103970253B (en) Power-saving operation method and electronic device
CN106293796B (en) A kind of information processing method and electronic equipment
CN111428243A (en) Credibility measurement method based on M.2 interface
CN103713705A (en) Multifunctional touch-screen industry tablet computer provided with audio and multiple automatic control interfaces
CN103713708A (en) Multifunctional touch-screen industry tablet computer provided with audio interface
CN109376511A (en) The method for improving end message safety
CN109616836B (en) Foreign matter cleaning method and device for Type-c interface, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant