Electric meter concentrator standby battery charging and discharging management method, medium and system

By using a dual-timer management method in embedded devices, efficient charging and discharging of backup batteries is achieved, preventing overcharging and overheating and quickly responding to anomalies, thereby improving battery life and safety.

CN121923338APending Publication Date: 2026-04-24SHENZHEN INHEMETER
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN INHEMETER
Filing Date
2025-12-23
Publication Date
2026-04-24

AI Technical Summary

Technical Problem

In existing technologies, the backup battery charging and discharging management of embedded devices poses a risk of overcharging and overheating, and cannot respond quickly to abnormal battery events, resulting in high power consumption risks.

Method used

A dual-timer management method is adopted, which uses a long timer to turn off the charging switch and perform multiple voltage samplings, combined with a short timer to detect abnormalities, prevent overcharging and respond quickly to battery abnormalities.

Benefits of technology

Effective management of backup battery charging and discharging prevents overcharging and overheating, improves battery life, and quickly responds to battery anomalies, reducing the risk of power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121923338A_ABST
    Figure CN121923338A_ABST
Patent Text Reader

Abstract

The invention provides an electricity meter concentrator standby battery charging and discharging management method, medium and system, and the method comprises the steps: turning off a charging switch when a long timer is triggered, and carrying out the multiple times of voltage sampling, so as to obtain a first voltage value; judging whether the first voltage value is an abnormal value or not; if the first voltage value is not an abnormal value, determining a battery state according to the first voltage value, charging a standby battery according to the battery state, and ending a current task of a long timer after charging is completed; triggering a short timer, obtaining a second voltage value, carrying out abnormity judgment according to the second voltage value, and awakening the long timer when the abnormity judgment result is that the battery is abnormal; charge and discharge of the standby battery can be effectively managed, and the standby battery is prevented from being overcharged; and a battery abnormal event is quickly responded, so that the power utilization risk is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of concentrator control technology, and in particular to a method, medium, and system for managing the charging and discharging of a backup battery in an electricity meter concentrator. Background Technology

[0002] When the power grid is supplying power normally, the concentrator is responsible for collecting data from multiple meters and uploading it to the main station; when the power grid fails, the backup battery needs to take over quickly to ensure that the data is not lost and that the power outage event is pushed out.

[0003] In remote, underdeveloped areas both domestically and internationally, where there is no stable power grid coverage for electricity meter monitoring, grid failures or power outages are frequent. Efficient charging and discharging management of backup batteries can extend the operating time of concentrators and reduce maintenance costs.

[0004] In most related technologies, a single timer is used to manage the charging and discharging of the concentrator's backup battery. That is, a single timer reads the voltage value of the ADC peripheral over a long period; then, if the voltage value indicates a low battery level, charging is initiated. After charging begins, the current long-cycle detection result is used to enter the next long-cycle detection. When the battery is detected to be fully charged in a long cycle, the charging switch is turned off. It is understandable that this method of managing backup battery charging and discharging, due to its excessively long cycle, poses a risk of overcharging and overheating, especially for small-capacity backup batteries in embedded devices. Furthermore, during the long-cycle detection phase, sudden voltage changes cannot be detected in real time; this makes it impossible to quickly capture abnormal battery events (plugging / removing or battery hardware malfunctions), thus leading to significant power consumption risks. Summary of the Invention

[0005] The technical problem to be solved by this invention is: how to effectively manage the charging and discharging of backup batteries under the limited resource conditions of embedded devices, prevent the backup batteries from being overcharged, and respond quickly to abnormal battery events to reduce the risk of power consumption.

[0006] To solve the above-mentioned technical problems, the present invention adopts the following technical solution:

[0007] A method for managing the charging and discharging of a backup battery in an electricity meter concentrator includes the following steps: when a long timer is triggered, turning off the charging switch and performing multiple voltage samplings to obtain a first voltage value; determining whether the first voltage value is an abnormal value; if the first voltage value is not an abnormal value, determining the battery status based on the first voltage value, charging the backup battery based on the battery status, and ending the current task of the long timer after charging is completed; triggering a short timer to obtain a second voltage value, performing anomaly judgment based on the second voltage value, and waking up the long timer when the anomaly judgment result indicates a battery anomaly.

