CN116879792A - A power detection method, device and storage medium - Google Patents
A power detection method, device and storage medium Download PDFInfo
- Publication number
- CN116879792A CN116879792A CN202310879066.1A CN202310879066A CN116879792A CN 116879792 A CN116879792 A CN 116879792A CN 202310879066 A CN202310879066 A CN 202310879066A CN 116879792 A CN116879792 A CN 116879792A
- Authority
- CN
- China
- Prior art keywords
- power supply
- backup power
- time
- alarm
- backup
- 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.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 179
- 230000006854 communication Effects 0.000 claims abstract description 137
- 238000004891 communication Methods 0.000 claims abstract description 135
- 238000000034 method Methods 0.000 abstract description 28
- 238000005516 engineering process Methods 0.000 abstract description 7
- 230000006870 function Effects 0.000 description 21
- 230000001186 cumulative effect Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- VNWKTOKETHGBQD-UHFFFAOYSA-N methane Chemical compound C VNWKTOKETHGBQD-UHFFFAOYSA-N 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- HBBGRARXTFLTSG-UHFFFAOYSA-N Lithium ion Chemical compound [Li+] HBBGRARXTFLTSG-UHFFFAOYSA-N 0.000 description 1
- 239000002253 acid Substances 0.000 description 1
- 230000032683 aging Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000446 fuel Substances 0.000 description 1
- 229910001416 lithium ion Inorganic materials 0.000 description 1
- 239000003345 natural gas Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/40—Testing power supplies
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/165—Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
- G01R19/16533—Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the application
- G01R19/16538—Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the application in AC or DC supplies
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R21/00—Arrangements for measuring electric power or power factor
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Stand-By Power Supply Arrangements (AREA)
Abstract
本申请提供一种电源检测方法、装置及存储介质,涉及通信技术领域,用于解决现有技术中无法准确确定电源检测结果的问题。该方法包括:当第一备用电源的单次供电总时长小于第一预设续航时长时,获取目标参数;目标参数包括:第一备用电源的低电压告警阈值、第一备用电源归属的通信机房中设备的总功率、第一备用电源的标准电源容量中的至少一项;根据目标参数确定第一备用电源的电源检测结果。
This application provides a power detection method, device and storage medium, which relate to the field of communication technology and are used to solve the problem in the prior art that the power detection result cannot be accurately determined. The method includes: when the total single power supply time of the first backup power supply is less than the first preset battery life, obtaining target parameters; the target parameters include: the low voltage alarm threshold of the first backup power supply, the communication equipment room to which the first backup power supply belongs At least one of the total power of the equipment and the standard power capacity of the first backup power supply is determined; the power detection result of the first backup power supply is determined according to the target parameters.
Description
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种电源检测方法、装置及存储介质。The present application relates to the field of communication technology, and in particular, to a power detection method, device and storage medium.
背景技术Background technique
当通信机房发生大规模停电时,需要通过通信机房的备用电源来维持通信机房的稳定运行。When a large-scale power outage occurs in the communication equipment room, the stable operation of the communication equipment room needs to be maintained through the backup power supply of the communication equipment room.
现有的检测备用电源技术通常是根据备用电源的单次供电最大时长与备用电源的总使用时长,预测备用电源的剩余使用时长。当剩余使用时长小于预设数值时,则输出更换备用电源的提示信息。但是这种方法参考维度比较单一,无法准确确定导致备用电源维持时长变短的具体原因。The existing backup power detection technology usually predicts the remaining usage time of the backup power supply based on the maximum single power supply duration of the backup power source and the total usage time of the backup power supply. When the remaining usage time is less than the preset value, a prompt message for replacing the backup power supply is output. However, this method has a relatively single reference dimension and cannot accurately determine the specific reasons for the shortened backup power supply duration.
发明内容Contents of the invention
本申请提供一种电源检测方法、装置及存储介质,用于解决现有技术中电源检测流程灵活度较低的问题。This application provides a power detection method, device and storage medium to solve the problem of low flexibility of the power detection process in the prior art.
为达到上述目的,本申请采用如下技术方案:In order to achieve the above purpose, this application adopts the following technical solutions:
第一方面,提供一种电源检测方法,包括:当第一备用电源的单次供电总时长小于第一预设续航时长时,获取目标参数;目标参数包括:第一备用电源的低电压告警阈值、第一备用电源归属的通信机房中设备的总功率、第一备用电源的标准电源容量中的至少一项;根据目标参数确定第一备用电源的电源检测结果。In a first aspect, a power supply detection method is provided, including: when the total duration of a single power supply of the first backup power supply is less than a first preset battery life, obtaining target parameters; the target parameters include: a low-voltage alarm threshold of the first backup power supply , at least one of the total power of the equipment in the communication equipment room to which the first backup power supply belongs, and the standard power supply capacity of the first backup power supply; determine the power detection result of the first backup power supply according to the target parameters.
可选的,根据目标参数确定第一备用电源的电源检测结果,包括:当低电压告警阈值大于预设告警阈值时,确定电源检测结果为低电压告警阈值设置错误;和/或,当标准电源容量小于通信机房中设备所需总功率对应的电源容量时,确定电源检测结果为第一备用电源的标准电源容量不足;和/或,当标准电源容量大于或者等于通信机房中设备所需总功率对应的电源容量时,确定电源检测结果为第一备用电源的实际电源容量不足;和/或,当第一备用电源归属的通信机房中设备的总功率大于预设标准功率时,确定电源检测结果为第一备用电源归属的通信机房中设备的总功率超载。Optionally, determine the power detection result of the first backup power supply according to the target parameters, including: when the low voltage alarm threshold is greater than the preset alarm threshold, determining that the power detection result is the low voltage alarm threshold setting error; and/or, when the standard power supply When the capacity is less than the power supply capacity corresponding to the total power required by the equipment in the communication equipment room, it is determined that the power supply detection result is that the standard power supply capacity of the first backup power supply is insufficient; and/or, when the standard power supply capacity is greater than or equal to the total power required by the equipment in the communication equipment room When the corresponding power supply capacity is determined, the power supply detection result is determined to be that the actual power supply capacity of the first backup power supply is insufficient; and/or, when the total power of the equipment in the communication equipment room to which the first backup power supply belongs is greater than the preset standard power, the power supply detection result is determined It is the total power overload of the equipment in the communication equipment room to which the first backup power supply belongs.
可选的,该电源检测方法还包括:获取第一告警时刻和第二告警时刻;第一告警时刻用于表示市电停电告警发出的时刻;第二告警时刻用于表示第一备用电源低电压告警发出的时刻;将第一告警时刻和第二告警时刻的差值,确定为第一备用电源的单次供电总时长。Optionally, the power supply detection method also includes: obtaining a first alarm time and a second alarm time; the first alarm time is used to represent the time when the mains power outage alarm is issued; the second alarm time is used to represent the low voltage of the first backup power supply The time when the alarm is issued; the difference between the first alarm time and the second alarm time is determined as the total single power supply time of the first backup power supply.
可选的,当第一备用电源归属的通信机房中设备在预设时间段内发生n次停电时,该电源检测方法还包括:将第n次市电停电告警发出的时刻确定为第四告警时刻;获取第五告警时刻和n次停电中每次停电的持续时长;第五告警时刻用于表示第一备用电源低电压告警发出的时刻;将第四告警时刻和第五告警时刻的差值,确定为目标数值;将目标数值与每次停电的持续时长总和,确定为第一备用电源的单次供电总时长。Optionally, when the equipment in the communication equipment room to which the first backup power supply belongs has n power outages within a preset time period, the power detection method also includes: determining the time when the nth mains power outage alarm is issued as the fourth alarm. time; obtain the fifth alarm time and the duration of each power outage in n power outages; the fifth alarm time is used to represent the time when the first backup power low voltage alarm is issued; the difference between the fourth alarm time and the fifth alarm time , determined as the target value; the sum of the target value and the duration of each power outage is determined as the total single power supply duration of the first backup power supply.
可选的,第一备用电源归属的备用电源设备还包括第二备用电源;该电源检测方法还包括:获取备用电源设备的单次供电总时长;将备用电源设备的单次供电总时长与第一备用电源的单次供电总时长的差值,确定为第二备用电源的单次供电总时长;当第二备用电源的单次供电总时长小于第二预设续航时长时,输出用于表示第二备用电源存在故障的告警信息。Optionally, the backup power supply equipment belonging to the first backup power supply also includes a second backup power supply; the power detection method also includes: obtaining the total single power supply time of the backup power supply equipment; and comparing the total single power supply time of the backup power supply equipment with the third power supply. The difference between the total single power supply time of one backup power supply is determined as the total single power supply time of the second backup power supply; when the total single power supply time of the second backup power supply is less than the second preset battery life, the output is used to indicate Alarm information indicating that the second backup power supply is faulty.
可选的,获取备用电源设备的单次供电总时长,包括:获取第三告警时刻;第三告警时刻用于表示通信机房中设备断电告警发出的时刻;将第三告警时刻与第一告警时刻的差值,确定为备用电源设备的单次供电总时长。Optionally, obtain the total duration of a single power supply of the backup power supply equipment, including: obtaining the third alarm time; the third alarm time is used to indicate the time when the equipment power outage alarm in the communication room is issued; and combining the third alarm time with the first alarm The difference in time is determined as the total single power supply time of the backup power supply equipment.
可选的,该电源检测方法还包括:当备用电源设备的单次供电总时长小于第三预设续航时长时,输出用于表示备用电源设备存在故障的告警信息。Optionally, the power detection method also includes: when the total single power supply time of the backup power supply device is less than the third preset battery life, outputting an alarm information indicating that the backup power supply device has a fault.
第二方面,提供一种电源检测装置,包括:获取单元和确定单元;获取单元用于,当第一备用电源的单次供电总时长小于第一预设续航时长时,获取目标参数;目标参数包括:第一备用电源的低电压告警阈值、第一备用电源归属的通信机房中设备的总功率、第一备用电源的标准电源容量中的至少一项;确定单元,用于根据目标参数确定第一备用电源的电源检测结果。In a second aspect, a power supply detection device is provided, including: an acquisition unit and a determination unit; the acquisition unit is used to acquire target parameters when the total duration of a single power supply of the first backup power supply is less than the first preset battery life; the target parameters Including: at least one of the low voltage alarm threshold of the first backup power supply, the total power of the equipment in the communication equipment room to which the first backup power supply belongs, and the standard power supply capacity of the first backup power supply; a determination unit used to determine the first backup power supply according to the target parameters. A power test result of a backup power supply.
可选的,确定单元,具体用于:当低电压告警阈值大于预设告警阈值时,确定电源检测结果为低电压告警阈值设置错误;和/或,当标准电源容量小于通信机房中设备所需总功率对应的电源容量时,确定电源检测结果为第一备用电源的标准电源容量不足;和/或,当标准电源容量大于或者等于通信机房中设备所需总功率对应的电源容量时,确定电源检测结果为第一备用电源的实际电源容量不足;和/或,当第一备用电源归属的通信机房中设备的总功率大于预设标准功率时,确定电源检测结果为第一备用电源归属的通信机房中设备的总功率超载。Optional, determining unit, specifically used to: when the low voltage alarm threshold is greater than the preset alarm threshold, determine that the power supply detection result is a low voltage alarm threshold setting error; and/or, when the standard power supply capacity is less than required by the equipment in the communication room When the power supply capacity corresponding to the total power is determined, the power supply detection result is that the standard power supply capacity of the first backup power supply is insufficient; and/or, when the standard power supply capacity is greater than or equal to the power supply capacity corresponding to the total power required by the equipment in the communication room, the power supply is determined The detection result is that the actual power capacity of the first backup power supply is insufficient; and/or, when the total power of the equipment in the communication equipment room to which the first backup power supply belongs is greater than the preset standard power, it is determined that the power supply detection result is that the communication equipment to which the first backup power supply belongs The total power of the equipment in the computer room is overloaded.
可选的,获取单元,还用于获取第一告警时刻和第二告警时刻;第一告警时刻用于表示市电停电告警发出的时刻;第二告警时刻用于表示第一备用电源低电压告警发出的时刻;确定单元,还用于将第一告警时刻和第二告警时刻的差值,确定为第一备用电源的单次供电总时长。Optionally, the acquisition unit is also used to acquire the first alarm time and the second alarm time; the first alarm time is used to represent the time when the mains power outage alarm is issued; the second alarm time is used to represent the first backup power low voltage alarm. The sending time; the determining unit is also used to determine the difference between the first alarm time and the second alarm time as the total single power supply duration of the first backup power supply.
可选的,当第一备用电源归属的通信机房中设备在预设时间段内发生n次停电时,确定单元,还用于将第n次市电停电告警发出的时刻确定为第四告警时刻;获取单元,还用于获取第五告警时刻和n次停电中每次停电的持续时长;第五告警时刻用于表示第一备用电源低电压告警发出的时刻;确定单元,还用于将第四告警时刻和第五告警时刻的差值,确定为目标数值;确定单元,还用于将目标数值与每次停电的持续时长总和,确定为第一备用电源的单次供电总时长。Optionally, when the equipment in the communication equipment room to which the first backup power supply belongs has n power outages within a preset time period, the determination unit is also used to determine the time when the n-th mains power outage alarm is issued as the fourth alarm time. ; The acquisition unit is also used to obtain the fifth alarm time and the duration of each power outage in n power outages; the fifth alarm time is used to indicate the time when the first backup power supply low voltage alarm is issued; the determination unit is also used to obtain the first backup power supply low voltage alarm. The difference between the fourth alarm moment and the fifth alarm moment is determined as the target value; the determination unit is also used to determine the sum of the target value and the duration of each power outage as the total single power supply duration of the first backup power supply.
可选的,第一备用电源归属的备用电源设备还包括第二备用电源;该电源检测装置还包括:输出单元;获取单元,还用于获取备用电源设备的单次供电总时长;确定单元,还用于将备用电源设备的单次供电总时长与第一备用电源的单次供电总时长的差值,确定为第二备用电源的单次供电总时长;输出单元用于,当第二备用电源的单次供电总时长小于第二预设续航时长时,输出用于表示第二备用电源存在故障的告警信息。Optionally, the backup power supply equipment to which the first backup power supply belongs also includes a second backup power supply; the power detection device also includes: an output unit; an acquisition unit, which is also used to obtain the total power supply duration of a single time of the backup power supply equipment; and a determination unit, It is also used to determine the difference between the total single power supply time of the backup power supply equipment and the total single power supply time of the first backup power supply as the total single power supply time of the second backup power supply; the output unit is used to, when the second backup power supply When the total duration of a single power supply of the power supply is less than the second preset battery life, alarm information indicating that the second backup power supply is faulty is output.
可选的,获取单元,具体用于:获取第三告警时刻;第三告警时刻用于表示通信机房中设备断电告警发出的时刻;将第三告警时刻与第一告警时刻的差值,确定为备用电源设备的单次供电总时长。Optional, the acquisition unit is specifically used to: obtain the third alarm time; the third alarm time is used to represent the time when the equipment power outage alarm in the communication room is issued; determine the difference between the third alarm time and the first alarm time. It is the total duration of a single power supply of the backup power supply device.
可选的,输出单元,还用于当备用电源设备的单次供电总时长小于第三预设续航时长时,输出用于表示备用电源设备存在故障的告警信息。Optionally, the output unit is also configured to output alarm information indicating that the backup power supply equipment has a fault when the total single power supply time of the backup power supply equipment is less than the third preset battery life.
第三方面,提供一种电源检测装置,包括存储器和处理器;存储器用于存储计算机执行指令,处理器与存储器通过总线连接;当电源检测装置运行时,处理器执行存储器存储的计算机执行指令,以使电源检测装置执行第一方面所述的电源检测方法。In a third aspect, a power detection device is provided, including a memory and a processor; the memory is used to store computer execution instructions, and the processor and the memory are connected through a bus; when the power detection device is running, the processor executes the computer execution instructions stored in the memory. So that the power detection device performs the power detection method described in the first aspect.
该电源检测装置可以是网络设备,也可以是网络设备中的一部分装置,例如网络设备中的芯片系统。该芯片系统用于支持网络设备实现第一方面及其任意一种可能的实现方式中所涉及的功能,例如,获取、确定、发送上述电源检测方法中所涉及的数据和/或信息。该芯片系统包括芯片,也可以包括其他分立器件或电路结构。The power detection device may be a network device, or may be a part of the network device, such as a chip system in the network device. The chip system is used to support the network device to implement the functions involved in the first aspect and any possible implementation thereof, for example, obtaining, determining, and sending the data and/or information involved in the above power detection method. The chip system includes chips and may also include other discrete devices or circuit structures.
第四方面,提供一种计算机可读存储介质,计算机可读存储介质包括计算机执行指令,当计算机执行指令在计算机上运行时,使得该计算机执行第一方面所述的电源检测方法。In a fourth aspect, a computer-readable storage medium is provided. The computer-readable storage medium includes computer-executable instructions. When the computer-executed instructions are run on a computer, the computer is caused to execute the power supply detection method described in the first aspect.
第五方面,还提供一种计算机程序产品,该计算机程序产品包括计算机指令,当计算机指令在电源检测装置上运行时,使得电源检测装置执行如上述第一方面所述的电源检测方法。In a fifth aspect, a computer program product is also provided. The computer program product includes computer instructions. When the computer instructions are run on the power detection device, the power detection device executes the power detection method as described in the first aspect.
需要说明的是,上述计算机指令可以全部或者部分存储在第一计算机可读存储介质上。其中,第一计算机可读存储介质可以与电源检测装置的处理器封装在一起的,也可以与电源检测装置的处理器单独封装,本申请实施例对此不作限定。It should be noted that the above computer instructions may be stored in whole or in part on the first computer-readable storage medium. The first computer-readable storage medium may be packaged together with the processor of the power detection device, or may be packaged separately from the processor of the power detection device, which is not limited in the embodiments of the present application.
本申请中第二方面、第三方面、第四方面以及第五方面的描述,可以参考第一方面的详细描述;并且,第二方面、第三方面、第四方面以及第五方面的有益效果,可以参考第一方面的有益效果分析,此处不再赘述。For descriptions of the second, third, fourth and fifth aspects in this application, reference may be made to the detailed description of the first aspect; and, the beneficial effects of the second, third, fourth and fifth aspects , you can refer to the beneficial effect analysis in the first aspect and will not go into details here.
在本申请实施例中,上述电源检测装置的名字对设备或功能模块本身不构成限定,在实际实现中,这些设备或功能模块可以以其他名称出现。只要各个设备或功能模块的功能和本申请类似,属于本申请权利要求及其等同技术的范围之内。In the embodiment of the present application, the name of the above-mentioned power detection device does not limit the device or functional module itself. In actual implementation, these devices or functional modules may appear under other names. As long as the functions of each device or functional module are similar to those of this application, they fall within the scope of the claims of this application and its equivalent technologies.
本申请的这些方面或其他方面在以下的描述中会更加简明易懂。These and other aspects of the present application will be more clearly understood in the following description.
本申请提供的技术方案至少带来以下有益效果:The technical solution provided by this application at least brings the following beneficial effects:
基于上述任一方面,本申请实施例提供了一种电源检测方法,电子设备可以在第一备用电源的单次供电总时长小于第一预设续航时长的时候,获取目标参数。其中,目标参数包括:第一备用电源的低电压告警阈值、第一备用电源归属的通信机房中设备的总功率、第一备用电源的标准电源容量中的至少一项。然后,电子设备可以根据目标参数确定第一备用电源的电源检测结果。因为目标参数中包含着多种影响第一备用电源续航时长的因素,所以电子设备可以根据目标参数(即从多种维度),准确地确定电源检测结果。Based on any of the above aspects, embodiments of the present application provide a power supply detection method. The electronic device can obtain the target parameters when the total single power supply time of the first backup power supply is less than the first preset battery life. The target parameters include: at least one of: a low-voltage alarm threshold of the first backup power supply, a total power of the equipment in the communication equipment room to which the first backup power supply belongs, and a standard power supply capacity of the first backup power supply. Then, the electronic device can determine the power detection result of the first backup power supply according to the target parameter. Because the target parameter contains a variety of factors that affect the battery life of the first backup power supply, the electronic device can accurately determine the power supply detection result based on the target parameter (that is, from multiple dimensions).
附图说明Description of the drawings
图1为本申请实施例提供的电源检测系统的结构示意图;Figure 1 is a schematic structural diagram of a power detection system provided by an embodiment of the present application;
图2为本申请实施例提供的电源检测装置的一种硬件结构示意图;Figure 2 is a schematic diagram of the hardware structure of the power detection device provided by the embodiment of the present application;
图3为本申请实施例提供的电源检测装置的又一种硬件结构示意图;Figure 3 is a schematic diagram of another hardware structure of the power detection device provided by the embodiment of the present application;
图4为本申请实施例提供的一种电源检测方法的流程示意图;Figure 4 is a schematic flow chart of a power supply detection method provided by an embodiment of the present application;
图5为本申请实施例提供的又一种电源检测方法的流程示意图;Figure 5 is a schematic flow chart of another power supply detection method provided by an embodiment of the present application;
图6为本申请实施例提供的一种输出电压和输出电流关系示意图;Figure 6 is a schematic diagram of the relationship between output voltage and output current provided by an embodiment of the present application;
图7为本申请实施例提供的又一种电源检测方法的流程示意图;Figure 7 is a schematic flow chart of another power supply detection method provided by an embodiment of the present application;
图8为本申请实施例提供的又一种电源检测方法的流程示意图;Figure 8 is a schematic flow chart of another power supply detection method provided by an embodiment of the present application;
图9为本申请实施例提供的又一种电源检测方法的流程示意图;Figure 9 is a schematic flow chart of another power supply detection method provided by an embodiment of the present application;
图10为本申请实施例提供的又一种电源检测方法的流程示意图;Figure 10 is a schematic flow chart of another power supply detection method provided by an embodiment of the present application;
图11为本申请实施例提供的又一种电源检测方法的流程示意图;Figure 11 is a schematic flow chart of another power supply detection method provided by an embodiment of the present application;
图12为本申请实施例提供的一种电源检测装置的结构示意图。Figure 12 is a schematic structural diagram of a power supply detection device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this application.
需要说明的是,本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that in the embodiments of this application, words such as "exemplary" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "such as" in the embodiments of the present application is not to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the words "exemplary" or "such as" is intended to present the concept in a concrete manner.
为了便于清楚描述本申请实施例的技术方案,在本申请实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分,本领域技术人员可以理解“第一”、“第二”等字样并不是在对数量和执行次序进行限定。In order to facilitate a clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as “first” and “second” are used to distinguish the same or similar items with basically the same functions and effects. Technology in the art Personnel can understand that words such as "first" and "second" do not limit the quantity and order of execution.
在对本申请提供的电源检测方法进行详细介绍之前,先对本申请涉及的背景进行简单介绍。Before introducing the power detection method provided by this application in detail, the background involved in this application will be briefly introduced.
当通信机房发生大规模停电时,需要通过通信机房的备用电源来维持通信机房的稳定运行。When a large-scale power outage occurs in the communication equipment room, the stable operation of the communication equipment room needs to be maintained through the backup power supply of the communication equipment room.
现有的检测备用电源技术通常是根据备用电源的单次供电最大时长与备用电源的总使用时长,预测备用电源的剩余使用时长。当剩余使用时长小于预设数值时,则输出更换备用电源的提示信息。但是这种方法参考维度比较单一,无法准确确定导致备用电源维持时长变短的具体原因。The existing backup power detection technology usually predicts the remaining usage time of the backup power supply based on the maximum single power supply duration of the backup power source and the total usage time of the backup power supply. When the remaining usage time is less than the preset value, a prompt message for replacing the backup power supply is output. However, this method has a relatively single reference dimension and cannot accurately determine the specific reasons for the shortened backup power supply duration.
针对上述问题,本申请实施例提供了一种电源检测方法,电子设备可以在第一备用电源的单次供电总时长小于第一预设续航时长的时候,获取目标参数。其中,目标参数包括:第一备用电源的低电压告警阈值、第一备用电源归属的通信机房中设备的总功率、第一备用电源的标准电源容量中的至少一项。然后,电子设备可以根据目标参数确定第一备用电源的电源检测结果。因为目标参数中包含着多种影响第一备用电源续航时长的因素,所以电子设备可以根据目标参数(即从多种维度),准确地确定电源检测结果。In response to the above problems, embodiments of the present application provide a power supply detection method. The electronic device can obtain the target parameters when the total duration of a single power supply of the first backup power supply is less than the first preset battery life. The target parameters include: at least one of: a low-voltage alarm threshold of the first backup power supply, a total power of the equipment in the communication equipment room to which the first backup power supply belongs, and a standard power supply capacity of the first backup power supply. Then, the electronic device can determine the power detection result of the first backup power supply according to the target parameter. Because the target parameter contains a variety of factors that affect the battery life of the first backup power supply, the electronic device can accurately determine the power supply detection result based on the target parameter (that is, from multiple dimensions).
该电源检测方法适用于电源检测系统。图1示出了该电源检测系统的一种结构。如图1所示,该电源检测系统包括:电子设备101、信息管理设备102、第一备用电源103和第二备用电源104。This power supply detection method is suitable for power supply detection systems. Figure 1 shows a structure of the power detection system. As shown in Figure 1, the power detection system includes: an electronic device 101, an information management device 102, a first backup power supply 103 and a second backup power supply 104.
其中,电子设备101与信息管理设备102之间通信连接,信息管理设备102分别与第一备用电源103、第二备用电源104之间通信连接。Among them, the electronic device 101 is communicatively connected to the information management device 102, and the information management device 102 is communicatively connected to the first backup power supply 103 and the second backup power supply 104 respectively.
在实际应用中,电子设备101可以连接多个信息管理设备,信息管理设备102可以连接多个第一备用电源,信息管理设备102可以连接多个第二备用电源。为了便于理解,本申请以一个电子设备101连接一个信息管理设备102,一个信息管理设备102连接一个第一备用电源103,一个信息管理设备102连接一个第二备用电源104为例进行说明。In practical applications, the electronic device 101 can be connected to multiple information management devices, the information management device 102 can be connected to multiple first backup power supplies, and the information management device 102 can be connected to multiple second backup power supplies. For ease of understanding, this application takes an example in which an electronic device 101 is connected to an information management device 102, an information management device 102 is connected to a first backup power supply 103, and an information management device 102 is connected to a second backup power supply 104.
可选的,电子设备101和信息管理设备102的实体设备可以是终端,也可以是服务器,还可以是其他类型的电子设备。Optionally, the physical devices of the electronic device 101 and the information management device 102 may be terminals, servers, or other types of electronic devices.
可选的,第一备用电源103的实体设备可以是蓄电池,也可以是其他类型的备用电源。Optionally, the physical device of the first backup power supply 103 may be a battery or other types of backup power supply.
可选的,第二备用电源104的实体设备可以是发电机,也可以是其他类型的备用电源。Optionally, the physical device of the second backup power supply 104 may be a generator or other types of backup power supply.
可选的,当电子设备101和信息管理设备102的实体设备为终端时,终端可以是指向用户提供语音和/或数据连通性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备。终端可以经无线接入网(radio access network,RAN)与一个或多个核心网进行通信。终端可以是移动终端,如移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,也可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据,例如,手机、平板电脑、笔记本电脑、上网本、个人数字助理(personal digital assistant,PDA)。Optionally, when the physical devices of the electronic device 101 and the information management device 102 are terminals, the terminal may be a device that provides voice and/or data connectivity to the user, a handheld device with a wireless connection function, or a device connected to a wireless modem. other processing equipment. The terminal may communicate with one or more core networks via a radio access network (RAN). The terminal can be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal, or it can be a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device, which is connected to a wireless access device. Exchange language and/or data over the Internet, such as mobile phones, tablets, laptops, netbooks, and personal digital assistants (PDAs).
可选的,当电子设备101和信息管理设备102的实体设备为服务器时,服务器可以是服务器集群(由多个服务器组成)中的一个服务器,也可以是该服务器中的芯片,还可以是该服务器中的片上系统,还可以通过部署在物理机上的虚拟机(virtual machine,VM)实现,本申请实施例对此不作限定。Optionally, when the physical devices of the electronic device 101 and the information management device 102 are servers, the server may be a server in a server cluster (composed of multiple servers), or it may be a chip in the server, or it may be the The system-on-chip in the server can also be implemented through a virtual machine (VM) deployed on a physical machine, which is not limited in the embodiments of the present application.
可选的,当电子设备101和信息管理设备102的实体设备的均为服务器时,可以是相互独立设置的多个设备,也可以集成在同一设备中。Optionally, when the physical devices of the electronic device 101 and the information management device 102 are both servers, they may be multiple devices set up independently of each other, or they may be integrated into the same device.
容易理解的是,当电子设备101和信息管理设备102集成在同一设备时,二者之间的通信方式为该设备内部模块之间的通信。这种情况下,两个设备之间的通信流程与“电子设备101和信息管理设备102相互独立的情况下,两个设备之间的通信流程”相同。It is easy to understand that when the electronic device 101 and the information management device 102 are integrated into the same device, the communication method between the two is communication between internal modules of the device. In this case, the communication process between the two devices is the same as "the communication process between the two devices when the electronic device 101 and the information management device 102 are independent of each other."
为了便于理解,本申请以电子设备101和信息管理设备102相互独立为例进行说明。For ease of understanding, this application takes the example that the electronic device 101 and the information management device 102 are independent of each other for description.
电源检测系统中的电子设备101的基本硬件结构类似,都包括图2或图3所示电源检测装置所包括的元件。下面以图2和图3所示的电源检测装置为例,介绍电子设备101的硬件结构。The basic hardware structure of the electronic device 101 in the power detection system is similar, and both include components included in the power detection device shown in Figure 2 or Figure 3 . The hardware structure of the electronic device 101 is introduced below, taking the power detection device shown in Figures 2 and 3 as an example.
如图2所示,为本申请实施例提供的电源检测装置的一种硬件结构示意图。该电源检测装置包括处理器21,存储器22、通信接口23、总线24。处理器21,存储器22以及通信接口23之间可以通过总线24连接。As shown in Figure 2, it is a schematic diagram of the hardware structure of the power detection device provided by the embodiment of the present application. The power detection device includes a processor 21, a memory 22, a communication interface 23, and a bus 24. The processor 21, the memory 22 and the communication interface 23 may be connected through a bus 24.
处理器21是电源检测装置的控制中心,可以是一个处理器,也可以是多个处理元件的统称。例如,处理器21可以是一个通用中央处理单元(central processing unit,CPU),也可以是其他通用处理器等。其中,通用处理器可以是微处理器或者是任何常规的处理器等。The processor 21 is the control center of the power detection device, and may be a processor or a collective name for multiple processing elements. For example, the processor 21 may be a general-purpose central processing unit (CPU) or other general-purpose processor. The general processor may be a microprocessor or any conventional processor.
作为一种实施例,处理器21可以包括一个或多个CPU,例如图2中所示的CPU0和CPU1。As an embodiment, the processor 21 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 2 .
存储器22可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electricallyerasable program able read-only memory,EEPROM)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。The memory 22 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory (RAM)) or other type that can store information and instructions. A dynamic storage device can also be an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or can be used to carry or store instructions or data structures. The desired program code and any other medium capable of being accessed by a computer, without limitation.
一种可能的实现方式中,存储器22可以独立于处理器21存在,存储器22可以通过总线24与处理器21相连接,用于存储指令或者程序代码。处理器21调用并执行存储器22中存储的指令或程序代码时,能够实现本申请下述实施例提供的电源检测方法。In a possible implementation, the memory 22 may exist independently of the processor 21, and the memory 22 may be connected to the processor 21 through the bus 24 for storing instructions or program codes. When the processor 21 calls and executes instructions or program codes stored in the memory 22, it can implement the power detection method provided by the following embodiments of the present application.
在本申请实施例中,对于电源检测设备101而言,存储器22中存储的软件程序不同,所以电源检测设备101实现的功能不同。关于各设备所执行的功能将结合下面的流程图进行描述。In the embodiment of the present application, for the power detection device 101, the software programs stored in the memory 22 are different, so the functions implemented by the power detection device 101 are different. The functions performed by each device will be described in conjunction with the flow chart below.
另一种可能的实现方式中,存储器22也可以和处理器21集成在一起。In another possible implementation, the memory 22 can also be integrated with the processor 21 .
通信接口23,用于电源检测装置与其他设备通过通信网络连接,所述通信网络可以是以太网,无线接入网,无线局域网(wireless local area networks,WLAN)等。通信接口23可以包括用于接收数据的接收单元,以及用于发送数据的发送单元。The communication interface 23 is used to connect the power detection device and other devices through a communication network. The communication network may be Ethernet, wireless access network, wireless local area networks (WLAN), etc. The communication interface 23 may include a receiving unit for receiving data, and a transmitting unit for transmitting data.
总线24,可以是工业标准体系结构(industry standard architecture,ISA)总线、外部设备互连(peripheral component interconnect,PCI)总线或扩展工业标准体系结构(extended industry standard architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图2中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 24 may be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, an extended industry standard architecture (EISA) bus, or the like. The bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one thick line is used in Figure 2, but it does not mean that there is only one bus or one type of bus.
图3示出了本申请实施例中电源检测装置的另一种硬件结构。如图3所示,电源检测装置可以包括处理器31以及通信接口32。处理器31与通信接口32耦合。Figure 3 shows another hardware structure of the power detection device in the embodiment of the present application. As shown in FIG. 3 , the power detection device may include a processor 31 and a communication interface 32 . The processor 31 is coupled to the communication interface 32 .
处理器31的功能可以参考上述处理器21的描述。此外,处理器31还具备存储功能,可以起上述存储器22的功能。The functions of the processor 31 may refer to the description of the processor 21 mentioned above. In addition, the processor 31 also has a storage function and can function as the above-mentioned memory 22 .
通信接口32用于为处理器31提供数据。该通信接口32可以是电源检测装置的内部接口,也可以是电源检测装置对外的接口(相当于通信接口23)。The communication interface 32 is used to provide data to the processor 31 . The communication interface 32 may be an internal interface of the power supply detection device, or may be an external interface of the power supply detection device (equivalent to the communication interface 23).
需要指出的是,图2(或图3)中示出的结构并不构成对电源检测装置的限定,除图2(或图3)所示部件之外,该电源检测装置可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It should be pointed out that the structure shown in Figure 2 (or Figure 3) does not limit the power detection device. In addition to the components shown in Figure 2 (or Figure 3), the power detection device may include components other than those shown in the figure. More or fewer parts, or a combination of certain parts, or a different arrangement of parts.
下面结合附图对本申请实施例提供的电源检测方法进行详细介绍。The power supply detection method provided by the embodiment of the present application will be introduced in detail below with reference to the accompanying drawings.
如图4所示,本申请实施例提供的电源检测方法应用于电子设备,电源检测方法包括:S401-S402。As shown in Figure 4, the power supply detection method provided by the embodiment of the present application is applied to electronic equipment. The power supply detection method includes: S401-S402.
S401、当第一备用电源的单次供电总时长小于第一预设续航时长时,电子设备获取目标参数。S401. When the total single power supply time of the first backup power supply is less than the first preset battery life, the electronic device obtains the target parameters.
其中,目标参数包括:第一备用电源的低电压告警阈值、第一备用电源归属的通信机房中设备的总功率、第一备用电源的标准电源容量中的至少一项。The target parameters include: at least one of: a low-voltage alarm threshold of the first backup power supply, a total power of the equipment in the communication equipment room to which the first backup power supply belongs, and a standard power supply capacity of the first backup power supply.
可选的,备用电源可以是当正常电源断电时,用来维持用电设备正常工作的电源。Optionally, the backup power supply can be a power supply used to maintain the normal operation of the electrical equipment when the normal power supply is cut off.
可选的,第一备用电源包括但不限于:铅酸蓄电池、锂离子电池、锌空气电池等。Optional, first backup power source includes but is not limited to: lead-acid battery, lithium-ion battery, zinc-air battery, etc.
可选的,单次供电总时长可以是一种用于表示备用电源持续工作,直至备用电源电量耗尽的时长总和。Optionally, the total duration of a single power supply may be a sum of durations used to indicate that the backup power supply continues to work until the backup power supply is exhausted.
可选的,第一预设续航时长可以是预先设置的第一备用电源需要维持的最短续航时间。Optionally, the first preset battery life time may be the preset minimum battery life time that the first backup power supply needs to maintain.
可选的,当第一备用电源的单次供电总时长小于第一预设续航时长时,说明第一备用电源可能存在故障,需要根据各类参数(即目标参数),准确地检测导致第一备用电源故障的原因。在这种情况下,电子设备可以获取目标参数,并通过目标参数准确地检测导致第一备用电源故障的原因。Optionally, when the total single power supply time of the first backup power supply is less than the first preset battery life, it means that the first backup power supply may be faulty, and it is necessary to accurately detect the fault caused by the first backup power supply based on various parameters (i.e., target parameters). Cause of backup power failure. In this case, the electronic device can obtain the target parameter and accurately detect the cause of the first backup power supply failure through the target parameter.
可选的,当第一备用电源的单次供电总时长小于第一预设续航时长时,电子设备获取目标参数的一种实现方式为:电子设备向信息管理设备发送获取目标参数的请求消息。信息管理设备响应上述获取目标参数的请求消息,并向电子设备发送目标参数。Optionally, when the total duration of a single power supply of the first backup power supply is less than the first preset battery life, one implementation method for the electronic device to obtain the target parameters is: the electronic device sends a request message for obtaining the target parameters to the information management device. The information management device responds to the above request message for obtaining target parameters and sends the target parameters to the electronic device.
示例性的,结合图1,假设第一备用电源103的单次供电总时长为1小时,且预先设置的第一预设续航时长为1.5小时。电子设备101可以确定第一备用电源103的单次供电总时长小于第一预设续航时长。然后,电子设备101可以向信息管理设备102发送获取目标参数的请求消息。信息管理设备102可以响应上述获取目标参数的请求消息,并向电子设备101发送目标参数。在这种情况下,目标参数包括:第一备用电源103的低电压告警阈值、第一备用电源103归属的通信机房中设备的总功率、第一备用电源103的标准电源容量。For example, with reference to FIG. 1 , it is assumed that the total single power supply time of the first backup power supply 103 is 1 hour, and the preset first preset battery life time is 1.5 hours. The electronic device 101 may determine that the total single power supply time of the first backup power supply 103 is less than the first preset battery life time. Then, the electronic device 101 may send a request message to acquire the target parameters to the information management device 102. The information management device 102 may respond to the above request message for obtaining the target parameters and send the target parameters to the electronic device 101 . In this case, the target parameters include: the low voltage alarm threshold of the first backup power supply 103 , the total power of the equipment in the communication equipment room to which the first backup power supply 103 belongs, and the standard power supply capacity of the first backup power supply 103 .
S402、电子设备根据目标参数确定第一备用电源的电源检测结果。S402. The electronic device determines the power detection result of the first backup power supply according to the target parameters.
可选的,电源检测结果可以是根据目标参数确定的,第一备用电源的单次供电总时长小于第一预设续航时长的具体原因。Optionally, the power detection result may be determined based on the target parameter, and the specific reason why the total single power supply time of the first backup power supply is less than the first preset battery life time.
可选的,当目标参数为第一备用电源的低电压告警阈值时,电子设备根据目标参数确定第一备用电源的电源检测结果的一种实现方式为:电子设备判断第一备用电源的低电压告警阈值是否大于预设告警阈值。当第一备用电源的低电压告警阈值大于预设告警阈值时,电子设备可以确定第一备用电源的检测结果为:第一备用电源的低电压告警阈值设置过高,从而导致第一备用电源的单次供电总时长小于第一预设续航时长。Optionally, when the target parameter is the low-voltage alarm threshold of the first backup power supply, an implementation method for the electronic device to determine the power detection result of the first backup power supply based on the target parameter is: the electronic device determines the low voltage of the first backup power supply. Whether the alarm threshold is greater than the preset alarm threshold. When the low-voltage alarm threshold of the first backup power supply is greater than the preset alarm threshold, the electronic device may determine that the detection result of the first backup power supply is: the low-voltage alarm threshold of the first backup power supply is set too high, resulting in the failure of the first backup power supply. The total duration of a single power supply is less than the first preset battery life.
示例性的,结合图1,假设第一备用电源103的低电压告警阈值为220伏特(volt,V),而预设告警阈值为210V。在这种情况下,电子设备101可以确定第一备用电源103的低电压告警阈值大于预设告警阈值。然后,电子设备101可以确定第一备用电源103的检测结果为:第一备用电源103的低电压告警阈值设置过高,从而导致第一备用电源103的单次供电总时长小于第一预设续航时长。For example, with reference to FIG. 1 , it is assumed that the low voltage alarm threshold of the first backup power supply 103 is 220 volts (V), and the preset alarm threshold is 210V. In this case, the electronic device 101 may determine that the low voltage alarm threshold of the first backup power supply 103 is greater than the preset alarm threshold. Then, the electronic device 101 may determine that the detection result of the first backup power supply 103 is: the low voltage alarm threshold of the first backup power supply 103 is set too high, thus causing the total single power supply time of the first backup power supply 103 to be less than the first preset battery life. duration.
可选的,当目标参数为第一备用电源的标准电源容量时,电子设备根据目标参数确定第一备用电源的电源检测结果的另一种实现方式为:电子设备判断第一备用电源的标准电源容量是否小于通信机房中设备所需总功率对应的电源容量。当第一备用电源的标准电源容量小于通信机房中设备所需总功率对应的电源容量时,电子设备可以确定第一备用电源的检测结果为:第一备用电源的标准电源容量不足,从到导致第一备用电源的单次供电总时长小于第一预设续航时长。Optionally, when the target parameter is the standard power supply capacity of the first backup power supply, another implementation method for the electronic device to determine the power detection result of the first backup power supply based on the target parameter is: the electronic device determines the standard power supply of the first backup power supply. Whether the capacity is less than the power supply capacity corresponding to the total power required by the equipment in the communication room. When the standard power supply capacity of the first backup power supply is less than the power supply capacity corresponding to the total power required by the equipment in the communication room, the electronic device can determine that the detection result of the first backup power supply is: the standard power supply capacity of the first backup power supply is insufficient, resulting in The total single power supply time of the first backup power supply is less than the first preset battery life time.
示例性的,结合图1,假设第一备用电源103的标准电源容量为60安培小时(ampere-hour,Ah),而第一备用电源103归属的通信机房中设备所需总功率对应的电源容量为70Ah。在这种情况下,电子设备101可以确定第一备用电源103的检测结果为:第一备用电源103的标准电源容量不足,从到导致第一备用电源103的单次供电总时长小于第一预设续航时长。For example, with reference to Figure 1, it is assumed that the standard power supply capacity of the first backup power supply 103 is 60 ampere-hour (Ah), and the power supply capacity corresponding to the total power required by the equipment in the communication equipment room to which the first backup power supply 103 belongs is 70Ah. In this case, the electronic device 101 may determine that the detection result of the first backup power supply 103 is: the standard power supply capacity of the first backup power supply 103 is insufficient, causing the total single power supply time of the first backup power supply 103 to be less than the first preset time. Set battery life.
可选的,当目标参数为第一备用电源的标准电源容量时,电子设备根据目标参数确定第一备用电源的电源检测结果的另一种实现方式为:电子设备判断第一备用电源的标准电源容量是否大于或者等于通信机房中设备所需总功率对应的电源容量。当第一备用电源的标准电源容量大于或者等于通信机房中设备所需总功率对应的电源容量时,电子设备可以确定电源检测结果为:第一备用电源的实际电源容量不足,从而导致第一备用电源的单次供电总时长小于第一预设续航时长。Optionally, when the target parameter is the standard power supply capacity of the first backup power supply, another implementation method for the electronic device to determine the power detection result of the first backup power supply based on the target parameter is: the electronic device determines the standard power supply of the first backup power supply. Whether the capacity is greater than or equal to the power supply capacity corresponding to the total power required by the equipment in the communication room. When the standard power capacity of the first backup power supply is greater than or equal to the power capacity corresponding to the total power required by the equipment in the communication room, the electronic device can determine that the power supply detection result is: the actual power capacity of the first backup power supply is insufficient, resulting in the first backup The total duration of a single power supply of the power supply is less than the first preset battery life.
示例性的,结合图1,假设第一备用电源103的标准电源容量为60Ah,而第一备用电源103归属的通信机房中设备所需总功率对应的电源容量为50Ah。在这种情况下,电子设备101可以确定第一备用电源103的检测结果为:第一备用电源103的实际电源容量不足,从而导致第一备用电源103的单次供电总时长小于第一预设续航时长。For example, with reference to FIG. 1 , it is assumed that the standard power supply capacity of the first backup power supply 103 is 60Ah, and the power supply capacity corresponding to the total power required by the equipment in the communication equipment room to which the first backup power supply 103 belongs is 50Ah. In this case, the electronic device 101 may determine that the detection result of the first backup power supply 103 is: the actual power capacity of the first backup power supply 103 is insufficient, causing the total single power supply time of the first backup power supply 103 to be less than the first preset Battery life.
可选的,当目标参数为第一备用电源归属的通信机房中设备的总功率时,电子设备根据目标参数确定第一备用电源的电源检测结果的另一种实现方式为:电子设备判断第一备用电源归属的通信机房中设备的总功率是否大于预设标准功率。当第一备用电源归属的通信机房中设备的总功率大于预设标准功率时,电子设备可以确定电源检测结果为:第一备用电源归属的通信机房中设备的总功率超载,从而导致第一备用电源的单次供电总时长小于第一预设续航时长。Optionally, when the target parameter is the total power of the equipment in the communication room to which the first backup power supply belongs, another implementation method for the electronic device to determine the power detection result of the first backup power supply based on the target parameter is: the electronic device determines the first backup power supply. Whether the total power of the equipment in the communication equipment room to which the backup power supply belongs is greater than the preset standard power. When the total power of the equipment in the communication equipment room to which the first backup power supply belongs is greater than the preset standard power, the electronic device may determine that the power detection result is: the total power of the equipment in the communication equipment room to which the first backup power supply belongs is overloaded, causing the first backup power to be overloaded. The total duration of a single power supply of the power supply is less than the first preset battery life.
示例性的,结合图1,假设第一备用电源103归属的通信机房中设备的总功率为2000瓦特(Watt,W),而预设标准功率为1500W。在这种情况下,电子设备101可以确定第一备用电源103的检测结果为:第一备用电源103归属的通信机房中设备的总功率超载,从而导致第一备用电源103的单次供电总时长小于第一预设续航时长For example, with reference to FIG. 1 , it is assumed that the total power of the equipment in the communication equipment room to which the first backup power supply 103 belongs is 2000 Watt (W), and the preset standard power is 1500W. In this case, the electronic device 101 can determine that the detection result of the first backup power supply 103 is: the total power of the equipment in the communication equipment room to which the first backup power supply 103 belongs is overloaded, thus causing the total power supply duration of the first backup power supply 103 to be Less than the first preset battery life
可选的,当电子设备确定第一备用电源的电源检测结果后。电子设备还可以统计第一备用电源的不同电源检测结果的累计出现次数。当任意一种电源检测结果的累计出现次数大于第二预设次数时,电子设备可以输出用于提醒电源检测结果累计出现次数过多的告警信息。Optionally, after the electronic device determines the power detection result of the first backup power supply. The electronic device can also count the cumulative occurrence times of different power detection results of the first backup power supply. When the cumulative number of occurrences of any kind of power detection result is greater than the second preset number of times, the electronic device can output an alarm message to remind that the cumulative number of occurrences of the power detection result is too high.
示例性的,结合图1,假设电子设备101记录的电源检测结果中,第一备用电源103归属的通信机房中设备的总功率超载的次数为10次,而第二预设次数为8次。在这种情况下,电子设备101输出用于提醒第一备用电源103归属的通信机房中设备的总功率超载出现次数过多的告警信息。For example, with reference to FIG. 1 , it is assumed that among the power detection results recorded by the electronic device 101 , the number of total power overloads of the equipment in the communication equipment room to which the first backup power supply 103 belongs is 10 times, and the second preset number of times is 8 times. In this case, the electronic device 101 outputs alarm information for reminding the equipment in the communication equipment room to which the first backup power supply 103 belongs that the total power overload occurs too many times.
在一些实施例中,结合图4,如图5所示,上述S402中,电子设备根据目标参数确定第一备用电源的电源检测结果的方法具体包括:S501-S504。In some embodiments, in conjunction with Figure 4, as shown in Figure 5, in the above S402, the method for the electronic device to determine the power detection result of the first backup power supply according to the target parameters specifically includes: S501-S504.
S501、当低电压告警阈值大于预设告警阈值时,电子设备确定电源检测结果为低电压告警阈值设置错误。S501. When the low voltage alarm threshold is greater than the preset alarm threshold, the electronic device determines that the power supply detection result is that the low voltage alarm threshold is set incorrectly.
可选的,低电压告警阈值可以是用于表示第一备用电源的输出电压过低的预设数值。Optionally, the low voltage alarm threshold may be a preset value used to indicate that the output voltage of the first backup power supply is too low.
可选的,预设告警阈值可以是第一备用电源归属的通信机房正常工作的最小电压。Optionally, the preset alarm threshold may be the minimum voltage for normal operation of the communication equipment room to which the first backup power supply belongs.
可选的,在实际应用中,当第一备用电源的输出电压低于低电压告警阈值时,信息管理设备向第一备用电源归属管理人员对应的终端设备发送提醒信息。Optionally, in practical applications, when the output voltage of the first backup power supply is lower than the low voltage alarm threshold, the information management device sends a reminder message to the terminal device corresponding to the manager of the first backup power supply.
当第一备用电源归属管理人员对应的终端设备收到上述提醒信息后,第一备用电源归属的管理人员执行更换第一备用电源的操作。但是,第一备用电源归属的管理人员执行更换第一备用电源的操作也需要耗费时间。When the terminal device corresponding to the manager of the first backup power source receives the above reminder message, the manager of the first backup power source performs the operation of replacing the first backup power supply. However, it also takes time for the management personnel belonging to the first backup power supply to perform the operation of replacing the first backup power supply.
在通常情况下,低电压告警阈值往往大于预设告警阈值,这样可以在第一备用电源归属的管理人员执行更换第一备用电源的操作期间,第一备用电源为第一备用电源归属的通信机房继续供电,从而可以起到降低成本的作用。但是,低电压告警阈值大于预设告警阈值,可能会导致第一备用电源的续航时间变短。因此,当低电压告警阈值大于预设告警阈值时,电子设备确定电源检测结果为低电压告警阈值设置错误。Under normal circumstances, the low voltage alarm threshold is often greater than the preset alarm threshold, so that during the operation of replacing the first backup power supply by the manager of the first backup power supply, the first backup power supply is the communication equipment room to which the first backup power supply belongs. Continue to supply power, thereby reducing costs. However, if the low-voltage alarm threshold is greater than the preset alarm threshold, the battery life of the first backup power supply may be shortened. Therefore, when the low voltage alarm threshold is greater than the preset alarm threshold, the electronic device determines that the power detection result is an error in the low voltage alarm threshold setting.
示例性的,结合图1,假设第一备用电源103归属的通信机房的预设告警阈值为200V,而第一备用电源103的低电压告警阈值为210V。在这种情况下,电子设备101可以确定第一备用电源103的电源检测结果为低电压告警阈值设置错误。For example, with reference to FIG. 1 , it is assumed that the preset alarm threshold of the communication equipment room to which the first backup power supply 103 belongs is 200V, and the low-voltage alarm threshold of the first backup power supply 103 is 210V. In this case, the electronic device 101 may determine that the power detection result of the first backup power supply 103 is a low voltage alarm threshold setting error.
可选的,当电子设备确定第一备用电源的电源检测结果为低电压告警阈值设置错误时,电子设备还可以统计历史记录中,上述第一备用电源的电源检测结果为“低电压告警阈值设置错误”的累计出现次数。当历史记录中上述第一备用电源的电源检测结果为:“低电压告警阈值设置错误”的累计出现次数大于第二预设次数时,电子设备可以输出用于提醒电源检测结果为:低电压告警阈值设置错误累计出现次数过多的告警信息。Optionally, when the electronic device determines that the power detection result of the first backup power supply is the low voltage alarm threshold setting error, the electronic device can also count in the history record that the power detection result of the first backup power supply is "low voltage alarm threshold setting". The cumulative number of occurrences of "error". When the power detection result of the above-mentioned first backup power supply in the history record is: "Low voltage alarm threshold setting error" the cumulative number of occurrences is greater than the second preset number of times, the electronic device can output a reminder that the power detection result is: low voltage alarm Alarm information indicating that threshold setting errors have occurred too many times in total.
示例性的,结合图1,假设在电子设备101记录的第一备用电源103的电源检测结果中,“低电压告警阈值设置错误”的累计出现次数为10次,而第二预设次数为8次。在这种情况下,电子设备101输出用于提醒第一备用电源103的电源检测结果为:低电压告警阈值设置错误累计出现次数过多的告警信息。For example, with reference to Figure 1, assume that in the power detection results of the first backup power supply 103 recorded by the electronic device 101, the cumulative number of occurrences of "low voltage alarm threshold setting error" is 10 times, and the second preset number of times is 8 Second-rate. In this case, the electronic device 101 outputs alarm information for reminding the first backup power supply 103 that the power detection result is: the low voltage alarm threshold setting error has occurred too many times cumulatively.
S502、当标准电源容量小于通信机房中设备所需总功率对应的电源容量时,电子设备确定电源检测结果为第一备用电源的标准电源容量不足。S502. When the standard power supply capacity is less than the power supply capacity corresponding to the total power required by the equipment in the communication equipment room, the electronic device determines that the power supply detection result is that the standard power supply capacity of the first backup power supply is insufficient.
可选的,标准电源容量可以是第一备用电源标准规定的电源容量。Optionally, the standard power supply capacity may be the power supply capacity specified in the first backup power supply standard.
可选的,通信机房中设备所需总功率可以是第一备用电源归属的通信机房中设备正常工作时所需要的功率总和。Optionally, the total power required by the equipment in the communication equipment room may be the sum of the power required by the equipment in the communication equipment room to which the first backup power supply belongs for normal operation.
可选的,当电子设备确定通信机房中设备所需总功率时,电子设备可以根据预先存储在信息管理设备中的,第一备用电源归属的通信机房中设备所需总功率与第一备用电源的电源容量的对应关系,确定第一备用电源归属的通信机房中设备所需总功率对应的电源容量。Optionally, when the electronic device determines the total power required by the equipment in the communication equipment room, the electronic equipment can determine the total power required by the equipment in the communication equipment room to which the first backup power supply belongs and the first backup power supply based on the total power required by the equipment in the communication equipment room to which the first backup power supply belongs. The corresponding relationship between the power supply capacity and the power supply capacity corresponding to the total power required by the equipment in the communication equipment room to which the first backup power supply belongs is determined.
在这种情况下,当标准电源容量小于通信机房中设备所需总功率对应的电源容量时,说明第一备用电源的标准电源容量无法满足第一备用电源归属的通信机房中设备的正常工作需求。因此,电子设备可以确定电源检测结果为第一备用电源的标准电源容量不足。In this case, when the standard power supply capacity is less than the power supply capacity corresponding to the total power required by the equipment in the communication equipment room, it means that the standard power supply capacity of the first backup power supply cannot meet the normal working requirements of the equipment in the communication equipment room to which the first backup power supply belongs. . Therefore, the electronic device can determine that the power supply detection result is that the standard power supply capacity of the first backup power supply is insufficient.
示例性的,结合图1,假设第一备用电源103归属的通信机房中设备所需总功率对应的电源容量为2000Ah,而第一备用电源103的标准电源容量为1800Ah。在这种情况下,电子设备101可以确定第一备用电源103的电源检测结果为第一备用电源103的标准电源容量不足。For example, with reference to Figure 1, assume that the power supply capacity corresponding to the total power required by the equipment in the communication equipment room to which the first backup power supply 103 belongs is 2000Ah, and the standard power supply capacity of the first backup power supply 103 is 1800Ah. In this case, the electronic device 101 may determine that the power detection result of the first backup power supply 103 is that the standard power capacity of the first backup power supply 103 is insufficient.
可选的,当电子设备确定第一备用电源的电源检测结果为第一备用电源的标准电源容量不足时,电子设备还可以统计历史记录中,上述第一备用电源的电源检测结果为“第一备用电源的标准电源容量不足”的累计出现次数。当历史记录中上述第一备用电源的电源检测结果为:“第一备用电源的标准电源容量不足”的累计出现次数大于第二预设次数时,电子设备可以输出用于提醒电源检测结果为:“第一备用电源的标准电源容量不足”的累计出现次数过多的告警信息。Optionally, when the electronic device determines that the power detection result of the first backup power supply is that the standard power capacity of the first backup power supply is insufficient, the electronic device can also count in the history record that the power detection result of the first backup power supply is "first The cumulative number of occurrences of "The standard power supply capacity of the backup power supply is insufficient". When the cumulative number of occurrences of the power detection result of the above-mentioned first backup power supply in the history record is: "The standard power capacity of the first backup power supply is insufficient" is greater than the second preset number of times, the electronic device can output a reminder that the power detection result is: The alarm message "The standard power supply capacity of the first backup power supply is insufficient" has occurred too many times in total.
示例性的,结合图1,假设在电子设备101记录的第一备用电源103的电源检测结果中,“第一备用电源的标准电源容量不足”的累计出现次数为10次,而第二预设次数为8次。在这种情况下,电子设备101输出用于提醒第一备用电源103的电源检测结果为:第一备用电源的标准电源容量不足出现次数过多的告警信息。For example, with reference to Figure 1, assume that in the power detection results of the first backup power supply 103 recorded by the electronic device 101, the cumulative number of occurrences of "the standard power capacity of the first backup power supply is insufficient" is 10 times, and the second preset The number of times is 8 times. In this case, the electronic device 101 outputs alarm information for reminding the first backup power supply 103 that the power detection result is: the standard power supply capacity of the first backup power supply is insufficient and occurs too many times.
S503、当标准电源容量大于或者等于通信机房中设备所需总功率对应的电源容量时,电子设备确定电源检测结果为第一备用电源的实际电源容量不足。S503. When the standard power supply capacity is greater than or equal to the power supply capacity corresponding to the total power required by the equipment in the communication room, the electronic device determines that the power supply detection result is that the actual power supply capacity of the first backup power supply is insufficient.
具体的,第一备用电源在使用过程中,可能会出现设备老化未及时发现的情况,从而造成第一备用电源的实际电源容量小于第一备用电源的标准电源容量。因此,当第一备用电源的标准电源容量大于或者等于通信机房中设备所需总功率对应的电源容量,且第一备用电源的单次供电总时长小于第一预设续航时长时,电子设备可以确定电源检测结果为第一备用电源的实际电源容量不足。Specifically, during use of the first backup power supply, equipment aging may not be detected in time, causing the actual power capacity of the first backup power supply to be smaller than the standard power capacity of the first backup power supply. Therefore, when the standard power supply capacity of the first backup power supply is greater than or equal to the power supply capacity corresponding to the total power required by the equipment in the communication room, and the total single power supply time of the first backup power supply is less than the first preset battery life, the electronic device can It is determined that the power supply detection result is that the actual power supply capacity of the first backup power supply is insufficient.
示例性的,结合图1,假设第一备用电源103归属的通信机房中设备所需总功率对应的电源容量为2000Ah,而第一备用电源103的标准电源容量为2500Ah,在这种情况下,第一备用电源的单次供电总时长仍然小于第一预设续航时长。For example, with reference to Figure 1, assume that the power supply capacity corresponding to the total power required by the equipment in the communication equipment room to which the first backup power supply 103 belongs is 2000Ah, and the standard power supply capacity of the first backup power supply 103 is 2500Ah. In this case, The total single power supply time of the first backup power source is still less than the first preset battery life time.
综上,电子设备101可以确定第一备用电源103的电源检测结果为第一备用电源103的实际电源容量不足。In summary, the electronic device 101 can determine that the power detection result of the first backup power supply 103 is that the actual power capacity of the first backup power supply 103 is insufficient.
可选的,当电子设备确定第一备用电源的电源检测结果为第一备用电源的实际电源容量不足时,电子设备还可以统计历史记录中,上述第一备用电源的电源检测结果为:“第一备用电源的实际电源容量不足”的累计出现次数。当历史记录中上述第一备用电源的电源检测结果为:“第一备用电源的实际电源容量不足”的累计出现次数大于第二预设次数时,电子设备可以输出用于提醒电源检测结果为:第一备用电源的实际电源容量不足累计出现次数过多的告警信息。Optionally, when the electronic device determines that the power detection result of the first backup power supply is that the actual power capacity of the first backup power supply is insufficient, the electronic device can also count in the history record that the power detection result of the first backup power supply is: "th The cumulative number of occurrences of "The actual power capacity of a backup power supply is insufficient". When the power detection result of the above-mentioned first backup power supply in the history record is: "The actual power capacity of the first backup power supply is insufficient" the cumulative number of occurrences is greater than the second preset number of times, the electronic device can output a reminder that the power detection result is: The actual power capacity of the first backup power supply is insufficient, and an alarm message has occurred too many times in total.
示例性的,结合图1,假设在电子设备101记录的第一备用电源103的电源检测结果中,“第一备用电源的实际电源容量不足”的累计出现次数为10次,而第二预设次数为8次。在这种情况下,电子设备101输出用于提醒第一备用电源103的电源检测结果为:第一备用电源的实际电源容量不足出现次数过多的告警信息。For example, with reference to Figure 1, assume that in the power detection results of the first backup power supply 103 recorded by the electronic device 101, the cumulative number of occurrences of "the actual power capacity of the first backup power supply is insufficient" is 10 times, and the second preset The number of times is 8 times. In this case, the electronic device 101 outputs alarm information for reminding the first backup power supply 103 that the power detection result is: the actual power capacity of the first backup power supply is insufficient and occurs too many times.
S504、当第一备用电源归属的通信机房中设备的总功率大于预设标准功率时,电子设备确定电源检测结果为第一备用电源归属的通信机房中设备的总功率超载。S504. When the total power of the equipment in the communication equipment room to which the first backup power supply belongs is greater than the preset standard power, the electronic device determines that the power detection result is that the total power of the equipment in the communication equipment room to which the first backup power supply belongs is overloaded.
可选的,第一备用电源归属的通信机房中设备的总功率可以是第一备用电源归属的通信机房中设备实际功率的总和。Optionally, the total power of the equipment in the communication equipment room to which the first backup power supply belongs may be the sum of the actual power of the equipment in the communication equipment room to which the first backup power supply belongs.
可选的,预设标准功率可以是第一备用电源归属的通信机房中设备预设的标准功率。当第一备用电源归属的通信机房中设备的总功率超过标准功率,可能会导致第一备用电源进入过载状态。因此,当第一备用电源归属的通信机房中设备的总功率超过标准功率,电子设备可以确定电源检测结果为第一备用电源归属的通信机房中设备的总功率超载。Optionally, the preset standard power may be the preset standard power of the equipment in the communication equipment room to which the first backup power supply belongs. When the total power of the equipment in the communications equipment room to which the first backup power supply belongs exceeds the standard power, the first backup power supply may enter an overload state. Therefore, when the total power of the equipment in the communication equipment room to which the first backup power supply belongs exceeds the standard power, the electronic device can determine that the power detection result is that the total power of the equipment in the communication equipment room to which the first backup power supply belongs is overloaded.
结合图6,第一备用电源的输出电压是固定值,例如220V的直流电压。第一备用电源的输出电流与第一备用电源归属的通信机房中设备的总工作电流相等。With reference to Figure 6, the output voltage of the first backup power supply is a fixed value, such as a DC voltage of 220V. The output current of the first backup power supply is equal to the total operating current of the equipment in the communication equipment room to which the first backup power supply belongs.
但是,第一备用电源归属的通信机房中设备的总功率增大,使得第一备用电源的输出电流和第一备用电源归属的通信机房中设备的总工作电流也在不断加大。由于第一备用电源的输出电流存在最大值,因此,当电源的输出电流超过第一备用电源的输出电流的最大值时,第一备用电源的输出电压就会下降,这时第一备用电源就会进入到过载状态。此时第一备用电源会进入过载保护状态,从而导致第一备用电源的输出电压和输出电流同时减小,直到无限趋近于零。因此,当第一备用电源归属的通信机房中设备的总功率大于预设标准功率时,第一备用电源的单次供电总时长可能会缩短,从而导致第一备用电源的单次供电总时长小于第一预设续航时长。However, the total power of the equipment in the communication equipment room to which the first backup power supply belongs increases, so that the output current of the first backup power supply and the total operating current of the equipment in the communication equipment room to which the first backup power supply belongs also continue to increase. Since the output current of the first backup power supply has a maximum value, when the output current of the power supply exceeds the maximum value of the output current of the first backup power supply, the output voltage of the first backup power supply will drop, and then the first backup power supply will will enter an overload state. At this time, the first backup power supply will enter the overload protection state, causing the output voltage and output current of the first backup power supply to decrease at the same time until they approach zero infinitely. Therefore, when the total power of the equipment in the communication equipment room to which the first backup power supply belongs is greater than the preset standard power, the total single power supply time of the first backup power supply may be shortened, resulting in the total single power supply time of the first backup power supply being less than The first preset battery life.
因此,当第一备用电源归属的通信机房中设备的总功率大于预设标准功率时,第一备用电源可能会进入过载状态,从而导致第一备用电源归属的通信机房中的设备无法正常工作。Therefore, when the total power of the equipment in the communication equipment room to which the first backup power supply belongs is greater than the preset standard power, the first backup power supply may enter an overload state, causing the equipment in the communication equipment room to which the first backup power supply belongs to not work properly.
示例性的,结合图1,假设第一备用电源103归属的通信机房中设备的总功率为2500W,而预设标准功率为2000W,在这种情况下,电子设备101可以确定电源检测结果为第一备用电源归属的通信机房中设备的总功率超载。For example, with reference to Figure 1, assume that the total power of the equipment in the communication equipment room to which the first backup power supply 103 belongs is 2500W, and the preset standard power is 2000W. In this case, the electronic device 101 can determine that the power supply detection result is the first The total power of the equipment in the communications equipment room to which a backup power supply belongs is overloaded.
可选的,当电子设备确定第一备用电源的电源检测结果为第一备用电源归属的通信机房中设备的总功率超载时,电子设备还可以统计历史记录中,上述第一备用电源的电源检测结果为:“第一备用电源归属的通信机房中设备的总功率超载”的累计出现次数。当历史记录中上述第一备用电源的电源检测结果为:“第一备用电源归属的通信机房中设备的总功率超载”的累计出现次数大于第二预设次数时,电子设备可以输出用于提醒电源检测结果为:第一备用电源归属的通信机房中设备的总功率超载累计出现次数过多的告警信息。Optionally, when the electronic device determines that the power detection result of the first backup power supply is that the total power of the equipment in the communication equipment room to which the first backup power supply belongs is overloaded, the electronic device can also count the power detection results of the first backup power supply in the historical record. The result is: the cumulative number of occurrences of "the total power of the equipment in the communication equipment room to which the first backup power supply belongs is overloaded". When the power detection result of the above-mentioned first backup power supply in the history record is: "The total power overload of the equipment in the communication room to which the first backup power supply belongs" occurs more than the second preset number of times, the electronic device can output a reminder The power detection result is: the total power overload of the equipment in the communication equipment room to which the first backup power supply belongs has accumulated too many alarm messages.
示例性的,结合图1,假设在电子设备101记录的第一备用电源103的电源检测结果中,“第一备用电源归属的通信机房中设备的总功率超载”的累计出现次数为10次,而第二预设次数为8次。在这种情况下,电子设备101输出用于提醒第一备用电源103的电源检测结果为:第一备用电源归属的通信机房中设备的总功率超载出现次数过多的告警信息。For example, with reference to Figure 1, assume that in the power detection result of the first backup power supply 103 recorded by the electronic device 101, the cumulative number of occurrences of "the total power of the equipment in the communication equipment room to which the first backup power supply belongs is overloaded" is 10 times. The second preset number of times is 8 times. In this case, the electronic device 101 outputs alarm information for reminding the first backup power supply 103 that the power detection result is: too many total power overload occurrences of the equipment in the communication equipment room to which the first backup power supply belongs.
可选的,对于上述四种根据目标参数确定第一备用电源的电源检测结果的方法,本申请实施例可以仅使用其中任意一种根据目标参数确定第一备用电源的电源检测结果的方法,也可以使用上述多种根据目标参数确定第一备用电源的电源检测结果的方法,本申请实施例对此不作限定。Optionally, for the above four methods of determining the power detection result of the first backup power supply according to the target parameters, the embodiment of the present application can only use any one of the methods of determining the power detection result of the first backup power supply according to the target parameters, or The above-mentioned multiple methods of determining the power detection result of the first backup power supply according to the target parameters can be used, and the embodiments of the present application are not limited thereto.
在实际应用中,为了提高根据目标参数确定第一备用电源的电源检测结果的准确性,通常同时使用上述多种根据目标参数确定第一备用电源的电源检测结果的方法。In practical applications, in order to improve the accuracy of determining the power detection result of the first backup power supply based on the target parameters, the above-mentioned multiple methods of determining the power detection result of the first backup power source based on the target parameters are usually used simultaneously.
在一些实施例中,结合图5,如图7所示,上述电源检测方法还包括:S701-S702。In some embodiments, as shown in FIG. 7 in conjunction with FIG. 5 , the above power supply detection method further includes: S701-S702.
S701、电子设备获取第一告警时刻和第二告警时刻。S701. The electronic device obtains the first alarm time and the second alarm time.
其中,第一告警时刻用于表示市电停电告警发出的时刻。第二告警时刻用于表示第一备用电源低电压告警发出的时刻。Among them, the first alarm time is used to indicate the time when the mains power outage alarm is issued. The second alarm time is used to indicate the time when the first backup power supply low voltage alarm is issued.
可选的,电子设备获取第一告警时刻和第二告警时刻的一种实现方式为:当第一备用电源所在的单地市发生大规模停电时,第一备用电源向信息管理设备发送市电停电告警信息。然后,信息管理设备收到市电停电告警信息,并向电子设备发送市电停电告警信息。接着,电子设备接收信息管理设备发送的市电停电告警信息,并根据市电停电告警信息中的关键词确定第一告警时刻。Optionally, an implementation method for the electronic device to obtain the first alarm time and the second alarm time is: when a large-scale power outage occurs in a single city where the first backup power supply is located, the first backup power supply sends mains power to the information management device. Power outage warning information. Then, the information management device receives the mains power outage alarm information and sends the mains power outage alarm information to the electronic device. Then, the electronic device receives the mains power outage alarm information sent by the information management device, and determines the first alarm time based on the keywords in the mains power outage alarm information.
当第一备用电源的输出电压达到低电压告警阈值时,第一备用电源向信息管理设备发送第一备用电源低电压告警信息。然后,信息管理设备收到第一备用电源低电压告警信息,并向电子设备发送第一备用电源低电压告警信息。接着,电子设备接收信息管理设备发送的第一备用电源低电压告警信息,并根据第一备用电源低电压告警信息中的关键词确定第二告警时刻。When the output voltage of the first backup power supply reaches the low voltage alarm threshold, the first backup power supply sends the first backup power supply low voltage alarm information to the information management device. Then, the information management device receives the first backup power low voltage alarm information and sends the first backup power low voltage alarm information to the electronic device. Next, the electronic device receives the first backup power low voltage alarm information sent by the information management device, and determines the second alarm time according to the keywords in the first backup power low voltage alarm information.
在这种情况下,电子设备向信息管理设备发送获取第一告警时刻的请求和获取第二告警时刻的请求。信息管理设备响应电子设备发送的获取第一告警时刻的请求和获取第二告警时刻的请求,并向电子设备发送第一告警时刻和第二告警时刻。In this case, the electronic device sends a request to obtain the first alarm time and a request to obtain the second alarm time to the information management device. The information management device responds to the request for obtaining the first alarm time and the request for obtaining the second alarm time sent by the electronic device, and sends the first alarm time and the second alarm time to the electronic device.
示例性的,结合图1,假设市电停电告警发出的时刻为10点整,第一备用电源低电压告警发出的时刻为11点整。电子设备101可以确定第一告警时刻为10点整,第二告警时刻为11点整。For example, with reference to Figure 1, it is assumed that the time when the mains power outage alarm is issued is 10 o'clock, and the time when the first backup power supply low voltage alarm is issued is 11 o'clock. The electronic device 101 may determine that the first alarm time is 10 o'clock and the second alarm time is 11 o'clock.
S702、电子设备将第一告警时刻和第二告警时刻的差值,确定为第一备用电源的单次供电总时长。S702. The electronic device determines the difference between the first alarm time and the second alarm time as the total single power supply duration of the first backup power supply.
可选的,市电停电告警发出的时刻(也可以称为第一告警时刻)即为第一备用电源归属的通信机房断电的时刻。当第一备用电源归属的通信机房断电之后,自动切换为第一备用电源为通信机房供电。当第一备用电源发出低电压告警时(也可以称为第二告警时刻),说明第一备用电源的无法继续通信机房供电。因此,两个时刻的差值就是第一备用电源的单次供电总时长。Optionally, the time when the mains power outage alarm is issued (which may also be called the first alarm time) is the time when the communication equipment room to which the first backup power supply belongs is powered off. When the communication equipment room to which the first backup power supply belongs is powered off, it is automatically switched to the first backup power supply to supply power to the communication equipment room. When the first backup power supply issues a low-voltage alarm (which may also be referred to as the second alarm moment), it indicates that the first backup power supply cannot continue to supply power to the communication equipment room. Therefore, the difference between the two moments is the total duration of a single power supply of the first backup power supply.
示例性的,结合图1,假设第一告警时刻为10点整,第二告警时刻为11点整。因此,电子设备101可以确定第一备用电源103的单次供电总时长=11-10=1个小时。For example, with reference to Figure 1, it is assumed that the first alarm time is 10 o'clock and the second alarm time is 11 o'clock. Therefore, the electronic device 101 can determine the total single power supply duration of the first backup power supply 103=11-10=1 hour.
在一些实施例中,结合图7,如图8所示,当第一备用电源归属的通信机房中设备在预设时间段内发生n次停电时;上述电源检测方法还包括:S801-S804。In some embodiments, as shown in Figure 8 in conjunction with Figure 7, when the equipment in the communication equipment room to which the first backup power supply belongs has n power outages within a preset time period; the above power detection method also includes: S801-S804.
S801、电子设备将第n次市电停电告警发出的时刻确定为第四告警时刻。S801. The electronic device determines the time when the n-th mains power outage alarm is issued as the fourth alarm time.
可选的,当第一备用电源归属的通信机房中设备在预设时间段内发生n次停电时,需要排除掉预设时间段内第一备用电源没有工作的时长,然后在计算第一备用电源的单次供电时间。因此,电子设备需要选择第n次市电停电告警发出的时刻作为第四告警时刻。Optionally, when the equipment in the communication equipment room to which the first backup power supply belongs has n power outages within the preset time period, it is necessary to exclude the length of time when the first backup power supply is not working within the preset time period, and then calculate the first backup power supply. The single power supply time of the power supply. Therefore, the electronic device needs to select the time when the n-th mains power outage alarm is issued as the fourth alarm time.
示例性的,结合图1,假设第一备用电源103归属的通信机房中设备在一小时内停电两次,第一次停电在10点整,第二次停电在10点30分。在这种情况下,电子设备101确定第四告警时刻为10点30分。For example, with reference to Figure 1, it is assumed that the equipment in the communication equipment room to which the first backup power supply 103 belongs has power outages twice within an hour, with the first power outage occurring at 10:00 and the second power outage occurring at 10:30. In this case, the electronic device 101 determines that the fourth alarm time is 10:30.
S802、电子设备获取第五告警时刻和n次停电中每次停电的持续时长。S802. The electronic device obtains the fifth alarm time and the duration of each power outage in n power outages.
其中,第五告警时刻用于表示第一备用电源低电压告警发出的时刻。The fifth alarm time is used to indicate the time when the first backup power supply low voltage alarm is issued.
可选的,第五告警时刻和第二告警时刻一致,均为第一备用电源低电压告警发出的时刻。电子设备获取第五告警时刻的具体描述可以参考S701中获取第二告警时刻的具体描述,在此不再赘述。Optionally, the fifth alarm time and the second alarm time are the same, and both are the times when the low voltage alarm of the first backup power supply is issued. For a detailed description of how the electronic device obtains the fifth alarm time, please refer to the specific description of how the electronic device obtains the second alarm time in S701, which will not be described again here.
可选的,电子设备获取n次停电中每次停电的持续时长的一种实现方式:网管设备接收n次停电中每次停电的持续时长的数据记录,并向电子设备发送上述数据记录。在这种情况下,电子设备可以获取n次停电中每次停电的持续时长。Optionally, an implementation method for an electronic device to obtain the duration of each power outage in n power outages: the network management device receives the data record of the duration of each power outage in n power outages, and sends the above data record to the electronic device. In this case, the electronic device can obtain the duration of each of the n power outages.
示例性的,结合图1,假设第一备用电源103的低电压告警发出时刻为11点整,在预设时间段内第一备用电源103归属的通信机房中设备发生了两次停电,第一次停电从十点整开始从十点20分钟结束。在这种情况下,电子设备101可以确定第五告警时刻为11点整,电子设备101还可以确定停电的持续时长为20分钟。For example, with reference to Figure 1, assume that the low-voltage alarm of the first backup power supply 103 is issued at 11 o'clock, and within the preset time period, two power outages occur for the equipment in the communication equipment room to which the first backup power supply 103 belongs. The power outage starts at 10:00 and ends at 10:20 minutes. In this case, the electronic device 101 can determine that the fifth alarm time is 11 o'clock, and the electronic device 101 can also determine that the duration of the power outage is 20 minutes.
S803、电子设备将第四告警时刻和第五告警时刻的差值,确定为目标数值。S803. The electronic device determines the difference between the fourth alarm time and the fifth alarm time as the target value.
可选的,第四告警时刻和第五告警时刻的差值等于,第一备用电源归属的通信机房中设备在预设时间段内最后一次停电,到第一备用电源无法继续为通信机房供电之间的时长。电子设备可以将第四告警时刻和第五告警时刻的差值,确定为目标数值。Optionally, the difference between the fourth alarm time and the fifth alarm time is equal to the time when the equipment in the communication equipment room to which the first backup power supply belongs is powered off for the last time within the preset time period until the time when the first backup power supply cannot continue to supply power to the communication equipment room. the length of time. The electronic device can determine the difference between the fourth alarm time and the fifth alarm time as the target value.
示例性的,结合图1,假设第四告警时刻为十点20分钟,第五告警时刻为十一点整。在这种情况下,电子设备101可以将第四告警时刻和第五告警时刻的差值,确定目标数值为40分钟。For example, with reference to Figure 1, assume that the fourth alarm time is 10:20 minutes and the fifth alarm time is 11:00 sharp. In this case, the electronic device 101 may determine the target value as 40 minutes based on the difference between the fourth alarm time and the fifth alarm time.
S804、电子设备将目标数值与每次停电的持续时长总和,确定为第一备用电源的单次供电总时长。S804. The electronic device determines the sum of the target value and the duration of each power outage as the total single power supply duration of the first backup power supply.
可选的,因为第一备用电源归属的通信机房中设备在预设时间段内发生了n次停电,所以在确定第一备用电源的单次供电总时长时,需要将n次停电中每次停电的持续时长,与目标数值的总和,确定为第一备用电源的单次供电总时长。Optionally, because the equipment in the communication equipment room to which the first backup power supply belongs has experienced n power outages within the preset time period, when determining the total duration of a single power supply of the first backup power supply, each of the n power outages needs to be The sum of the duration of the power outage and the target value is determined as the total single power supply duration of the first backup power source.
示例性的,结合图1,假设目标数值为40分钟,2次停电中每次停电的持续时长为20分钟。在这种情况下,电子设备101可以确定第一备用电源的单次供电总时长=20+40=60分钟。For example, with reference to Figure 1, assume that the target value is 40 minutes, and the duration of each of the two power outages is 20 minutes. In this case, the electronic device 101 can determine the total single power supply duration of the first backup power source = 20 + 40 = 60 minutes.
在一些实施例中,结合图8,如图9所示,第一备用电源归属的备用电源设备还包括第二备用电源;上述电源检测方法还包括:S901-S903。In some embodiments, as shown in FIG. 9 in conjunction with FIG. 8 , the backup power supply device to which the first backup power supply belongs also includes a second backup power supply; the above power supply detection method also includes: S901-S903.
S901、电子设备获取备用电源设备的单次供电总时长。S901. The electronic device obtains the total duration of a single power supply from the backup power supply device.
可选的,第二备用电源包括但不限于:燃油发电机电源、天然气发电机电源、太阳能发电机电源和风力发电机电源。Optionally, the second backup power supply includes but is not limited to: fuel generator power supply, natural gas generator power supply, solar generator power supply and wind turbine power supply.
可选的,备用电源设备的单次供电总时长可以是备用电源在持续供电的情况下,续航时长的总和。Optionally, the total duration of a single power supply of the backup power supply device can be the total duration of the backup power supply when the backup power supply is continuously supplied.
可选的,电子设备获取备用电源设备的单次供电总时长的一种实现方式:电子设备获取通信机房中设备断电告警发出的时刻(也可以称为第三告警时刻)。然后,电子设备根据第一告警时刻和第三告警时刻的差值,确定备用电源设备的单次供电总时长。Optionally, an implementation method for the electronic device to obtain the total duration of a single power supply of the backup power supply device: the electronic device obtains the time when the power outage alarm of the equipment in the communication equipment room is issued (which can also be called the third alarm time). Then, the electronic device determines the total duration of a single power supply of the backup power supply device based on the difference between the first alarm time and the third alarm time.
示例性的,结合图1,假设电子设备101获取通信机房中设备断电告警发出的时刻为12点整,市电停电告警发出的时刻为10点整。在这种情况下,电子设备101可以确定备用电源设备(即第一备用电源103和第二备用电源104)的单次供电总时长=12-10=2个小时。For example, with reference to Figure 1, it is assumed that the electronic device 101 acquires the time when the power outage alarm of the equipment in the communication room is issued at 12 o'clock, and the time when the mains power outage alarm is issued is 10 o'clock. In this case, the electronic device 101 can determine the total single power supply duration of the backup power supply device (ie, the first backup power supply 103 and the second backup power supply 104)=12-10=2 hours.
S902、电子设备将备用电源设备的单次供电总时长与第一备用电源的单次供电总时长的差值,确定为第二备用电源的单次供电总时长。S902. The electronic device determines the difference between the total single power supply time of the backup power supply device and the total single power supply time of the first backup power supply as the total single power supply time of the second backup power supply.
可选的,备用电源包括:第一备用电源和第二备用电源。因此,备用电源的单次供电总时长为第一备用电源的单次供电总时长和第二备用电源的单次总时长总和。在这种情况下,电子设备可以将备用电源设备的单次供电总时长与第一备用电源的单次供电总时长的差值,确定为第二备用电源的单次供电总时长。Optionally, the backup power supply includes: a first backup power supply and a second backup power supply. Therefore, the total single power supply time of the backup power source is the sum of the single total power supply time of the first backup power source and the single total power supply time of the second backup power source. In this case, the electronic device may determine the difference between the total duration of a single power supply of the backup power supply device and the total duration of a single power supply of the first backup power source as the total duration of a single power supply of the second backup power source.
示例性的,结合图1,假设备用电源设备(即第一备用电源103和第二备用电源104)的单次供电总时长为2个小时,第一备用电源103的单次供电总时长为1个小时。在这种情况下,电子设备101可以确定第二备用电源104的单次供电总时长=2-1=1个小时。For example, with reference to Figure 1, it is assumed that the total duration of a single power supply of the backup power supply device (ie, the first backup power supply 103 and the second backup power supply 104) is 2 hours, and the total duration of a single power supply of the first backup power supply 103 is 1 Hours. In this case, the electronic device 101 can determine the total single power supply duration of the second backup power supply 104=2-1=1 hour.
S903、当第二备用电源的单次供电总时长小于第二预设续航时长时,电子设备输出用于表示第二备用电源存在故障的告警信息。S903. When the total single power supply time of the second backup power supply is less than the second preset battery life, the electronic device outputs alarm information indicating that the second backup power supply is faulty.
可选的,第二预设续航时长可以是预先设置的第二备用电源需要维持的最短续航时间。Optionally, the second preset battery life time may be the preset minimum battery life time that the second backup power supply needs to maintain.
可选的,当第二备用电源的单次供电总时长小于第二预设续航时长时,说明第二备用电源可能存在故障。因此,电子设备输出用于表示第二备用电源存在故障的告警信息。Optionally, when the total single power supply time of the second backup power supply is less than the second preset battery life, it indicates that the second backup power supply may be faulty. Therefore, the electronic device outputs alarm information indicating that the second backup power supply is faulty.
示例性的,结合图1,假设第二备用电源104的单次供电总时长为1个小时,第二预设续航时长为两个小时。在这种情况下,电子设备101输出用于表示第二备用电源104存在故障的告警信息。For example, with reference to FIG. 1 , it is assumed that the total single power supply time of the second backup power supply 104 is one hour, and the second preset battery life time is two hours. In this case, the electronic device 101 outputs alarm information indicating that the second backup power supply 104 has a fault.
在一些实施例中,结合图9,如图10所示,上述S901中,电子设备获取备用电源设备的单次供电总时长的方法具体包括:S1001-S1002。In some embodiments, in conjunction with Figure 9, as shown in Figure 10, in the above S901, the method for the electronic device to obtain the total duration of a single power supply of the backup power supply device specifically includes: S1001-S1002.
S1001、电子设备获取第三告警时刻。S1001. The electronic device obtains the third alarm time.
其中,第三告警时刻用于表示通信机房中设备断电告警发出的时刻。Among them, the third alarm time is used to represent the time when the power outage alarm of the equipment in the communication equipment room is issued.
可选的,电子设备获取第三告警时刻的一种实现方式为:当备用电源设备所归属的通信机房中设备发生断电时,备用电源设备向信息管理设备发送通信机房中设备断电告警信息。然后,信息管理设备收到通信机房中设备断电告警信息后,电子设备通过信息管理设备,根据通信机房中设备断电告警信息中的关键词确定第三告警时刻。在这种情况下,电子设备向信息管理设备发送获取第三告警时刻的请求。信息管理设备响应电子设备发送的获取第一告警时刻的请求,并向电子设备发送第三告警时刻。Optionally, an implementation method for the electronic device to obtain the third alarm moment is: when the equipment in the communication computer room to which the backup power supply device belongs is powered off, the backup power supply device sends the power outage alarm information of the equipment in the communication computer room to the information management device. . Then, after the information management equipment receives the power-off alarm information of the equipment in the communication equipment room, the electronic equipment determines the third alarm time according to the keywords in the equipment power-off alarm information in the communication equipment room through the information management equipment. In this case, the electronic device sends a request to obtain the third alarm time to the information management device. The information management device responds to the request sent by the electronic device to obtain the first alarm time, and sends the third alarm time to the electronic device.
示例性的,结合图1,备用电源设备(即第一备用电源103和第二备用电源104)所归属的通信机房中设备断电告警发出的时刻为12点整。在这种情况下,电子设备101可以确定第三告警时刻为12点整。For example, with reference to Figure 1, the time when the equipment power outage alarm in the communication equipment room to which the backup power equipment (that is, the first backup power supply 103 and the second backup power supply 104) belongs is issued is 12 o'clock. In this case, the electronic device 101 may determine that the third alarm time is 12 o'clock sharp.
S1002、电子设备将第三告警时刻与第一告警时刻的差值,确定为备用电源设备的单次供电总时长。S1002. The electronic device determines the difference between the third alarm time and the first alarm time as the total single power supply time of the backup power supply device.
可选的,第三告警时刻为通信机房中设备断电告警发出的时刻,第一告警时刻为市电停电告警发出的时刻。因为从市电停电告警发出的时刻开始,就是由通信机房对应备用电源为通信机房中的设备进行供电。而通信机房中设备断电告警发出的时刻,即为备用电源无法继续为通信机房中的设备继续供电的时刻。综上,第一告警时刻和第三告警时刻的差值即为通信机房对应备用电源设备的单次供电总时长。Optionally, the third alarm time is the time when the equipment power outage alarm in the communication equipment room is issued, and the first alarm time is the time when the mains power outage alarm is issued. Because from the moment the mains power outage alarm is issued, the corresponding backup power supply in the communication equipment room supplies power to the equipment in the communication equipment room. The moment when the power outage alarm of the equipment in the communication equipment room is issued is the time when the backup power supply cannot continue to supply power to the equipment in the communication equipment room. In summary, the difference between the first alarm time and the third alarm time is the total single power supply duration of the corresponding backup power supply equipment in the communication equipment room.
示例性的,结合图1,假设第一告警时刻为10点整,第三告警时刻为12点整。在这种情况下,电子设备101可以确定备用电源设备(即第一备用电源103和第二备用电源104)的单次供电总时长=12-10=2小时。For example, with reference to Figure 1, it is assumed that the first alarm time is 10 o'clock and the third alarm time is 12 o'clock. In this case, the electronic device 101 can determine the total single power supply duration of the backup power supply device (ie, the first backup power supply 103 and the second backup power supply 104)=12-10=2 hours.
在一些实施例中,结合图10,如图11所示,上述电源检测方法还包括:S1101。In some embodiments, as shown in Figure 11 in conjunction with Figure 10, the above power detection method further includes: S1101.
S1101、当备用电源设备的单次供电总时长小于第三预设续航时长时,电子设备输出用于表示备用电源设备存在故障的告警信息。S1101. When the total single power supply time of the backup power supply device is less than the third preset battery life, the electronic device outputs alarm information indicating that the backup power supply device has a fault.
可选的,第三预设续航时长可以是预先设置的备用电源设备需要维持的最短续航时间。当备用电源设备的单次供电总时长小于第三预设续航时长时,说明备用电源设备可能存在故障。Optionally, the third preset battery life time may be the shortest battery life time that the preset backup power supply device needs to maintain. When the total single power supply time of the backup power supply device is less than the third preset battery life, it indicates that the backup power supply device may be faulty.
示例性的,结合图1,假设备用电源设备(即第一备用电源103和第二备用电源104)的单次供电总时长为2小时,第三预设续航时长为4小时,电子设备101确定备用电源设备的单次供电总时长小于第三预设续航时长,并输出用于表示备用电源设备存在故障的告警信息。For example, with reference to Figure 1, assuming that the total single power supply time of the backup power supply device (ie, the first backup power supply 103 and the second backup power supply 104) is 2 hours, and the third preset battery life is 4 hours, the electronic device 101 determines The total single power supply time of the backup power supply device is less than the third preset battery life, and alarm information indicating that the backup power supply device is faulty is output.
上述主要从方法的角度对本申请实施例提供的方案进行了介绍。为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The above mainly introduces the solutions provided by the embodiments of the present application from the perspective of methods. In order to realize the above functions, it includes hardware structures and/or software modules corresponding to each function. Persons skilled in the art should easily realize that, with the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is performed by hardware or computer software driving the hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each specific application, but such implementations should not be considered beyond the scope of this application.
本申请实施例可以根据上述方法示例对电源检测装置进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。可选的,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。Embodiments of the present application can divide the power detection device into functional modules according to the above method examples. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or software function modules. Optionally, the division of modules in the embodiment of this application is schematic and is only a logical function division. There may be other division methods in actual implementation.
如图12所示,为本申请实施例提供的一种电源检测装置的结构示意图。该电源检测装置可以用于执行图4-图11所示的电源检测的方法。图12所示电源检测装置包括:获取单元1201、确定单元1202和输出单元1203。As shown in Figure 12, it is a schematic structural diagram of a power supply detection device provided by an embodiment of the present application. The power detection device can be used to perform the power detection method shown in Figures 4 to 11. The power detection device shown in Figure 12 includes: an acquisition unit 1201, a determination unit 1202 and an output unit 1203.
获取单元1201用于,当第一备用电源的单次供电总时长小于第一预设续航时长时,获取目标参数;目标参数包括:第一备用电源的低电压告警阈值、第一备用电源归属的通信机房中设备的总功率、第一备用电源的标准电源容量中的至少一项;确定单元1202,用于根据目标参数确定第一备用电源的电源检测结果。The acquisition unit 1201 is configured to acquire target parameters when the total duration of a single power supply of the first backup power supply is less than the first preset endurance time; the target parameters include: the low voltage alarm threshold of the first backup power supply, the At least one of the total power of the equipment in the communication room and the standard power supply capacity of the first backup power supply; the determination unit 1202 is configured to determine the power detection result of the first backup power supply according to the target parameters.
可选的,确定单元1202,具体用于:当低电压告警阈值大于预设告警阈值时,确定电源检测结果为低电压告警阈值设置错误;和/或,当标准电源容量小于通信机房中设备所需总功率对应的电源容量时,确定电源检测结果为第一备用电源的标准电源容量不足;和/或,当标准电源容量大于或者等于通信机房中设备所需总功率对应的电源容量时,确定电源检测结果为第一备用电源的实际电源容量不足;和/或,当第一备用电源归属的通信机房中设备的总功率大于预设标准功率时,确定电源检测结果为第一备用电源归属的通信机房中设备的总功率超载。Optionally, the determining unit 1202 is specifically configured to: when the low voltage alarm threshold is greater than the preset alarm threshold, determine that the power supply detection result is a low voltage alarm threshold setting error; and/or when the standard power supply capacity is smaller than the equipment in the communication room. When the power supply capacity corresponding to the total power is required, determine that the power supply detection result is that the standard power supply capacity of the first backup power supply is insufficient; and/or, when the standard power supply capacity is greater than or equal to the power supply capacity corresponding to the total power required by the equipment in the communication room, determine The power detection result is that the actual power capacity of the first backup power supply is insufficient; and/or, when the total power of the equipment in the communication equipment room to which the first backup power supply belongs is greater than the preset standard power, the power detection result is determined to be that the first backup power supply belongs to The total power of the equipment in the communications room is overloaded.
可选的,获取单元1201,还用于获取第一告警时刻和第二告警时刻;第一告警时刻用于表示市电停电告警发出的时刻;第二告警时刻用于表示第一备用电源低电压告警发出的时刻;确定单元1202,还用于将第一告警时刻和第二告警时刻的差值,确定为第一备用电源的单次供电总时长。Optionally, the acquisition unit 1201 is also used to acquire the first alarm time and the second alarm time; the first alarm time is used to represent the time when the mains power outage alarm is issued; the second alarm time is used to represent the low voltage of the first backup power supply The time when the alarm is issued; the determining unit 1202 is also used to determine the difference between the first alarm time and the second alarm time as the total single power supply duration of the first backup power supply.
可选的,当第一备用电源归属的通信机房中设备在预设时间段内发生n次停电时,确定单元1202,还用于将第n次市电停电告警发出的时刻确定为第四告警时刻;获取单元1201,还用于获取第五告警时刻和n次停电中每次停电的持续时长;第五告警时刻用于表示第一备用电源低电压告警发出的时刻;确定单元1202,还用于将第四告警时刻和第五告警时刻的差值,确定为目标数值;确定单元1202,还用于将目标数值与每次停电的持续时长总和,确定为第一备用电源的单次供电总时长。Optionally, when the equipment in the communication equipment room to which the first backup power supply belongs has n power outages within a preset time period, the determining unit 1202 is also used to determine the time when the n-th mains power outage alarm is issued as the fourth alarm. time; the acquisition unit 1201 is also used to obtain the fifth alarm time and the duration of each power outage in n power outages; the fifth alarm time is used to represent the time when the first backup power supply low voltage alarm is issued; the determination unit 1202 is also used The difference between the fourth alarm time and the fifth alarm time is determined as the target value; the determination unit 1202 is also used to determine the target value and the sum of the duration of each power outage as the single power supply total of the first backup power supply. duration.
可选的,第一备用电源归属的备用电源设备还包括第二备用电源;该电源检测装置还包括:输出单元1203;获取单元1201,还用于获取备用电源设备的单次供电总时长;确定单元1202,还用于将备用电源设备的单次供电总时长与第一备用电源的单次供电总时长的差值,确定为第二备用电源的单次供电总时长;输出单元1203用于,当第二备用电源的单次供电总时长小于第二预设续航时长时,输出用于表示第二备用电源存在故障的告警信息。Optionally, the backup power supply equipment to which the first backup power supply belongs also includes a second backup power supply; the power detection device also includes: an output unit 1203; an acquisition unit 1201, which is also used to obtain the total duration of a single power supply of the backup power supply equipment; determine Unit 1202 is also used to determine the difference between the total single power supply time of the backup power supply device and the total single power supply time of the first backup power supply as the total single power supply time of the second backup power supply; the output unit 1203 is used to, When the total single power supply time of the second backup power supply is less than the second preset battery life, alarm information indicating that the second backup power supply has a fault is output.
可选的,获取单元1201,具体用于:获取第三告警时刻;第三告警时刻用于表示通信机房中设备断电告警发出的时刻;将第三告警时刻与第一告警时刻的差值,确定为备用电源设备的单次供电总时长。Optionally, the acquisition unit 1201 is specifically used to: acquire the third alarm time; the third alarm time is used to represent the time when the equipment power outage alarm in the communication room is issued; and calculate the difference between the third alarm time and the first alarm time, Determine the total duration of a single power supply for the backup power supply device.
可选的,输出单元1203,还用于当备用电源设备的单次供电总时长小于第三预设续航时长时,输出用于表示备用电源设备存在故障的告警信息。Optionally, the output unit 1203 is also configured to output alarm information indicating that the backup power supply equipment has a fault when the total duration of a single power supply of the backup power supply equipment is less than the third preset endurance time.
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质包括计算机执行指令,当计算机执行指令在计算机上运行时,使得计算机执行如上述实施例提供的电源检测方法。Embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium includes computer-executable instructions. When the computer-executed instructions are run on a computer, they cause the computer to execute the power supply detection method provided in the above embodiments.
本申请实施例还提供一种计算机程序,该计算机程序可直接加载到存储器中,并含有软件代码,该计算机程序经由计算机载入并执行后能够实现上述实施例提供的电源检测方法。An embodiment of the present application also provides a computer program, which can be directly loaded into the memory and contains software code. After being loaded and executed by the computer, the computer program can implement the power detection method provided in the above embodiment.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机可读存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should realize that in one or more of the above examples, the functions described in this application can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes computer-readable storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. Storage media can be any available media that can be accessed by a general purpose or special purpose computer.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the above description of the embodiments, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be allocated as needed. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation. For example multiple units or components may be combined or integrated into another device, or some features may be omitted, or not performed. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms. A unit described as a separate component may or may not be physically separate. A component shown as a unit may be one physical unit or multiple physical units, that is, it may be located in one place, or it may be distributed to multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated units can be implemented in the form of hardware or software functional units. Integrated units may be stored in a readable storage medium if they are implemented in the form of software functional units and sold or used as independent products. Based on this understanding, the technical solutions of the embodiments of the present application are essentially or contribute to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium , including several instructions to cause a device (which can be a microcontroller, a chip, etc.) or a processor to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
以上,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by those skilled in the art within the technical scope disclosed in the present application should be made. are covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310879066.1A CN116879792A (en) | 2023-07-17 | 2023-07-17 | A power detection method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310879066.1A CN116879792A (en) | 2023-07-17 | 2023-07-17 | A power detection method, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116879792A true CN116879792A (en) | 2023-10-13 |
Family
ID=88256444
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310879066.1A Pending CN116879792A (en) | 2023-07-17 | 2023-07-17 | A power detection method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116879792A (en) |
-
2023
- 2023-07-17 CN CN202310879066.1A patent/CN116879792A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI654812B (en) | Method, apparatus, and system for power source failure prediction | |
CN106338690B (en) | A kind of reserve battery detection method, device, system and method for supplying power to | |
CN102902340B (en) | server cabinet system and control method thereof | |
AU2017387185B2 (en) | Battery leakage current detection method, device and circuit | |
US11422601B2 (en) | Methods and systems for advanced battery charge capacity forecasting | |
CN112098864B (en) | Leakage current detection method and device, electronic equipment and storage medium | |
EP2455773B1 (en) | Detecting circuit for electric quantity, processing device and method for state detection of mobile telephone in standby | |
WO2014101807A1 (en) | Method and terminal for displaying capacity of battery | |
CN102597911B (en) | AC adaptor minimization through active platform power consumption management | |
CN109031131B (en) | The real-time host system of the heterogeneous polynuclear of battery testing and analog meter and method | |
CN109032320B (en) | Battery backup unit test method and related equipment | |
CN117277375B (en) | Energy distribution method and device for combined energy storage system and electronic equipment | |
CN109450013A (en) | A kind of management method and device of base station battery | |
CN103837835A (en) | Method and device for detecting capacity decreasing degree of mobile device battery | |
CN113703560B (en) | Equipment power supply method and device, terminal equipment and storage medium | |
CN115436827A (en) | Insulation resistance detection method, device and equipment | |
CN116879792A (en) | A power detection method, device and storage medium | |
CN112463051A (en) | Management method and data storage method of battery storage system | |
JP7503044B2 (en) | Smart battery device and its electronic devices | |
CN216290317U (en) | a power supply system | |
CN117134437A (en) | Battery management system and battery management method | |
CN115291120A (en) | Battery metering system, electronic equipment and control method | |
CN107976570A (en) | Power consumption test method, device and medium during a kind of storage system data backup | |
US11360531B1 (en) | Redeployment of energy storage units | |
CN115378074B (en) | Energy storage power supply power management method, device and medium |
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 |