Hydraulic power plant alarm root cause positioning method and device, electronic equipment and storage medium
By processing the initial alarm information and equipment tree of the hydropower plant, combining the alarm time information, and inputting it into the large model, the problem of difficulty in locating the alarm root cause of the hydropower plant is solved, and efficient and accurate alarm root cause positioning is achieved.
Patent Information
- Application Number
- CN202410766615.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-10-15
AI Technical Summary
Hydropower plants have complex equipment, numerous equipment measurement points, and diverse alarm information, making it difficult to locate the root causes of alarms in hydropower plants.
By obtaining the initial alarm information and device tree of the initial equipment, processing it into candidate alarm information of text information type, and combining the upper and lower level information and alarm time information of the equipment, input into the large model to obtain the alarm root cause information of the hydropower plant, and improve the alarm Root cause location efficiency and accuracy.
It effectively improves the efficiency and accuracy of locating the root cause of alarms in hydropower plants, and can quickly locate the cause of faults and prevent potential risks.
Smart Images

Figure CN118779785A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of hydropower plant operation and maintenance, and in particular to a method, device, electronic device and storage medium for locating the root cause of an alarm in a hydropower plant. Background Art
[0002] The alarm information of the hydropower plant includes alarm time, alarm text, alarm equipment, etc. Among them, according to the alarm data category, it can be divided into two categories: numerical alarm and status alarm. The alarm data of numerical alarm is generally telemetry data, calculated analog data, etc. When these values meet the alarm conditions (such as exceeding the threshold, the rising rate is too high, etc.), the system will generate a corresponding alarm, and locating the root cause of the hydropower plant alarm can help quickly locate the fault location, so that the fault can be repaired in time, and potential risk problems can be prevented.
[0003] In the related art, it is very difficult to locate the root cause of hydropower plant alarms due to the complexity of hydropower plant equipment, the large number of equipment measurement points and the diversity of alarm information. Summary of the invention
[0004] The present disclosure aims to solve one of the technical problems in the related art at least to some extent.
[0005] To this end, the purpose of the present invention is to propose a method, device, electronic device and storage medium for locating the root cause of an alarm in a hydropower plant, thereby enabling initial alarm information of different information types to be converted into candidate alarm information that is convenient for large-scale model processing, and enabling the upper and lower level information and alarm time information of the equipment in the hydropower plant to be further considered on the basis of the candidate alarm information, so that when locating the root cause of the alarm for the target alarm time information based on the large model, the efficiency and accuracy of locating the root cause of the alarm in the hydropower plant can be effectively improved.
[0006] To achieve the above-mentioned purpose, a method for locating the root cause of an alarm in a hydropower plant is proposed in a first aspect of an embodiment of the present disclosure. The method comprises:
[0007] Acquire initial alarm information of initial equipment in the hydropower plant and a device tree of the hydropower plant, wherein each initial alarm information has a corresponding initial information type, and the initial alarm information at least includes: alarm time information;
[0008] Processing each initial warning message to obtain candidate warning messages of text message type;
[0009] According to the device tree and alarm time information, the candidate alarm information corresponding to different initial devices is processed to obtain the target alarm information;
[0010] The target alarm information and prompt information are input into the large model together to obtain the alarm root cause information of the hydropower plant.
[0011] To achieve the above-mentioned purpose, a hydropower plant alarm root cause location device is provided in a second aspect of the present disclosure, and the device includes:
[0012] An acquisition module is used to acquire initial alarm information of initial equipment in the hydropower plant and a device tree of the hydropower plant, wherein each initial alarm information has a corresponding initial information type, and the initial alarm information at least includes: alarm time information;
[0013] A first processing module, used for processing each initial warning information to obtain candidate warning information of text information type;
[0014] The second processing module is used to process the candidate alarm information corresponding to different initial devices according to the device tree and the alarm time information to obtain the target alarm information;
[0015] The third processing module is used to input the target alarm information and the prompt information into the large model to obtain the alarm root cause information of the hydropower plant.
[0016] The electronic device proposed in the third aspect embodiment of the present disclosure includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the method for locating the root cause of an alarm in a hydropower plant proposed in the first aspect embodiment of the present disclosure is implemented.
[0017] The fourth aspect embodiment of the present disclosure proposes a non-temporary computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, it implements the method for locating the root cause of a hydropower plant alarm as proposed in the first aspect embodiment of the present disclosure.
[0018] The fifth aspect of the present disclosure provides a computer program product. When the instructions in the computer program product are executed by a processor, the method for locating the root cause of an alarm in a hydropower plant as provided in the first aspect of the present disclosure is performed.
[0019] The method, device, electronic device and storage medium for locating the root cause of an alarm in a hydropower plant provided by the present disclosure have at least the following beneficial effects: by obtaining the initial alarm information of the initial equipment in the hydropower plant and the equipment tree of the hydropower plant, wherein each initial alarm information has a corresponding initial information type, and the initial alarm information at least includes: alarm time information, each initial alarm information is processed to obtain candidate alarm information of a text information type, and the candidate alarm information corresponding to different initial equipment is processed according to the equipment tree and the alarm time information to obtain the target alarm information, and the target alarm information and the prompt information are input into the large model together to obtain the alarm root cause information of the hydropower plant, thereby, the initial alarm information of different information types can be converted into candidate alarm information that is convenient for the large model to process, and the upper and lower level information and alarm time information of the equipment in the hydropower plant can be further considered on the basis of the candidate alarm information, so that when the alarm root cause is located for the target alarm time information based on the large model, the efficiency and accuracy of locating the root cause of the alarm in the hydropower plant can be effectively improved.
[0020] Additional aspects and advantages of the present disclosure will be given in part in the following description and in part will be obvious from the following description or learned through practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The above and / or additional aspects and advantages of the present disclosure will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0022] Figure 1 It is a flow chart of a method for locating the root cause of an alarm in a hydropower plant proposed in an embodiment of the present disclosure;
[0023] Figure 2 It is a structural schematic diagram of a hydropower plant alarm root cause locating device proposed in an embodiment of the present disclosure;
[0024] Figure 3 A block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0025] Embodiments of the present disclosure are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present disclosure, and are not to be construed as limitations of the present disclosure. On the contrary, the embodiments of the present disclosure include all changes, modifications, and equivalents that fall within the spirit and connotation of the appended claims.
[0026] Figure 1 It is a flow chart of a method for locating the root cause of an alarm in a hydropower plant proposed in an embodiment of the present disclosure.
[0027] Among them, it should be noted that the executor of the hydropower plant alarm root cause locating method of this embodiment is the hydropower plant alarm root cause locating device, which can be implemented by software and / or hardware. The device can be configured in an electronic device, and the electronic device can include but is not limited to a terminal, a server, etc. For example, the terminal can be a mobile phone, a handheld computer, etc.
[0028] like Figure 1 As shown in the figure, the method for locating the root cause of the hydropower plant alarm includes:
[0029] S101: Acquire initial alarm information of initial equipment in a hydropower plant and a device tree of the hydropower plant, wherein each initial alarm information has a corresponding initial information type, and the initial alarm information at least includes: alarm time information.
[0030] The initial equipment in the hydropower plant refers to any equipment in the hydropower plant where an alarm event occurs, for example, leakage drainage pump No. 5, drainage well No. 2, etc., without any restriction.
[0031] Among them, when an alarm event (fault event, non-compliant operation time, etc.) occurs in the initial device, the information used to describe the alarm event is the initial alarm information, which may include the time of occurrence of the alarm event, duration, event description information, etc. Taking the initial devices as leakage drainage pump No. 5 and drainage well No. 2 as an example, the initial alarm information of leakage drainage pump No. 5 may be shown in Table 1, and the initial alarm information of drainage well No. 2 may be shown in Table 2:
[0032] Table 1
[0033]
[0034] Table 2
[0035]
[0036] Among them, the equipment tree in the hydropower plant is constructed based on the hierarchical relationship between the equipment in the hydropower plant. It can clearly describe the hierarchical relationship between multiple equipment in the hydropower plant. For example, device A is composed of two devices, device B and device C. The relationship between device A and device B, and between device A and device C will be presented as a parent-child relationship in the equipment tree.
[0037] Among them, the alarm information of different initial devices will be presented as different initial information types. For example, in terms of presentation format, the initial information type can be: text type, picture type, video type, etc. In terms of content, it can be divided into numerical information type (for example, the start-stop interval of the leakage drainage pump has a 30-day downward trend) and status information type (for example, the water level in the drainage well is too high). There is no restriction on this.
[0038] Among them, the initial alarm information at least includes: alarm time information, which refers to the occurrence time of the alarm time of the initial equipment. Taking the initial equipment as leakage drainage pump No. 5 and drainage well No. 2 as an example, the alarm time information of leakage drainage pump No. 5 is 2024-04-15 19:00:00, and the alarm time of drainage well No. 2 is 2024-04-15 18:00:00. There is no restriction on this.
[0039] In the embodiments of the present disclosure, the initial device may be pre-configured with an automatic alarm function, which may automatically collect and report initial alarm information when it detects an alarm event occurring in itself. Alternatively, a corresponding monitoring system may be pre-set for the hydropower plant, and the monitoring system may monitor each device in the hydropower plant. When an alarm event is detected in the equipment in the hydropower plant, the monitoring system may collect the initial alarm information of the initial device. There is no restriction on this.
[0040] S102: Process each initial warning message to obtain candidate warning messages of text message type.
[0041] It can be understood that since the initial alarm information of different initial devices may have different initial information types, the initial alarm information of different initial information types may have different processing dimensions in the subsequent process of the hydropower plant alarm root cause location method. Therefore, in order to facilitate the execution of the subsequent hydropower plant alarm root cause location method, each initial alarm information can be processed to obtain candidate alarm information of the text information type.
[0042] That is to say, in the embodiments of the present disclosure, for initial warning information of picture type, the initial warning information of picture type can be processed based on an optical character recognition method to extract candidate warning information of text information type from the initial warning information; for initial warning information of numerical information type and status information type, the initial warning information can be converted into candidate warning information of text information type based on a preset warning information template.
[0043] For example, the initial alarm information of the leaking drainage pump No. 5 in the above Table 1 can be converted into candidate alarm information: "At 19:00:00 on April 15, 2024, the start-stop interval of the No. 5 leaking drainage pump decreased, which was 1600 seconds lower than the data 30 days ago", and the initial alarm information of the No. 2 drainage well in the above Table 2 can be converted into candidate alarm information: "At 18:00:00 on April 15, 2024, the water level in the No. 2 drainage well was too high", and there is no restriction on this.
[0044] S103: Process candidate alarm information corresponding to different initial devices according to the device tree and the alarm time information to obtain target alarm information.
[0045] In the disclosed embodiment, after processing each initial alarm information to obtain candidate alarm information of text information type, the candidate alarm information corresponding to different initial devices can be processed according to the device tree and alarm time information to obtain target alarm information.
[0046] Optionally, in some embodiments, candidate alarm information corresponding to different initial devices is processed according to the device tree and alarm time information to obtain target alarm information. The candidate alarm information corresponding to different initial devices may be associated according to the device tree to obtain associated alarm information, and then the associated alarm information may be processed according to the alarm time information to obtain the target alarm information.
[0047] Optionally, in some embodiments, candidate alarm information corresponding to different initial devices is associated according to the device tree to obtain associated alarm information. When there is a parent-child relationship between every two initial devices in the device tree, the candidate alarm information corresponding to the two initial devices is combined to obtain a candidate alarm information group, and the candidate alarm information group is used as the associated alarm information.
[0048] For example, leaking drainage pump No. 5 and drainage well No. 2 both belong to dam section No. 102, that is, in the equipment tree, leaking drainage pump No. 5 and drainage well No. 2 have a parent-child relationship with dam section No. 102. Therefore, the candidate alarm information of the above-mentioned leaking drainage pump No. 5 and the candidate alarm information of drainage well No. 2 can be combined to obtain a candidate alarm information group, which can be, for example: "At 18:00:00 on April 15, 2024, an alarm occurred in the equipment of dam section No. 102, where the alarm equipment included drainage well No. 2 and drainage pump No. 5; at 19:00:00 on April 15, 2024, the start-stop interval of leaking drainage pump No. 5 decreased, which was 1600 seconds lower than the data 30 days ago; at 18:00:00 on April 15, 2024, the water level in drainage well No. 2 was too high."
[0049] Optionally, in some embodiments, the associated alarm information is processed according to the alarm time information to obtain the target alarm information. The candidate alarm information in the candidate alarm information group is sorted according to the alarm time information, and the event description information corresponding to the alarm time information in the candidate alarm information at the first sorting position is determined from the sorted candidate alarm information. The time difference between the alarm time information in the candidate alarm information at each two adjacent sorting positions is determined from the sorted candidate alarm information. The sorted candidate alarm information is processed according to the event description information and the time difference to obtain the target alarm information.
[0050] That is to say, in the embodiments of the present disclosure, the candidate alarm information in the candidate alarm information group may be sorted according to the chronological order of the alarm time information. Taking the above-mentioned candidate information group as an example, the sorted candidate alarm information may be, for example: "At 18:00:00 on April 15, 2024, an alarm occurred in the equipment of dam section No. 102, where the alarm equipment included drainage well No. 2 and drainage pump No. 5; at 18:00:00 on April 15, 2024, the water level in drainage well No. 2 was too high; at 19:00:00 on April 15, 2024, the start-stop interval of leakage drainage pump No. 5 decreased by 1600 seconds compared with the data 30 days ago".
[0051] In the embodiment of the present disclosure, in order to more clearly characterize the time correlation between the candidate alarm information in the candidate alarm information group, the independent alarm time information in the candidate alarm information can be converted into the relative time information between the two candidate alarm information, so as to more clearly characterize the sequence of occurrence of the alarm events corresponding to different candidate alarm information, thereby facilitating the large model to understand the correlation and influence relationship between the two consecutive alarm events.
[0052] Among them, the event description information corresponding to the alarm time information refers to the event corresponding to the alarm time information, that is, the time that occurs during the same period as the alarm time information, such as the night of the flood season, the dry season, etc. Since there is a correlation between the occurrence of certain specific events and equipment alarms, the introduction of event description information can assist in determining the correlation between the occurrence of the event and the root cause of the alarm.
[0053] Among them, taking the candidate alarm information after the above sorting as an example, the time difference between the alarm time information in the candidate alarm information of two adjacent sorting positions can be, for example, the time difference between "18:00:00 on April 15, 2024" and "19:00:00 on April 15, 2024", which is "1 hour", and there is no restriction on this.
[0054] Optionally, in some embodiments, the sorted candidate alarm information is processed according to the event description information and the time difference to obtain the target alarm information. The alarm time information in the candidate alarm information in the first sorting position is adjusted according to the event description information, and the alarm time information in the candidate alarm information with a later sorting position in two adjacent sorting positions is updated to the corresponding time difference to obtain the target alarm information.
[0055] That is to say, in the embodiment of the present disclosure, the candidate alarm information after the above sorting can be processed based on the event description information (flood season night) and the time difference (1 hour) to obtain the target alarm information, which can be, for example: "On the flood season night (18:00:00 on April 15, 2024), an alarm occurred in the No. 102 dam section equipment, where the alarm equipment included drainage well No. 2 and drainage pump No. 5. First, the water level in drainage well No. 2 was too high. After 1 hour, the start-stop interval of the No. 5 leakage drainage pump decreased, which was 1600 seconds lower than the data 30 days ago."
[0056] As a result, the event description information and the relative time information between two adjacent alarm events can be integrated into the target alarm information. While facilitating the subsequent understanding and processing of the large model, the introduction of multiple information can also improve the accuracy of locating the root cause of the hydropower plant alarm.
[0057] S104: Input the target alarm information and the prompt information into the large model to obtain the alarm root cause information of the hydropower plant.
[0058] Among them, the big model can determine the alarm root cause information of the hydropower plant according to the target alarm information. The big model can be (Chat Generative Pre-trained Transformer, Chat GPT), Wenxinyiyan and other open source big models, or the first big model can also be an artificial intelligence model pre-trained by sample data, etc., and there is no restriction on this.
[0059] That is to say, in the embodiment of the present disclosure, after the candidate alarm information corresponding to different initial devices is processed according to the device tree and alarm time information to obtain the target alarm information, prompt information can be input into the big model in advance (the prompt information, for example, you are a hydropower plant operation and maintenance expert, and you can analyze the cause of the alarm based on the alarm information, or please analyze the possible causes of the following alarms based on the technical document library), and then, the target alarm information can be input into the big model, and the big model processes the target alarm information to output the alarm root cause information.
[0060] For example, the alarm root cause information of the No. 2 drainage well output by the large model may include:
[0061] (1) Increased rainfall: During the flood season, there is usually heavy rainfall at night, causing the water level in the drainage well to rise rapidly;
[0062] (2) Drainage system blockage: The drainage system of the drainage well may be blocked by debris, silt, etc., resulting in poor drainage;
[0063] (3) Drainage equipment failure: The drainage pump of drainage well No. 2 may fail and cannot drain water effectively;
[0064] (4) Poor downstream drainage: Problems with the downstream drainage channels or equipment result in the water being unable to be drained away in time and flowing back into the drainage well.
[0065] For example, the alarm root cause information of the No. 5 leakage drainage pump output by the large model may include:
[0066] (1) Increased drainage volume: Due to the high water level in drainage well No. 2, the amount of water leakage increased, and drainage pump No. 5 needed to be started more frequently to handle the increased water volume;
[0067] (2) Decreased pump efficiency: Wear or aging of the pump body or related components causes the drainage pump to have a reduced efficiency, requiring more frequent starts and stops to achieve the same drainage effect;
[0068] (3) Control system failure: The control system misjudgments or fails, causing the drainage pump to start and stop frequently;
[0069] (4) Changes in the external environment: Other external factors, such as rising groundwater levels, lead to increased leakage.
[0070] After inputting the target alarm information and the prompt information into the large model to obtain the alarm root cause information of the hydropower plant, the embodiment of the present disclosure can determine that the high water level of drainage well No. 2 is likely caused by heavy rainfall during the flood season. At the same time, the high water level of the drainage well will increase leakage, which will cause the frequent start and stop of drainage pump No. 5.
[0071] Therefore, after determining the root cause of the alarm of the hydropower plant, corresponding measures can be taken in time, and the measures may include:
[0072] (1) Check rainfall records: confirm whether there is heavy rainfall during the alarm period;
[0073] (2) Check the drainage system: confirm whether the drainage system is blocked or has poor drainage;
[0074] (3) Check drainage pump equipment: Conduct detailed inspections on drainage well No. 2 and leakage drainage pump No. 5 to confirm whether the equipment is working properly and whether there are any faults or performance degradation;
[0075] (4) Check the control system: confirm whether the control system is operating normally and whether there are any false alarms or faults;
[0076] (5) Check the downstream drainage channel: ensure that the downstream drainage channel is unobstructed.
[0077] In the disclosed embodiment, by determining the alarm root cause information of the initial equipment in the hydropower plant, the cause of the alarm can be quickly and accurately located, so that countermeasures can be taken in time, thereby ensuring the normal operation and maintenance of the hydropower plant.
[0078] In the disclosed embodiment, by obtaining initial alarm information of initial equipment in a hydropower plant and an equipment tree of the hydropower plant, wherein each initial alarm information has a corresponding initial information type, and the initial alarm information at least includes: alarm time information, each initial alarm information is processed to obtain candidate alarm information of a text information type, and the candidate alarm information corresponding to different initial equipment is processed according to the equipment tree and the alarm time information to obtain target alarm information, and the target alarm information and the prompt information are input into a large model together to obtain the alarm root cause information of the hydropower plant, thereby, the initial alarm information of different information types can be converted into candidate alarm information that is convenient for the large model to process, and on the basis of the candidate alarm information, the upper and lower level information and the alarm time information of the equipment in the hydropower plant can be further considered, so that when locating the alarm root cause of the target alarm time information based on the large model, the efficiency and accuracy of locating the alarm root cause of the hydropower plant can be effectively improved.
[0079] Figure 2 It is a structural schematic diagram of a hydropower plant alarm root cause locating device proposed in an embodiment of the present disclosure.
[0080] like Figure 2 As shown, the hydropower plant alarm root cause locating device 20 comprises:
[0081] The acquisition module 201 is used to acquire initial alarm information of initial equipment in the hydropower plant and the equipment tree of the hydropower plant, wherein each initial alarm information has a corresponding initial information type, and the initial alarm information at least includes: alarm time information;
[0082] A first processing module 202 is used to process each initial warning message to obtain candidate warning messages of text message type;
[0083] The second processing module 203 is used to process candidate alarm information corresponding to different initial devices according to the device tree and the alarm time information to obtain target alarm information;
[0084] The third processing module 204 is used to input the target alarm information and the prompt information into the large model to obtain the alarm root cause information of the hydropower plant.
[0085] In some embodiments of the present disclosure, the second processing module 203 is further configured to:
[0086] According to the device tree, candidate alarm information corresponding to different initial devices is associated and processed to obtain associated alarm information;
[0087] The associated alarm information is processed according to the alarm time information to obtain the target alarm information.
[0088] In some embodiments of the present disclosure, the second processing module 203 is further configured to:
[0089] If every two initial devices have a parent-child relationship in the device tree, the candidate alarm information corresponding to the two initial devices is combined to obtain a candidate alarm information group;
[0090] The candidate alarm information group is used as the associated alarm information.
[0091] In some embodiments of the present disclosure, the second processing module 203 is further configured to:
[0092] sorting the candidate alarm information in the candidate alarm information group according to the alarm time information;
[0093] Determine, from the sorted candidate alarm information, event description information corresponding to the alarm time information in the candidate alarm information at the first sorting position;
[0094] Determine the time difference between the alarm time information in each two adjacent sorted candidate alarm information from the sorted candidate alarm information;
[0095] According to the event description information and the time difference, the sorted candidate alarm information is processed to obtain the target alarm information.
[0096] In some embodiments of the present disclosure, the second processing module 203 is further configured to:
[0097] The alarm time information in the candidate alarm information at the first sorting position is adjusted according to the event description information, and the alarm time information in the candidate alarm information at the later sorting positions in two adjacent sorting positions is updated to the corresponding time difference to obtain the target alarm information.
[0098] It should be noted that the aforementioned explanation of the method for locating the root cause of an alarm in a hydropower plant is also applicable to the device for locating the root cause of an alarm in a hydropower plant of this embodiment, and will not be described in detail here.
[0099] In the disclosed embodiment, by obtaining initial alarm information of initial equipment in a hydropower plant and an equipment tree of the hydropower plant, wherein each initial alarm information has a corresponding initial information type, and the initial alarm information at least includes: alarm time information, each initial alarm information is processed to obtain candidate alarm information of a text information type, and the candidate alarm information corresponding to different initial equipment is processed according to the equipment tree and the alarm time information to obtain target alarm information, and the target alarm information and the prompt information are input into a large model together to obtain the alarm root cause information of the hydropower plant, thereby, the initial alarm information of different information types can be converted into candidate alarm information that is convenient for the large model to process, and on the basis of the candidate alarm information, the upper and lower level information and the alarm time information of the equipment in the hydropower plant can be further considered, so that when locating the alarm root cause of the target alarm time information based on the large model, the efficiency and accuracy of locating the alarm root cause of the hydropower plant can be effectively improved.
[0100] Figure 3 A block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure is shown. Figure 3 The electronic device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0101] like Figure 3 As shown, the electronic device 12 is in the form of a general purpose computing device. The components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including the system memory 28 and the processing unit 16).
[0102] The bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnection (PCI) bus.
[0103] The electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 12, including volatile and non-volatile media, removable and non-removable media.
[0104] The memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 3 Not shown, often called a "hard drive").
[0105] although Figure 3 Not shown in the figure, a disk drive for reading and writing a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing a removable non-volatile optical disk (e.g., a compact disc read only memory (hereinafter referred to as: CD-ROM), a digital versatile disc read only memory (hereinafter referred to as: DVD-ROM) or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present disclosure.
[0106] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the memory 28, such program modules 42 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described in the present disclosure.
[0107] The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), may also communicate with one or more devices that enable the human body to interact with the electronic device 12, and / or communicate with any device that enables the electronic device 12 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed through an input / output (I / O) interface 22. In addition, the electronic device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 through a bus 18. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0108] The processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28, such as implementing the method for locating the root cause of the hydropower plant alarm mentioned in the above embodiment.
[0109] In order to implement the above embodiments, the present disclosure further proposes a non-temporary computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method for locating the root cause of a hydropower plant alarm proposed in the above embodiments of the present disclosure is implemented.
[0110] In order to implement the above embodiments, the present disclosure further proposes a computer program product. When the instruction processor in the computer program product is executed, the method for locating the root cause of the hydropower plant alarm proposed in the above embodiments of the present disclosure is executed.
[0111] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0112] It should be understood that the present disclosure is not limited to the exact structures that have been 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 disclosure is limited only by the appended claims.
[0113] It should be noted that, in the description of the present disclosure, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present disclosure, unless otherwise specified, the meaning of "plurality" is two or more.
[0114] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present disclosure includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present disclosure belong.
[0115] It should be understood that the various parts of the present disclosure can be implemented in hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0116] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0117] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0118] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0119] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0120] Although the embodiments of the present disclosure have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present disclosure. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present disclosure.
Claims
1. A method for locating the root cause of an alarm in a hydropower plant, characterized in that: The method comprises: Acquire initial alarm information of initial equipment in a hydropower plant and an equipment tree of the hydropower plant, wherein each of the initial alarm information has a corresponding initial information type, and the initial alarm information at least includes: alarm time information; Processing each of the initial warning information to obtain candidate warning information of text information type; Processing the candidate alarm information corresponding to different initial devices according to the device tree and the alarm time information to obtain target alarm information; The target alarm information and the prompt information are input into the large model together to obtain the alarm root cause information of the hydropower plant.
2. The method according to claim 1, characterized in that The step of processing the candidate alarm information corresponding to different initial devices according to the device tree and the alarm time information to obtain target alarm information includes: According to the device tree, the candidate alarm information corresponding to different initial devices is associated with each other to obtain associated alarm information; The associated alarm information is processed according to the alarm time information to obtain the target alarm information.
3. The method according to claim 2, characterized in that The associating the candidate alarm information corresponding to different initial devices according to the device tree to obtain associated alarm information includes: If every two of the initial devices have a parent-child relationship in the device tree, combining the candidate alarm information corresponding to the two initial devices to obtain a candidate alarm information group; The candidate alarm information group is used as the associated alarm information.
4. The method according to claim 2, characterized in that The processing of the associated alarm information according to the alarm time information to obtain the target alarm information includes: sorting the candidate alarm information in the candidate alarm information group according to the alarm time information; Determine, from the sorted candidate alarm information, event description information corresponding to the alarm time information in the candidate alarm information at a first sorting position; Determine, from the sorted candidate alarm information, a time difference between alarm time information in each two adjacent sorted positions of the candidate alarm information; The sorted candidate alarm information is processed according to the event description information and the time difference to obtain the target alarm information.
5. The method according to claim 4, characterized in that The processing of the sorted candidate alarm information according to the event description information and the time difference to obtain the target alarm information includes: The alarm time information in the candidate alarm information at the first sorting position is adjusted according to the event description information, and the alarm time information in the candidate alarm information at the later sorting position in the two adjacent sorting positions is updated to the corresponding time difference to obtain the target alarm information.
6. A device for locating the root cause of an alarm in a hydropower plant, characterized in that: The device comprises: An acquisition module is used to acquire initial alarm information of initial equipment in a hydropower plant and an equipment tree of the hydropower plant, wherein each of the initial alarm information has a corresponding initial information type, and the initial alarm information at least includes: alarm time information; A first processing module, configured to process each of the initial warning information to obtain candidate warning information of a text information type; A second processing module, configured to process the candidate alarm information corresponding to different initial devices according to the device tree and the alarm time information, so as to obtain target alarm information; The third processing module is used to input the target alarm information and the prompt information into the large model to obtain the alarm root cause information of the hydropower plant.
7. The device according to claim 6, characterized in that The second processing module is further used for: According to the device tree, the candidate alarm information corresponding to different initial devices is associated with each other to obtain associated alarm information; The associated alarm information is processed according to the alarm time information to obtain the target alarm information.
8. The device according to claim 7, characterized in that The second processing module is further used for: If every two of the initial devices have a parent-child relationship in the device tree, combining the candidate alarm information corresponding to the two initial devices to obtain a candidate alarm information group; The candidate alarm information group is used as the associated alarm information.
9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 5.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: in, The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 5.
Citation Information
Cited By
Alarm processing method and device based on large model
CN119398158A