[0008] Optionally, the management method further includes pausing the short timer when the long timer is woken up or triggered.

[0009] Optionally, after turning off the charging switch, the management method further includes: timing the charging off time to obtain the charging off duration, so as to sample the first voltage value when the charging off duration is greater than or equal to a first preset duration.

[0010] Optionally, if the first voltage value is an abnormal value, the current meter data is discarded and an abnormal alarm is generated; the sampling counter is reset and the interval for the next voltage sampling is set to the first duration interval.

[0011] Optionally, determining the battery state based on the first voltage value and charging the backup battery based on the battery state includes: if the backup battery's charge level is within a first preset range, turning on the charging switch and setting the interval for the next voltage sampling to a second duration interval; if the backup battery's charge level is within the second preset range, keeping the charging switch on and setting the interval for the next voltage sampling to a third duration interval; if the backup battery's charge level is within the third preset range, keeping the charging switch on and setting the interval for the next voltage sampling to a fourth duration interval; if the backup battery's charge level is within the fourth preset range, turning off the charging switch, ending the current task of the long timer, and setting the next start interval of the timer to a fifth duration interval.

[0012] Optionally, the anomaly judgment based on the second voltage value includes: determining whether the second voltage value is abnormal due to a critical value or an abnormal slope; if so, the short timer reports a battery anomaly to wake up the long timer; if not, the short timer maintains normal operation.

[0013] Optionally, the anomaly judgment based on the second voltage value includes: calculating the absolute difference between the second voltage value collected by the short timer in the current round and the second voltage value collected in the previous round; determining whether the absolute difference is greater than a preset difference threshold; if so, the short timer reports a battery anomaly to wake up the long timer; if not, the short timer maintains normal operation.

[0014] Another technical solution provided by this invention is:

[0015] A computer-readable storage medium storing a power meter concentrator backup battery charging and discharging management program thereon, which, when executed by a processor, implements the power meter concentrator backup battery charging and discharging management method as described above.

[0016] Another technical solution provided by this invention is:

[0017] A backup battery charging and discharging management system for an electricity meter concentrator includes: a long-cycle detection module, which is used to turn off the charging switch and perform multiple voltage samplings to obtain a first voltage value when a long-cycle timer is triggered; a judgment module, which is used to determine whether the first voltage value is an abnormal value; a charging module, which is used to determine the battery status based on the first voltage value when the first voltage value is not an abnormal value, and to charge the backup battery according to the battery status, and to end the current task of the long-cycle timer after charging is completed; and a short-cycle detection module, which is used to trigger a short-cycle timer, obtain a second voltage value, and perform anomaly judgment based on the second voltage value, and to wake up the long-cycle timer when the anomaly judgment result is that the battery is abnormal.

[0018] Optionally, the determination module is further configured to: pause the short timer when the long timer is woken up or triggered.

[0019] The beneficial effects of this invention are as follows: When managing the charging and discharging of the backup battery of the electricity meter concentrator, a dual timer is used, that is, a long timer and a short timer are used in combination. When the long timer is in the sleep phase, the voltage is detected by the short timer to prevent the backup battery from being overcharged. At the same time, the combination of the two achieves a rapid response to abnormal events. Attached Figure Description

[0020] Figure 1 This is a flowchart illustrating the method for managing the charging and discharging of a backup battery in an electricity meter concentrator according to an embodiment of the present invention.

[0021] Figure 2 This is a schematic diagram of the long timer process according to a specific embodiment of the present invention;

[0022] Figure 3 This is a schematic diagram of the short timer process in a specific embodiment of the present invention;

[0023] Figure 4 This is a block diagram of the backup battery charging and discharging management system for the electricity meter concentrator according to an embodiment of the present invention. Detailed Implementation

