A simulation test method, device, equipment and medium for uninterruptible power supply

The circuit information and fault information of the UPS are obtained through simulation tests, and the accurate simulation and fault prediction of the UPS circuit status are achieved, which solves the problem of low UPS fault repair efficiency in the prior art, and improves management efficiency and fault response capabilities.

CN116153171BActive Publication Date: 2024-12-10上海玖道信息科技股份有限公司
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202310087597.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-19
Publication Date
2024-12-10
Estimated Expiration
2043-01-19

AI Technical Summary

Technical Problem

In the prior art, the fault maintenance of uninterruptible power supplies (UPS) relies on manual operation, is inefficient, and has high technical requirements for operators, making it difficult to achieve fast and accurate fault response and management.

Method used

Through simulation testing methods, UPS power circuit information, fault simulation information and load simulation information are obtained and analyzed, and the supply circuit information and predicted discharge time are determined, so as to realize accurate simulation and fault prediction of UPS circuit status.

Benefits of technology

It improves the management efficiency of UPS, can respond to circuit failures in a timely manner, reduces the complexity and time of manual operation, and improves the operating reliability of UPS.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116153171B_ABST
    Figure CN116153171B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a simulation test method, device, equipment and medium for an uninterruptible power supply. The method includes: in response to a data acquisition request, determining the power circuit information of the uninterruptible power supply to be tested at the current moment; the power circuit information is used to describe the internal circuit structure of the uninterruptible power supply to be tested; in response to a fault simulation request, obtaining the fault simulation information of the uninterruptible power supply to be tested, and determining the transfer circuit information of the uninterruptible power supply to be tested according to the fault simulation information and the power circuit information; the transfer circuit information is used to simulate the internal circuit structure of the uninterruptible power supply to be tested after adjustment and update when a circuit fault occurs; in response to a discharge duration prediction request, obtaining the load simulation information of the uninterruptible power supply to be tested, and determining the predicted discharge duration of the uninterruptible power supply to be tested according to the load simulation information and the power circuit information. The technical solution can accurately simulate the circuit state and operation of the uninterruptible power supply and improve the management efficiency of the uninterruptible power supply.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a simulation test method, device, equipment and medium for an uninterruptible power supply. Background Art

[0002] Uninterruptible Power Supply (UPS) is an indispensable component in the power supply system, and the monitoring of UPS is also an indispensable part of the power supply operation and maintenance system. In the prior art, when a circuit failure occurs in the UPS, professional technicians usually perform manual maintenance. The manual maintenance method requires a lot of manual operation and has high technical requirements for the operator, so the operation is complicated and inefficient. By performing simulation tests on the UPS, managers can intuitively see the circuit simulation status of the UPS under different working conditions, so as to better understand the operation of the UPS, so that managers can predict the power transfer plan and response measures when a UPS failure occurs in advance, which helps to improve the management efficiency of the UPS. Summary of the invention

[0003] The present invention provides a simulation test method, device, equipment and medium for an uninterruptible power supply, which can accurately simulate the circuit state and operation status of the uninterruptible power supply through simulation testing, so as to promptly respond to circuit failures of the uninterruptible power supply, thereby helping to improve the management efficiency of the uninterruptible power supply.

[0004] According to one aspect of the present invention, a simulation test method for an uninterruptible power supply is provided, the method comprising:

[0005] In response to the data acquisition request, determining the power circuit information of the uninterruptible power supply to be tested at the current moment; wherein the power circuit information is used to describe the internal circuit structure of the uninterruptible power supply to be tested;

[0006] In response to a fault simulation request, acquiring fault simulation information of the uninterruptible power supply to be tested, and determining the transfer circuit information of the uninterruptible power supply to be tested according to the fault simulation information and the power circuit information; wherein the transfer circuit information is used to simulate the internal circuit structure of the uninterruptible power supply to be tested after adjustment and update when a circuit fault occurs;

[0007] In response to a discharge duration prediction request, load simulation information of the uninterruptible power supply to be tested is acquired, and a predicted discharge duration of the uninterruptible power supply to be tested is determined according to the load simulation information and the power circuit information.

[0008] According to another aspect of the present invention, there is provided a simulation test device for an uninterruptible power supply, comprising:

[0009] A power circuit information determination module, used to determine the power circuit information of the uninterruptible power supply to be tested at the current moment in response to a data acquisition request; wherein the power circuit information is used to describe the internal circuit structure of the uninterruptible power supply to be tested;

