Rapid analysis method, device and equipment for power failure and storage medium
Through distributed message queues and dynamic publishing strategies, combined with multiple data tuple models, rapid response and efficient processing of power outage data are achieved, solving the problems of high cost, poor flexibility and low data processing efficiency in the existing technology, and improving the problem of high cost, poor flexibility and low data processing efficiency in the existing technology. Analytical efficiency and system adaptability are provided.
Patent Information
- Application Number
- CN202411329372.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2024-12-31
AI Technical Summary
The existing municipal power outage analysis technology has problems such as high hardware cost, limited analysis dimensions, poor flexibility, low data processing efficiency and poor real-time performance.
The distributed message queue is used to collect alarm data flows, and the dynamically released main power outage analysis strategy and multiple data tuple models are used for real-time matching, identification and calculation, real-time implementation of fast response and efficient processing.
Reduces response time, improves problem solving efficiency, reduces hardware resource investment, improves system scalability and maintenance, adapts to various scenario changes, and blocks data differences from different suppliers.
Smart Images

Figure CN119227951A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electrical data processing, and in particular to a method, device, equipment and storage medium for rapid analysis of power outages. Background Art
[0002] At present, the existing mains power outage analysis technology mainly relies on hardware or circuit methods to identify and analyze the mains power outage in the computer room. Although this hardware method can realize the identification of mains power outages for specific power supply lines, it has the following limitations: 1. High hardware cost: Special hardware equipment needs to be deployed on each power supply line to monitor the mains power outage, which will lead to high construction costs. 2. Limited analysis dimension: Since the hardware equipment is usually only for a certain power supply line, it is impossible to comprehensively analyze the mains power supply from a higher dimension (such as the entire computer room or site). 3. Poor flexibility: The hardware method is difficult to adapt to changes in the internal structure of the computer room or expansion needs.
[0003] On the other hand, some IT solutions tend to use operation and maintenance databases to store and process data related to power outages. However, this approach also has some problems: 1. Low data processing efficiency: It is very time-consuming and consumes system resources to find, match, extract and calculate data related to power outages in massive operation and maintenance data. 2. Poor real-time performance: Due to the large amount of data processing and slow processing speed, the response to power outages is not fast enough.
[0004] Therefore, the present application provides a method, device, equipment and storage medium for rapid analysis of power outages to solve one of the above-mentioned technical problems. Summary of the invention
[0005] The purpose of this application is to provide a method and device for rapid analysis of power outages, which can solve at least one of the technical problems mentioned above. The specific solution is as follows: According to a specific implementation of the present application, in a first aspect, the present application provides a rapid analysis method for power outages, comprising: In response to detecting a city power outage, an alarm data stream is collected from an upstream system based on a distributed message queue; based on a dynamically published city power outage analysis strategy, the alarm data stream is matched, identified and calculated in real time; and a multi-group data tuple model is used to process the city power outage data in the alarm data stream.
[0006] In one embodiment, the dynamically published mains power outage analysis strategy matches, identifies and calculates the alarm data stream in real time, including: selecting a mains power outage analysis plan based on the type of computer room and the actual characteristics of the computer room; configuring the mains power outage analysis strategy of the data center or communication center.
[0007] In one embodiment, the use of multiple data tuple models to process the city power outage data in the alarm data stream includes: defining multiple data meta models based on specified goals, wherein the specified goals are satisfied so that the multiple data meta models shield data differences between different suppliers; and using the data tuple models to process the city power outage data.
[0008] In one embodiment, the collecting of alarm data streams from an upstream system based on a distributed message queue includes: based on a distributed message queue, collecting alarm data streams from an upstream system according to a collection point scheme that matches a computer room; the collection point scheme includes a first collection point scheme, a second collection point scheme, and a third collection point scheme, the data collection point of the first collection point scheme being any point before the high-voltage incoming line terminal, the data collection point of the second collection point scheme being any point between the lower end of the transformer and the upper input terminal of the low-voltage incoming line circuit breaker, and the data collection point of the third collection point scheme being any point between the lower end of the low-voltage incoming line cabinet and the upper end of the automatic transfer switch.
[0009] In one embodiment, the method further includes: in response to the presence of a high voltage section with multiple transformers and multiple low voltage sections in the machine building, all main low voltage section power outage signals are connected, and corresponding high voltage sections are configured on the platform.
[0010] In one embodiment, the method further includes: in response to the machine building meeting the low-voltage bus joint switch after a single-line power outage, not adopting the third collection point solution.
[0011] In one embodiment, the method also includes: based on the power outage event, matching the cache data of the distributed system according to provinces, cities, and sites to generate target power outage data; based on the target power outage data, providing a multi-dimensional power outage data display; wherein the target power outage data is single-line power outage data or dual-line power outage data, and the multi-dimensional power outage data display format includes at least two items of tables, text, curves, and images.
[0012] According to a specific implementation of the present application, in a second aspect, the present application provides a rapid analysis device for power outages, comprising: A detection unit is used to detect whether a mains power outage has occurred; a processing unit is used to collect an alarm data stream from an upstream system based on a distributed message queue in response to detecting that a mains power outage has occurred; is used to match, identify and calculate the alarm data stream in real time based on a dynamically published mains power outage analysis strategy; and is used to process the mains power outage data in the alarm data stream using a multi-group data tuple model.
[0013] According to the specific implementation of the present application, in a third aspect, the present application provides an electronic device, comprising a memory, a processor, and a computer program stored on the memory, characterized in that the processor executes the computer program to implement any one of the methods described in the first aspect.
[0014] According to a specific implementation of the present application, in a fourth aspect, a computer-readable storage medium stores a computer program / instruction thereon, wherein the computer program / instruction, when executed by a processor, implements the method described in any one of the first aspects.
[0015] Compared with the prior art, the above scheme of the embodiment of the present application has at least the following beneficial effects: the present application immediately triggers the analysis process after detecting the mains power outage event, can quickly respond to the power outage condition, reduce the response time, improve the problem solving efficiency, and use the distributed message queue to collect the alarm data, which can ensure that the alarm data from the upstream system can be stably and reliably collected even in high concurrency. In addition, the distributed message queue can also achieve decoupling, making the data collection and subsequent processing logic independent, improving the scalability and maintainability of the system, wherein the dynamically released mains power outage analysis strategy can be adjusted according to the actual situation, such as the power outage processing rules and priorities in different regions, which makes the analysis method more flexible to adapt to the changes in various scenarios. In summary, the data flow method adopted by the present application can identify and calculate the mains power outage data in a large amount of alarm data in real time, improve the processing timeliness of the mains power outage data, reduce the hardware resource investment in the mains power outage analysis scenario, and by defining a variety of data meta-models, it is possible to shield the differences in the data of each supplier, unify the data model of the mains power outage data, and improve the effective data load ratio of the business data. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A flowchart of a rapid analysis method for power outage according to an embodiment of the present application is shown; Figure 2 A flowchart of a method for matching, identifying and calculating alarm data streams in real time based on a dynamically published city power outage analysis strategy according to an embodiment of the present application is shown; Figure 3 A flow chart of a method for processing city power outage data in an alarm data stream using a multi-group data tuple model according to an embodiment of the present application is shown; Figure 4 A flowchart of a rapid analysis method for power outage according to an embodiment of the present application is shown; Figure 5 A schematic diagram of the location of collection points for a simple model of a computer room is shown; Figure 6 A flow chart of a method for further processing power outage data is shown; Figure 7 A reference diagram of warning events and alarm cancellation events relative to an event axis is shown; Figure 8 A power outage data display diagram of two lines in the same machine room is shown; Fig. 9 A unit block diagram of a rapid analysis device for power outage according to an embodiment of the present application is shown; Fig.10 The invention is a block diagram of an electronic device for rapid analysis of power outage according to an exemplary embodiment. DETAILED DESCRIPTION
[0017] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0018] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings, and "multiple" generally includes at least two.
[0019] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0020] It should be understood that although the terms first, second, third, etc. may be used to describe in the embodiments of the present application, these descriptions should not be limited to these terms. These terms are only used to distinguish the descriptions. For example, without departing from the scope of the embodiments of the present application, the first may also be referred to as the second, and similarly, the second may also be referred to as the first.
[0021] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0022] It should also be noted that the term "includes", "comprising" or any other variation thereof is intended to cover non-exclusive inclusion, so that a commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprising a ..." do not exclude the existence of other identical elements in the commodity or device including the elements.
[0023] It should be particularly noted that any symbols and / or numbers in the specification that are not marked in the accompanying drawings are not drawing marks.
[0024] The optional embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0025] The embodiment provided in this application is an embodiment of a rapid analysis method for power outages.
[0026] Combine the following Figure 1 The embodiments of the present application are described in detail.
[0027] Figure 1 A flowchart of a rapid analysis method for power outage according to an embodiment of the present application is shown. Figure 1 As shown, the process includes the following steps S101 to S103.
[0028] Step S101 , in response to detecting a city power outage, collecting an alarm data stream from an upstream system based on a distributed message queue.
[0029] Step S102, matching, identifying and calculating the alarm data stream in real time based on the dynamically released city power outage analysis strategy.
[0030] Step S103: using a multi-group data tuple model to process the city power outage data in the alarm data stream.
[0031] This application triggers the analysis process immediately after detecting the mains power outage event, which can quickly respond to the power outage situation, reduce the response time, and improve the efficiency of problem solving. In addition, the distributed message queue is used to collect alarm data, which can ensure that the alarm data from the upstream system can be stably and reliably collected even in high concurrency. In addition, the distributed message queue can also achieve decoupling, making data collection and subsequent processing logic independent, improving the scalability and maintainability of the system, wherein the dynamically released mains power outage analysis strategy can be adjusted according to actual conditions, such as power outage processing rules and priorities in different regions, which makes the analysis method more flexible and adaptable to changes in various scenarios. In summary, the data flow method adopted in this application can identify and calculate the mains power outage data in a large amount of alarm data in real time, improve the processing timeliness of the mains power outage data, and reduce the hardware resource investment in the mains power outage analysis scenario. By defining multiple data meta-models, the differences in data from various suppliers can be shielded, the data model of the mains power outage data can be unified, and the effective data load ratio of the business data can be improved.
[0032] Figure 2 A flowchart of a method for matching, identifying and calculating alarm data streams in real time based on a dynamically published city power outage analysis strategy according to an embodiment of the present application is shown, such as Figure 2 As shown, the process includes the following steps S201 to S202.
[0033] Step S201, selecting a city power outage analysis plan according to the type of the computer room and the actual characteristics of the computer room.
[0034] Step S202, configuring a city power outage analysis strategy for a data center or a communication center.
[0035] This application can flexibly select the mains power outage analysis scheme according to the type of computer room and the actual characteristics of the computer room, and configure the corresponding mains power outage analysis strategy for the data center or communication center. This process ensures that the analysis method can adapt to the specific conditions of different computer rooms, improves the accuracy and timeliness of the mains power outage data processing, and effectively improves the monitoring and management level of the computer room power supply system.
[0036] Figure 3 A flow chart of a method for processing city power outage data in an alarm data stream using a multi-group data tuple model according to an embodiment of the present application is shown. Figure 3 As shown, the process includes the following steps S301 to S302.
[0037] Step S301 , defining multiple sets of data meta-models based on a specified target, wherein the specified target satisfies the multiple sets of data meta-models to shield data differences between different suppliers.
[0038] Step S302: Processing the city power outage data using a data tuple model.
[0039] This application processes the city power outage data in the alarm data stream by defining multiple groups of data meta models. This method can shield the differences between data from different suppliers, making data processing more standardized and efficient. By using the data tuple model to process the city power outage data, the accuracy and timeliness of data processing can be improved, thereby improving the performance of the entire city power outage analysis system.
[0040] Figure 4 A flowchart of a rapid analysis method for power outage according to an embodiment of the present application is shown. Figure 4 As shown, the process includes the following steps S401 to S403.
[0041] Step S401, in response to detecting a city power outage, based on a distributed message queue, collect alarm data streams from an upstream system according to a collection point solution matching a computer room.
[0042] Step S402, based on the dynamically released city power outage analysis strategy, the alarm data stream is matched, identified and calculated in real time.
[0043] Step S403: using a multi-group data tuple model to process the city power outage data in the alarm data stream.
[0044] Among them, the collection point plan includes the first collection point plan, the second collection point plan and the third collection point plan. The data collection point of the first collection point plan is any point in front of the high-voltage incoming line terminal, the data collection point of the second collection point plan is any point between the lower end of the transformer and the upper input end of the low-voltage incoming line circuit breaker, and the data collection point of the third collection point plan is any point between the lower end of the low-voltage incoming line cabinet and the upper end of the automatic transfer switch.
[0045] In this application, in response to the low-voltage bus joint switch meeting the single-line power outage in the machine building, the third collection point solution is not adopted.
[0046] Figure 5 A schematic diagram of the locations of collection points for a simple model of a computer room is shown.
[0047] For example, Figure 5 As shown, Scheme 1 represents the first collection point scheme, Scheme 2 represents the second collection point scheme, and Scheme 3 represents the third collection point scheme. The collection setting points in the figure do not specifically refer to a specific distribution cabinet or circuit breaker metering point. As long as they conform to the setting interval in the figure and meet the configuration requirements, any collection point that can accurately reflect the power outage and power generation information is acceptable.
[0048] For the first collection point plan, the mains power outage collection points are located at positions A1 and B1 in the figure (high-voltage incoming line ends). The power outage alarm can be configured by accessing the high-voltage integrated protection system or the high-voltage incoming line cabinet signal in the power monitoring system to ensure that the high-voltage side information can be uploaded in a timely and accurate manner after single-line power outages and double-line power outages.
[0049] For the second collection point solution, if the machine building does not have access conditions at high voltage A1 and B1, this solution can be used. In the figure, the A2 and B2 positions (the lower end of the transformer and the upper input side of the low-voltage incoming circuit breaker) collect the low-voltage side power outage signal. This point can be achieved by connecting to the low-voltage incoming cabinet meter, circuit breaker action signal, installing a meter, communication interruption, etc., but it must be ensured that the power outage alarm is uploaded normally after the power outage. Note: In the case of a high voltage section with multiple transformers and multiple low-voltage sections in the machine building, all the main low-voltage section power outage signals must be connected, and the corresponding high-voltage section must be configured on the platform.
[0050] The third collection point solution is located at A3 and B3 in the figure (lower end of low voltage circuit breaker and upper end of ATS), and collects power outage signals on the low voltage side. This point can be achieved by installing an electric meter, etc., but the following requirements must be met: 1. After the city power outage, the power outage alarm is uploaded normally. 2. After the city power outage, if the low voltage generator set is started, the triggered power outage alarm will not be eliminated. In addition, for the situation where there are multiple transformers and multiple low voltage sections under a high voltage in the machine building, all the main low voltage section power outage signals must be connected, and the corresponding high voltage section must be configured on the platform. For the machine building with a low voltage mother combined switch after a single power outage, the third collection point solution should not be used because it may cause the power outage alarm uploaded by the collection point to be eliminated.
[0051] For example, Figure 5As shown, the default displayed devices can be filtered according to the selected "Configuration Scheme". For example, if "Scheme 1" is selected, the only device types that can be selected for the mains meter are "High Voltage Power Distribution (01)" and "Smart Meter (92)", and only one device can be configured; the default device type that can be selected for the generator device is "05", and the device type that can be selected for the generator output distribution cabinet is "Low Voltage AC Power Distribution (02)" and "Smart Meter (92)", and only one device can be configured. For another example, if "Scheme 2" is selected, the only device types that can be selected for the mains meter are "Low Voltage AC Power Distribution (02)" and "Smart Meter (92)", and multiple devices can be configured; the default device type that can be selected for the generator device is "05", and the device type that can be selected for the generator output distribution cabinet is "Low Voltage AC Power Distribution (02)" and "Smart Meter (92)", and only one device can be configured. For another example, if "Scheme 3" is selected, the device type that can be selected for the mains meter is only "Low Voltage AC Power Distribution (02)" or "Smart Meter (92)", and multiple devices can be configured; the default device type that can be selected for the generator device is "05", and the device type that can be selected for the generator output distribution cabinet is "Low Voltage AC Power Distribution (02)" or "Smart Meter (92)", and only one device can be configured.
[0052] Figure 5 The generator set collection point is also shown, located at G1 (high-voltage diesel generator set) and G2 (low-voltage generator set) in the figure, to collect the startup information and operating status of the generator set. This point can be achieved by connecting to the generator set monitoring screen or the generator outlet cabinet.
[0053] As a feasible implementation, when there is a high voltage section with multiple transformers and multiple low voltage sections in the machine building, all the main low voltage section power outage signals can be connected and the corresponding high voltage section can be configured on the platform.
[0054] In addition, this application can also further process the power outage data.
[0055] Figure 6 A flow chart of a method for further processing power outage data is shown, such as Figure 6 As shown, the process includes the following steps S601 and S602.
[0056] Step S601, based on the power outage event, the cache data of the distributed system is matched according to the province, city, and site to generate target power outage data.
[0057] Step S602: providing a multi-dimensional power outage data display based on the target power outage data.
[0058] Among them, the target power outage data is single-line power outage data or dual-line power outage data, and the multi-dimensional power outage data display form includes at least two of tables, texts, curves, and images.
[0059] In this application, the mains architecture configuration includes dual mains and single mains, which are both optional and required. The oil engine type configuration includes high pressure oil engine and low pressure oil engine, which are both optional and required.
[0060] For single-line power outage operation strategy, it is determined by the selected "configuration scheme", and only schemes 2 and 3 need to be configured. In addition, it can also be determined according to the type of oil machine, and the optional strategies for high-pressure oil machines are: "low-voltage bus joint switch", "high-voltage bus joint / standby high-voltage mains input", and "single-line power outage start oil machine". For configuration, this configuration is a single option and is required.
[0061] In addition, the optional strategies can also be determined based on the low-pressure oil machine: "Close the low-voltage busbar / start the oil machine during a single power outage", "Close the high-voltage busbar / put the standby high-voltage AC power on". For configuration, this configuration is a single option and is required.
[0062] In this application, the equipment information configuration includes: A-line mains electricity meter, B-line mains electricity meter, generator equipment, and generator output distribution cabinet. Among them, the A-line mains electricity meter is a mandatory item, and the B-line mains electricity meter is associated with the mains architecture judgment. It does not need to be configured when there is a single mains supply, and it must be configured when there are two mains supplies. In addition, the generator equipment is optional, and the generator output distribution cabinet is optional.
[0063] In this application, each device is configured separately. The process of configuring associated devices can be, for example, through the spatial device tree, to select associated devices, and then select devices for association in the same-level nodes under the parent node of the configuration object, that is, the communication building can be configured for associated devices across sites, and the sites can only be the same-level "communication building". And the data center building can be managed and configured across buildings, and the buildings can only be "buildings" under the same data center.
[0064] In this application, the system configures the city power outage plan reported by each province, verifies the reported single / dual city power supply, equipment ownership, etc. in combination with the power supply topology information stored in the system, and binds standardized alarm codes, and outputs the tuple of "city power outage analysis strategy" for the next step of data processing: {province, city, site, [power outage collection equipment identification set, power outage alarm code set, oil engine identification set, oil engine operation status alarm code set]}, where [power outage collection equipment identification set, power outage alarm code set, oil engine identification set, oil engine operation status alarm code set] If the package has two groups of data, it means dual-channel city power, and if [] the package has only one group of data, it means single-channel city power. And accordingly, the system publishes the "city power outage analysis strategy", and the processing service responsible for real-time collection of alarm data from each province subscribes to the "city power outage analysis" strategy, and filters out the "city power outage analysis strategy" that belongs to the current service processing according to the scope of {province, city} that this service is responsible for.
[0065] In this application, when the system collects real-time alarm data and performs streaming processing, it matches a large amount of alarm data reported by downstream according to {province, city, site, [power outage collection equipment identification set, power outage alarm code set, oil engine identification set, oil engine operation status alarm code set]}, and generates a power outage event and then publishes it when it meets the requirements. Among them, the tuple of the power outage event includes {province, city, site, line identification, power outage start time, power outage end time, oil engine start time, oil engine stop time}.
[0066] In the present application, for the above tuples, some feasible embodiments are shown below.
[0067] Alarm data 1: {province 1, city 1, site 1, line identification 1, power outage collection device identification 1, power outage alarm code 1, alarm time 1, alarm type is alarm}, alarm data 2: {province 1, city 1, site 1, line identification 1, power outage collection device identification 2, power outage alarm code 2, alarm time 2, alarm type is alarm}, for {province 1, city 1, site 1, line identification 1}, the power outage start time = earliest time function (alarm time 1, alarm time 2) Alarm data 3: {province 1, city 1, site 1, line identification 1, oil engine identification set 1, oil engine operation status alarm code set 1, oil engine start time 1}, alarm data 4: {province 1, city 1, site 1, line identification 1, oil engine identification set 2, oil engine operation status alarm code set 2, oil engine start time 2}, for {province 1, city 1, site 1, line identification 1}, the oil engine start time = earliest time function (oil engine start time 1, oil engine start time 2) Alarm data 1: {province 1, city 1, site 1, line identification 1, power outage collection equipment identification 1, power outage alarm code 1, alarm time 1, alarm type is elimination alarm}, alarm data 2: {province 1, city 1, site 1, line identification 1, power outage collection equipment identification 2, power outage alarm code 2, alarm time 2, alarm type is elimination alarm}.
[0068] Among them, for {province 1, city 1, site 1, line identification 1}, the power outage end time = the latest time function (alarm time 1, alarm time 2), alarm data 3: {province 1, city 1, site 1, line identification 1, oil engine identification set 1, oil engine operation status alarm code set 1, oil engine end time 1}, alarm data 4: {province 1, city 1, site 1, line identification 1, oil engine identification set 2, oil engine operation status alarm code set 2, oil engine end time 2}, for {province 1, city 1, site 1, line identification 1}, the oil engine end time = the latest time function (oil engine end time 1, oil engine end time 2) Figure 7 A reference diagram of warning events and alarm cancellation events relative to an event axis is shown.
[0069] like Figure 7 As shown in the figure, the figure represents three groups of alarm events for the same line in the same machine room. Among them, the dark circle represents the alarm occurrence time of device 1, which is 09:00 and the alarm elimination time is 11:00. The medium-dark circle represents the alarm occurrence time of device 2, which is 09:30 and the alarm elimination time is 11:30. The light circle represents the alarm occurrence time of device 3, which is 10:00 and the alarm elimination time is 12:00. On this basis, the start time of the mains power outage of this line in this machine room = the earliest time function (09:00, 09:30, 10:00) = 09:00, and the end time of the mains power outage of this line in this machine room = the latest time function (11:00, 11:30, 12:00) = 12:00.
[0070] In this application, the system consumes power outage events {province, city, site, line identifier, power outage start time, power outage end time, oil engine start time, oil engine stop time}, and matches the cache data of the distributed system according to {province, city, site} to generate single-line power outage / dual-line power outage data and then publish it. The tuple of single-line power outage / dual-line power outage data includes {province, city, site, single-line / dual-line identifier, power outage start time, power outage duration, oil engine start time, oil engine running duration}.
[0071] Figure 8 A diagram showing power outage data of two lines in the same machine room is shown.
[0072] For example, Figure 8 As shown, the power outage start time of line 1 representing the computer room is 09:00 and the end time is 11:00. The power outage start time of line 2 representing the computer room is 10:00 and the end time is now. Now means that no alarm event has been received for line 2 up to the current time.
[0073] For example, since there are two lines in the computer room, the computer room belongs to the dual-line mains type, otherwise it belongs to the single-line mains type. For power outage data, two types of data are defined. When the power outage end time is less than the current time, it belongs to the mains power outage history data. When the mains power end time is equal to the current time, it belongs to the mains power outage activity data, that is, the mains power outage has not been restored. It can be seen that the power outage data of the computer room should accumulate three power outage data as of the current time (now), namely {province, city, site, single-line power outage, power outage start time = 09:00, power outage duration = 1 hour (10:00 - 09:00), oil engine start time, oil engine running time}. Line 1 and Line 2 do not overlap the time range on the time axis, and the time of Line 1 shall prevail. {Province, city, site, two-way power outage, power outage start time = 10:00, power outage duration = 1 hour (11:00 - 10:00), oil engine start time, oil engine running time}, line 1 and line 2 overlap in time range on the time axis. {Province, city, site, single-way power outage, power outage start time = 11:00, power outage duration = X hours (now - 11:00), oil engine start time, oil engine running time}, line 2 and line 1 overlap in time range on the time axis, the time of line 2 shall prevail. When now = 13:00, power outage duration = X hours (now -11:00) = 2 hours (13:00 - 11:00), and the oil engine is calculated in a similar way.
[0074] In the present application, when the cached data of the distributed system receives a power outage event {province, city, site, line identifier, power outage start time, power outage end time, oil engine start time, oil engine stop time} and matches the cached data according to {province, city, site}, when both the power outage end time and the oil engine stop time exist, the data record of the distributed cache is eliminated; when all lines of {province, city, site} are restored, the data {province, city, site} of the distributed cache is eliminated.
[0075] In this application, the system consumes single-line power outage / dual-line power outage data and provides multi-dimensional presentation of power outage data, including but not limited to tables, graphs, etc. Generally, the system consumes single-line power outage / dual-line power outage data: {province, city, site, single-line / dual-line identification, power outage start time, power outage duration, oil engine start time, oil engine running time} and uses OLTP to store data. For a large amount of historical power outage data, OLAP can be used to store historical data.
[0076] For active power outage data, a fixed value of power outage duration = -1 is defined as an active power outage, and other values are historical power outage data. The system can define thresholds according to the conditions of each province / city and each site. When the power outage duration exceeds the threshold, a monitoring alarm needs to be issued through email, SMS, and sound and light dashboard.
[0077] In addition, the system can conduct a multi-dimensional analysis of the health status of the computer room power supply system and provide rectification suggestions based on historical data such as the frequency of power outages, duration of power outages, and operating hours of the oil generator.
[0078] This application provides a data source for the analysis of city power outages through multiple collection points to meet the actual conditions of various construction states of computer rooms, a rule matching method based on the city power outage analysis strategy, a calculation method for real-time matching and filtering in a large amount of alarm source data, a production and consumption model based on the conversion matching of multiple data tuple models of message stream data, and a method for processing city power outage data. This application avoids large-scale investment in hardware and deploys a city power outage analysis and collection system at a large number of collection points on the power supply line.
[0079] The present application can dynamically generate a mains power outage analysis strategy, identify, analyze and process the mains power outage analysis data through data streams, avoid processing the mains power outage analysis data in a large amount of all data sets irrelevant to the power outage analysis, and improve the timeliness of data processing.
[0080] The present application also provides an apparatus embodiment that is consistent with the above embodiment, which is used to implement the method steps of the above embodiment. The explanation based on the same name meaning is the same as the above embodiment, and has the same technical effect as the above embodiment, which will not be repeated here.
[0081] like Fig. 9 As shown, the present application provides a rapid analysis device 900 for power outage, comprising: The detection unit 901 is used to detect whether a city power outage occurs.
[0082] The processing unit 902, in response to detecting a mains power outage, collects an alarm data stream from an upstream system based on a distributed message queue. It is used to match, identify and calculate the alarm data stream in real time based on a dynamically published mains power outage analysis strategy. And it is used to process the mains power outage data in the alarm data stream using a multi-group data tuple model.
[0083] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0084] Fig.10 It is a block diagram of an electronic device 1000 for rapid analysis of power outage according to an exemplary embodiment.
[0085] like Fig.10As shown, one embodiment of the present application provides an electronic device 1000. The electronic device 1000 includes a memory 1001, a processor 1002, and an input / output (I / O) interface 1003. The memory 1001 is used to store instructions. The processor 1002 is used to call the instructions stored in the memory 1001 to execute the rapid analysis method for power outages in the embodiment of the present application. The processor 1002 is connected to the memory 1001 and the I / O interface 1003, respectively, for example, through a bus system and / or other forms of connection mechanisms (not shown). The memory 1001 can be used to store programs and data, including the program of the rapid analysis method for power outages involved in the embodiment of the present application, and the processor 1002 executes various functional applications and data processing of the electronic device 1000 by running the program stored in the memory 1001.
[0086] In the embodiment of the present application, the processor 1002 can be implemented in at least one hardware form of a digital signal processor (Digital Signal Processing, DSP), a field programmable gate array (Field Programmable Gate Array, FPGA), and a programmable logic array (Programmable Logic Array, PLA). The processor 1002 can be a central processing unit (Central Processing Unit, CPU) or one or a combination of other forms of processing units with data processing capabilities and / or instruction execution capabilities.
[0087] The memory 1001 in the embodiment of the present application may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may include, for example, read-only memory (ROM), flash memory, hard disk drive (HDD), or solid state drive (SSD), etc.
[0088] In the embodiment of the present application, the I / O interface 1003 may be used to receive input instructions (such as digital or character information, and key signal input related to user settings and function control of the electronic device 1000), and may also output various information to the outside (such as images or sounds). In the embodiment of the present application, the I / O interface 1003 may include one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a mouse, a joystick, a trackball, a microphone, a speaker, and a touch panel.
[0089] In some embodiments, the present application provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are executed by a processor, any of the methods described above is performed.
[0090] In some embodiments, the present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, any of the methods described above is performed.
[0091] Although operations are described in a particular order in the drawings, this should not be understood as requiring that the operations be performed in the particular order shown or in serial order, or that all shown operations be performed to achieve desired results. In certain circumstances, multitasking and parallel processing may be advantageous.
[0092] The methods and devices of the present application can be implemented using standard programming techniques, using rule-based logic or other logic to implement various method steps. It should also be noted that the words "device" and "module" used herein and in the claims are intended to include implementations using one or more lines of software code and / or hardware implementations and / or devices for receiving input.
[0093] Any steps, operations or procedures described herein may be performed or implemented using one or more hardware or software modules, either alone or in combination with other devices. In one embodiment, the software module is implemented using a computer program product including a computer-readable medium containing computer program code, which can be executed by a computer processor to perform any or all of the described steps, operations or procedures.
[0094] The foregoing description of the implementation of the present application has been given for the purpose of illustration and description. The foregoing description is not exhaustive nor is it intended to limit the present application to the exact form disclosed, and various variations and modifications may exist according to the above teachings or may be obtained from the practice of the present application. These embodiments are selected and described in order to illustrate the principles of the present application and its practical application, so that those skilled in the art can utilize the present application in various embodiments and various modifications suitable for the specific purpose contemplated.
[0095] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0096] It can be further understood that, unless otherwise specified, “connection” includes a direct connection without other components between the two, and also includes an indirect connection with other components between the two.
[0097] It is further understood that, although the operations are described in a specific order in the drawings in the embodiments of the present application, it should not be understood as requiring the operations to be performed in the specific order or serial order shown, or requiring the execution of all the operations shown to obtain the desired results. In certain environments, multitasking and parallel processing may be advantageous.
[0098] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to encompass any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the field of the present application that are not disclosed in the present application. The specification and embodiments are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following scope of rights.
[0099] It should be understood that the present application is not limited to the precise structures described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the scope of the appended claims.
[0100] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A rapid analysis method for power outages, characterized in that: include: In response to detecting a city power outage, collecting an alarm data stream from an upstream system based on a distributed message queue; Based on the dynamically published city power outage analysis strategy, the alarm data stream is matched, identified and calculated in real time; A multi-group data tuple model is used to process the city power outage data in the alarm data stream.
2. The method according to claim 1, characterized in that: The dynamically published city power outage analysis strategy matches, identifies and calculates the alarm data stream in real time, including: Select the mains power outage analysis plan based on the type of computer room and its actual characteristics; Configure the mains power outage analysis strategy for the data center or communication center.
3. The method according to claim 1, characterized in that: The method of using a multi-group data tuple model to process the city power outage data in the alarm data stream includes: Defining multiple sets of data meta-models based on specified goals, wherein the specified goals satisfy the multiple sets of data meta-models to shield data differences between different suppliers; The data tuple model is used to process the data of the city power outage.
4. The method according to claim 1, characterized in that: The method of collecting alarm data streams from an upstream system based on a distributed message queue includes: Based on the distributed message queue, collect alarm data streams from the upstream system according to the collection point plan matching the computer room; The data collection point scheme includes a first data collection point scheme, a second data collection point scheme and a third data collection point scheme. The data collection point of the first data collection point scheme is any point in front of the high-voltage incoming line terminal. The data collection point of the second data collection point scheme is any point between the lower end of the transformer and the upper input end of the low-voltage incoming line circuit breaker. The data collection point of the third data collection point scheme is any point between the lower end of the low-voltage incoming line cabinet and the upper end of the automatic transfer switch.
5. The method according to claim 4, characterized in that The method further comprises: In response to the situation where there are multiple transformers and multiple low-voltage sections under one high-voltage section in the machine building, all the main low-voltage section power outage signals are connected, and the corresponding high-voltage section is configured on the platform.
6. The method according to claim 4, characterized in that The method further comprises: In response to the low-voltage bus joint switch meeting the single-line power outage requirement of the machine building, the third collection point solution is not adopted.
7. The method according to claim 1, characterized in that The method further comprises: Based on power outage events, the cache data of the distributed system is matched according to provinces, cities, and sites to generate target power outage data; Based on the target power outage data, provide a multi-dimensional power outage data display; Among them, the target power outage data is single-line power outage data or dual-line power outage data, and the multi-dimensional power outage data display form includes at least two items of table, text, curve, and image.
8. A rapid analysis device for power outages, characterized in that: include: A detection unit, used to detect whether a city power outage occurs; A processing unit, in response to detecting a mains power outage, collects an alarm data stream from an upstream system based on a distributed message queue; It is used to match, identify and calculate the alarm data stream in real time based on the dynamically released city power outage analysis strategy; and it is used to process the city power outage data in the alarm data stream using multiple groups of data tuple models.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program / instruction stored thereon, characterized in that: When the computer program / instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Communication method and device, equipment, storage medium and program product
CN120223459A
