A nuclear power plant early warning method and device, electronic equipment and readable storage medium
By constructing early warning models for nuclear power equipment in a pre-defined model library, the problem of inconsistent condition monitoring of nuclear power equipment was solved, enabling precise monitoring and predictive maintenance, reducing the impact of equipment failures, and improving the safety and reliability of equipment operation.
Patent Information
- Application Number
- CN202411688145.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2026-01-09
- Estimated Expiration
- 2044-11-22
AI Technical Summary
The lack of standardized modularization in existing technologies leads to inconsistent implementation methods for different logics and functions, making it difficult to effectively detect the status of nuclear power equipment.
By identifying target components in a pre-defined model library, obtaining their configuration parameters and data flow information, constructing an early warning model, and using this model to perform calculations and judgments on the data of nuclear power equipment, accurate monitoring and predictive maintenance can be achieved, and potential problems can be detected and alarms triggered in a timely manner.
It enables precise monitoring and predictive maintenance of nuclear power equipment, reduces the impact of equipment failures on unit operation, lowers maintenance costs and downtime, and improves the safety and reliability of equipment operation.
Smart Images

Figure CN119672929B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of computers, and particularly relates to a nuclear power equipment early warning method and device, electronic equipment and a readable storage medium. BACKGROUND
[0002] At present, the reliability of nuclear power equipment enables nuclear power plants to ensure nuclear safety, guarantee stable power supply and reduce operating costs. In order to ensure that the equipment can operate normally and potential dangers can be found in time, the design and development of early warning logic tools are generally carried out for the reliability of nuclear power equipment.
[0003] However, the prior art lacks unified componentization, resulting in inconsistent logic and function implementation methods, which makes it difficult to well detect the state of the nuclear power equipment. SUMMARY
[0004] The present application provides a nuclear power equipment early warning method, device, electronic equipment, readable storage medium and computer program product, which can solve the problem of inconsistent logic and function implementation methods, and make it difficult to well detect the state of the nuclear power equipment.
[0005] In a first aspect, the present application provides a nuclear power equipment early warning method, comprising:
[0006] According to the component selection operation of the user, a target component is determined in the components of the preset model library, the components of the preset model library including input and output components, operation components and judgment components;
[0007] Configuration parameters of the target component and data flow information between the target components are obtained;
[0008] According to the target component, the configuration parameters of the target component and the data flow information between the target components, an early warning model is constructed;
[0009] The target data of the target nuclear power equipment is operated and / or judged by using the early warning model, and an output result is obtained;
[0010] If the output result is an alarm result, an alarm operation is performed.
[0011] In one embodiment, the components of the preset model library are visual components.
[0012] In one embodiment, the preset model library is set according to the characteristic information of different nuclear power equipment and early warning business requirements.
[0013] In one embodiment, the early warning model is constructed according to the target component, the configuration parameters of the target component and the data flow information between the target components, comprising:
[0014] generating a configuration file according to the target components, configuration parameters of the target components and data flow direction information among the target components;
[0015] checking the configuration parameters of the configuration file to obtain a first checking result;
[0016] checking the data flow direction information of the configuration file to obtain a second checking result;
[0017] if the first checking result is that the parameters are set correctly and the second checking result is that the connections among the target components are correct, constructing an early warning model according to the configuration file.
[0018] In one embodiment, after the early warning model is constructed according to the configuration file, the method further comprises:
[0019] converting the configuration file into a storage file according to a preset conversion format;
[0020] receiving an opening instruction of the storage file from a user;
[0021] obtaining the storage file in response to the opening instruction;
[0022] parsing the storage file according to the preset conversion format to obtain the configuration file;
[0023] checking a class path of a target component in the configuration file to obtain a third checking result;
[0024] if the third checking result is that the class path exists and is valid, constructing an early warning model according to the configuration file.
[0025] In one embodiment, after the data flow direction of the configuration file is checked to obtain the second checking result, the method further comprises:
[0026] if the first checking result is that the parameters are set incorrectly and / or the second checking result is that the connections among the target components are incorrect, obtaining and displaying error information.
[0027] In one embodiment, the configuration file comprises component configuration information and line connection information, the component configuration information comprises a name, identification information, a function type, position information, icon information, state information and attribute information of a target component, and the line connection information comprises line start information, line end information and line representation information.
[0028] In a second aspect, the embodiments of the present application provide a nuclear power equipment early warning device, comprising:
[0029] a template module configured to provide a preset model library including input / output components, operation components and judgment components;
[0030] a model construction module configured to determine target components from the preset model library according to a component selection operation of a user, acquire configuration parameters of the target components and data flow information among the target components, and construct an early warning model according to the target components, the configuration parameters of the target components and the data flow information among the target components;
[0031] a calculation module configured to perform operation and / or judgment on target data of a target nuclear power equipment by using the early warning model to obtain an output result, and perform an alarm operation if the output result is an alarm result.
[0032] In a third aspect, an electronic device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the method of any one of the above first aspect when executing the computer program.
[0033] In a fourth aspect, a computer readable storage medium is provided, which stores a computer program, and the computer program is executable on a processor to implement the method of any one of the above first aspect.
[0034] In a fifth aspect, a computer program product is provided, which, when executed on an electronic device, causes the electronic device to perform the method of any one of the above first aspect.
[0035] Compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0036] The embodiments of the present application determine target components from the preset model library according to a component selection operation of a user, acquire configuration parameters of the target components and data flow information among the target components, construct an early warning model according to the target components, the configuration parameters of the target components and the data flow information among the target components, perform operation and / or judgment on target data of a target nuclear power equipment by using the early warning model to obtain an output result, and perform an alarm operation if the output result is an alarm result, thereby realizing precise monitoring and predictive maintenance of nuclear power equipment, discovering potential problems of the equipment in time, automatically triggering an alarm, and reducing the impact of equipment failure on unit operation.
[0037] It can be understood that the beneficial effects of the above-mentioned second aspect to fifth aspect can be referred to the related description in the above-mentioned first aspect, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the accompanying drawings in the following description only constitute some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative effort based on these drawings.
[0039] Figure 1 is a flowchart of a nuclear power plant early warning method provided by an embodiment of the present application;
[0040] Figure 2 is an example diagram of a visual component provided by an embodiment of the present application;
[0041] Figure 3 is an example diagram of a measurement point source provided by an embodiment of the present application;
[0042] Figure 4 is an example diagram of a warning model provided by an embodiment of the present application;
[0043] Figure 5 is a structural diagram of a nuclear power plant early warning device provided by an embodiment of the present application;
[0044] Figure 6 is a structural diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0045] In the following description, specific details are set forth in order to provide a thorough understanding of embodiments of the present application. However, persons of ordinary skill in the art will readily recognize that embodiments of the present application can be practiced without these specific details, and that the present application is not limited to the embodiments described. In other instances, detailed descriptions of well-known systems, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
[0046] It should be understood that the term "comprising" as used in the specification and in the claims indicates the presence of the recited features, integers, steps, operations, elements, and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0047] It should also be understood that the term "and / or" as used in the specification and in the claims indicates any combination of one or more of the associated listed items and all possible combinations of those items.
[0048] As used in the specification and the appended claims, the term "if' can be interpreted as meaning "when" or "upon" or "in response to determining" or "in response to detecting" depending on the context. Similarly, the phrase "if it is determined" or "if [the described condition or event] is detected" can be interpreted as meaning "upon determining" or "in response to determining" or "upon detecting [the described condition or event]" or "in response to detecting [the described condition or event]" depending on the context.
[0049] In addition, in the description of the present application and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0050] In the present application, the reference "one embodiment" or "some embodiments" and the like means that the specific features, structures or characteristics described in connection with the embodiment are included in one or more embodiments of the present application. Therefore, the statements "in one embodiment", "in some embodiments", "in other some embodiments", "in further some embodiments" and the like appearing in different places in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized. The terms "include", "contain", "have" and their variants mean "include but not limited to", unless otherwise specifically emphasized.
[0051] In one embodiment, Figure 1 is a flowchart of a nuclear power plant early warning method provided by an embodiment of the present application. As shown in Figure 1 , the method comprises:
[0052] S11: determining a target component in the components of the preset model library according to the user's component selection operation.
[0053] Among them, the components of the preset model library include input and output components, operation components and judgment components. The input component supports data acquisition of multiple data sources. The operation component includes mathematical operation component and logical operation component.
[0054] The preset model library includes components that implement different functions, provides a model library of multiple algorithms for users, and can provide targeted early warning logic for various devices.
[0055] In a possible implementation manner, the component of the preset model library is a visual component.
[0056] An example of Figure 2 is an example diagram of a visual component provided by an embodiment of the present application. As shown in Figure 2As shown, the input component includes data access, interface calling component, the mathematical operation component includes addition, subtraction, average calculation and other components, the logical operation component includes logical and, logical or and other components. The output component includes return value, return state component.
[0057] In application, the visualization is represented by icon shape and text. Meanwhile, the visualization component supports drag-and-drop operation.
[0058] The user selects the target component in the preset model library by dragging and dropping the visualization component on the display interface.
[0059] S12: Obtain the configuration parameters of the target component and the data flow information between the target components.
[0060] In application, the user displays the information of the component at the target component by clicking the target component, and inputs the configuration parameters of the target component through the visualization operation to obtain the configuration parameters of the target component. The user sets the connection line flow direction between the target components on the display interface to realize the data flow information between the target components.
[0061] By providing the user with an intuitive and easy-to-use algorithm model library and rule engine tool, non-professional users can use it, reducing the technical threshold, and promoting the popularization and application of technology.
[0062] S13: Construct the early warning model according to the target component, the configuration parameters of the target component and the data flow information between the target components.
[0063] In application, the target component is set according to the configuration parameters, and then the connection line, line mark and line flow direction between the target components are set according to the data flow information between the target components to realize the construction of the early warning model.
[0064] After the early warning model is constructed, the early warning model can also be detected and processed to detect whether the model can normally run to meet the running requirements and obtain the output results meeting the design.
[0065] S14: Use the early warning model to operate and / or judge the target data of the target nuclear power equipment to obtain the output results.
[0066] S15: If the output result is an alarm result, execute the alarm operation.
[0067] In the application, the source and data type of the measurement points are determined based on the configuration parameters of the input module, and then the target data of the target nuclear power equipment is obtained through the input module. Then, according to the data flow direction of the input module, the target data is transmitted to the next target component, instructing the next target component to perform mathematical or logical operations. If a mathematical operation is performed, according to the data flow direction of the next target component, the operation result is transmitted to the next target component for further mathematical or logical operations. If a logical operation is performed, according to the data flow direction of the next target component, the operation result is transmitted to the next target component for a judgment operation. If the judgment result is satisfactory, the next target component transmits the judgment result to the output component, which outputs the result, which is either a status or a value. If the judgment result is unsatisfactory, the process returns to the input component and the above steps are repeated.
[0068] For example, the input component sets the measurement point source. Figure 3 This is an example diagram illustrating the source of measurement points provided in an embodiment of this application. For example... Figure 3 As shown, users can set the desired measurement point source through the drop-down menu.
[0069] To obtain real-time values from measurement points, select the input component as the data input component and enter the required configuration parameters so that the input component can obtain real-time values from the measurement points. Real-time values of indicators such as vibration, temperature, pressure, and corrosion can be obtained.
[0070] To obtain historical values of a measurement point, select the historical measurement point input component and input the acquisition time frequency and other required configuration parameters so that the input component can obtain historical values of the measurement point.
[0071] Example, Figure 3 This is an example diagram of an early warning model provided in an embodiment of this application. For example... Figure 3 As shown, the input components include constant value components, historical measurement point components, etc. Based on the data flow of the input components, the target data is input into the mathematical operation component or logical operation component. The mathematical operation components include division, subtraction, absolute value calculation, average value calculation, and deviation calculation components. The logical operation component: the greater than or equal to component receives the results from the previous mathematical operation component and the input component through the data flow, and then transmits the logical operation result to the judgment component: the conformity component. If the conformity component's judgment result is conformity, then based on the judgment component's data flow, the judgment result is transmitted to the output component: the return status component, which outputs status information.
[0072] It can be understood that by constructing the early warning model required by the user through the preset model library, the equipment maintenance can be accurately and targeted, the equipment maintenance strategy can be optimized, the scientificity and accuracy of the strategy can be improved, the blindness and redundancy of the equipment maintenance can be reduced, the situation of over-maintenance or insufficient maintenance can be reduced, and the safety and reliability of the equipment operation can be improved. At the same time, resources are effectively utilized, maintenance man-hours and labor costs are reduced.
[0073] By constructing the early warning model required by the user through the preset model library, the target data of the target nuclear power equipment is operated and / or judged by using the early warning model to obtain an output result; if the output result is an alarm result, an alarm operation is performed; the nuclear power equipment can be accurately monitored and predictively maintained, the maintenance cost caused by fault expansion and sudden events can be reduced, the downtime caused by equipment failure can be reduced, and the loss caused by downtime can be reduced. Moreover, accurate and timely monitoring and early warning can reduce the probability of equipment accidents and safety accidents, thereby reducing the direct economic loss and indirect impact caused by accidents.
[0074] And by using the early warning model, the target data of the target nuclear power equipment is operated and / or judged to obtain an output result; if the output result is an alarm result, an alarm operation is performed, the response speed to faults and sudden events can be improved, and the time required for fault determination can be reduced.
[0075] In the embodiment, the target components are determined from the components in the preset model library according to the component selection operation of the user; the configuration parameters of the target components and the data flow information between the target components are obtained; the components in the preset model library include input / output components, operation components and judgment components; the early warning model is constructed according to the target components, the configuration parameters of the target components and the data flow information between the target components; the target data of the target nuclear power equipment is operated and / or judged by using the early warning model to obtain an output result; if the output result is an alarm result, an alarm operation is performed, the nuclear power equipment can be accurately monitored and predictively maintained, the potential problems of the equipment can be found in time, and the influence of the equipment failure on the unit operation can be reduced by automatically triggering the alarm.
[0076] In one embodiment, the preset model library is set according to the characteristic information of different nuclear power equipment and early warning business requirements.
[0077] In the application, please continue to refer to Figure 2 The functional components of the preset model library can be set according to user requirements. For example, input components can be added according to the collection mode of input data. Logic operation components can also be added according to the required logic operation mode.
[0078] The preset model library can support multiple scripting languages to provide diversified development support modes, improve development efficiency, and adapt the preset model library to different development scenarios and project requirements. Meanwhile, the preset model library can promote digital transformation of nuclear power plants and improve technical level and innovation capability of equipment monitoring.
[0079] The preset model library is set according to characteristic information of different nuclear power equipment and early warning business requirements, can flexibly configure functional components, realizes self-defined extension, simplifies arrangement process of business processes, and can improve work efficiency and accuracy.
[0080] In one embodiment, step S13 comprises:
[0081] S131: generating a configuration file according to the target components, the configuration parameters of the target components, and the data flow among the target components.
[0082] In application, the configuration file can be a json configuration file (JavaScript Object Notation, lightweight data exchange format).
[0083] In one possible implementation, the configuration file comprises component configuration information and line connection information, the component configuration information comprises a name, identification information, a function type, position information, icon information, state information, and attribute information of the target component, and the line connection information comprises line start information, line end information, and line representation information.
[0084] In application, the name of the target component is used to display component functions. For example, "data access" indicates that the component is a component for external input source, and the value is input by an external interface. The identification information is used to distinguish the components in the early warning model and has uniqueness. The function type is used to indicate the use method of the component. For example, the "add" component is used to perform numerical addition operation on the data input into the component. The position information is used to indicate the position of the component on the display interface. The icon information is used to indicate the shape of the component. The state information is used to indicate the state of the component. The attribute information is a user-defined attribute and is set according to user requirements. For example, the attribute information setting of the "subtract" component includes a subtractend and a subtractor, and the subtractend and the subtractor are connected through the names of the input connection lines of the component to realize subtraction of the values of which target components, so that the early warning model can be correctly parsed and correct operation can be performed.
[0085] The line start information comprises identification information of a starting target component, the line end information comprises identification information of an ending target component, and the data flow is determined through the line start information and the line end information. The line representation information is used to determine which type of operation is participated in by the target components connected by the connection line, as indicated by the identification of the connection line in Figure 4
[0086] S132: Verify the configuration parameters of the configuration file to obtain a first verification result.
[0087] In the application, the configuration parameters of the configuration file are verified to determine whether the parameters are correctly filled, whether there is missing filling, etc., to obtain a first verification result.
[0088] S133: Verify the data flow information of the configuration file to obtain a second verification result.
[0089] In the application, the data flow information of the configuration file is verified to determine whether the target components that need to be connected have corresponding connection lines, whether the line connection information is correct, to obtain a second verification result.
[0090] S134: If the first verification result is that the parameters are correctly set and the second verification result is that the connections between the target components are correct, then the early warning model is constructed according to the configuration file.
[0091] In the application, when the first verification result is that the parameters are correctly set and the second verification result is that the connections between the target components are correct, it indicates that the early warning model constructed by the user has no problem. The configuration file is parsed to obtain component configuration information and line connection information, and the early warning model is constructed to obtain model data.
[0092] S135: If the first verification result is that the parameters are incorrectly set and / or the second verification result is that the connections between the target components are incorrect, then the error information is obtained and displayed.
[0093] In the application, when the first verification result is that the parameters are incorrectly set, the information input by the user has filling errors and / or incorrect filling. When the second verification result is that the connections between the target components are incorrect, the information input by the user has the situation that the target components that need to be connected are not connected and / or the connection line information is filled incorrectly. Then the error information is obtained and displayed to enable the user to know the configuration error information and correct the information in time to construct a correct early warning model.
[0094] The embodiment verifies the configuration parameters of the configuration file to obtain a first verification result, verifies the data flow information of the configuration file to obtain a second verification result, constructs an early warning model according to the configuration file if the first verification result is that the parameters are correctly set and the second verification result is that the connections between the target components are correct, obtains and displays error information if the first verification result is that the parameters are incorrectly set and / or the second verification result is that the connections between the target components are incorrect, to verify the configuration file to obtain a correct configuration file, construct an early warning model according to the correct configuration file, accurately monitor the running state of the nuclear power equipment, and discover equipment faults in time; and inform the user in time when the configuration file is determined to be incorrect, to avoid early warning failure caused by constructing an early warning model according to an incorrect configuration file.
[0095] In one embodiment, after step S13, further comprising:
[0096] S21: converting the configuration file into a storage file according to a preset conversion format.
[0097] In application, according to the preset conversion format, each piece of information in the configuration file is stored in the corresponding target field to form a data mapping, and the storage file is obtained.
[0098] Supporting multiple ways to store the storage file.
[0099] S22: receiving an opening instruction of the storage file from the user.
[0100] In application, when the user needs to open the configuration file again, the opening operation is performed on the corresponding storage file to obtain the opening instruction of the storage file.
[0101] S23: obtaining the storage file in response to the opening instruction.
[0102] S24: parsing the storage file according to the preset conversion format to obtain the configuration file.
[0103] In application, according to the preset conversion format, the storage file is parsed and mapped to obtain each item of data information from the target field, and the configuration file is obtained.
[0104] S25: verifying the class path of the target component in the configuration file to obtain a third verification result.
[0105] In application, after the configuration file is obtained, the class path of the target component in the configuration file is verified to determine whether the class path exists and is valid, and the third verification result is obtained.
[0106] S21: if the third verification result is that the class path exists and is valid, constructing an early warning model according to the configuration file.
[0107] In application, when the third verification result is that the class path exists and is valid, it indicates that the configuration file has no problem, and the early warning model can be constructed according to the configuration file to continue to use the early warning model to monitor the target nuclear power equipment.
[0108] The embodiment stores the configuration file by converting the configuration file into a storage file according to a preset conversion format, and parses the storage file according to the preset conversion format to obtain the configuration file, so that a correct configuration file can be obtained when the configuration file is used again, the security and reliability of the configuration file are improved, and the possibility of file tampering and damage is reduced; and the class path of the target component in the configuration file is verified to obtain a third verification result; if the third verification result is that the class path exists and is valid, the early warning model is constructed according to the configuration file, so that the early warning model can be constructed again using the correct configuration file, and the case that the user generates the configuration file again is reduced.
[0109] It should be understood that the size of the serial number of each step in the above embodiment does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiment of the application. The data collection in the above embodiment is in compliance, and its use or implementation does not involve hindering the public interest.
[0110] Corresponding to the method described in the above embodiment, only the part related to the embodiment of the application is shown for convenience of description.
[0111] In one embodiment, Figure 5 is a structural schematic diagram of a nuclear power equipment early warning device provided by an embodiment of the application. As Figure 5 shown, the device comprises:
[0112] The template module 10 is configured to provide components of a preset model library.
[0113] In application, the template module can display the components of the preset model library through a display interface.
[0114] The model construction module 11 is configured to determine a target component from the components of the preset model library according to a component selection operation of a user; obtain configuration parameters of the target component and data flow direction information between the target components; the components of the preset model library comprise input and output components, operation components and judgment components; and construct an early warning model according to the target component, the configuration parameters of the target component and the data flow direction information between the target components.
[0115] The calculation module 12 is configured to use the early warning model to perform operation and / or judgment on target data of a target nuclear power equipment to obtain an output result; and perform an alarm operation if the output result is an alarm result.
[0116] In one embodiment, the model construction module comprises a topology unit and an analysis unit.
[0117] The topology unit is configured to generate a configuration file according to the target components, configuration parameters of the target components, and data flow direction information among the target components; check the configuration parameters of the configuration file to obtain a first check result; and check the data flow direction information of the configuration file to obtain a second check result.
[0118] In an application, the topology unit can provide a user with a function of viewing components and establishing connections through a display interface. The topology unit includes a connection construction unit and a topology generation unit. The connection construction unit is configured to construct flow nodes according to the target components and configuration parameters of the target components, so that the functional components have the connection function. The topology unit is configured to set connection lines, line identifiers, and line flow directions among the target components according to the data flow direction information among the target components.
[0119] The model analysis unit is configured to construct an early warning model according to the configuration file if the first check result is that the parameters are correctly set and the second check result is that the connections among the target components are correct.
[0120] In an application, the model analysis unit analyzes the configuration file to obtain configuration information and line connection information, constructs an early warning model, and obtains model data if the first check result is that the parameters are correctly set and the second check result is that the connections among the target components are correct. Then, the model analysis unit sends the model data to the calculation module, so that the calculation module uses the early warning model to perform operations and / or judgments on target data of a target nuclear power equipment by using the model data, and obtains an output result. If the output result is an alarm result, an alarm operation is performed.
[0121] In one embodiment, the apparatus further includes a storage module.
[0122] The storage module is configured to convert the configuration file into a storage file according to a preset conversion format; receive an opening instruction of the storage file from a user; obtain the storage file in response to the opening instruction; and analyze the storage file according to the preset conversion format to obtain the configuration file.
[0123] In an application, the topology unit sends the configuration file to the storage module in response to a user saving operation after the configuration file is checked.
[0124] The model analysis unit is configured to check a class path of the target components in the configuration file to obtain a third check result, and construct an early warning model according to the configuration file if the third check result is that the class path exists and is valid.
[0125] In one embodiment, the topology unit is further configured to obtain and display error information if the first check result is that the parameters are incorrectly set and / or the second check result is that the connections among the target components are incorrect.
[0126] Figure 6This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 6 As shown, the electronic device 2 of this embodiment includes: at least one processor 20 ( Figure 6 (Only one is shown in the diagram), memory 21, and computer program 22 stored in said memory 21 and executable on said at least one processor 20, wherein said processor 20 executes said computer program 22 to implement the steps in any of the above method embodiments.
[0127] The electronic device 2 can be a desktop computer, laptop, handheld computer, cloud server, or other computing device. The electronic device 2 may include, but is not limited to, a processor 20 and a memory 21. Those skilled in the art will understand that... Figure 6 This is merely an example of electronic device 2 and does not constitute a limitation on electronic device 2. It may include more or fewer components than shown in the figure, or combine certain components, or different components. For example, it may also include input / output devices, network access devices, etc.
[0128] The processor 20 can be a Central Processing Unit (CPU), or it can be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0129] In some embodiments, the memory 21 may be an internal storage unit of the electronic device 2, such as a hard disk or memory of the electronic device 2. In other embodiments, the memory 21 may be an external storage device of the electronic device 2, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the electronic device 2. Furthermore, the memory 21 may include both internal and external storage units of the electronic device 2. The memory 21 is used to store the operating system, applications, bootloader, data, and other programs, such as the program code of the computer program. The memory 21 can also be used to temporarily store data that has been output or will be output.
[0130] It should be noted that the information interaction, execution process and the like between the above apparatuses / units are based on the same concept as the method embodiments of the present application, and the specific functions and the technical effects brought by the same can be referred to the method embodiments part, which will not be repeated here.
[0131] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above-mentioned division of each functional unit and module is exemplified, and in actual application, the above-mentioned functions can be completed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of software functional unit. In addition, the specific name of each functional unit and module is only for convenient distinction, and does not limit the protection scope of the present application. The specific working process of the unit and module in the system can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
[0132] The embodiments of the present application further provide a computer readable storage medium, the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps in each of the method embodiments.
[0133] The embodiments of the present application provide a computer program product, when the computer program product runs on an electronic device, the electronic device executes the steps in each of the method embodiments.
[0134] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, the present application can implement all or part of the processes in the above-mentioned embodiment methods through a computer program to instruct relevant hardware to complete, and the computer program can be stored in a computer readable storage medium. When the computer program is executed by a processor, the steps of each method embodiment described above can be implemented. The computer program includes computer program code, which can be in the form of source code, object code, executable files or some intermediate forms. The computer readable medium at least includes any entity or device capable of carrying the computer program code to the photographing device / terminal equipment, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium. For example, U disk, mobile hard disk, magnetic disk or optical disk, etc. In some cases, the computer readable medium can not be an electrical carrier signal and a telecommunication signal.
[0135] In the above embodiments, the description of each embodiment has its own focus, and the parts not described or recorded in detail in a certain embodiment can be referred to the relevant description of other embodiments.
[0136] Those skilled in the art can appreciate that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether the functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. The skilled person can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0137] In the embodiments provided in the present application, it should be understood that the disclosed apparatus / network device and method can be implemented in other ways. For example, the above-described apparatus / network device embodiments are only schematic, for example, the division of the modules or units is only a logical function division, and there can be another division manner in actual implementation, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection between each other can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms.
[0138] The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may also be distributed to multiple network units. Part or all of the units can be selected to achieve the purpose of the embodiment scheme according to actual needs.
[0139] The above embodiments are only used to illustrate the technical solutions of the present application, but not limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that the technical solutions recorded in the foregoing embodiments can still be modified, or some technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A method of early warning of a nuclear power plant, characterized in that, The method comprises the following steps: According to the user's component selection operation, determine the target component in the preset model library component, the preset model library component includes input component, output component, operation component and judgment component, and the preset model library component is a visual component; Obtain the configuration parameters of the target component and the data flow information between each target component; According to the target component, the configuration parameters of the target component and the data flow information between each target component, build an early warning model, specifically: According to the target component, the configuration parameters of the target component and the data flow information between each target component, generate a configuration file; Verify the configuration parameters of the configuration file to obtain a first verification result; Verify the data flow information of the configuration file to obtain a second verification result; If the first verification result is correct parameter setting, and the second verification result is correct connection between each target component, build an early warning model according to the configuration file; Use the early warning model to operate and / or judge the target data of the target nuclear power equipment to obtain an output result, specifically: According to the configuration parameters of the input component, determine the measurement point source and data type, obtain the target data of the target nuclear power equipment through the input component, and transmit the target data to the next target component according to the data flow direction of the input component, instruct the next target component to perform mathematical operation or logical operation, if the mathematical operation is performed, according to the data flow direction of the next target component, transmit the operation result to the next target component to perform mathematical operation or logical operation, if the logical operation is performed, according to the data flow direction of the next target component, transmit the operation result to the next target component to perform judgment operation, if the judgment result is correct, the next target component transmits the judgment result to the output component, and the output component outputs the output result, which is a state or a value; If the output result is an alarm result, execute an alarm operation.
2. The method of claim 1, wherein: The preset model library is set according to the characteristic information of different nuclear power equipment and the early warning business demand.
3. The method of claim 1, wherein, After the early warning model is built according to the configuration file, the method further comprises the following steps: According to the preset conversion format, convert the configuration file into a storage file; Receive the opening instruction of the user for the storage file; In response to the opening instruction, obtain the storage file; According to the preset conversion format, parse the storage file to obtain the configuration file; Verify the class path of the target component in the configuration file to obtain a third verification result; If the third verification result is that the class path exists and is valid, build an early warning model according to the configuration file.
4. The method of claim 3, wherein, After verifying the data flow of the configuration file to obtain a second verification result, the method further comprises the following steps: If the first verification result is parameter setting error and / or the second verification result is that the connection between each target component is wrong, obtain and display error information.
5. The method of claim 4, wherein: The configuration file includes component configuration information and line connection information, the component configuration information includes a name, identification information, a function type, position information, icon information, state information and attribute information of a target component, and the line connection information includes line start information, line end information and line representation information.
6. A nuclear power plant early warning device characterized by, Comprise: A template module configured to provide preset model library components, the preset model library components including input components, output components, operation components and judgment components, the preset model library components being visual components; A model construction module configured to determine target components from the preset model library components according to a user's component selection operation, acquire configuration parameters of the target components and data flow information between the target components, and construct an early warning model according to the target components, the configuration parameters of the target components and the data flow information between the target components, specifically: generate a configuration file according to the target components, the configuration parameters of the target components and the data flow information between the target components; verify the configuration parameters of the configuration file to obtain a first verification result; verify the data flow information of the configuration file to obtain a second verification result; if the first verification result is that the parameters are correctly set and the second verification result is that the connections between the target components are correct, construct an early warning model according to the configuration file; A calculation module configured to use the early warning model to perform operation and / or judgment on target data of a target nuclear power equipment to obtain an output result, specifically: determine a measurement point source and a data type according to a configuration parameter of an input component, acquire target data of a target nuclear power equipment through the input component, transmit the target data to a next target component according to a data flow direction of the input component, instruct the next target component to perform a mathematical operation or a logical operation, if the mathematical operation is performed, transmit an operation result to a next-next target component to perform a mathematical operation or a logical operation according to a data flow direction of the next target component, if the logical operation is performed, transmit the operation result to the next-next target component to perform a judgment operation according to the data flow direction of the next target component, if the judgment result is correct, the next-next target component transmits the judgment result to the output component, and the output component outputs an output result, the output result being a state or a value; if the output result is an alarm result, perform an alarm operation.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor executes the computer program to implement the method of any one of claims 1 to 5.
8. A computer-readable storage medium storing a computer program, the computer-readable storage medium comprising: The computer program is executed by the processor to implement the method of any one of claims 1 to 5.
Citation Information
Patent Citations
Graphical data flow modeling and processing system and method
CN108519876A
ETL data processing method and device, medium and equipment
CN114020823A