[0024] To explain in detail the technical principles, specific implementable solutions, possible application scenarios, and achievable objectives and effects of the present invention, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. It is understood that the embodiments described herein and the embodiments shown in the accompanying drawings are only used to more clearly illustrate the technical solutions of the present invention, and are therefore only examples intended to explain the present invention, and should not be construed as limiting the present invention. It should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.

[0025] It should be noted that this application is based on long-term research on electricity meter concentrators. Firstly, in the process of managing the charging and discharging of electricity meter concentrators, the resources of the embedded device are limited; specifically, it typically only has one ADC peripheral to read the voltage value and one charging control switch. To ensure the accuracy of the voltage reading, the charging switch needs to be turned off for each voltage sampling. However, frequently turning the charging switch on and off will cause irreversible damage to battery life (because battery life is measured by the number of charge-discharge cycles, and frequent turning the charging switch on and off will damage battery life, both physically and chemically). Therefore, in this application, the short timer only measures the voltage value and does not control the charging switch; thus, while avoiding overcharging of the backup battery and effectively monitoring abnormal events, the lifespan of the backup battery is improved.

[0026] To better understand the above technical solutions, the following will provide a detailed explanation of the technical solutions in conjunction with the accompanying drawings and specific implementation methods.

[0027] Figure 1 This is a flowchart illustrating the backup battery charging and discharging management method for an electricity meter concentrator according to an embodiment of the present invention.

[0028] like Figure 1 As shown, the method for managing the charging and discharging of the backup battery of the electricity meter concentrator provided in this embodiment of the invention includes the following steps:

[0029] S101, when the long timer is triggered, turns off the charging switch and performs multiple voltage samples to obtain the first voltage value.

[0030] In other words, when the long timer is triggered, the charging switch of the backup battery is turned off, and the first voltage value is sampled multiple times only after the charging switch is turned off, thus obtaining multiple first voltage values. In this way, turning off the charging switch before sampling can ensure the accuracy of the sampled first voltage value.

[0031] In some specific embodiments, after turning off the charging switch, the method further includes: timing the charging off time to obtain the charging off duration, so as to sample the first voltage value when the charging off duration is greater than or equal to a first preset duration.

[0032] In other words, after the charging switch is turned off, a timer is run to obtain the charging off duration; then, when the charging off duration is greater than or equal to a first preset duration (preferably, the first preset duration can be set to 10 seconds), the first voltage value is sampled. This improves the stability of the first voltage value sampling result, thereby improving the accuracy of the battery status judgment result.

[0033] In some specific implementations, the management method further includes pausing the short timer when the long timer is woken up or triggered.

[0034] In other words, when the long timer is woken up or triggered, the short timer is paused to prevent the two timers from working simultaneously and causing a conflict.

[0035] S102, determine whether the first voltage value is an abnormal value.

[0036] S103, if the first voltage value is not an abnormal value, determine the battery status based on the first voltage value, charge the backup battery based on the battery status, and terminate the current task of the long timer after charging is completed.

[0037] In some specific implementations, if the first voltage value is an abnormal value, the current round of meter data is discarded and an abnormal alarm is generated; the sampling counter is reset and the interval for the next voltage sampling is set to the first duration interval.

[0038] In other words, after measuring the first voltage value, it is first determined whether the first voltage value is abnormal; if so, the current meter data is discarded and an abnormal alarm is generated so that relevant personnel can handle the abnormal state. In addition, the sampling counter is reset and the interval for the next voltage sampling is set to a first time interval (preferably, the first time interval can be set to 1 minute) to continuously monitor the abnormality until the abnormality is eliminated.

[0039] In some specific embodiments, determining the battery state based on a first voltage value and charging the backup battery according to the battery state includes: if the backup battery's charge level is within a first preset range, turning on the charging switch and setting the interval for the next voltage sampling to a second duration interval; if the backup battery's charge level is within a second preset range, keeping the charging switch on and setting the interval for the next voltage sampling to a third duration interval; if the backup battery's charge level is within a third preset range, keeping the charging switch on and setting the interval for the next voltage sampling to a fourth duration interval; if the backup battery's charge level is within a fourth preset range, turning off the charging switch, ending the current task of the long timer, and setting the interval for the next start of the timer to a fifth duration interval.

