Protection method and device for open circuit fault of standby power module, computer equipment and storage medium
By determining whether the equipment is powered off and whether the backup module is disconnected in the electronic equipment, if it is disconnected, the power energy will be discharged, which solves the problem of power overturning caused by circuit breakage of the backup module, ensuring the normal operation of the equipment and the reduction of maintenance costs.
Patent Information
- Application Number
- CN202510101069.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-22
- Publication Date
- 2025-04-29
AI Technical Summary
In electronic equipment, when the backup module fails to effectively discharge residual electricity when it fails to discharge, resulting in backflow of electricity, damage to the power chip, and affecting the normal operation and maintenance costs of the equipment.
By determining whether the equipment is powered off and confirming whether the backup module is disconnected. If it is disconnected, the power discharge operation will be performed immediately to ensure the safe release of power and avoid backflow of electricity.
It effectively avoids the phenomenon of power reversal, prevents damage to the power chip, ensures that the equipment can start and work normally after repair, and reduces maintenance costs and time losses.
Smart Images

Figure CN119905971A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to electronic equipment management technology, and more specifically to a protection method, device, computer equipment and storage medium for a backup power module circuit breaker failure. Background Art
[0002] In modern electronic devices, in order to ensure the security and integrity of data, many devices are designed with backup power modules (also known as backup power or emergency power systems). The main function of this mechanism is to automatically switch and enable when the main power fails due to abnormal power outages (such as sudden power outages, battery exhaustion, and other unexpected situations), providing the necessary power support for the key components of the device, especially data storage units (such as cache). In this way, the device can continue to operate for a short period of time when the main power fails, and the temporary data in the cache can be transferred to non-volatile memory for storage, effectively avoiding data loss caused by power outages, which is crucial to maintaining data consistency and user work continuity.
[0003] However, in actual applications, electronic devices often face various challenges from the external environment, such as physical vibrations, accidental falls, and other unexpected events. These environmental factors may have an adverse effect on the circuit structure inside the backup power module, especially may cause a short circuit failure in the backup power circuit. Once the backup power module is short-circuited, if the electric energy stored inside is not properly handled, that is, if the electric energy is not properly discharged before reconnecting to the circuit system, and the circuit is directly connected, it may cause power backflow. Power backflow refers to the residual electric energy originally stored in the backup power module. When the circuit is reconnected, due to the instantaneous mismatch of voltage or current, it flows back to other parts of the power management system, especially the power chip.
[0004] As the core component of power management in electronic devices, the power chip is responsible for voltage conversion, current regulation, and protecting circuits from damage due to abnormal conditions. The phenomenon of power backflow is a serious threat to it, which may cause the power chip to overheat, break down, or other forms of damage, thus affecting the normal operation and subsequent use of the entire device. Therefore, when encountering a circuit breaker failure in the backup power module and planning to repair it, ensuring that the residual power in the backup power module is effectively discharged before reconnecting becomes a necessary and critical step. This can not only prevent potential damage to the power chip, but also ensure that the equipment can start and work normally after repair, reducing the maintenance cost and time loss caused by hardware failure.
[0005] In summary, the management of backup power modules of electronic devices after abnormal power failure and physical impact, especially the processing of power discharge, is particularly important and urgently needs to be optimized to ensure data security and equipment reliability. Summary of the invention
[0006] The purpose of the present invention is to overcome the deficiencies of the prior art and to provide a protection method, device, equipment and medium for a backup power module circuit breaker failure.
[0007] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0008] In a first aspect, a protection method for a backup power module circuit breaker failure is provided, including:
[0009] Determine whether the device is powered off;
[0010] If the device loses power, determine whether the backup power module is disconnected;
[0011] If the backup power module is disconnected, the power of the backup power module is discharged.
[0012] In a second aspect, a protection device for a backup power module circuit breaker failure is provided, including:
[0013] A first judging unit, used to judge whether the device is powered off;
[0014] A second judgment unit, used to judge whether the backup power module is disconnected if the device loses power;
[0015] The discharge unit is used to discharge the electric energy of the backup power module if the backup power module is disconnected.
[0016] In a third aspect, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the protection method for circuit breaker failure of the backup power module are implemented.
[0017] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the protection method for a circuit breaker failure of the backup power module are implemented.
[0018] The above-mentioned protection method for the short circuit fault of the backup power module can quickly identify the failure of the main power supply by judging whether the device has lost power, and then trigger the subsequent backup power module status detection. This instant response mechanism ensures that the device can immediately enter the protection state when the power is abnormally lost, effectively shortening the time interval from the occurrence of the fault to the protection action, and winning precious time for data preservation and hardware protection; in addition, after confirming that the device has lost power, it is further judged whether the backup power module is disconnected, and by accurately identifying the circuit state of the backup power module, a clear prerequisite is provided for the subsequent power discharge operation; if the backup power module is indeed disconnected, the power discharge operation is immediately executed to safely release the residual power in the backup power module. This operation not only avoids the backflow of power that may occur when the backup power module is reconnected, but also prevents serious consequences such as damage to the power chip caused by the backflow of power.
[0019] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.
[0021] Figure 1 A flow chart of a method for protecting a backup power module from a circuit breaker failure provided by an embodiment of the present invention;
[0022] Figure 2 A schematic block diagram of a protection device for a backup power module circuit breaker failure provided by an embodiment of the present invention;
[0023] Figure 3 It is a schematic diagram of the structure of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0026] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0027] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0028] See also Figure 1In the specific embodiment shown, the present invention discloses a protection method for a backup power module circuit breaker failure, comprising the following steps:
[0029] S120, determining whether the device is powered off; if the device is not powered off, returning to execute data reading, writing and storing operations on the device;
[0030] Specifically, the equipment mainly includes a power input interface, a power off protection module, a power chip, a backup power module, and a discharge module. When a short circuit occurs in the backup power module, the discharge module will discharge the electric energy in the backup power module, thereby preventing the secondary connection from generating electric energy backflow and damaging the product.
[0031] The power input interface is used to connect the power supply to power the device.
[0032] Power-off protection module: When the power input interface is powered off, the power-off protection module will disconnect from the power input interface and transmit the power of the backup power module to the back-end power chip to ensure that the device can continue to operate.
[0033] Power chip: converts front-end electrical energy into electrical energy of different voltages and currents to power back-end devices.
[0034] Backup power module: stores electrical energy, which can be batteries, capacitors, inductors and other energy storage devices as well as related protection circuits.
[0035] Discharge module: When the backup power module and the power-off protection module are abnormally disconnected or poorly connected, the power in the backup power module is discharged to prevent the backup power module and the power-off protection module from being in a virtual connection state, thereby burning the back-end equipment.
[0036] More specifically, in the power supply system of the device, a voltage monitoring circuit is set up, which can monitor the voltage output of the main power supply in real time. A voltage threshold is set, and when the monitored voltage is lower than the threshold, the device is considered to have lost power. The voltage threshold is usually set according to the normal operating voltage range of the device to ensure that there is no misjudgment when the voltage fluctuates slightly, and it can be accurately identified when the power is actually lost. Similarly, a current monitoring circuit can also be set in the power supply system to monitor the current output of the main power supply. When the current output is zero or close to zero (taking into account the possible small leakage current), the device is considered to have lost power. This method may be more accurate in some cases because it can directly reflect whether the power supply is powering the device.
[0037] In order to improve the accuracy and reliability of judgment, voltage monitoring and current monitoring can be combined to form a comprehensive monitoring method. When the voltage and current meet the power-off conditions at the same time, the device is considered to have lost power, which can effectively reduce the possibility of misjudgment.
[0038] The implementation of the above-mentioned technical feature of determining whether the device is powered off brings the following technical effects:
[0039] Improve judgment accuracy: By real-time monitoring of voltage or current and setting reasonable thresholds, it is possible to accurately determine whether the device is powered off, avoiding unnecessary operations caused by misjudgment.
[0040] Timely response: Once the device loses power, the monitoring circuit can detect it immediately and trigger subsequent backup power module status detection and protection measures, thereby achieving rapid response and timely protection.
[0041] Enhance equipment reliability: Accurate power failure judgment is the premise and basis for implementing subsequent protection measures. By improving the accuracy of power failure judgment, it can ensure that the protection mechanism can be activated in time when the equipment loses power, avoiding serious consequences such as hardware damage and data loss, thereby enhancing the reliability of the equipment.
[0042] Reduce maintenance costs: Timely power-off judgment and protection measures can reduce the repair and replacement costs caused by hardware damage, saving users time and money.
[0043] In one embodiment, before step S120, the method further includes: S110, performing data reading, writing and storing operations on the device.
[0044] Specifically, taking a solid-state hard drive as an example: when the hard drive is in normal working condition, it performs data reading, writing and storage functions, and the power-off protection module will also charge the backup power module.
[0045] S130, if the device loses power, determine whether the backup power module is disconnected;
[0046] Specifically, a power management system is integrated inside the device, which can monitor the voltage and current status of the main power supply and the backup power module in real time. When the main power supply is powered off, the power management system immediately detects a significant drop in voltage or current and triggers the backup power module status check process. The power management system communicates or monitors the status with the backup power module through a dedicated detection circuit or interface. Common detection methods include detecting the output voltage, current or specific status signal of the backup power module. If the backup power module is normally connected and in standby state, it will output a stable voltage or current signal, or send a specific status signal to the power management system. The power management system performs logical judgment based on the received backup power module status information. If the normal status signal of the backup power module is not received within a preset time, or the detected voltage and current values are lower than the preset threshold, it is judged that the backup power module has been disconnected or failed. Once it is judged that the backup power module is disconnected or failed, the power management system immediately triggers the corresponding fault response mechanism. This may include issuing a warning to the user, recording a fault log, starting a data saving operation, etc.
[0047] The implementation of the above technical feature of determining whether the backup power module is disconnected brings the following technical effects:
[0048] Timely fault detection: By monitoring the connection status of the backup power module in real time, it is possible to quickly detect whether the backup power module is disconnected or faulty when the device loses power. This helps reduce equipment downtime caused by backup power module failure and improves system reliability and availability.
[0049] Preventing data loss: In the event of a power backup module disconnection or failure, timely triggering of data preservation operations can minimize the risk of data loss. This is especially important for application scenarios that require continuous operation and data processing.
[0050] Improved system stability: Timely fault detection and response mechanisms help reduce system crashes or restarts caused by backup power module problems. This improves the overall stability and reliability of the device, and enhances user trust and satisfaction with the device.
[0051] Reduced maintenance costs: Through real-time monitoring and fault warning, problems with the backup power module can be discovered in advance to avoid failures at critical moments. This helps reduce the repair and replacement costs caused by backup power module failures and reduces the total cost of ownership of the equipment.
[0052] In one embodiment, before step S130, the method further includes: stopping the data transmission operation and saving the data.
[0053] Specifically, a power management system is integrated inside the device, which can monitor the power status of the device in real time. When the power management system detects that the device voltage is lower than the preset safety threshold, it determines that the device is about to lose power or has lost power. Once it is confirmed that the device is powered off, the power management system immediately sends an interrupt signal to the data transmission module. After receiving the interrupt signal, the data transmission module immediately stops the current data transmission operation to ensure that the data will not be damaged or lost due to power interruption during the transmission process. At the same time as the data transmission is interrupted, the data processing system of the device will cache the data being processed in the non-volatile memory of the device (such as flash memory, hard disk, etc.). After the data cache is completed, the device will perform a data saving operation to ensure that the data is safely stored in the non-volatile memory so that it can be restored and accessed after the device is powered on again. During the power-off process of the device, the power management system will also optimize the power distribution to ensure that the completion of the data saving operation is prioritized under the limited power supply.
[0054] The implementation of the above-mentioned technical feature of stopping the data transmission operation and saving the data brings the following technical effects:
[0055] Data integrity protection: By immediately stopping data transmission operations and saving data when the device loses power, data integrity and consistency are ensured. This avoids data corruption, loss or inconsistency caused by power outages and improves data reliability.
[0056] Improved system stability: Timely power monitoring and data saving operations help reduce system crashes or restarts caused by power problems. This improves the overall stability and reliability of the device and reduces the risk of service interruption or data loss due to power failure.
[0057] Optimized user experience: For users, the device can automatically save data and shut down safely when the power is off, reducing data loss and work interruption caused by unexpected power outages. This improves the user experience and satisfaction, and enhances the user's trust and reliance on the device.
[0058] Hardware protection: During device power-off, measures such as optimizing power distribution and shutting down non-essential peripherals can help reduce power damage to hardware. This extends the life of the device and reduces repair and replacement costs caused by hardware failures.
[0059] S140: If the backup power module is disconnected, discharge the power of the backup power module.
[0060] Specifically, a power management system is integrated inside the device, which can monitor the connection status and power status of the backup power module in real time. When the backup power module is detected to be disconnected or the power is abnormal, the power management system immediately triggers the process of discharging the power. A special discharge circuit is designed inside the device to safely discharge the stored power when the backup power module is disconnected. The discharge circuit usually includes a discharge resistor, a switching element (such as a relay, a transistor, etc.) and a control logic. When the power management system detects that the backup power module is disconnected, the switch element is triggered by the control logic so that the discharge resistor and the backup power module form a loop to discharge the power. After the discharge circuit is triggered, the power stored in the backup power module is gradually released through the discharge resistor. The resistance value and power of the discharge resistor are selected according to the power storage capacity and discharge time requirements of the backup power module to ensure safe and rapid discharge of the power. During the discharge process, the power management system continuously monitors the discharge current and voltage to ensure that the discharge process is carried out within a safe range. To prevent excessive temperature or sparks from being generated during the discharge process, the discharge circuit is usually designed with functions such as overheating protection and short circuit protection. When an abnormal situation is detected, the power management system immediately interrupts the discharge process and takes necessary protective measures.
[0061] The following technical effects are achieved by implementing the above-mentioned technical feature of discharging the electric energy of the backup power module:
[0062] Improve safety: By timely discharging the electric energy stored in the backup power module, the potential risk of electric shock or fire caused by disconnection of the backup power module is avoided. This helps protect the safety of equipment and personnel and reduces the incidence of safety accidents caused by residual electric energy.
[0063] Extend equipment life: The design of the discharge circuit helps prevent the internal components of the backup power module from aging or damage due to residual power for a long time after the backup power module is disconnected. This helps to extend the overall life of the backup power module and the equipment, and reduce the repair and replacement costs caused by component failure.
[0064] Improve system stability: By real-time monitoring of the backup power module status and triggering the discharge circuit, the power management system can detect and handle abnormal situations in a timely manner. This helps improve system stability and reliability and reduce the risk of equipment downtime or data loss due to power problems.
[0065] Compliance with standards and regulations: The design and implementation of the discharge circuit complies with relevant electrical safety standards and regulations, ensuring the compliance and reliability of the equipment. This helps to improve the market competitiveness of the equipment and the trust of users.
[0066] In one embodiment, after step S130, the method further includes: S150, if the backup power module is not disconnected, the backup power module supplies power to the device so that the device saves the data being transmitted.
[0067] Specifically, the device is integrated with a power management system that can monitor the status of the main power supply and the backup power module in real time. When the main power supply is powered off, the power management system immediately detects a significant change in voltage or current and triggers the power switching logic. The power switching logic first checks whether the backup power module is connected and in normal condition (for example, the output voltage is stable and there is no fault signal). If the backup power module is not disconnected and in normal condition, the power management system will automatically switch to the backup power module power supply mode. The backup power module starts to provide power to the device to ensure that the device can continue to operate for a period of time after the main power supply is powered off. While the power supply is switched to the backup power module, the data transmission system of the device detects the change in the power supply status and immediately interrupts the current data transmission operation. The data processing system then starts the data saving process to cache the data being transmitted or processed in the non-volatile memory (such as a hard disk, flash memory, etc.) of the device. After the data saving operation is completed, the device enters a low-power standby state, waiting for the main power supply to be restored or a manual shutdown operation to be performed. If the main power supply is restored in a short time, the power management system will automatically switch back to the main power supply mode and restart the device. If the main power supply is not restored for a long time, the device will rely on the backup power module for power until the backup power module is exhausted.
[0068] The technical feature of implementing the backup power module to supply power to the device so that the device can save the data being transmitted brings the following technical effects:
[0069] Enhanced data security: When the main power fails, the backup power module can immediately power the device, ensuring that the device has enough time to save the data being transmitted. This avoids data loss or damage caused by power outages and improves data integrity and security.
[0070] Improved system reliability: The power supply capacity of the backup power module enhances the device's ability to continue operating under abnormal power conditions. This helps reduce system crashes or restarts caused by power problems and improves the overall reliability and stability of the device.
[0071] Optimized user experience: For users, the device can automatically switch to the backup power module for power supply and save data when the main power fails, reducing work interruptions and data loss caused by unexpected power outages. This improves user experience and satisfaction, and enhances user trust and reliance on the device.
[0072] Reduced maintenance costs: The power supply and data preservation functions of the backup power module reduce the risk of equipment damage and data loss due to power problems. This helps reduce equipment repair and replacement costs, as well as business losses caused by data loss.
[0073] Specifically, the working principle of the discharge module is as follows: a circuit module built with components such as transistors, resistors, and capacitors, when it is detected that the backup power module is disconnected from the power-off protection module, the electric energy in the backup power module is connected to the ground through a resistor to consume the electric energy.
[0074] That is to say, the discharge module is composed of transistors (usually used as switching elements), resistors (for current limiting and energy consumption), capacitors (for smoothing voltage or providing short-term energy storage) and other components. The selection of components needs to be based on the voltage and current characteristics of the backup power module and the requirements of the discharge time. The selection of transistors needs to consider their withstand voltage value, switching speed and driving capability. The discharge module is connected to the power-off protection module, and determines whether the backup power module is disconnected by detecting the state of the power-off protection module. When the power-off protection module detects that the main power supply is off or the backup power module is disconnected, a trigger signal is sent to the discharge module. When the discharge module receives the trigger signal, the transistor is activated and changes from the on state to the off state (or vice versa, depending on the circuit design), allowing the energy in the backup power module to be connected to the ground through the resistor. When the energy passes through the resistor, heat is generated and the energy is consumed. The capacitor may play a role in smoothing voltage fluctuations or providing short-term energy storage during the discharge process, but its main role is to assist the stability and response speed of the circuit. The discharge module is designed with overheat protection and short circuit protection to prevent excessive temperature or damage to circuit components during the discharge process. When an abnormal situation is detected, the discharge module will immediately interrupt the discharge process and take necessary protective measures.
[0075] When the device is working normally, the backup power module can provide a certain amount of power to the device in the event of abnormal power failure to avoid data loss; when the backup power module is short-circuited, the discharge module will discharge the power to prevent the secondary connection from causing current backflow and damaging the device. Take the solid-state hard drive as an example: when the hard drive is in normal working condition, it performs data reading and writing storage functions, and the power-off protection module will also charge the backup power module. The backup power module may be a storage element such as a battery, capacitor, or inductor. When the hard drive is abnormally powered off, some data may be being transmitted. In this case, the backup power module must be enabled to power the hard drive, save the data being transmitted to the hard drive to avoid loss, and notify the sender not to send data anymore. The voltage of the backup power module is generally higher than the rated voltage of the equipment. If the backup power module is abnormally disconnected from the power-off protection module (for example, the battery connection line is broken or poorly connected), a large amount of electrical energy will remain in the backup power module. If the battery is directly connected to the power-off protection module again (that is, the secondary connection), the back-end equipment will be burned. Therefore, when the backup power module is disconnected from the power-off protection module, the electrical energy of the backup power module is discharged through the discharge module to prevent the secondary connection from damaging the back-end equipment.
[0076] The present invention can quickly identify the failure of the main power supply by judging whether the device is powered off, and then trigger the subsequent backup power module status detection. This immediate response mechanism ensures that the device can immediately enter the protection state when the power is abnormally off, effectively shortening the time interval from the occurrence of the fault to the protection action, and winning valuable time for data preservation and hardware protection; in addition, after confirming that the device is powered off, it is further judged whether the backup power module is disconnected, and by accurately identifying the circuit state of the backup power module, a clear prerequisite is provided for the subsequent power discharge operation; if the backup power module is indeed disconnected, the power discharge operation is immediately performed to safely release the residual power in the backup power module. This operation not only avoids the backflow of power that may occur when the backup power module is reconnected, but also prevents serious consequences such as damage to the power chip caused by the backflow of power. In addition, through the implementation of this method, the device can be protected in a timely and effective manner when encountering a circuit breaker failure of the backup power module, avoiding frequent repairs and replacements caused by hardware damage. This not only reduces the maintenance cost of the equipment, but also significantly improves the stability and service life of the equipment, bringing users a more reliable and lasting use experience.
[0077] Figure 2 FIG. 3 is a schematic block diagram of a protection device 300 for a backup power module circuit breaker failure provided by an embodiment of the present invention. Figure 2As shown, corresponding to the above backup power module circuit breaker fault protection method, the present invention also provides a backup power module circuit breaker fault protection device 300. The backup power module circuit breaker fault protection device 300 includes a unit for executing the above backup power module circuit breaker fault protection method, and the device can be configured in a server. Specifically, please refer to Figure 2 , the protection device 300 for the circuit breaker failure of the backup power module includes a first judgment unit 302, a second judgment unit 303 and a discharge unit 304;
[0078] A first determination unit 302, used to determine whether the device is powered off;
[0079] The second judgment unit 303 is used to judge whether the backup power module is disconnected if the device loses power;
[0080] The discharge unit 304 is used to discharge the electric energy of the backup power module if the backup power module is disconnected.
[0081] In one embodiment, the apparatus further includes: an execution unit 301, configured to execute data read, write, and store operations on the device.
[0082] In one embodiment, the device further comprises: a stop saving unit, configured to stop the data transmission operation and save the data.
[0083] In one embodiment, the apparatus further comprises: a power saving unit 305, configured to, if the backup power module is not disconnected, enable the backup power module to supply power to the device so that the device saves the data being transmitted.
[0084] It should be noted that technicians in the relevant field can clearly understand that the specific implementation process of the protection device 300 and each unit of the above-mentioned backup power module circuit breaker failure can refer to the corresponding description in the aforementioned method embodiment, and for the convenience and conciseness of the description, it will not be repeated here.
[0085] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile and / or volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external client via a network connection. When the computer program is executed by the processor, the server-side functions or steps of a protection method for a circuit breaker failure of a backup power module are implemented.
[0086] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:
[0087] Determine whether the device is powered off; if the device is powered off, determine whether the backup power module is disconnected; if the backup power module is disconnected, discharge the power of the backup power module.
[0088] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0089] Determine whether the device is powered off; if the device is powered off, determine whether the backup power module is disconnected; if the backup power module is disconnected, discharge the power of the backup power module.
[0090] It should be noted that the above functions or steps that can be implemented by the computer-readable storage medium or computer device can refer to the relevant descriptions on the server side and the client side in the aforementioned method embodiment. To avoid repetition, they will not be described one by one here.
[0091] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0092] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0093] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A protection method for a backup power module circuit breaker failure, characterized in that: include: Determine whether the device is powered off; If the device loses power, determine whether the backup power module is disconnected; If the backup power module is disconnected, the power of the backup power module is discharged.
2. The protection method for a backup power module circuit breaker failure according to claim 1, characterized in that: Before the step of determining whether the device is powered off, the method further includes: performing data reading, writing and storing operations on the device.
3. The protection method for a backup power module circuit breaker failure according to claim 1, characterized in that: Before the step of determining whether the backup power module is disconnected, the step also includes: stopping the data transmission operation and saving the data.
4. The protection method for a backup power module circuit breaker failure according to claim 1, characterized in that: After the step of determining whether the backup power module is disconnected, the method further includes: if the backup power module is not disconnected, the backup power module supplies power to the device so that the device saves the data being transmitted.
5. A protection device for a backup power module circuit breaker failure, characterized in that: include: A first judging unit, used to judge whether the device is powered off; A second judgment unit, used to judge whether the backup power module is disconnected if the device loses power; The discharge unit is used to discharge the electric energy of the backup power module if the backup power module is disconnected.
6. The protection device for a backup power module circuit breaker failure according to claim 5, characterized in that: The apparatus further comprises: an execution unit, configured to execute data reading, writing and storing operations on the device.
7. The protection device for circuit breaker failure of the backup power module according to claim 5, characterized in that: The device further comprises: a stop saving unit, which is used to stop the data transmission operation and save the data.
8. The protection device for backup power module circuit breaker failure according to claim 5, characterized in that: The device further comprises: a power supply saving unit, which is used for, if the backup power module is not disconnected, the backup power module to supply power to the device so that the device can save the data being transmitted.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method for protecting the backup power module from circuit breaker failure as claimed in any one of claims 1 to 4 are implemented.
10. A storage medium, wherein the computer-readable storage medium stores a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method for protecting the backup power module from circuit breaker failure as claimed in any one of claims 1 to 4 are implemented.