[0010] A transfer circuit information determination module is used to obtain the fault simulation information of the uninterruptible power supply to be tested in response to the fault simulation request, and determine the transfer circuit information of the uninterruptible power supply to be tested according to the fault simulation information and the power circuit information; wherein the transfer circuit information is used to simulate the internal circuit structure of the uninterruptible power supply to be tested after adjustment and update when a circuit fault occurs;

[0011] The predicted discharge duration determination module is used to obtain the load simulation information of the uninterruptible power supply to be tested in response to the discharge duration prediction request, and determine the predicted discharge duration of the uninterruptible power supply to be tested according to the load simulation information and the power circuit information.

[0012] According to another aspect of the present invention, there is provided an electronic device for simulating testing of an uninterruptible power supply, the electronic device comprising:

[0013] at least one processor; and

[0014] a memory communicatively connected to the at least one processor; wherein,

[0015] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the simulation test method for the uninterruptible power supply described in any embodiment of the present invention.

[0016] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, wherein the computer instructions are used to enable a processor to implement the uninterruptible power supply simulation test method described in any embodiment of the present invention when executed.

[0017] The technical solution of the embodiment of the present invention, in response to a data acquisition request, determines the power circuit information of the uninterruptible power supply to be tested at the current moment; wherein the power circuit information is used to describe the internal circuit structure of the uninterruptible power supply to be tested; in response to a fault simulation request, obtains the fault simulation information of the uninterruptible power supply to be tested, and determines the transfer circuit information of the uninterruptible power supply to be tested according to the fault simulation information and the power circuit information; wherein the transfer circuit information is used to simulate the internal circuit structure of the uninterruptible power supply to be tested after adjustment and update when a circuit fault occurs; in response to a discharge time prediction request, obtains the load simulation information of the uninterruptible power supply to be tested, and determines the predicted discharge time of the uninterruptible power supply to be tested according to the load simulation information and the power circuit information. This technical solution can accurately simulate the circuit state and operation of the uninterruptible power supply through simulation testing, so as to respond to the circuit fault of the uninterruptible power supply in a timely manner, which helps to improve the management efficiency of the uninterruptible power supply.

[0018] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 is a flow chart of a simulation test method for an uninterruptible power supply provided according to Embodiment 1 of the present invention;

[0021] Figure 2 is a flow chart of a simulation test method for an uninterruptible power supply provided according to a second embodiment of the present invention;

[0022] Figure 3 is a schematic structural diagram of a simulation test device for an uninterruptible power supply provided in accordance with a third embodiment of the present invention;

[0023] Figure 4 The present invention is a schematic diagram of the structure of an electronic device for implementing a simulation test method for an uninterruptible power supply according to an embodiment of the present invention. DETAILED DESCRIPTION

[0024] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0025] It should be noted that the terms "first", "second", "target", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0026] Embodiment 1

[0027] Figure 1 This is a flow chart of a simulation test method for an uninterruptible power supply provided in the first embodiment of the present invention. This embodiment is applicable to the case of accurately performing simulation tests on uninterruptible power supplies. The method can be performed by a simulation test device for an uninterruptible power supply. The simulation test device for an uninterruptible power supply can be implemented in the form of hardware and / or software. The simulation test device for an uninterruptible power supply can be configured in an electronic device with data processing capabilities. Figure 1 As shown, the method includes:

[0028] S110, in response to a data acquisition request, determining power circuit information of the uninterruptible power supply to be tested at a current moment; wherein the power circuit information is used to describe an internal circuit structure of the uninterruptible power supply to be tested.

[0029] The technical solution of this embodiment can be executed by a background server, wherein the server can interact with the client through a browser. Among them, the data acquisition request can refer to an operation instruction requesting to obtain data related to the uninterruptible power supply to be tested. Among them, there are two ways to obtain the data acquisition request, one is to send a data acquisition request through the client, and the other is to send a data acquisition request through the server itself. Specifically, the client can send a data acquisition request to the server through a browser or HTTP (HyperText Transfer Protocol); and the server can trigger the data acquisition request based on a preset detection cycle, wherein the preset detection cycle can be set according to actual needs. The uninterruptible power supply to be tested can refer to an uninterruptible power supply waiting to be detected. Among them, the uninterruptible power supply refers to a system device that converts direct current into mains power through a host connected to a battery, which can be used to provide uninterruptible power supply for devices with high requirements for power supply stability. The power supply circuit information can be used to describe the internal circuit structure of the uninterruptible power supply to be tested. Exemplarily, the power supply circuit information can be presented in the form of a power supply circuit diagram, wherein the power supply circuit diagram can be drawn by a circuit diagram editor, and the power supply circuit diagram can include component states and connection relationships between components. The component status may include the on / off status and parameter data. For example, when the component is a switch, the component status is the switch closed or the switch open; when the component is a voltmeter or an ammeter, the component status is the corresponding voltage value or current value; when the component is a battery, the component status is the battery charging or discharging.