[0040] As an example, Figure 2 This is a schematic diagram of the long timer triggering process according to an embodiment of the present invention, as shown below. Figure 2 As shown, the long timer process includes the following steps:

[0041] S201, triggered by a long timer.

[0042] S202, turn off the charging switch.

[0043] S203, let stand for 10 seconds to eliminate polarization.

[0044] S204 performs three voltage samples to obtain the first voltage value.

[0045] S205, determine whether the first voltage value is an abnormal value; if yes, proceed to step S206; if no, proceed to step S208.

[0046] S206, Discard the current meter data and generate an abnormal alarm.

[0047] S207, reset the sampling counter and set the sampling interval to 1 minute (first duration interval), then return to step S204.

[0048] S208, calculate the average value of the first voltage.

[0049] S209, determine whether the current battery charge of the backup battery is less than or equal to 20% based on the first average voltage value; if yes, proceed to step S210; if no, proceed to step S211.

[0050] S210, turn on the charging switch and set the sampling interval to 5 minutes (second duration interval), then return to step S204.

[0051] S211, determine whether the current battery charge of the backup battery is greater than 20% and less than or equal to 80% based on the first average voltage value; if yes, proceed to step S212; if no, proceed to step S213.

[0052] S212, keep the charging switch on and set the sampling interval to 30 minutes (third time interval), then return to step S204.

[0053] S213, determine whether the current battery charge of the backup battery is greater than 80% and less than or equal to 95% based on the first average voltage value; if yes, proceed to step S214; if no, proceed to step S215.

[0054] S214, keep the charging switch on and set the sampling interval to 10 minutes (fourth time interval), then return to step S204.

[0055] It is understandable that setting the sampling interval to 10 minutes to perform pulse charging on the battery when the battery charge is between 80% and 95% can further prevent overcharging and improve electrical safety.

[0056] S215, determine whether the current battery charge of the backup battery is greater than 95% based on the first average voltage value; if yes, proceed to step S216; if no, return to step S204.

[0057] S216, turn off the power switch, end the current task of the long timer, and set the next start interval of the timer to 24 hours (the fifth time interval).

[0058] As is understandable, the long timer's characteristic is that it exclusively controls the charging switch. That is, only the long timer controls the charging switch; the short timer does not. This avoids the charging switch from frequently turning on and off, which could negatively impact battery life.

[0059] S104, trigger the short timer, obtain the second voltage value, perform anomaly judgment based on the second voltage value, and wake up the long timer when the anomaly judgment result is that the battery is abnormal.

[0060] In some specific implementations, anomaly detection is performed based on the second voltage value, including: determining whether the second voltage value is abnormal due to a critical value or an abnormal slope; if so, the short timer reports a battery anomaly to wake up the long timer; if not, the short timer maintains normal operation.

[0061] In other words, when the short timer is performing anomaly detection, it will determine whether the second voltage value is abnormal (if the critical value is abnormal, it means the voltage is too high and it is suspected to be fully charged) or the slope is abnormal (if the slope is abnormal, it means the battery is plugged in or damaged). If an anomaly occurs, the short timer will report the battery anomaly to wake up the long timer.

[0062] In some specific implementations, the anomaly judgment based on the second voltage value includes: calculating the absolute difference between the second voltage value collected by the short timer in the current round and the second voltage value collected in the previous round; determining whether the absolute difference is greater than a preset difference threshold; if so, the short timer reports a battery anomaly to wake up the long timer; if not, the short timer maintains normal operation.

[0063] As an example, Figure 3 This is a schematic diagram of the short timer process in a specific embodiment of the present invention; as shown below. Figure 3 As shown, the short timer process includes the following steps:

[0064] S301, triggered by a short timer.

[0065] S302 reads the original voltage of the ADC to obtain the second voltage value.

[0066] S303 records the second voltage value obtained in the current round of data acquisition.

[0067] S304, calculate the absolute difference between the second voltage value obtained in the current round and the second voltage value obtained in the previous round.

