CN116879792A - Power supply detection method, device and storage medium - Google Patents

Power supply detection method, device and storage medium Download PDF

Info

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
standby power
standby
total
alarm
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
Application number
CN202310879066.1A
Other languages
Chinese (zh)
Inventor
王全
卜寅
支亚光
杨福理
张进
王俊敏
金立标
江陵
王歌吟
费承森
朱智慧
李亚楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202310879066.1A priority Critical patent/CN116879792A/en
Publication of CN116879792A publication Critical patent/CN116879792A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/40Testing power supplies
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/165Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
    • G01R19/16533Indicating 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/16538Indicating 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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R21/00Arrangements 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

The application provides a power supply detection method, a device and a storage medium, relates to the technical field of communication, and is used for solving the problem that a power supply detection result cannot be accurately determined in the prior art. The method comprises the following steps: when the total single power supply duration of the first standby power supply is smaller than a first preset duration, acquiring target parameters; the target parameters include: at least one of a low voltage warning threshold value of the first standby power supply, total power of equipment in a communication machine room to which the first standby power supply belongs, and standard power supply capacity of the first standby power supply; and determining a power supply detection result of the first standby power supply according to the target parameter.

Description

Power supply detection method, device and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a power detection method, a device, and a storage medium.
Background
When a large-scale power failure occurs in the communication machine room, the stable operation of the communication machine room needs to be maintained through a standby power supply of the communication machine room.
The existing standby power detection technology generally predicts the remaining use duration of the standby power according to the maximum single power supply duration of the standby power and the total use duration of the standby power. And outputting prompt information for replacing the standby power supply when the residual using time is smaller than the preset value. However, the reference dimension of the method is single, and the specific reason for shortening the standby power supply maintaining time period cannot be accurately determined.
Disclosure of Invention
The application provides a power supply detection method, a device and a storage medium, which are used for solving the problem of low flexibility of a power supply detection flow in the prior art.
In order to achieve the above purpose, the application adopts the following technical scheme:
in a first aspect, a power supply detection method is provided, including: when the total single power supply duration of the first standby power supply is smaller than a first preset duration, acquiring target parameters; the target parameters include: at least one of a low voltage warning threshold value of the first standby power supply, total power of equipment in a communication machine room to which the first standby power supply belongs, and standard power supply capacity of the first standby power supply; and determining a power supply detection result of the first standby power supply according to the target parameter.
Optionally, determining the power supply detection result of the first standby power supply according to the target parameter includes: when the low-voltage alarm threshold is larger than a preset alarm threshold, determining that the power supply detection result is that the low-voltage alarm threshold is set incorrectly; and/or when the standard power supply capacity is smaller than the power supply capacity corresponding to the total power required by the equipment in the communication machine room, determining that the power supply detection result is that the standard power supply capacity of the first standby 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 machine room, determining that the power supply detection result is that the actual power supply capacity of the first standby power supply is insufficient; and/or when the total power of the equipment in the communication machine room to which the first standby power supply belongs is greater than the preset standard power, determining that the power supply detection result is that the total power of the equipment in the communication machine room to which the first standby power supply belongs is overloaded.
Optionally, the power supply detection method further includes: acquiring a first alarm time and a second alarm time; the first alarm time is used for indicating the time when the mains power outage alarm is sent; the second alarm time is used for indicating the time when the low-voltage alarm of the first standby power supply is sent; and determining the difference value between the first alarm time and the second alarm time as the total single power supply duration of the first standby power supply.
Optionally, when the equipment in the communication machine room to which the first standby power supply belongs has n times of power failure in a preset time period, the power supply detection method further includes: determining the moment of sending out the power outage alarm of the nth time as a fourth alarm moment; acquiring a fifth alarm moment and the duration of each power failure in n times of power failures; the fifth alarming moment is used for indicating the moment when the low-voltage alarm of the first standby power supply is sent; determining a difference value between the fourth alarm time and the fifth alarm time as a target value; and determining the sum of the target value and the duration of each power failure as the total duration of single power supply of the first standby power supply.
Optionally, the standby power supply device to which the first standby power supply belongs further includes a second standby power supply; the power supply detection method further comprises the following steps: acquiring the total time length of single power supply of the standby power supply equipment; determining the difference value between the total single power supply duration of the standby power supply equipment and the total single power supply duration of the first standby power supply as the total single power supply duration of the second standby power supply; and outputting alarm information for indicating that the second standby power supply has faults when the total single power supply duration of the second standby power supply is smaller than the second preset duration.
Optionally, obtaining the total duration of single power supply of the standby power supply device includes: acquiring a third alarm time; the third alarm time is used for indicating the time when the equipment power-off alarm in the communication machine room is sent out; and determining the difference value between the third alarm time and the first alarm time as the total time length of single power supply of the standby power supply equipment.
Optionally, the power supply detection method further includes: and outputting alarm information for indicating that the standby power supply equipment has faults when the total single power supply duration of the standby power supply equipment is smaller than the third preset duration.
In a second aspect, there is provided a power supply detection apparatus including: an acquisition unit and a determination unit; the acquisition unit is used for acquiring target parameters when the total single power supply duration of the first standby power supply is smaller than a first preset duration; the target parameters include: at least one of a low voltage warning threshold value of the first standby power supply, total power of equipment in a communication machine room to which the first standby power supply belongs, and standard power supply capacity of the first standby power supply; and the determining unit is used for determining a power supply detection result of the first standby power supply according to the target parameter.
Optionally, the determining unit is specifically configured to: when the low-voltage alarm threshold is larger than a preset alarm threshold, determining that the power supply detection result is that the low-voltage alarm threshold is set incorrectly; and/or when the standard power supply capacity is smaller than the power supply capacity corresponding to the total power required by the equipment in the communication machine room, determining that the power supply detection result is that the standard power supply capacity of the first standby 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 machine room, determining that the power supply detection result is that the actual power supply capacity of the first standby power supply is insufficient; and/or when the total power of the equipment in the communication machine room to which the first standby power supply belongs is greater than the preset standard power, determining that the power supply detection result is that the total power of the equipment in the communication machine room to which the first standby power supply belongs is overloaded.
Optionally, the acquiring unit is further configured to acquire a first alarm time and a second alarm time; the first alarm time is used for indicating the time when the mains power outage alarm is sent; the second alarm time is used for indicating the time when the low-voltage alarm of the first standby power supply is sent; and the determining unit is also used for determining the difference value between the first alarming time and the second alarming time as the total time length of single power supply of the first standby power supply.
Optionally, when the equipment in the communication machine room to which the first standby power supply belongs has n times of power failure in a preset time period, the determining unit is further configured to determine a time when the nth mains power failure alarm is sent as a fourth alarm time; the acquisition unit is also used for acquiring a fifth alarm moment and the duration of each power failure in n times of power failures; the fifth alarming moment is used for indicating the moment when the low-voltage alarm of the first standby power supply is sent; the determining unit is further used for determining the difference value between the fourth alarming time and the fifth alarming time as a target value; and the determining unit is also used for determining the sum of the target value and the duration of each power failure as the total duration of single power supply of the first standby power supply.
Optionally, the standby power supply device to which the first standby power supply belongs further includes a second standby power supply; the power supply detection apparatus further includes: an output unit; the acquisition unit is also used for acquiring the total time length of single power supply of the standby power supply equipment; the determining unit is further used for determining a difference value between the total single power supply duration of the standby power supply equipment and the total single power supply duration of the first standby power supply as the total single power supply duration of the second standby power supply; the output unit is used for outputting alarm information for indicating that the second standby power supply has faults when the total single power supply duration of the second standby power supply is smaller than the second preset duration.
Optionally, the acquiring unit is specifically configured to: acquiring a third alarm time; the third alarm time is used for indicating the time when the equipment power-off alarm in the communication machine room is sent out; and determining the difference value between the third alarm time and the first alarm time as the total time length of single power supply of the standby power supply equipment.
Optionally, the output unit is further configured to output alarm information for indicating that the standby power supply device has a fault when a total duration of single power supply of the standby power supply device is less than a third preset duration.
In a third aspect, a power supply detection apparatus is provided, including a memory and a processor; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus; when the power detection apparatus is operating, the processor executes computer-executable instructions stored in the memory to cause the power detection apparatus to perform the power detection method of the first aspect.
The power detection device may be a network device or may be a part of a device in the network device, for example, a chip system in the network device. The system-on-a-chip is configured to support the network device to implement the functions involved in the first aspect and any one of its possible implementations, for example, to obtain, determine, and send data and/or information involved in the power detection method described above. The chip system includes a chip, and may also include other discrete devices or circuit structures.
In a fourth aspect, there is provided a computer readable storage medium comprising computer executable instructions which, when run on a computer, cause the computer to perform the power supply detection method of the first aspect.
In a fifth aspect, there is also provided a computer program product comprising computer instructions which, when run on a power detection apparatus, cause the power detection apparatus to perform the power detection method as described in the first aspect above.
It should be noted that the above-mentioned 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 apparatus or may be packaged separately from the processor of the power detection apparatus, which is not limited by the embodiment of the present application.
The description of the second, third, fourth and fifth aspects of the present application may refer to the detailed description of the first aspect; the advantages of the second aspect, the third aspect, the fourth aspect and the fifth aspect may be referred to as analysis of the advantages of the first aspect, and will not be described here.
In the embodiment of the present application, the names of the above-mentioned power supply detecting devices do not constitute limitations on the devices or functional modules themselves, and in actual implementation, these devices or functional modules may appear under other names. Insofar as the function of each device or function module is similar to that of the present application, it falls within the scope of the claims of the present application and the equivalents thereof.
These and other aspects of the application will be more readily apparent from the following description.
The technical scheme provided by the application has at least the following beneficial effects:
based on any one of the above aspects, the embodiment of the present application provides a power supply detection method, where the electronic device may obtain the target parameter when a total duration of single power supply of the first standby power supply is less than a first preset duration. Wherein the target parameters include: at least one of a low voltage warning threshold of the first standby power supply, total power of equipment in a communication room to which the first standby power supply belongs, and standard power supply capacity of the first standby power supply. The electronic device may then determine a power detection result of the first standby power based on the target parameter. Because the target parameter includes a plurality of factors that affect the duration of the first standby power supply, the electronic device can accurately determine the power supply detection result according to the target parameter (i.e. from a plurality of dimensions).
Drawings
Fig. 1 is a schematic structural diagram of a power detection system according to an embodiment of the present application;
fig. 2 is a schematic diagram of a hardware structure of a power detection apparatus according to an embodiment of the present application;
fig. 3 is a schematic diagram of a hardware structure of a power detection apparatus according to an embodiment of the present application;
fig. 4 is a schematic flow chart of a power supply detection method according to an embodiment of the present application;
FIG. 5 is a flowchart of another power detection method according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a relationship between output voltage and output current according to an embodiment of the present application;
fig. 7 is a flowchart of another power detection method according to an embodiment of the present application;
FIG. 8 is a flowchart of another power detection method according to an embodiment of the present application;
FIG. 9 is a flowchart of another power detection method according to an embodiment of the present application;
FIG. 10 is a flowchart of another power detection method according to an embodiment of the present application;
FIG. 11 is a flowchart of another power detection method according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a power detection device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In order to clearly describe the technical solution of the embodiment of the present application, in the embodiment of the present application, the words "first", "second", etc. are used to distinguish identical items or similar items having substantially the same function and effect, and those skilled in the art will understand that the words "first", "second", etc. are not limited in number and execution order.
Before the power supply detection method provided by the application is described in detail, the background related to the application is briefly described.
When a large-scale power failure occurs in the communication machine room, the stable operation of the communication machine room needs to be maintained through a standby power supply of the communication machine room.
The existing standby power detection technology generally predicts the remaining use duration of the standby power according to the maximum single power supply duration of the standby power and the total use duration of the standby power. And outputting prompt information for replacing the standby power supply when the residual using time is smaller than the preset value. However, the reference dimension of the method is single, and the specific reason for shortening the standby power supply maintaining time period cannot be accurately determined.
In view of the above problems, an embodiment of the present application provides a power supply detection method, where an electronic device may obtain a target parameter when a total duration of single power supply of a first standby power supply is less than a first preset duration. Wherein the target parameters include: at least one of a low voltage warning threshold of the first standby power supply, total power of equipment in a communication room to which the first standby power supply belongs, and standard power supply capacity of the first standby power supply. The electronic device may then determine a power detection result of the first standby power based on the target parameter. Because the target parameter includes a plurality of factors that affect the duration of the first standby power supply, the electronic device can accurately determine the power supply detection result according to the target parameter (i.e. from a plurality of dimensions).
The power supply detection method is suitable for a power supply detection system. Fig. 1 shows a structure of the power supply detection system. As shown in fig. 1, the power supply 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.
The electronic device 101 is in communication connection with the information management device 102, and the information management device 102 is in communication connection with the first standby power supply 103 and the second standby power supply 104, respectively.
In practical applications, the electronic device 101 may be connected to a plurality of information management devices, the information management device 102 may be connected to a plurality of first standby power sources, and the information management device 102 may be connected to a plurality of second standby power sources. For ease of understanding, the present application is described by taking an example in which one electronic device 101 is connected to one information management device 102, one information management device 102 is connected to one first standby power supply 103, and one information management device 102 is connected to one second standby power supply 104.
Alternatively, the entity devices of the electronic device 101 and the information management device 102 may be terminals, servers, or other types of electronic devices.
Alternatively, the physical device of the first standby power supply 103 may be a storage battery, or may be another type of standby power supply.
Alternatively, the physical device of the second backup power source 104 may be a generator, or may be another type of backup power source.
Alternatively, when the entity devices of the electronic device 101 and the information management device 102 are terminals, the terminals may be devices providing voice and/or data connectivity to the user, handheld devices having wireless connection functionality, or other processing devices connected to a wireless modem. The terminal may communicate with one or more core networks via a radio access network (radio access network, RAN). Terminals may be mobile terminals such as mobile telephones (or "cellular" telephones) and computers with mobile terminals, as well as portable, pocket, hand-held, computer-built-in or car-mounted mobile devices which exchange voice and/or data with radio access networks, e.g. cell phones, tablet computers, notebook computers, netbooks, personal digital assistants (personal digital assistant, PDA).
Alternatively, when the entity devices of the electronic device 101 and the information management device 102 are servers, the servers may be one server in a server cluster (including a plurality of servers), or may be a chip in the server, or may be a system on a chip in the server, or may be implemented by a Virtual Machine (VM) deployed on a physical machine, which is not limited in the embodiment of the present application.
Alternatively, when the entity devices of the electronic device 101 and the information management device 102 are servers, they may be a plurality of devices that are set independently of each other, or may be integrated in the same device.
It is easy to understand that when the electronic device 101 and the information management device 102 are integrated in the same device, the communication manner between the two is communication between the internal modules of the device. In this case, the communication flow between the two devices is the same as "in the case where the electronic device 101 and the information management device 102 are independent of each other".
For ease of understanding, the present application is described by taking the example that the electronic device 101 and the information management device 102 are independent of each other.
The basic hardware structure of the electronic device 101 in the power detection system is similar and includes elements included in the power detection apparatus shown in fig. 2 or fig. 3. The hardware configuration of the electronic apparatus 101 will be described below taking the power supply detection apparatus shown in fig. 2 and 3 as an example.
Fig. 2 is a schematic diagram of a hardware structure of a power detection apparatus according to an embodiment of the present application. The power detection device comprises 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 by a bus 24.
The processor 21 is a control center of the power supply detection apparatus, and may be one processor or a collective name of a plurality of processing elements. For example, the processor 21 may be a general-purpose central processing unit (central processing unit, CPU), or may be another general-purpose processor. Wherein the general purpose processor may be a microprocessor or any conventional processor or the like.
As one example, processor 21 may include one or more CPUs, such as CPU0 and CPU1 shown in fig. 2.
Memory 22 may be, but is not limited to, 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 of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), magnetic disk storage or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
In a possible implementation, the memory 22 may exist separately from the processor 21, and the memory 22 may be connected to the processor 21 by a bus 24 for storing instructions or program code. The processor 21, when calling and executing instructions or program code stored in the memory 22, is capable of implementing the power detection method provided in the following embodiments of the present application.
In the embodiment of the present application, the software program stored in the memory 22 is different for the power supply detection apparatus 101, so the functions realized by the power supply detection apparatus 101 are different. The functions performed with respect to the respective devices will be described in connection with the following flowcharts.
In another possible implementation, the memory 22 may also be integrated with the processor 21.
The communication interface 23 is used for connecting the power supply detection device with other devices through a communication network, wherein the communication network can be an ethernet, a wireless access network, a wireless local area network (wireless local area networks, WLAN) and the like. The communication interface 23 may include a receiving unit for receiving data, and a transmitting unit for transmitting data.
Bus 24 may be an industry standard architecture (industry standard architecture, ISA) bus, an external device interconnect (peripheral component interconnect, PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in fig. 2, but not only one bus or one type of bus.
Fig. 3 shows another hardware configuration of the power detection apparatus in the embodiment of the present application. As shown in fig. 3, the power detection apparatus may include a processor 31 and a communication interface 32. The processor 31 is coupled to a communication interface 32.
The function of the processor 31 may be as described above with reference to the processor 21. The processor 31 also has a memory function and can function as the memory 22.
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 an external interface of the power supply detection device (corresponding to the communication interface 23).
It should be noted that the structure shown in fig. 2 (or fig. 3) does not constitute a limitation of the power supply detection apparatus, and the power supply detection apparatus may include more or less components than those shown in fig. 2 (or fig. 3), or may combine some components, or may be arranged in different components.
The following describes a power supply detection method according to an embodiment of the present application in detail with reference to the accompanying drawings.
As shown in fig. 4, the power supply detection method provided by the embodiment of the application is applied to an electronic device, and includes: S401-S402.
S401, when the total single power supply duration of the first standby power supply is smaller than a first preset duration, the electronic equipment acquires target parameters.
Wherein the target parameters include: at least one of a low voltage warning threshold of the first standby power supply, total power of equipment in a communication room to which the first standby power supply belongs, and standard power supply capacity of the first standby power supply.
Alternatively, the standby power supply may be a power supply for maintaining the powered device in normal operation when the normal power supply is powered off.
Optionally, the first backup power source includes, but is not limited to: lead acid batteries, lithium ion batteries, zinc air batteries, and the like.
Alternatively, the total duration of the single power supply may be a sum of durations indicating that the backup power supply is continuously operated until the backup power supply is exhausted.
Optionally, the first preset duration may be a preset minimum duration that the first standby power supply needs to maintain.
Optionally, when the total duration of single power supply of the first standby power supply is less than the first preset duration, it is indicated that the first standby power supply may have a fault, and the cause of the fault of the first standby power supply needs to be accurately detected according to various parameters (i.e., target parameters). In this case, the electronic apparatus may acquire the target parameter and accurately detect the cause of the failure of the first standby power supply through the target parameter.
Optionally, when the total duration of single power supply of the first standby power supply is less than the first preset duration, one implementation manner of obtaining the target parameter by the electronic device is as follows: the electronic device sends a request message for acquiring the target parameter to the information management device. The information management device responds to the request message for acquiring the target parameters and sends the target parameters to the electronic device.
For example, in conjunction with fig. 1, it is assumed that the total duration of single power supply of the first standby power supply 103 is 1 hour, and the preset first preset duration is 1.5 hours. The electronic device 101 may determine that the total duration of the single power supply of the first standby power supply 103 is less than the first preset duration. Then, the electronic device 101 may transmit a request message to acquire the target parameter to the information management device 102. The information management apparatus 102 may respond to the above-described request message for acquiring the target parameter and transmit the target parameter to the electronic apparatus 101. In this case, the target parameters include: the low voltage warning threshold of the first standby power supply 103, the total power of the devices in the communication room to which the first standby power supply 103 belongs, the standard power supply capacity of the first standby power supply 103.
S402, the electronic equipment determines a power supply detection result of the first standby power supply according to the target parameter.
Optionally, the power detection result may be determined according to a target parameter, where the total duration of single power supply of the first standby power supply is less than a specific reason of the first preset duration.
Optionally, when the target parameter is a low voltage alarm threshold of the first standby power supply, one implementation manner of determining, by the electronic device, a power supply detection result of the first standby power supply according to the target parameter is: the electronic equipment judges whether the low-voltage alarm threshold value of the first standby power supply is larger than a preset alarm threshold value. When the low voltage alarm threshold of the first standby power supply is greater than the preset alarm threshold, the electronic device may determine that the detection result of the first standby power supply is: the low voltage warning threshold of the first standby power supply is set too high, so that the total single power supply duration of the first standby power supply is smaller than the first preset duration.
For example, in connection with fig. 1, it is assumed that the low voltage alarm threshold of the first standby 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 alert threshold of the first backup power supply 103 is greater than the preset alert threshold. The electronic device 101 may then determine that the detection result of the first standby power supply 103 is: the low voltage warning threshold of the first standby power supply 103 is set too high, resulting in a total duration of single power supply of the first standby power supply 103 being less than the first preset duration.
Optionally, when the target parameter is a standard power supply capacity of the first standby power supply, another implementation manner of determining, by the electronic device, a power supply detection result of the first standby power supply according to the target parameter is: the electronic equipment judges whether the standard power capacity of the first standby power supply is smaller than the power capacity corresponding to the total power required by equipment in the communication machine room. When the standard power supply capacity of the first standby power supply is smaller than the power supply capacity corresponding to the total power required by the equipment in the communication machine room, the electronic equipment can determine that the detection result of the first standby power supply is: the standard power supply capacity of the first standby power supply is insufficient, and the total duration of single power supply of the first standby power supply is smaller than the first preset duration.
Illustratively, in connection with fig. 1, it is assumed that the standard power capacity of the first backup power supply 103 is 60 amp-hours (Ah), and the power capacity corresponding to the total power required by the equipment in the communication 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 standby power supply 103 is: the standard power supply capacity of the first standby power supply 103 is insufficient, and the total duration of single power supply of the first standby power supply 103 is less than the first preset duration.
Optionally, when the target parameter is a standard power supply capacity of the first standby power supply, another implementation manner of determining, by the electronic device, a power supply detection result of the first standby power supply according to the target parameter is: the electronic equipment judges whether the standard power capacity of the first standby power supply is larger than or equal to the power capacity corresponding to the total power required by equipment in the communication machine room. When the standard power capacity of the first standby power supply is greater than or equal to the power capacity corresponding to the total power required by the equipment in the communication machine room, the electronic equipment can determine that the power detection result is: the actual power supply capacity of the first standby power supply is insufficient, so that the total single power supply duration of the first standby power supply is smaller than the first preset duration.
Illustratively, in connection with fig. 1, it is assumed that the standard power supply capacity of the first standby power supply 103 is 60Ah, and the power supply capacity corresponding to the total power required by the devices in the communication room to which the first standby power supply 103 belongs is 50Ah. In this case, the electronic device 101 may determine that the detection result of the first standby power supply 103 is: the actual power supply capacity of the first standby power supply 103 is insufficient, resulting in that the total duration of single power supply of the first standby power supply 103 is smaller than the first preset duration.
Optionally, when the target parameter is total power of the device in the communication room to which the first standby power supply belongs, another implementation manner of determining, by the electronic device, a power detection result of the first standby power supply according to the target parameter is: and the electronic equipment judges whether the total power of the equipment in the communication machine room to which the first standby power supply belongs is larger than the preset standard power. When the total power of the equipment in the communication machine room to which the first standby power supply belongs is greater than the preset standard power, the electronic equipment can determine that the power supply detection result is that: the total power of equipment in a communication machine room to which the first standby power supply belongs is overloaded, so that the total duration of single power supply of the first standby power supply is smaller than the first preset duration.
Illustratively, in connection with fig. 1, it is assumed that the total power of the devices in the communication room to which the first backup power supply 103 belongs is 2000 watts (Watt, W), and the preset standard power is 1500W. In this case, the electronic device 101 may determine that the detection result of the first standby power supply 103 is: the total power of the equipment in the communication room to which the first standby power supply 103 belongs is overloaded, so that the total duration of single power supply of the first standby power supply 103 is smaller than the first preset duration
Optionally, after the electronic device determines the power detection result of the first standby power supply. The electronic device may also count the cumulative number of occurrences of different power supply detection results for the first standby power supply. When the number of times of the accumulated occurrence of any one power supply detection result is larger than the second preset number of times, the electronic equipment can output alarm information for reminding that the number of times of the accumulated occurrence of the power supply detection result is excessive.
For example, in conjunction with fig. 1, it is assumed that, in the power detection result recorded by the electronic device 101, the number of times that the total power of the devices in the communication room to which the first standby power supply 103 belongs is overloaded is 10 times, and the second preset number of times is 8 times. In this case, the electronic device 101 outputs warning information for warning that the total power overload of the devices in the communication room to which the first backup power supply 103 belongs is excessive.
In some embodiments, referring to fig. 4, as shown in fig. 5, in S402, a method for determining, by an electronic device, a power detection result of a first standby power supply according to a target parameter specifically includes: S501-S504.
S501, when the low-voltage alarm threshold is larger than a preset alarm threshold, the electronic equipment determines that the power supply detection result is that the low-voltage alarm threshold is set incorrectly.
Alternatively, the low voltage warning threshold may be a preset value for indicating that the output voltage of the first standby power supply is too low.
Optionally, the preset alarm threshold may be a minimum voltage of the communication room to which the first standby power supply belongs for normal operation.
Optionally, in practical application, when the output voltage of the first standby power supply is lower than the low-voltage alarm threshold, the information management device sends a reminding message to a terminal device corresponding to the first standby power supply attribution manager.
And after the terminal equipment corresponding to the first standby power supply attribution manager receives the reminding information, the first standby power supply attribution manager executes the operation of replacing the first standby power supply. However, it takes time for the manager to whom the first standby power supply belongs to perform the operation of replacing the first standby power supply.
Under normal conditions, the low-voltage alarm threshold is often larger than the preset alarm threshold, so that the first standby power supply can continuously supply power for the communication machine room to which the first standby power supply belongs during the operation of replacing the first standby power supply by a manager to which the first standby power supply belongs, and the effect of reducing the cost can be achieved. However, the low voltage alarm threshold being greater than the preset alarm threshold may result in a shorter duration of the first standby power supply. Therefore, 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.
Illustratively, in connection with fig. 1, it is assumed that the preset alert threshold of the communication room to which the first backup power supply 103 belongs is 200V, and the low voltage alert threshold of the first backup power supply 103 is 210V. In this case, the electronic device 101 may determine that the power supply detection result of the first standby power supply 103 is a low voltage warning threshold setting error.
Optionally, when the electronic device determines that the power detection result of the first standby power supply is a low voltage alarm threshold setting error, the electronic device may further count the cumulative occurrence number of the low voltage alarm threshold setting error in the history. When the power detection result of the first standby power supply in the history record is: when the accumulated occurrence number of the low-voltage alarm threshold setting errors is greater than the second preset number, the electronic equipment can output a signal for reminding the power supply of detecting the power supply as follows: the low voltage alarm threshold value sets alarm information with excessive accumulated occurrence times of errors.
For example, in connection with fig. 1, it is assumed that the cumulative occurrence number of "low voltage warning threshold setting errors" is 10 times and the second preset number is 8 times in the power supply detection result of the first standby power supply 103 recorded by the electronic device 101. In this case, the electronic apparatus 101 outputs a power supply detection result for reminding the first standby power supply 103 as: the low voltage alarm threshold value sets alarm information with excessive accumulated occurrence times of errors.
And S502, when the standard power supply capacity is smaller than the power supply capacity corresponding to the total power required by equipment in the communication machine room, the electronic equipment determines that the power supply detection result is that the standard power supply capacity of the first standby power supply is insufficient.
Alternatively, the standard power supply capacity may be a power supply capacity specified by the first standby power supply standard.
Alternatively, the total power required by the devices in the communication room may be the sum of the powers required by the devices in the communication room to which the first standby power supply belongs in normal operation.
Optionally, when the electronic device determines the total power required by the device in the communication room, the electronic device may determine, according to a correspondence between the total power required by the device in the communication room to which the first standby power belongs and the power capacity of the first standby power, which is pre-stored in the information management device, the power capacity corresponding to the total power required by the device in the communication room to which the first standby power belongs.
In this case, when the standard power supply capacity is smaller than the power supply capacity corresponding to the total power required by the equipment in the communication equipment room, it is indicated that the standard power supply capacity of the first standby power supply cannot meet the normal working requirement of the equipment in the communication equipment room to which the first standby power supply belongs. Accordingly, the electronic device may determine that the power supply detection result is that the standard power supply capacity of the first standby power supply is insufficient.
Illustratively, in connection with fig. 1, it is assumed that the total power required by the devices in the communication room to which the first backup power supply 103 belongs corresponds to a power supply capacity of 2000Ah, and the standard power supply capacity of the first backup power supply 103 is 1800Ah. In this case, the electronic apparatus 101 may determine that the power supply detection result of the first standby power supply 103 is that the standard power supply capacity of the first standby power supply 103 is insufficient.
Optionally, when the electronic device determines that the power detection result of the first standby power supply is that the standard power supply capacity of the first standby power supply is insufficient, the electronic device may further count the cumulative occurrence number of the "standard power supply capacity deficiency of the first standby power supply" in the history. When the power detection result of the first standby power supply in the history record is: when the accumulated occurrence number of the 'standard power supply capacity shortage of the first standby power supply' is larger than the second preset number, the electronic equipment can output a power supply detection result reminding signal for reminding: and alarming information of excessive accumulated occurrence times of 'the standard power supply capacity shortage of the first standby power supply'.
For example, in connection with fig. 1, it is assumed that, in the power detection result of the first standby power 103 recorded by the electronic device 101, the cumulative occurrence number of "the standard power capacity deficiency of the first standby power" is 10 times, and the second preset number is 8 times. In this case, the electronic apparatus 101 outputs a power supply detection result for reminding the first standby power supply 103 as: and alarming information that the insufficient standard power supply capacity of the first standby power supply occurs too many times.
And S503, when the standard power supply capacity is larger than or equal to the power supply capacity corresponding to the total power required by the equipment in the communication machine room, the electronic equipment determines that the power supply detection result is that the actual power supply capacity of the first standby power supply is insufficient.
Specifically, in the use process of the first standby power supply, the situation that equipment is aged and not found in time may occur, so that the actual power supply capacity of the first standby power supply is smaller than the standard power supply capacity of the first standby power supply. Therefore, when the standard power supply capacity of the first standby power supply is greater than or equal to the power supply capacity corresponding to the total power required by the equipment in the communication machine room, and the total single power supply duration of the first standby power supply is less than the first preset duration, the electronic equipment can determine that the power supply detection result is that the actual power supply capacity of the first standby power supply is insufficient.
For example, in conjunction with fig. 1, it is assumed that the power capacity corresponding to the total power required by the devices in the communication room to which the first standby power supply 103 belongs is 2000Ah, and the standard power capacity of the first standby power supply 103 is 2500Ah, where the total duration of single power supply of the first standby power supply is still less than the first preset duration.
In summary, the electronic device 101 may determine that the power detection result of the first standby power supply 103 is that the actual power capacity of the first standby power supply 103 is insufficient.
Optionally, when the electronic device determines that the power supply detection result of the first standby power supply is that the actual power supply capacity of the first standby power supply is insufficient, the electronic device may further calculate a history, where the power supply detection result of the first standby power supply is: the number of cumulative occurrences of "actual power supply capacity shortage of the first standby power supply". When the power detection result of the first standby power supply in the history record is: when the accumulated occurrence number of the 'actual power supply capacity shortage of the first standby power supply' is larger than the second preset number, the electronic equipment can output a power supply detection result reminding signal for reminding that the power supply detection result is: the actual power supply capacity of the first standby power supply is insufficient, and the alarm information of excessive occurrence times is accumulated.
For example, in connection with fig. 1, it is assumed that, in the power detection result of the first standby power 103 recorded by the electronic device 101, the cumulative occurrence number of "the actual power supply capacity deficiency of the first standby power" is 10 times, and the second preset number is 8 times. In this case, the electronic apparatus 101 outputs a power supply detection result for reminding the first standby power supply 103 as: and alarming information that the actual power supply capacity of the first standby power supply is insufficient and the occurrence times are excessive.
And S504, when the total power of the equipment in the communication machine room to which the first standby power supply belongs is larger than the preset standard power, the electronic equipment determines that the power supply detection result is that the total power of the equipment in the communication machine room to which the first standby power supply belongs is overloaded.
Alternatively, the total power of the devices in the communication room to which the first standby power source belongs may be the sum of the actual power of the devices in the communication room to which the first standby power source belongs.
Optionally, the preset standard power may be a standard power preset by a device in the communication room to which the first standby power source belongs. When the total power of the devices in the communication room to which the first standby power supply belongs exceeds the standard power, the first standby power supply may be caused to enter an overload state. Therefore, when the total power of the equipment in the communication room to which the first standby power source belongs exceeds the standard power, the electronic equipment can determine that the power source detection result is that the total power of the equipment in the communication room to which the first standby power source belongs is overloaded.
Referring to fig. 6, the output voltage of the first standby power supply is a fixed value, for example, a dc voltage of 220V. The output current of the first standby power supply is equal to the total working current of equipment in the communication machine room to which the first standby power supply belongs.
However, the total power of the equipment in the communication room to which the first standby power source belongs increases, so that the output current of the first standby power source and the total operating current of the equipment in the communication room to which the first standby power source belongs also increase continuously. Since the output current of the first standby 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 standby power supply, the output voltage of the first standby power supply decreases, and the first standby power supply enters an overload state. At this time, the first standby power supply enters an overload protection state, so that the output voltage and the output current of the first standby power supply are reduced at the same time until the output voltage and the output current of the first standby power supply approach zero infinitely. Therefore, when the total power of the devices in the communication room to which the first standby power supply belongs is greater than the preset standard power, the total single-power-supply duration of the first standby power supply may be shortened, so that the total single-power-supply duration of the first standby power supply is less than the first preset duration.
Therefore, when the total power of the equipment in the communication room to which the first standby power supply belongs is greater than the preset standard power, the first standby power supply may enter an overload state, so that the equipment in the communication room to which the first standby power supply belongs cannot work normally.
For example, in conjunction with fig. 1, it is assumed that the total power of the devices in the communication 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 may determine that the power detection result is that the total power of the devices in the communication room to which the first backup power supply belongs is overloaded.
Optionally, when the electronic device determines that the power detection result of the first standby power supply is that the total power of the device in the communication room to which the first standby power supply belongs is overloaded, the electronic device may further calculate the power detection result of the first standby power supply in the history, where the power detection result of the first standby power supply is: the total power overload number of the equipment in the communication machine room to which the first standby power supply belongs. When the power detection result of the first standby power supply in the history record is: when the accumulated occurrence number of the total power overload of the equipment in the communication machine room to which the first standby power belongs is larger than the second preset number, the electronic equipment can output a power detection result for reminding the power supply to detect that: and alarming information that the total power overload of the equipment in the communication machine room to which the first standby power supply belongs is excessively accumulated.
For example, in connection with fig. 1, it is assumed that, in the power detection result of the first standby power supply 103 recorded by the electronic device 101, the cumulative occurrence number of "total power overload of devices in the communication room to which the first standby power supply belongs" is 10 times, and the second preset number of times is 8 times. In this case, the electronic apparatus 101 outputs a power supply detection result for reminding the first standby power supply 103 as: and alarming information that the total power overload of the equipment in the communication machine room to which the first standby power supply belongs is excessive.
Alternatively, for the four methods for determining the power detection result of the first standby power supply according to the target parameter, the embodiment of the application may use only any one of the methods for determining the power detection result of the first standby power supply according to the target parameter, or may use the multiple methods for determining the power detection result of the first standby power supply according to the target parameter, which is not limited in this embodiment of the application.
In practical applications, in order to improve the accuracy of determining the power detection result of the first standby power supply according to the target parameter, the above methods for determining the power detection result of the first standby power supply according to the target parameter are generally used simultaneously.
In some embodiments, in conjunction with fig. 5, as shown in fig. 7, the above power detection method further includes: S701-S702.
S701, the electronic equipment acquires a first alarm time and a second alarm time.
The first alarm time is used for indicating the time when the mains power outage alarm is sent. The second alarm time is used for indicating the time when the low-voltage alarm of the first standby power supply is sent.
Optionally, one implementation manner of the electronic device to obtain the first alarm time and the second alarm time is: when a large-scale power failure occurs in a single-site city where the first standby power supply is located, the first standby power supply sends a power failure warning message to the information management equipment. Then, the information management device receives the mains power outage alarm information and sends the mains power outage alarm information to the electronic device. And then, the electronic equipment receives the mains power outage alarm information sent by the information management equipment, and determines a first alarm moment according to keywords in the mains power outage alarm information.
When the output voltage of the first standby power supply reaches the low-voltage alarm threshold value, the first standby power supply sends low-voltage alarm information of the first standby power supply to the information management equipment. Then, the information management device receives the first standby power supply low voltage warning information and sends the first standby power supply low voltage warning information to the electronic device. Then, the electronic equipment receives the first standby power supply low-voltage alarm information sent by the information management equipment, and determines a second alarm moment according to keywords in the first standby power supply low-voltage alarm information.
In this case, the electronic device transmits a request to acquire the first warning moment and a request to acquire the second warning moment to the information management device. The information management device responds to a request for acquiring the first alarm time and a request for acquiring the second alarm time sent by the electronic device, and sends the first alarm time and the second alarm time to the electronic device.
For example, in conjunction with fig. 1, it is assumed that the time when the mains power outage alarm is sent out is 10 points, and the time when the first standby power low voltage alarm is sent out is 11 points. The electronic device 101 may determine that the first alert time is 10 o 'clock and the second alert time is 11 o' clock.
S702, the electronic equipment determines the difference value between the first alarming time and the second alarming time as the total time length of single power supply of the first standby power supply.
Optionally, the time when the mains power outage alarm is sent out (also referred to as the first alarm time) is the time when the communication machine room to which the first standby power belongs is powered off. And when the communication machine room to which the first standby power supply belongs is powered off, automatically switching to the first standby power supply to supply power for the communication machine room. When the first standby power supply sends out a low-voltage alarm (also called as a second alarm moment), the fact that the first standby power supply cannot continue to supply power to the communication machine room is indicated. Thus, the difference between the two times is the total length of the single power supply of the first standby power supply.
By way of example, in connection with fig. 1, it is assumed that the first warning moment is 10 o 'clock and the second warning moment is 11 o' clock. Thus, the electronic device 101 may determine that the total single power supply duration of the first standby power supply 103=11-10=1 hour.
In some embodiments, referring to fig. 7, as shown in fig. 8, when the device in the communication room to which the first standby power source belongs has n power failures within a preset period of time; the power supply detection method further comprises the following steps: S801-S804.
S801, the electronic equipment determines the moment of sending the power failure warning of the nth commercial power as a fourth warning moment.
Optionally, when the equipment in the communication machine room to which the first standby power supply belongs has n times of power failure in a preset time period, the duration that the first standby power supply does not work in the preset time period needs to be eliminated, and then the single power supply time of the first standby power supply is calculated. Therefore, the electronic device needs to select the time when the nth mains power outage alarm is sent out as the fourth alarm time.
Illustratively, in connection with fig. 1, it is assumed that the equipment in the communication room to which the first backup power supply 103 belongs is powered off twice within one hour, the first power outage is 10 points complete, and the second power outage is 10 points 30 minutes. In this case, the electronic apparatus 101 determines the fourth warning moment to be 10 points 30 minutes.
S802, the electronic equipment acquires a fifth alarming time and the duration of each power failure in n times of power failures.
The fifth alarming time is used for indicating the time when the low-voltage alarm of the first standby power supply is sent.
Optionally, the fifth alarm time and the second alarm time are consistent, and are all the times when the low-voltage alarm of the first standby power supply is sent. The specific description of the electronic device acquiring the fifth alarm time may refer to the specific description of acquiring the second alarm time in S701, which is not described herein.
Optionally, the electronic device obtains an implementation manner of a duration of each power outage in n power outages: and the network management equipment receives the data record of the duration time of each power failure in n times of power failures and sends the data record to the electronic equipment. In this case, the electronic device may acquire the duration of each of the n power outages.
For example, in conjunction with fig. 1, assume that the low voltage alarm sending time of the first standby power supply 103 is 11 minutes, and a power outage occurs twice in a communication room to which the first standby power supply 103 belongs within a preset period of time, and the first power outage ends from ten minutes to 20 minutes from ten minutes. In this case, the electronic device 101 may determine that the fifth warning moment is 11 minutes, and the electronic device 101 may also determine that the duration of the power outage is 20 minutes.
S803, the electronic device determines a difference value between the fourth alarm time and the fifth alarm time as a target value.
Optionally, the difference between the fourth alarm time and the fifth alarm time is equal to the time period between last power failure of the equipment in the communication machine room to which the first standby power supply belongs in a preset time period and failure of the first standby power supply to continue supplying power to the communication machine room. The electronic device may determine a difference between the fourth alert time and the fifth alert time as the target value.
Illustratively, in connection with FIG. 1, assume that the fourth alarm time is ten minutes and the fifth alarm time is eleven minutes. In this case, the electronic apparatus 101 may determine that the target value is 40 minutes by the difference between the fourth warning moment and the fifth warning moment.
S804, the electronic equipment determines the sum of the target value and the duration of each power failure as the total duration of single power supply of the first standby power supply.
Optionally, because the equipment in the communication machine room to which the first standby power supply belongs has n times of power failure in a preset time period, when determining the total duration of single power supply of the first standby power supply, the sum of the duration of each power failure in the n times of power failure and the target value is required to be determined as the total duration of single power supply of the first standby power supply.
Illustratively, in conjunction with FIG. 1, assume a target value of 40 minutes and a duration of 20 minutes for each of the 2 power outages. In this case, the electronic apparatus 101 may determine that the total single-power-supply duration of the first standby power supply=20+40=60 minutes.
In some embodiments, in conjunction with fig. 8, as shown in fig. 9, the backup power device to which the first backup power source belongs further includes a second backup power source; the power supply detection method further comprises the following steps: S901-S903.
And S901, the electronic equipment acquires the total time length of single power supply of the standby power supply equipment.
Optionally, the second backup power source includes, but is not limited to: fuel generator power, natural gas generator power, solar generator power and wind generator power.
Alternatively, the total duration of single power supply of the standby power supply device may be the sum of duration of continuous power supply of the standby power supply.
Optionally, one implementation manner in which the electronic device obtains a total duration of a single power supply of the standby power supply device is as follows: the electronic device obtains the time when the device power-off alarm in the communication machine room is sent out (may also be called as the third alarm time). And then, the electronic equipment determines the total time length of single power supply of the standby power supply equipment according to the difference value of the first alarm time and the third alarm time.
For example, with reference to fig. 1, assume that the electronic device 101 obtains that the time when the device power outage alarm is sent out in the communication room is 12 o 'clock, and the time when the mains power outage alarm is sent out is 10 o' clock. In this case, the electronic apparatus 101 may determine the total single power supply duration=12-10=2 hours of the standby power supply apparatuses (i.e., the first standby power supply 103 and the second standby power supply 104).
S902, the electronic device determines a difference value between the total single power supply duration of the standby power supply device and the total single power supply duration of the first standby power supply as the total single power supply duration of the second standby power supply.
Optionally, the backup power source includes: a first backup power source and a second backup power source. Thus, the total single-power-supply duration of the standby power supply is the sum of the total single-power-supply duration of the first standby power supply and the total single-power-supply duration of the second standby power supply. In this case, the electronic device may determine a difference between the total single-power-supply duration of the standby power supply device and the total single-power-supply duration of the first standby power supply as the total single-power-supply duration of the second standby power supply.
Illustratively, in connection with fig. 1, it is assumed that the total duration of the single power supply of the standby power supply devices (i.e., the first standby power supply 103 and the second standby power supply 104) is 2 hours, and the total duration of the single power supply of the first standby power supply 103 is 1 hour. In this case, the electronic device 101 may determine that the total single power supply duration of the second standby power supply 104=2-1=1 hour.
And S903, when the total single power supply duration of the second standby power supply is smaller than the second preset duration, the electronic equipment outputs alarm information for indicating that the second standby power supply has faults.
Optionally, the second preset duration may be a preset minimum duration that the second standby power supply needs to maintain.
Optionally, when the total duration of single power supply of the second standby power supply is less than the second preset duration, it is indicated that the second standby power supply may have a fault. Accordingly, the electronic device outputs alarm information indicating that the second standby power source has a fault.
For example, in conjunction with fig. 1, it is assumed that the total duration of the single power supply of the second standby power supply 104 is 1 hour, and the second preset duration is two hours. In this case, the electronic apparatus 101 outputs alarm information indicating that the second standby power supply 104 has failed.
In some embodiments, as shown in fig. 10 in connection with fig. 9, in S901, a method for obtaining, by an electronic device, a total duration of single power supply of a standby power supply device specifically includes: S1001-S1002.
S1001, the electronic equipment acquires a third alarm time.
The third alarm time is used for indicating the time when the equipment power-off alarm in the communication machine room is sent.
Optionally, one implementation manner of the electronic device to obtain the third alarm time is: when equipment in the communication machine room to which the standby power supply equipment belongs is powered off, the standby power supply equipment sends equipment power-off alarm information in the communication machine room to the information management equipment. And then, after the information management equipment receives the equipment outage alarm information in the communication equipment room, the electronic equipment determines a third alarm time according to the keywords in the equipment outage alarm information in the communication equipment room through the information management equipment. In this case, the electronic device transmits a request to acquire the third warning moment to the information management device. The information management device responds to a request for acquiring the first alarm time sent by the electronic device and sends a third alarm time to the electronic device.
Illustratively, in connection with fig. 1, the time when the power-off alarm of the equipment in the communication room to which the standby power supply equipment (i.e., the first standby power supply 103 and the second standby power supply 104) belongs is set to be 12 o' clock. In this case, the electronic device 101 may determine that the third warning moment is 12 o' clock.
S1002, the electronic device determines the difference value between the third alarming time and the first alarming time as the total time length of single power supply of the standby power supply device.
Optionally, the third alarm time is a time when a power-off alarm of equipment in the communication machine room is sent, and the first alarm time is a time when a power failure alarm of the mains supply is sent. Because the equipment in the communication machine room is powered by the standby power supply corresponding to the communication machine room from the moment of sending the power failure alarm of the commercial power. And the time when the equipment in the communication machine room is powered off is the time when the standby power supply cannot continuously supply power to the equipment in the communication machine room. In summary, the difference between the first alarm time and the third alarm time is the total single power supply time length of the standby power supply equipment corresponding to the communication machine room.
Illustratively, with reference to FIG. 1, assume that the first alarm time is 10 points in size and the third alarm time is 12 points in size. In this case, the electronic apparatus 101 may determine that the total single power supply duration of the standby power supply apparatuses (i.e., the first standby power supply 103 and the second standby power supply 104) =12-10=2 hours.
In some embodiments, in conjunction with fig. 10, as shown in fig. 11, the above power detection method further includes: s1101.
And S1101, outputting alarm information for indicating that the standby power supply equipment has faults by the electronic equipment when the total single power supply duration of the standby power supply equipment is smaller than the third preset duration.
Optionally, the third preset duration may be a preset minimum duration that the standby power device needs to maintain. And when the total single power supply duration of the standby power supply equipment is smaller than the third preset duration, indicating that the standby power supply equipment may have faults.
For example, in conjunction with fig. 1, assuming that the total duration of single power supply of the standby power supply devices (i.e., the first standby power supply 103 and the second standby power supply 104) is 2 hours, the third preset duration is 4 hours, the electronic device 101 determines that the total duration of single power supply of the standby power supply device is less than the third preset duration, and outputs alarm information for indicating that the standby power supply device has a fault.
The foregoing description of the solution provided by the embodiments of the present application has been mainly presented in terms of a method. To achieve the above functions, it includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application can divide the functional modules of the power supply detection device according to the method example, for example, each functional module can be divided corresponding to each function, or two or more functions can be integrated in one processing module. The integrated modules may be implemented in hardware or in software functional modules. Optionally, the division of the modules in the embodiment of the present application is schematic, which is merely a logic function division, and other division manners may be implemented in practice.
Fig. 12 is a schematic structural diagram of a power detection device according to an embodiment of the present application. The power detection apparatus may be used to perform the method of power detection shown in fig. 4-11. The power supply detection apparatus shown in fig. 12 includes: an acquisition unit 1201, a determination unit 1202, and an output unit 1203.
The obtaining unit 1201 is configured to obtain a target parameter when a total single power supply duration of the first standby power supply is less than a first preset duration; the target parameters include: at least one of a low voltage warning threshold value of the first standby power supply, total power of equipment in a communication machine room to which the first standby power supply belongs, and standard power supply capacity of the first standby power supply; a determining unit 1202, configured to determine a power detection result of the first standby power according to the target parameter.
Optionally, the determining unit 1202 is specifically configured to: when the low-voltage alarm threshold is larger than a preset alarm threshold, determining that the power supply detection result is that the low-voltage alarm threshold is set incorrectly; and/or when the standard power supply capacity is smaller than the power supply capacity corresponding to the total power required by the equipment in the communication machine room, determining that the power supply detection result is that the standard power supply capacity of the first standby 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 machine room, determining that the power supply detection result is that the actual power supply capacity of the first standby power supply is insufficient; and/or when the total power of the equipment in the communication machine room to which the first standby power supply belongs is greater than the preset standard power, determining that the power supply detection result is that the total power of the equipment in the communication machine room to which the first standby power supply belongs is overloaded.
Optionally, the acquiring unit 1201 is further configured to acquire a first alarm time and a second alarm time; the first alarm time is used for indicating the time when the mains power outage alarm is sent; the second alarm time is used for indicating the time when the low-voltage alarm of the first standby power supply is sent; the determining unit 1202 is further configured to determine a difference between the first alarm time and the second alarm time as a total duration of single power supply of the first standby power supply.
Optionally, when the equipment in the communication machine room to which the first standby power supply belongs has n times of power outage within a preset time period, the determining unit 1202 is further configured to determine a time when the nth time of power outage alarm is sent as a fourth alarm time; the obtaining unit 1201 is further configured to obtain a fifth alarm time and a duration of each power outage in the n power outages; the fifth alarming moment is used for indicating the moment when the low-voltage alarm of the first standby power supply is sent; a determining unit 1202, configured to determine a difference between the fourth alarm time and the fifth alarm time as a target value; the determining unit 1202 is further configured to determine a total duration of single power supply of the first standby power supply as a total duration of each power outage and a target value.
Optionally, the standby power supply device to which the first standby power supply belongs further includes a second standby power supply; the power supply detection apparatus further includes: an output unit 1203; an obtaining unit 1201, configured to obtain a total single power supply duration of the standby power supply device; a determining unit 1202, configured to determine a difference between a total duration of single power supply of the standby power supply device and a total duration of single power supply of the first standby power supply as a total duration of single power supply of the second standby power supply; the output unit 1203 is configured to output alarm information for indicating that the second standby power supply has a fault when the total duration of single power supply of the second standby power supply is less than the second preset duration.
Optionally, the acquiring unit 1201 is specifically configured to: acquiring a third alarm time; the third alarm time is used for indicating the time when the equipment power-off alarm in the communication machine room is sent out; and determining the difference value between the third alarm time and the first alarm time as the total time length of single power supply of the standby power supply equipment.
Optionally, the output unit 1203 is further configured to output alarm information for indicating that the standby power supply device has a fault when a total duration of single power supply of the standby power supply device is less than a third preset duration.
The embodiment of the application also provides a computer readable storage medium, which comprises computer execution instructions, when the computer execution instructions run on a computer, the computer is caused to execute the power supply detection method provided by the embodiment.
The embodiment of the application also provides a computer program which can be directly loaded into a memory and contains software codes, and the computer program can realize the power supply detection method provided by the embodiment after being loaded and executed by a computer.
Those skilled in the art will appreciate that in one or more of the examples described above, the functions described in the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, these functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer-readable storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and, for example, the division of modules or units is merely a logical function division, and other manners of division may be implemented in practice. For example, multiple units or components may be combined or may be integrated into another device, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form. The units described as separate parts may or may not be physically separate, and the parts shown as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units. The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
The present application is not limited to the above embodiments, and any changes or substitutions that can be easily understood by those skilled in the art within the technical scope of the present application are intended to be included in the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (10)

1. A power supply detection method, comprising:
when the total single power supply duration of the first standby power supply is smaller than a first preset duration, acquiring target parameters; the target parameters include: at least one of a low voltage alarm threshold value of the first standby power supply, total power of equipment in a communication machine room to which the first standby power supply belongs, and standard power supply capacity of the first standby power supply;
and determining a power supply detection result of the first standby power supply according to the target parameter.
2. The power detection method according to claim 1, wherein the determining the power detection result of the first standby power according to the target parameter includes:
when the low-voltage alarm threshold is larger than a preset alarm threshold, determining that the power supply detection result is the low-voltage alarm threshold setting error;
and/or when the standard power supply capacity is smaller than the power supply capacity corresponding to the total power required by the equipment in the communication machine room, determining that the power supply detection result is that the standard power supply capacity of the first standby 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 machine room, determining that the power supply detection result is that the actual power supply capacity of the first standby power supply is insufficient;
And/or when the total power of the equipment in the communication equipment room to which the first standby power supply belongs is greater than the preset standard power, determining that the power supply detection result is that the total power of the equipment in the communication equipment room to which the first standby power supply belongs is overloaded.
3. The power supply detection method according to claim 1, characterized by further comprising:
acquiring a first alarm time and a second alarm time; the first alarm time is used for indicating the time when the mains power outage alarm is sent; the second alarm time is used for indicating the time when the low-voltage alarm of the first standby power supply is sent;
and determining the difference value of the first alarming time and the second alarming time as the total time length of single power supply of the first standby power supply.
4. The power supply detection method according to claim 1, wherein when the equipment in the communication room to which the first standby power supply belongs has n power failures within a preset period of time, further comprising:
determining the moment of sending out the power outage alarm of the nth time as the fourth alarm moment;
acquiring a fifth alarm moment and the duration of each power failure in the n times of power failures; the fifth alarming moment is used for indicating the moment when the low-voltage alarm of the first standby power supply is sent;
Determining the difference value between the fourth alarm time and the fifth alarm time as a target value;
and determining the sum of the target value and the duration of each power failure as the total duration of single power supply of the first standby power supply.
5. The power supply detection method according to claim 3 or 4, wherein the backup power supply apparatus to which the first backup power supply belongs further includes a second backup power supply; the power supply detection method further comprises the following steps:
acquiring the total time length of single power supply of the standby power supply equipment;
determining a difference value between the total single power supply duration of the standby power supply equipment and the total single power supply duration of the first standby power supply as the total single power supply duration of the second standby power supply;
and outputting alarm information for indicating that the second standby power supply has faults when the total single power supply duration of the second standby power supply is smaller than a second preset duration.
6. The power detection method according to claim 5, wherein the obtaining the total duration of single power supply of the standby power supply device includes:
acquiring a third alarm time; the third alarm time is used for indicating the time when the equipment power-off alarm in the communication machine room is sent out;
And determining the difference value between the third alarming time and the first alarming time as the total time length of single power supply of the standby power supply equipment.
7. The power supply detection method according to claim 5, further comprising:
and outputting alarm information for indicating that the standby power supply equipment has faults when the total single power supply duration of the standby power supply equipment is smaller than a third preset duration.
8. A power supply detection apparatus, comprising: an acquisition unit and a determination unit;
the acquisition unit is used for acquiring target parameters when the total single power supply duration of the first standby power supply is smaller than a first preset duration; the target parameters include: at least one of a low voltage alarm threshold value of the first standby power supply, total power of equipment in a communication machine room to which the first standby power supply belongs, and standard power supply capacity of the first standby power supply;
the determining unit is used for determining a power supply detection result of the first standby power supply according to the target parameter.
9. A power supply detection device, which is characterized by comprising a memory and a processor; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus; when the power detection apparatus is operated, the processor executes the computer-executable instructions stored in the memory to cause the power detection apparatus to perform the power detection method as claimed in any one of claims 1 to 7.
10. A computer readable storage medium comprising computer executable instructions which, when run on a computer, cause the computer to perform the power supply detection method of any one of claims 1-7.
CN202310879066.1A 2023-07-17 2023-07-17 Power supply detection method, device and storage medium Pending CN116879792A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310879066.1A CN116879792A (en) 2023-07-17 2023-07-17 Power supply 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 Power supply 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 Power supply detection method, device and storage medium

Country Status (1)

Country Link
CN (1) CN116879792A (en)

Similar Documents

Publication Publication Date Title
US10044211B2 (en) Battery pack and method of controlling the same
TWI654812B (en) Method, apparatus, and system for power source failure prediction
US8847543B2 (en) Secondary battery charging device and secondary battery charging system
EP3546961B1 (en) Battery leakage current detection method, device and circuit
US10901046B2 (en) Information processing apparatus, control method, and program
US10283987B1 (en) Dynamic adjustment of capacity threshold for a battery unit
CN111679206A (en) Electric quantity detection method and device, and storage medium
JP7503044B2 (en) Smart battery device and its electronic devices
CN115113719A (en) Low-power startup method, device, equipment and computer readable storage medium
CN112636406B (en) Battery management method and device for uninterruptible power supply
US11846677B2 (en) Method and apparatus for monitoring battery backup unit, server, and readable storage medium
CN110875610A (en) Electronic equipment power supply method and device, electronic equipment and storage medium
WO2024041256A1 (en) Battery pack connection control method and apparatus, device, and storage medium
CN116819335A (en) Battery life prediction method, device, computer equipment and storage medium
CN116879792A (en) Power supply detection method, device and storage medium
CN113507154B (en) Charging method and device, charger and electronic equipment
CN111505432A (en) Parameter simulation circuit, battery management device, and control method for battery management device
CN104679133A (en) Computer device
CN1357956A (en) Charger with energy detector
US11360531B1 (en) Redeployment of energy storage units
EP4383510A2 (en) Power supply management system, battery management method, power system, and power device
TWM526686U (en) Battery monitoring module for vehicle, battery module and vehicle thereof
TWI601968B (en) Battery monitoring module for vehicle, monitoring method, battery module and vehicle thereof
CN117134437A (en) Battery management system and battery management method
CN118214113A (en) Power supply control method for electronic equipment, electronic equipment and storage 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