[0030] In this embodiment, when the service end detects a data acquisition request, the power circuit information of the uninterruptible power supply to be tested at the current moment is first determined. Optionally, determining the power circuit information of the uninterruptible power supply to be tested at the current moment includes: determining the attribute information of the uninterruptible power supply to be tested at the current moment; wherein the attribute information is used to describe the internal component state and the internal component connection relationship of the uninterruptible power supply to be tested; determining the power circuit information of the uninterruptible power supply to be tested at the current moment according to the preset circuit structure and the attribute information; wherein the preset circuit structure is determined according to the internal components of the uninterruptible power supply to be tested.

[0031] Among them, the attribute information is used to describe the internal component status and internal component connection relationship of the uninterruptible power supply to be tested. The preset circuit structure may refer to a preset internal circuit structure of the uninterruptible power supply to be tested, which can be determined based on the internal components of the uninterruptible power supply to be tested. It should be noted that for the same uninterruptible power supply, the internal component composition is fixed, and only the internal component's own status and / or connection relationship changes. When the internal component's own status and / or connection relationship of the uninterruptible power supply to be tested changes, it is only necessary to render and adjust the component status and / or connection relationship in the preset circuit structure according to the changed internal component parameter information, so as to quickly and accurately determine the power circuit information of the uninterruptible power supply to be tested at the current moment. Among them, the internal component parameter information may include component objects and component status.

[0032] In this embodiment, when determining the power circuit information of the uninterruptible power supply to be tested at the current moment, the attribute information of the uninterruptible power supply to be tested at the current moment is first determined. Optionally, determining the attribute information of the uninterruptible power supply to be tested at the current moment includes: obtaining internal component acquisition information of the uninterruptible power supply to be tested at the current moment; determining the attribute information of the uninterruptible power supply to be tested at the current moment according to the internal component acquisition information and a preset mapping table; wherein the preset mapping table is used to describe the mapping relationship between the internal component acquisition information of the uninterruptible power supply and the internal component attribute information.

[0033] The internal component acquisition information may refer to the internal component parameter information obtained by collecting data from the uninterruptible power supply to be tested. Exemplarily, the internal component acquisition information may be obtained through a SCADA (Supervisory Control And Data Acquisition) system. The SCADA system is a computer-based distributed control system and power automation monitoring system, which is widely used for data acquisition, monitoring control and process control in the fields of electricity, metallurgy, petroleum, chemical industry, gas, railways, etc. The preset mapping table may be used to describe the mapping relationship between the internal component acquisition information of the uninterruptible power supply and the internal component attribute information.

[0034] In this embodiment, the attribute information of the uninterruptible power supply to be tested at the current moment can be determined based on a preset mapping table. Specifically, after obtaining the internal component acquisition information of the uninterruptible power supply to be tested at the current moment, the internal component acquisition information of the uninterruptible power supply to be tested is matched according to the preset mapping table, the internal component acquisition information successfully matched in the preset mapping table is used as the target acquisition information, and the internal component attribute information having a mapping relationship with the target acquisition information is determined as the attribute information of the uninterruptible power supply to be tested at the current moment. Exemplarily, the matching can be performed in a similarity calculation manner, and a group of data with the largest similarity is selected to be considered as a successful match. Then, according to the attribute information of the uninterruptible power supply to be tested at the current moment, the component state (such as switch opening and closing, battery charging and discharging) and / or connection relationship in the preset circuit structure are adjusted, and the current direction, voltage and current value and power supply range in the adjusted circuit structure are calculated, so as to determine the power circuit information of the uninterruptible power supply to be tested at the current moment, and then the power circuit information is sent to the client through the browser. It should be noted that in this embodiment, there is no limitation on the similarity calculation method, which can be set according to actual needs. For example, the similarity may be calculated based on the Pearson correlation coefficient, the Euclidean distance, or the Manhattan distance.

[0035] Through such a setting, the present solution can quickly and accurately determine the attribute information of the uninterruptible power supply to be tested at the current moment based on the preset mapping table, so as to subsequently quickly and accurately determine the power circuit information of the uninterruptible power supply to be tested at the current moment according to the attribute information and the preset circuit structure.

[0036] In this embodiment, optionally, the process of determining the preset circuit structure includes: determining candidate internal components of the uninterruptible power supply to be tested based on the internal component composition information of the uninterruptible power supply to be tested; selecting the candidate internal components through a circuit diagram editor, and adding connections to the candidate internal components based on the historical power circuit information of the uninterruptible power supply to be tested at historical moments; and determining the preset circuit structure of the uninterruptible power supply to be tested based on the connection results of the candidate internal components.