[0068] S305, determine whether the absolute difference is greater than or equal to 300mV; if yes, proceed to step S306; if no, proceed to step S309.

[0069] S306 triggers an abnormal event and reports a battery malfunction.

[0070] S307, wake-up long timer.

[0071] S308, pause short timer.

[0072] S309, the current status is confirmed to be normal.

[0073] S310, maintain standby mode for 5 seconds, then return to step S301.

[0074] As described above, the backup battery charging and discharging management method for a meter concentrator according to an embodiment of the present invention firstly, when a long timer is triggered, the charging switch is turned off, and multiple voltage samples are taken to obtain a first voltage value; then, it is determined whether the first voltage value is an abnormal value; then, if the first voltage value is not an abnormal value, the battery status is determined based on the first voltage value, and the backup battery is charged according to the battery status, and the current task of the long timer is terminated after charging is completed; next, a short timer is triggered to obtain a second voltage value, and an anomaly judgment is made based on the second voltage value, and when the anomaly judgment result is that the battery is abnormal, the long timer is woken up; thereby achieving effective management of backup battery charging and discharging, preventing overcharging of the backup battery; and quickly responding to battery abnormal events to reduce the risk of electricity use.

[0075] Based on the above embodiments, this invention also proposes a computer-readable storage medium storing a charging and discharging management program for a backup battery of an electricity meter concentrator. When executed by a processor, this program implements the charging and discharging management method for the backup battery of the electricity meter concentrator as described above. The specific steps of the charging and discharging management method for the backup battery of the electricity meter concentrator will not be elaborated here; please refer to the description in the above embodiments for details.

[0076] Those skilled in the art will understand that all or part of the processes in the above technical solutions can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the methods described above. After being executed by a processor, the program can also achieve the beneficial effects of the corresponding methods.

[0077] The storage medium can be a hard disk, optical disc, read-only memory (ROM), or random access memory (RAM), etc.

[0078] Please see Figure 4 Based on any of the above embodiments, the present invention also proposes a backup battery charging and discharging management system for an electricity meter concentrator, comprising: a long-cycle detection module 10, a judgment module 20, a charging module 30, and a short-cycle detection module 40.

[0079] The long-cycle detection module 10 is used to turn off the charging switch and perform multiple voltage samplings when the long timer is triggered in order to obtain the first voltage value.

[0080] The judgment module 20 is used to determine whether the first voltage value is an abnormal value;

[0081] The charging module 30 is used to determine the battery status based on the first voltage value when the first voltage value is not an abnormal value, and to charge the backup battery according to the battery status, and to end the current task of the long timer after charging is completed.

[0082] The short-cycle detection module 40 is used to trigger a short timer, obtain a second voltage value, perform anomaly judgment based on the second voltage value, and wake up a long timer when the anomaly judgment result is a battery anomaly.

[0083] In some specific embodiments, the determination module 20 is further configured to: pause the short timer when the long timer is woken up or triggered.

[0084] It should be noted that the above description of the backup battery charging and discharging management method for the electricity meter concentrator also applies to the backup battery charging and discharging management system for the electricity meter concentrator, and will not be repeated here.

[0085] It should be noted that any reference signs placed between parentheses in the claims should not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention can be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.

[0086] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including both the preferred embodiments and all changes and modifications falling within the scope of the invention.

[0087] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.

[0088] In the description of this invention, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0089] In this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0090] In this invention, unless otherwise explicitly specified and limited, "above" or "below" the second feature can mean that the first feature is in direct contact with the second feature, or that the first feature is in indirect contact with the second feature through an intermediate medium. Furthermore, "above," "over," and "on top" of the second feature can mean that the first feature is directly above or diagonally above the second feature, or simply that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature can mean that the first feature is directly below or diagonally below the second feature, or simply that the first feature is at a lower horizontal level than the second feature.

[0091] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms should not be construed as necessarily referring to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0092] The above description is merely an embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent modifications made based on the content of the present invention specification and drawings, or direct or indirect applications in related technical fields, are similarly included within the patent protection scope of the present invention.

