A concentrator power failure reporting method in case of battery failure

CN116501157BActive Publication Date: 2026-09-15QINGDAO ITECHENE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310508221.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-08
Publication Date
2026-09-15
Estimated Expiration
2043-05-08

AI Technical Summary

Technical Problem

当电池失效后,设备掉电后无法正常运行,无法记录和上报停电事件,会造成集中器停电事件丢失、漏报

Benefits of technology

[0006] The beneficial effects of this invention are: by recording key operating log information of the equipment during normal operation, if the equipment experiences an abnormal power outage, the operating log can be analyzed after the power outage to calculate whether the equipment was shut down normally or shut down due to an abnormal power outage, thereby achieving the purpose of judging the power outage event of the concentrator in the event of battery failure and completing the reporting of the power outage event.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116501157B_ABST
    Figure CN116501157B_ABST
Patent Text Reader

Abstract

The application discloses a concentrator power-off reporting method in the case of battery failure, and key operation log information of equipment is recorded in the normal operation stage; if abnormal power-off of the equipment occurs, the operation log is analyzed after power-off, and it is calculated whether the equipment is normally shut down or abnormally shut down, so that the power-off event of the concentrator is judged in the case of battery failure, and the purpose of power-off event reporting is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of concentrator information collection technology, and in particular to a method for reporting power outages of concentrators in the event of battery failure. Background Technology

[0002] The concentrator device is equipped with a backup battery. When a power outage occurs, the concentrator activates the backup power supply to power the MCU. This battery can power the concentrator for more than 3 minutes, enabling the device to record critical information after a power outage, especially the recording and reporting of power outage events. When the battery fails, the device cannot operate normally after a power outage and cannot record or report power outage events, resulting in lost or missed reports of power outage events. Therefore, a new reporting method needs to be developed to achieve power outage event reporting even when the concentrator's backup battery fails. Summary of the Invention

[0003] The purpose of this invention is to overcome the above-mentioned technical defects and propose a method for reporting power outages of concentrators in the event of battery failure.

[0004] The technical solution adopted by this invention to achieve its technical objective is: a method for reporting power outages of a concentrator in the event of battery failure, comprising the following steps: S1: The concentrator is powered on and the battery is charged. After charging is complete, the battery status is checked. S2: The concentrator is running and its running status is recorded; S3: When the concentrator is running, check if the current device battery is in a failed state. If the battery is normal, the normal operation log will be recorded every 10 minutes. If the battery is failed, it will be recorded every 1 minute. S4: Compare the difference between the current time and the last time in the device operation log to see if it is greater than the time interval for a normal device restart; if the time interval is greater than the normal device restart interval, there is no device restart log, no power outage reporting log, and the battery is in a failed state, then generate a power outage event and report it.

[0005] Preferably, the regular operation log includes two parts: a heartbeat log and an operation log. Preferably, the operation log includes device restart operations, power outage event records, and reports.

[0006] The beneficial effects of this invention are: by recording key operating log information of the equipment during normal operation, if the equipment experiences an abnormal power outage, the operating log can be analyzed after the power outage to calculate whether the equipment was shut down normally or shut down due to an abnormal power outage, thereby achieving the purpose of judging the power outage event of the concentrator in the event of battery failure and completing the reporting of the power outage event. Attached Figure Description

[0007] Figure 1For equipment operation log processes; Figure 2 This is a process for generating power outage events after the device is powered on. Implementation

[0008] The present invention will be further described below with reference to the accompanying drawings and embodiments. Example

[0009] like Figure 1 , Figure 2 The following is a method for reporting a power outage by a concentrator in the event of battery failure: S1: The concentrator is powered on and the battery is charged. After charging is complete, the battery status is checked. S2: The concentrator is running and its running status is recorded; S3: When the concentrator is running, check if the current device battery is in a failed state. If the battery is normal, the normal operation log will be recorded every 10 minutes. If the battery is failed, it will be recorded every 1 minute. S4: Compare the difference between the current time and the last time in the device operation log to see if it is greater than the time interval for a normal device restart; if the time interval is greater than the normal device restart interval, there is no device restart log, no power outage reporting log, and the battery is in a failed state, then generate a power outage event and report it.

[0010] A regular operation log consists of two parts: a heartbeat log and an operation log. The operation log includes device restart operations, power outage event records, and reports.

[0011] The working principle and process of this invention are as follows: 1. When the concentrator is running, it needs to record the running status. During operation, it should check whether the current device battery is in a failed state. If the battery is normal, the normal operation log will be recorded every 10 minutes. If the battery is failed, it will be recorded every 1 minute.

[0012] 2. The routine operation log is divided into two parts: heartbeat log and operation log. Key logs include device restart operations, power outage event records and reports.

[0013] 3. After the concentrator is powered on, it first charges the battery. After charging is complete, it checks the battery status. It reads the device operation log and compares the difference between the current time and the last time in the device operation log to see if it is greater than the normal restart interval of the device. If the time interval is greater than the normal restart interval of the device, there is no device restart log, no power outage report log, and the battery is in a failed state, then a power outage event is generated.

[0014] In the event of a concentrator battery failure, an algorithm is used to record the power outage event.

[0015] The power outage event log distinguishes between battery failure and non-failure, optimizes the number of Flash writes, and improves Flash lifespan.

[0016] By distinguishing the difference between the running logs at the time of shutdown and the startup time, we can differentiate between normal device restarts and power-off startups.

[0017] Abnormal power outage events can be distinguished by recording normal shutdown and restart events in the runtime log.

Claims

1. A method for reporting power outages of a concentrator in the event of battery failure, characterized in that: Includes the following steps: S1: The concentrator is powered on and the battery is charged. After charging is complete, the battery status is checked. S2: The concentrator is running and its running status is recorded; S3: When the concentrator is running, check if the current device battery is in a failed state. If the battery is normal, the normal operation log will be recorded every 10 minutes. If the battery is failed, it will be recorded every 1 minute. S4: Compare the difference between the current time and the last time in the device operation log to see if it is greater than the time interval for a normal device restart; if the time interval is greater than the normal device restart interval, there is no device restart log, no power outage reporting log, and the battery is in a failed state, then generate a power outage event and report it.

2. The method for reporting power outages of a concentrator in the event of battery failure according to claim 1, characterized in that: The regular operation log consists of two parts: heartbeat log and operation log.

3. The method for reporting power outages of a concentrator in the event of battery failure according to claim 2, characterized in that: The operation log includes device restart operations, power outage event records, and reports.

Citation Information

Patent Citations

  • Server power supply abnormity monitoring method and system and storage medium

    CN114816022A

  • Intelligent television after-sales fault environment collection method

    CN115729787A