[0037] Among them, the internal component composition information can be used to characterize the internal component composition of the uninterruptible power supply to be tested, that is, to reflect which components are composed of the uninterruptible power supply to be tested. The historical power circuit information can refer to the power circuit information of the uninterruptible power supply to be tested at a historical moment. The candidate internal components can refer to the component objects determined according to the internal component composition information of the uninterruptible power supply to be tested. The circuit diagram editor can be used to draw the power circuit diagram of the uninterruptible power supply to be tested. Among them, the circuit diagram editor can provide basic electrical component icons, and the power circuit diagram can be quickly drawn by dragging, clicking and connecting operations. For example, the circuit diagram editor can be an editor based on WEBGL (Web Graphics Library). Among them, WEBGL is a 3D drawing protocol. In addition, the circuit diagram editor can also support user-defined electrical component icons, and the icon customization can be realized by setting the icon execution logic. Exemplarily, for a customized switch icon, it can be set to 1 for a closed switch and 0 for a disconnected switch.

[0038] In this embodiment, first, based on the internal component composition information of the uninterruptible power supply to be tested, determine which components the uninterruptible power supply to be tested is composed of, and all these components are determined as candidate internal components of the uninterruptible power supply to be tested. Then, select the candidate internal components from the component toolbar through the circuit diagram editor, and add connections to the candidate internal components based on the historical power circuit information of the uninterruptible power supply to be tested at historical moments. According to the connection results of the candidate internal components, the corresponding power circuit diagram is determined as the preset circuit structure of the uninterruptible power supply to be tested. It should be noted that, usually, uninterruptible power supplies of different models have different internal component composition information. Therefore, in order to effectively distinguish the uninterruptible power supply, the model information of the uninterruptible power supply can be bound to the preset circuit structure, and the corresponding relationship between the uninterruptible power supply and the preset circuit structure can be quickly and accurately determined based on the binding relationship, thereby ensuring the accuracy of the test data.

[0039] S120, in response to a fault simulation request, obtaining fault simulation information of the uninterruptible power supply to be tested, and determining the transfer circuit information of the uninterruptible power supply to be tested based on the fault simulation information and the power circuit information; wherein the transfer circuit information is used to simulate the internal circuit structure of the uninterruptible power supply to be tested after adjustment and update when a circuit fault occurs.

[0040] Among them, the fault simulation request may refer to an operation instruction requesting a fault simulation for the uninterruptible power supply to be tested. The fault simulation information may refer to relevant parameter information for the fault simulation of the uninterruptible power supply to be tested. For example, the fault simulation information may include a fault simulation object and a fault simulation type. Among them, the fault simulation object may include a switch, a battery or a load. The fault simulation type may include connection or disconnection. The transfer circuit information may be used to simulate the internal circuit structure of the uninterruptible power supply to be tested after adjustment and update in which a circuit fault occurs.

[0041] In this embodiment, when the server detects a fault simulation request sent by the client, it first obtains the fault simulation information of the uninterruptible power supply to be tested (including the fault simulation object and the fault simulation type) from the fault simulation request, and then adjusts the component status and connection relationship in the power circuit information according to the fault simulation information, thereby determining the transfer circuit information of the uninterruptible power supply to be tested. Optionally, determining the transfer circuit information of the uninterruptible power supply to be tested according to the fault simulation information and the power circuit information includes: determining the internal component status simulation information of the uninterruptible power supply to be tested according to the preset state database and the fault simulation information; wherein the preset state database is used to describe the mapping relationship between the fault information of the uninterruptible power supply and the internal component status information; determining the transfer circuit information of the uninterruptible power supply to be tested according to the internal component status simulation information and the power circuit information.

[0042] Among them, the preset state database can be used to describe the mapping relationship between the fault information of the uninterruptible power supply and the internal component state information. Specifically, the preset state database can be established based on the fault information of various types of uninterruptible power supplies at historical moments and their corresponding internal component state information. The internal component state simulation information can refer to the internal component state information obtained by performing a fault simulation on the uninterruptible power supply to be tested, and can be used to describe the internal component state of the uninterruptible power supply to be tested after a fault occurs.