Claims

1. A method for managing the charging and discharging of a backup battery in an electricity meter concentrator, characterized in that, Includes the following steps: When the long timer is triggered, the charging switch is turned off, and multiple voltage samples are taken to obtain the first voltage value; Determine whether the first voltage value is an abnormal value; If the first voltage value is not an abnormal value, the battery status is determined based on the first voltage value, the backup battery is charged based on the battery status, and the current task of the long timer is terminated after charging is completed. A short timer is triggered to obtain a second voltage value, and an anomaly is determined based on the second voltage value. If the anomaly determination result indicates a battery anomaly, the long timer is woken up.

2. The method for managing the charging and discharging of the backup battery of the electricity meter concentrator as described in claim 1, characterized in that, Also includes: When the long timer is woken up or triggered, the short timer is paused.

3. The method for managing the charging and discharging of the backup battery of the meter concentrator as described in claim 1, characterized in that, After turning off the charging switch, it also includes: The charging off time is timed to obtain the charging off duration, so that the first voltage value is sampled when the charging off duration is greater than or equal to a preset duration threshold.

4. The method for managing the charging and discharging of the backup battery of the electricity meter concentrator as described in claim 1, characterized in that, If the first voltage value is abnormal, the current meter data is discarded and an abnormal alarm is generated; Reset the sampling counter and set the interval for the next voltage sampling to the first duration interval.

5. The method for managing the charging and discharging of the backup battery of the electricity meter concentrator as described in claim 1, characterized in that, Determining the battery status based on the first voltage value, and charging the backup battery based on the battery status, includes: If the power level of the backup battery is within the first preset range, the charging switch is turned on, and the interval for the next voltage sampling is set to the second time interval. If the power level of the backup battery is within the second preset range, the charging switch remains on, and the interval for the next voltage sampling is set to the third time interval. If the power level of the backup battery is in the third preset range, the charging switch remains on, and the interval for the next voltage sampling is set to the fourth time interval. If the backup battery's charge level is within the fourth preset range, the charging switch is turned off, the current task of the long timer is terminated, and the next start interval of the timer is set to the fifth duration interval.

6. The method for managing the charging and discharging of the backup battery of the electricity meter concentrator as described in claim 1, characterized in that, Anomaly detection is performed based on the second voltage value, including: Determine whether the second voltage value is abnormal due to a critical value or an abnormal slope based on the second voltage value; If so, the short timer reports a battery abnormality to wake up the long timer; If not, the short timer remains in normal working order.

7. The method for managing the charging and discharging of the backup battery of the electricity meter concentrator as described in claim 1, characterized in that, Anomaly detection is performed based on the second voltage value, including: Calculate the absolute difference between the second voltage value obtained in the current round of the short timer and the second voltage value obtained in the previous round; Determine whether the absolute difference is greater than a preset difference threshold; If so, the short timer reports a battery abnormality to wake up the long timer; If not, the short timer remains in normal working order.

8. A computer-readable storage medium, characterized in that, It stores a backup battery charging and discharging management program for the electricity meter concentrator, which, when executed by the processor, implements the backup battery charging and discharging management method for the electricity meter concentrator as described in any one of claims 1-7.

9. A backup battery charging and discharging management system for an electricity meter concentrator, characterized in that, include: A long-cycle detection module is used to turn off the charging switch and perform multiple voltage samples when the long timer is triggered to obtain a first voltage value. The judgment module is used to determine whether the first voltage value is an abnormal value; A charging module is used to determine the battery status based on the first voltage value when the first voltage value is not an abnormal value, and to charge the backup battery based on the battery status, and to end the current task of the long timer after charging is completed. The short-cycle detection module is used to trigger a short timer, obtain a second voltage value, perform anomaly judgment based on the second voltage value, and wake up the long timer when the anomaly judgment result is a battery anomaly.

10. The backup battery charging and discharging management system for the electricity meter concentrator as described in claim 9, characterized in that, The judgment module is also used for: When the long timer is woken up or triggered, the short timer is paused.