[0043] In this embodiment, when an uninterruptible power supply fails, in order not to affect normal use, it is necessary to promptly determine the changes in the properties of the internal components of the uninterruptible power supply and its corresponding power transfer scheme, so as to perform normal power supply use according to the power transfer scheme. Therefore, a fault simulation test can be used to help management personnel predict in advance the power transfer scheme and response measures of the uninterruptible power supply after a failure occurs, so as to promptly respond to the circuit failure of the uninterruptible power supply. Specifically, after the server obtains the fault simulation information, the internal component state simulation information of the uninterruptible power supply to be tested is first determined based on the preset state database and the fault simulation information, and then the power circuit information is adaptively updated and adjusted based on the internal component state simulation information, thereby determining the power transfer circuit information of the uninterruptible power supply to be tested, and sending the power transfer circuit information to the client through the browser.

[0044] In this embodiment, optionally, determining the internal component state simulation information of the uninterruptible power supply to be tested based on a preset state database and fault simulation information includes: determining the similarity between each candidate fault information in the preset state database and the fault simulation information, and determining the internal component state simulation information of the uninterruptible power supply to be tested based on the similarity result.

[0045] Among them, the candidate fault information may refer to any fault information in the preset state database. In this embodiment, the internal component state simulation information of the uninterruptible power supply to be tested may be determined based on the similarity method. Specifically, the similarity between each candidate fault information and the fault simulation information in the preset state database is calculated respectively, and the candidate fault information with the greatest similarity is used as the target fault information according to the similarity result, and the internal component state information in the preset state database that has a mapping relationship with the target fault information is determined as the internal component state simulation information of the uninterruptible power supply to be tested.

[0046] Through such a configuration, the present solution can quickly and accurately determine the internal component state simulation information of the uninterruptible power supply to be tested based on the preset state database, so as to determine the transfer circuit information of the uninterruptible power supply to be tested according to the internal component state simulation information.

[0047] S130, in response to the discharge duration prediction request, obtaining load simulation information of the uninterruptible power supply to be tested, and determining the predicted discharge duration of the uninterruptible power supply to be tested according to the load simulation information and the power circuit information.

[0048] The discharge duration prediction request may refer to an operation request for predicting the discharge duration of a battery in an uninterruptible power supply to be tested. The load simulation information may refer to load related information obtained through load simulation. Exemplarily, the load simulation information may include load objects, load quantity, load power, etc.

[0049] In this embodiment, when the server detects a discharge time prediction request sent by the client, it first obtains the load simulation information (including load object, load quantity and load power, etc.) of the uninterruptible power supply to be tested from the discharge time prediction request, and then determines the predicted discharge time of the uninterruptible power supply to be tested based on the load simulation information and the power circuit information, so as to predict the discharge time of the storage battery in the uninterruptible power supply to be tested. Optionally, determining the predicted discharge time of the uninterruptible power supply to be tested based on the load simulation information and the power circuit information includes: performing load simulation on the uninterruptible power supply to be tested based on the load simulation information and the power circuit information to obtain working circuit simulation information; determining the predicted discharge time of the uninterruptible power supply to be tested based on the working circuit simulation information and the load simulation information.

[0050] Among them, the working circuit simulation information may refer to the overall circuit information obtained through load simulation, which may specifically include power circuit information and load simulation information. In this embodiment, firstly, load simulation is performed on the uninterruptible power supply to be tested according to the load simulation information and the power circuit information, and it is determined which loads (i.e., terminal power-consuming devices) are connected to the power circuit diagram, thereby obtaining the working circuit simulation information. Then, the working circuit simulation information is adjusted according to the load simulation information, and then the predicted discharge duration of the uninterruptible power supply to be tested is determined according to the battery capacity in the uninterruptible power supply to be tested and the number of loads and load power in the load simulation information, and the predicted discharge duration is sent to the client through the browser.

[0051] Through such a setting, the present scheme can quickly and accurately determine the predicted discharge duration of the uninterruptible power supply to be tested according to the load simulation information and power circuit information of the uninterruptible power supply to be tested, so as to timely adjust and process the uninterruptible power supply to be tested according to the predicted discharge duration.

[0052] The technical solution of the embodiment of the present invention, in response to a data acquisition request, determines the power circuit information of the uninterruptible power supply to be tested at the current moment; wherein the power circuit information is used to describe the internal circuit structure of the uninterruptible power supply to be tested; in response to a fault simulation request, obtains the fault simulation information of the uninterruptible power supply to be tested, and determines the transfer circuit information of the uninterruptible power supply to be tested according to the fault simulation information and the power circuit information; wherein the transfer circuit information is used to simulate the internal circuit structure of the uninterruptible power supply to be tested after adjustment and update when a circuit fault occurs; in response to a discharge time prediction request, obtains the load simulation information of the uninterruptible power supply to be tested, and determines the predicted discharge time of the uninterruptible power supply to be tested according to the load simulation information and the power circuit information. This technical solution can accurately simulate the circuit state and operation of the uninterruptible power supply through simulation testing, so as to respond to the circuit fault of the uninterruptible power supply in a timely manner, which helps to improve the management efficiency of the uninterruptible power supply.

[0053] Embodiment 2

[0054] Figure 2 This is a flow chart of a simulation test method for an uninterruptible power supply provided in the second embodiment of the present invention. This embodiment is optimized based on the above embodiment.

[0055] like Figure 2 As shown, the method of this embodiment specifically includes the following steps:

[0056] S210, in response to a data acquisition request, acquiring internal component collection information of the uninterruptible power supply to be tested at the current moment.

[0057] S220, determining the property information of the uninterruptible power supply to be tested at the current moment according to the internal component collection information and the preset mapping table.

[0058] The preset mapping table is used to describe the mapping relationship between the internal component acquisition information and the internal component attribute information of the uninterruptible power supply; the attribute information is used to describe the internal component status and the internal component connection relationship of the uninterruptible power supply to be tested.

[0059] S230, determining power circuit information of the uninterruptible power supply to be tested at the current moment according to the preset circuit structure and attribute information.

[0060] The preset circuit structure is determined according to the internal components of the uninterruptible power supply to be tested; and the power circuit information is used to describe the internal circuit structure of the uninterruptible power supply to be tested.

[0061] S240, in response to the fault simulation request, obtaining fault simulation information of the uninterruptible power supply to be tested, and determining internal component state simulation information of the uninterruptible power supply to be tested according to a preset state database and the fault simulation information.

[0062] The preset status database is used to describe the mapping relationship between the fault information of the uninterruptible power supply and the status information of the internal components.

[0063] S250, determining the transfer circuit information of the uninterruptible power supply to be tested according to the internal component state simulation information and the power circuit information.

[0064] The transfer circuit information is used to simulate the internal circuit structure of the uninterruptible power supply to be tested after adjustment and updating when a circuit failure occurs.

[0065] S260, in response to the discharge duration prediction request, obtaining load simulation information of the uninterruptible power supply to be tested, performing load simulation on the uninterruptible power supply to be tested according to the load simulation information and the power circuit information, and obtaining working circuit simulation information.

[0066] S270: Determine a predicted discharge duration of the uninterruptible power supply to be tested according to the load simulation information and the power circuit information.

[0067] The technical solution of the embodiment of the present invention can accurately simulate the circuit state and operation status of the uninterruptible power supply through simulation testing, so as to promptly respond to circuit failures of the uninterruptible power supply, which helps to improve the management efficiency of the uninterruptible power supply.

[0068] Embodiment 3

[0069] Figure 3 This is a schematic diagram of the structure of a simulation test device for an uninterruptible power supply provided in the third embodiment of the present invention. The device can execute the simulation test method for an uninterruptible power supply provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. Figure 3 As shown, the device comprises:

[0070] The power circuit information determination module 310 is used to determine the power circuit information of the uninterruptible power supply to be tested at the current moment in response to the data acquisition request; wherein the power circuit information is used to describe the internal circuit structure of the uninterruptible power supply to be tested;

[0071] The transfer circuit information determination module 320 is used to obtain the fault simulation information of the uninterruptible power supply to be tested in response to the fault simulation request, and determine the transfer circuit information of the uninterruptible power supply to be tested according to the fault simulation information and the power circuit information; wherein the transfer circuit information is used to simulate the internal circuit structure of the uninterruptible power supply to be tested after adjustment and update when a circuit fault occurs;

[0072] The predicted discharge duration determination module 330 is used to obtain the load simulation information of the uninterruptible power supply to be tested in response to the discharge duration prediction request, and determine the predicted discharge duration of the uninterruptible power supply to be tested according to the load simulation information and the power circuit information.

[0073] Optionally, the power circuit information determination module 310 includes:

[0074] An attribute information determination unit, used to determine the attribute information of the uninterruptible power supply to be tested at the current moment; wherein the attribute information is used to describe the internal component status and the internal component connection relationship of the uninterruptible power supply to be tested;

[0075] The power circuit information determining unit is used to determine the power circuit information of the uninterruptible power supply to be tested at the current moment according to a preset circuit structure and the attribute information; wherein the preset circuit structure is determined according to the internal components of the uninterruptible power supply to be tested.

[0076] Optionally, the attribute information determining unit is used to:

[0077] Obtain the internal component collection information of the uninterruptible power supply to be tested at the current moment;

[0078] Determine the attribute information of the uninterruptible power supply to be tested at the current moment according to the internal component collection information and the preset mapping table;

[0079] The preset mapping table is used to describe the mapping relationship between the internal component acquisition information and the internal component attribute information of the uninterruptible power supply.

[0080] Optionally, the device further comprises:

[0081] An internal component determination module, used to determine candidate internal components of the uninterruptible power supply to be tested according to the internal component composition information of the uninterruptible power supply to be tested;

[0082] A component connection adding module, used for selecting the candidate internal components through a circuit diagram editor, and adding connections to the candidate internal components according to historical power circuit information of the uninterruptible power supply to be tested at historical moments;

[0083] The preset circuit structure determination module is used to determine the preset circuit structure of the uninterruptible power supply to be tested according to the connection results of the candidate internal components.

[0084] Optionally, the transfer circuit information determination module 320 includes:

[0085] A state simulation information determination unit, used to determine the internal component state simulation information of the uninterruptible power supply to be tested according to a preset state database and the fault simulation information; wherein the preset state database is used to describe the mapping relationship between the fault information of the uninterruptible power supply and the internal component state information;

[0086] The transfer circuit information determining unit is used to determine the transfer circuit information of the uninterruptible power supply to be tested according to the internal component state simulation information and the power circuit information.

[0087] Optionally, the state simulation information determining unit is used to:

[0088] Determine the similarity between each candidate fault information in a preset state database and the fault simulation information, and determine the internal component state simulation information of the uninterruptible power supply to be tested according to the similarity result.

[0089] Optionally, the predicted discharge duration determination module 330 is used to:

[0090] Perform load simulation on the uninterruptible power supply to be tested according to the load simulation information and the power circuit information to obtain working circuit simulation information;

[0091] The predicted discharge duration of the uninterruptible power supply to be tested is determined according to the working circuit simulation information and the load simulation information.

[0092] An uninterruptible power supply simulation test device provided in an embodiment of the present invention can execute an uninterruptible power supply simulation test method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects of the execution method.

[0093] Embodiment 4

[0094] Figure 4A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0095] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0096] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0097] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a simulation test method for an uninterruptible power supply.

[0098] In some embodiments, the simulation test method of the uninterruptible power supply can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the simulation test method of the uninterruptible power supply described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the simulation test method of the uninterruptible power supply in any other appropriate manner (for example, by means of firmware).

[0099] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0100] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0101] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0102] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0103] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0104] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0105] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0106] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A simulation test method for an uninterruptible power supply, characterized in that: The method comprises: In response to the data acquisition request, determining the power circuit information of the uninterruptible power supply to be tested at the current moment; wherein the power circuit information is used to describe the internal circuit structure of the uninterruptible power supply to be tested; In response to a fault simulation request, acquiring fault simulation information of the uninterruptible power supply to be tested, and determining the transfer circuit information of the uninterruptible power supply to be tested according to the fault simulation information and the power circuit information; wherein the transfer circuit information is used to simulate the internal circuit structure of the uninterruptible power supply to be tested after adjustment and update when a circuit fault occurs; In response to a discharge duration prediction request, acquiring load simulation information of the uninterruptible power supply to be tested, and determining a predicted discharge duration of the uninterruptible power supply to be tested according to the load simulation information and the power circuit information; Determine the power circuit information of the uninterruptible power supply to be tested at the current moment, including: Determine the attribute information of the uninterruptible power supply to be tested at the current moment; wherein the attribute information is used to describe the internal component status and internal component connection relationship of the uninterruptible power supply to be tested; Determine the power circuit information of the uninterruptible power supply to be tested at the current moment according to the preset circuit structure and the attribute information; wherein the preset circuit structure is determined according to the internal components of the uninterruptible power supply to be tested; Determine the property information of the uninterruptible power supply to be tested at the current moment, including: Obtain the internal component collection information of the uninterruptible power supply to be tested at the current moment; Determine the attribute information of the uninterruptible power supply to be tested at the current moment according to the internal component collection information and the preset mapping table; Wherein, the preset mapping table is used to describe the mapping relationship between the internal component acquisition information of the uninterruptible power supply and the internal component attribute information; The process of determining the preset circuit structure includes: Determining candidate internal components of the uninterruptible power supply to be tested according to the internal component composition information of the uninterruptible power supply to be tested; Select the candidate internal components through a circuit diagram editor, and add connections to the candidate internal components according to historical power circuit information of the uninterruptible power supply to be tested at historical moments; Determining a preset circuit structure of the uninterruptible power supply to be tested according to the connection results of the candidate internal components; Determining the transfer circuit information of the uninterruptible power supply to be tested according to the fault simulation information and the power circuit information includes: Determine the internal component state simulation information of the uninterruptible power supply to be tested according to the preset state database and the fault simulation information; wherein the preset state database is used to describe the mapping relationship between the fault information of the uninterruptible power supply and the internal component state information; Determine the transfer circuit information of the uninterruptible power supply to be tested according to the internal component state simulation information and the power circuit information; Determining the internal component state simulation information of the uninterruptible power supply to be tested according to the preset state database and the fault simulation information includes: Determine the similarity between each candidate fault information in a preset state database and the fault simulation information, and determine the internal component state simulation information of the uninterruptible power supply to be tested according to the similarity result.

2. The method according to claim 1, characterized in that Determining the predicted discharge duration of the uninterruptible power supply to be tested according to the load simulation information and the power circuit information includes: Perform load simulation on the uninterruptible power supply to be tested according to the load simulation information and the power circuit information to obtain working circuit simulation information; The predicted discharge duration of the uninterruptible power supply to be tested is determined according to the working circuit simulation information and the load simulation information.

3. A simulation test device for an uninterruptible power supply, characterized in that: The device comprises: A power circuit information determination module, used to determine the power circuit information of the uninterruptible power supply to be tested at the current moment in response to a data acquisition request; wherein the power circuit information is used to describe the internal circuit structure of the uninterruptible power supply to be tested; A transfer circuit information determination module is used to obtain the fault simulation information of the uninterruptible power supply to be tested in response to the fault simulation request, and determine the transfer circuit information of the uninterruptible power supply to be tested according to the fault simulation information and the power circuit information; wherein the transfer circuit information is used to simulate the internal circuit structure of the uninterruptible power supply to be tested after adjustment and update when a circuit fault occurs; A predicted discharge duration determination module, configured to obtain load simulation information of the uninterruptible power supply to be tested in response to a discharge duration prediction request, and determine a predicted discharge duration of the uninterruptible power supply to be tested according to the load simulation information and the power circuit information; The power circuit information determination module includes: An attribute information determination unit, used to determine the attribute information of the uninterruptible power supply to be tested at the current moment; wherein the attribute information is used to describe the internal component status and the internal component connection relationship of the uninterruptible power supply to be tested; A power circuit information determination unit, configured to determine the power circuit information of the uninterruptible power supply to be tested at the current moment according to a preset circuit structure and the attribute information; wherein the preset circuit structure is determined according to internal components of the uninterruptible power supply to be tested; The attribute information determining unit is used to: Obtain the internal component collection information of the uninterruptible power supply to be tested at the current moment; Determine the attribute information of the uninterruptible power supply to be tested at the current moment according to the internal component collection information and the preset mapping table; Wherein, the preset mapping table is used to describe the mapping relationship between the internal component acquisition information of the uninterruptible power supply and the internal component attribute information; The device also includes: An internal component determination module, used to determine candidate internal components of the uninterruptible power supply to be tested according to the internal component composition information of the uninterruptible power supply to be tested; A component connection adding module, used for selecting the candidate internal components through a circuit diagram editor, and adding connections to the candidate internal components according to historical power circuit information of the uninterruptible power supply to be tested at historical moments; A preset circuit structure determination module, used to determine the preset circuit structure of the uninterruptible power supply to be tested according to the connection results of the candidate internal components; The transfer circuit information determination module includes: A state simulation information determination unit, used to determine the internal component state simulation information of the uninterruptible power supply to be tested according to a preset state database and the fault simulation information; wherein the preset state database is used to describe the mapping relationship between the fault information of the uninterruptible power supply and the internal component state information; A transfer circuit information determining unit, configured to determine the transfer circuit information of the uninterruptible power supply to be tested according to the internal component state simulation information and the power circuit information; The state simulation information determining unit is used to: Determine the similarity between each candidate fault information in a preset state database and the fault simulation information, and determine the internal component state simulation information of the uninterruptible power supply to be tested according to the similarity result.

4. An uninterruptible power supply simulation test electronic equipment, characterized in that, The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the simulation test method for an uninterruptible power supply according to any one of claims 1 to 2.

5. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the simulation test method for an uninterruptible power supply according to any one of claims 1 to 2 when executed.

Citation Information

Patent Citations

  • On-line detection control device and method for UPS

    CN107785988A

  • UPS (Uninterruptible Power Supply) health degree prediction methods and systems and computer readable memory medium

    CN110133539A

  • Uninterruptible power supply equipment test method, equipment and system

    CN114137434A

  • Uninterruptible power supply system board card fault diagnosis and teaching demonstration platform

    CN211124624U

  • Rail transit signal simulation training device

    CN216979952U