Misoperation prompting method and device, electronic equipment and storage medium

By acquiring the operating parameters and equipment status information of the power unit's process system, and combining them with human-machine interaction, the system performs error judgment based on a rule base, solving the problem of low efficiency in error judgment in existing technologies. This enables rapid and accurate error prompts and corrections, improving the system's safety and stability.

CN121030352APending Publication Date: 2025-11-28CHINA STATE SHIPBUILDING CORP LTD RESEARCH INSTITUTE 719
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511020199.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-23
Publication Date
2025-11-28

AI Technical Summary

Technical Problem

Existing error detection rule matching methods are inefficient when dealing with complex logical conditions and cannot meet real-time requirements. Especially when faced with a large number of dynamically changing parameters, errors may not be detected and corrected in a timely manner, increasing the risk of system operation.

Method used

By acquiring the operating parameter information and equipment status information of the power unit process system, and combining the operation action information of the human-machine interaction control panel, the system performs rule matching based on the error judgment rules in the rule base, generates error judgment results, and provides timely prompts.

Benefits of technology

It improves the efficiency and accuracy of error detection, enables rapid response to changes in system status, timely detection and correction of errors, reduces system operation risks, and improves system response speed and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121030352A_ABST
    Figure CN121030352A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of misoperation prompting, and provides a misoperation prompting method and device, electronic equipment and a storage medium, and the method comprises the steps: defining normal operation conditions and misoperation modes corresponding to different operation parameters and equipment state combinations in detail in a rule base; in actual operation, the system can quickly search matched rules in the rule base according to the operation parameters and the equipment state information which are acquired in real time. The corresponding misoperation judgment result is directly obtained in the process and converted into the misoperation prompt information, the complex logical reasoning process is reduced, and the reasoning efficiency is remarkably improved. The misoperation judgment mechanism comprehensively considers a plurality of key operation parameters in the power device process system, so that the operation state of the power device process system can be evaluated more comprehensively. According to the comprehensive analysis method, misoperation can be recognized more accurately, and misjudgment caused by misjudgment of a single parameter or a state is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of misoperation prompting, in particular to a misoperation prompting method and device, electronic equipment and storage medium. BACKGROUND

[0002] The efficient and safe operation of power plant process systems is crucial for the entire production process. In actual operation, due to the negligence of operators, equipment failure or complex working conditions, etc., misoperation may occur, which may threaten the stability and safety of the system. Therefore, accurately and timely identifying and correcting misoperation is a key link to ensure the normal operation of the power plant process system.

[0003] Misoperation judgment rule matching is an important link in the power plant process system. However, the current misoperation rule matching mechanism faces many challenges in practical application. The traditional rule matching method is low in efficiency when dealing with complex logical conditions, and it is difficult to meet the real-time requirements. Especially when facing a large number of dynamically changing parameters, the lack of matching speed may lead to misoperation that cannot be discovered and corrected in time, thereby increasing the risk of system operation. Therefore, how to improve the efficiency and accuracy of misoperation rule matching has become a problem to be solved in the power plant process system. SUMMARY

[0004] The present application provides a misoperation prompting method, device, electronic equipment and storage medium to solve the defects of misoperation judgment rule matching in the prior art.

[0005] The present application provides a misoperation prompting method, comprising the following steps: Obtaining operation parameter information and equipment operation state information of a power plant process system, and operation action information of a human-computer interaction operation platform screen; Based on the misoperation judgment rules in the rule base, the operation parameter information, the equipment operation state information and the operation action information are matched according to the rules to obtain a misoperation judgment result; Based on the misoperation judgment result, misoperation prompting is performed.

[0006] According to the misoperation prompting method provided by the present application, the operation parameter information, the equipment operation state information and the operation action information are matched according to the rules based on the misoperation judgment rules in the rule base to obtain a misoperation judgment result, which comprises: Based on the analog parameter value in the misoperation judgment rule in the rule base, and the first on-off parameter value in the operation parameter information, the second on-off parameter value in the equipment operation state information, rule comparison is performed to obtain a candidate misoperation judgment result; Perform rule condition matching based on the operation action information and the candidate misoperation judgment result, and determine the misoperation judgment result.

[0007] According to the misoperation prompting method, the running parameter information includes flow, temperature, pressure and liquid level of the power device process system; wherein the liquid level refers to the liquid level height in a container or pipeline in the power device process system. The device running state information includes opening and closing states of valves and opening and closing states of pumps in the power device process system.

[0008] According to the misoperation prompting method, the running parameter information and the device running state information of the power device process system, and the operation action information of the man-machine interactive operation console screen are obtained, including: The running parameter information message and the running state information message corresponding to the power device process system are obtained through an Ethernet interface; The running parameter information message and the running state information message are respectively parsed based on the configuration file of the running state parameter to obtain the running parameter information and the device running state information; The operation action information of the man-machine interactive operation console screen is obtained.

[0009] According to the misoperation prompting method, the rule library is constructed, including: A rule file to be recognized is obtained; A rule pointer array is determined based on text in the rule file; The rule pointer array includes a plurality of rule pointers, and a value of the rule pointer is a memory address of a rule; the rule includes a condition head pointer, an output pointer, an enable clock sequence number, a time limit, a rule type, a disable identifier, a timer enable, a timer expiration identifier and a next rule pointer; A rule library corresponding to the rule pointer array is constructed.

[0010] According to the misoperation prompting method, a value of the condition head pointer is a memory address of a condition head; The condition head includes a condition pointer and a next condition head pointer, and a value of the next condition head pointer is a memory address of a next condition head; A value of the condition pointer is a memory address of a condition; The condition head includes a plurality of composite conditions, and the composite condition includes a plurality of basic conditions; A logical operator between the plurality of basic conditions in the composite condition is an AND operator; Logical operators between the plurality of composite conditions are OR operators.

[0011] According to the misoperation prompting method provided by the application, the basic condition is used to perform comparison operation of analog parameters or switch parameters; The comparison operation of the analog parameters comprises comparison operation of the analog parameters with preset values, and comparison operation of the analog parameters with current values or history values of another analog parameters; the comparison operation comprises greater than comparison, less than comparison, equal to comparison and not equal to comparison; The comparison operation of the switch parameters comprises equal to comparison operation and not equal to comparison operation of the switch parameters with preset state values, and state switching or flipping judgment of the switch parameters.

[0012] The application further provides a misoperation prompting device, comprising the following units: An acquisition unit is configured to acquire operation parameter information and equipment operation state information of a power device process system, and operation action information of a man-machine interactive operation platform; A rule matching unit is configured to perform rule matching on the operation parameter information, the equipment operation state information and the operation action information based on misoperation judgment rules in a rule library, to obtain a misoperation judgment result; A prompting unit is configured to perform misoperation prompting based on the misoperation judgment result.

[0013] The application further provides an electronic device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the misoperation prompting method according to any one of the above when executing the program.

[0014] The application further provides a non-transitory computer readable storage medium, which stores a computer program, wherein the computer program is executable on a processor to implement the misoperation prompting method according to any one of the above.

[0015] The application further provides a computer program product, comprising a computer program, wherein the computer program is executable on a processor to implement the misoperation prompting method according to any one of the above.

[0016] The misoperation prompting method, device, electronic equipment and storage medium provided by the application obtain operation parameter information and equipment operation state information of a power device process system and operation action information of a man-machine interactive operation platform, then perform rule matching on the operation parameter information, equipment operation state information and operation action information based on misoperation judgment rules in a rule library to obtain a misoperation judgment result, and finally, misoperation prompting is performed based on the misoperation judgment result. On the one hand, the rule library defines in detail normal operation conditions and misoperation modes corresponding to different operation parameters and equipment state combinations. In actual operation, the system can quickly find matching rules in the rule library according to the real-time collected operation parameters and equipment state information. This process directly obtains the corresponding misoperation judgment result and converts it into misoperation prompting information, reduces the complex logical reasoning process, and significantly improves the reasoning efficiency. Compared with the traditional method, the rule library of the application is more comprehensive and structured, can quickly respond to changes in the system state, and ensures that misoperation can be discovered in time. On the other hand, the misoperation judgment mechanism comprehensively considers multiple key operation parameters in the power device process system, so that the operation state of the power device process system can be more comprehensively evaluated. This comprehensive analysis method can more accurately identify misoperation and avoid false judgments caused by misjudgment of a single parameter or state. BRIEF DESCRIPTION OF DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are some embodiments of the application, and for those skilled in the art, other drawings can also be obtained without creative labor.

[0018] Figure 1 is one of the flowcharts of the misoperation prompting method provided by the application.

[0019] Figure 2 is the second flowchart of the misoperation prompting method provided by the application.

[0020] Figure 3 is a schematic diagram of the rule pointer array provided by the application.

[0021] Figure 4 is a structural diagram of the rule composition provided by the application.

[0022] Figure 5 is a schematic diagram of the role of the condition header between the rule and the basic condition provided by the application.

[0023] Figure 6 is a structural diagram of the basic condition composition provided by the application.

[0024] Figure 7 is a schematic diagram of a composite condition composed of multiple basic conditions provided by the present application.

[0025] Figure 8 is a schematic diagram of a rule output chain table provided by the present application.

[0026] Figure 9 is a schematic diagram of a rule output chain table provided by the present application.

[0027] Figure 10 is a schematic diagram of a rule data structure provided by the present application.

[0028] Figure 11 is a schematic diagram of the structure of a misoperation prompting device provided by the present application.

[0029] Figure 12 is a schematic diagram of the structure of an electronic device provided by the present application. DETAILED DESCRIPTION

[0030] In order to make the objectives, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be described clearly and completely below in conjunction with the drawings in the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of protection of the present application.

[0031] The terms "first", "second", and the like in the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than that illustrated or described herein, and the objects distinguished by "first", "second", and the like are generally of a kind.

[0032] Figure 1 is one of the flowcharts of a misoperation prompting method provided by the present application, Figure 2 is another flowchart of a misoperation prompting method provided by the present application, as shown in Figure 1 , Figure 2 The method is applied to a misoperation judging device, and the method comprises steps 110, 120 and 130.

[0033] Step 110: obtaining running parameter information and equipment running state information of a power device process system, and operation action information of a man-machine interactive operation platform screen.

[0034] Specifically, first, the operation parameter information and the equipment operation state information of the power device process system, and the operation action information of the man-machine interactive operation platform screen can be acquired. The operation parameter information refers to the measurement values of various physical quantities directly related to the system performance and the operation state of the power device process system during the operation process. The equipment operation state information refers to the operation conditions of each equipment in the power device process system, which reflects whether the equipment is working normally and its working mode.

[0035] Here, the operation parameter information includes the flow, temperature, pressure and liquid level of the power device process system. The liquid level refers to the liquid level height in the container or pipeline in the power device process system. The flow refers to the amount of fluid (liquid or gas) passing through a certain cross section of the pipeline, equipment, etc. in the power device process system per unit time. In the power device process system, for example, in the fuel delivery pipeline, the size of the flow will affect the fuel supply of the engine. If the flow is too large or too small, it may cause insufficient combustion of the engine or unstable power output.

[0036] The equipment operation state information includes the on-off state of the valve and the on-off state of the pump in the power device process system. The valve is a key component for controlling the flow of fluid. The on-off state of the valve directly affects the flow direction and flow of the fluid. For example, in the cooling system, the opening of the valve can allow the cooling liquid to flow, and the closing can cut off the supply of the cooling liquid. The pump is a device for delivering fluid. The on-off state of the pump determines whether the fluid can be delivered. For example, in the fuel pump, the opening of the pump can deliver fuel from the fuel tank to the engine, and the closing can stop the fuel delivery.

[0037] In step 120, the operation parameter information, the equipment operation state information and the operation action information are matched based on the misoperation judgment rules in the rule library to obtain a misoperation judgment result. In step 130, a misoperation prompt is performed based on the misoperation judgment result.

[0038] Specifically, after obtaining the operation parameter information, the equipment operation state information and the operation action information, the operation parameter information, the equipment operation state information and the operation action information can be matched based on the misoperation judgment rules in the rule library to obtain a misoperation judgment result.

[0039] The misoperation judgment device reads the misoperation judgment rule information from the misoperation judgment rule file through an external file. The misoperation judgment rule file contains a plurality of misoperation judgment rules, and the rule library and the rule are written in accordance with the following format conventions: Rule library := Rule [+ newline + Rule] Rule := Condition + Condition Separator + Output + Timer Condition := Sub-Condition [Condition-Connector Sub-Condition] Condition-Separator := : Condition-Connector := a / o Sub-Condition := Operator + Parameter-Number + Parameter-History-Value-Number + Parameter-Number / Parameter-Value Operator := e / l / g / E / L / G / i / n / s / b / B Parameter-Number := 0 / Natural Number Parameter-History-Value-Number := 0 / Natural Number Parameter-Value := On / Off Value / Analog Value On / Off Value := 0 / 1 Analog Value := Float Output := Output-Operator + Parameter-Number + Parameter-Value / Parameter-Number Output-Operator := m / t / f Timer := Timer-Operator + Timer-Length + Timer-Association-Operator + Association-Parameter-Number Timer-Operator := d Timer-Length := 0 / Natural Number Timer-Association-Operator := r Association-Parameter-Number := 0 / Natural Number

[0040] In the main processing board of the misoperation judging device, each processing cycle (100 ms), each rule in the rule base is executed in turn according to the order. Each rule includes several items, of which the two most important parts are: a) the condition of the rule, and b) the output of the rule.

[0041] The condition of the rule. The condition of the rule is composed of several basic logical expressions (basic conditions). The output result of each basic logical expression has only two possibilities: TRUE (the condition is satisfied) or FALSE (the condition is not satisfied). Several basic logical expressions can be combined into a compound expression (compound condition) according to the relationships of and, or, and not. The result of the final rule condition is obtained by the combined operation of several compound expressions.

[0042] The output of the rule. After the logical operation of the rule condition is completed, the result obtained determines the output value of which parameters is set by the rule. In the output of each rule, one parameter value can be output, or several parameter values can be output.

[0043] In each rule, in addition to the condition of the above-mentioned rule and the output of the rule, there are some other auxiliary attributes. For example, the timer start time of the rule, the time limit of the rule, the identification of whether the timer of the rule is overdue, whether the rule is enabled, the type of the rule, and the like. In the rule traversal process, these attributes can determine whether the rule is executed and whether the output result of the rule needs to be kept.

[0044] The data structure of the rule is defined as follows: struct rule{ struct demandHeader* pDemandHeader; struct rule_output* pOutput; int nStartTime; int nDuration; / / if nDuration is 0, it indicates that the time limit of the rule is not considered int nType; / / type of the rule unsigned char bRuleDisable; unsigned char bDurationEnable; / / only when nDuration>0, the field is valid int nTimerIndex; / / newly added, indicating the state parameter of the timer. If the value is 1, it indicates that the timer is not overdue; if the value is 0, it indicates that the timer is overdue.

[0045] struct rule* pNext; }; After obtaining the misoperation judgment result, misoperation prompting can be performed based on the misoperation judgment result.

[0046] In summary, after the misoperation judgment device is started and runs, the misoperation judgment rule is loaded from the rule library and parsed. After the initialization operation is completed, the following operations are periodically performed: a) Through the Ethernet interface of the backplane bus, the collected power device process system running parameter information (the process parameter information of the process system is collected in the AI (Analog Input) mode, such as flow, temperature, pressure, liquid level, and the like) is received from the CAN (Controller Area Network) bus communication board; b) receiving the collected power plant process system equipment running state information (collecting the process system equipment running state such as the opening / closing state of a valve, the start / stop state of a pump, etc. in a DI (Digital Input) mode) from the CAN bus communication board through the Ethernet interface of the backplane bus; c) receiving the collected operator operation action information on the human-computer interaction operation console screen (collecting the switch gear and switching action, the button press / pull-up action, etc. on the console screen in a DI mode) from the CAN bus communication board through the Ethernet interface of the backplane bus; d) analyzing and processing the obtained above-mentioned running state parameters and operation control instructions; c) performing misoperation judgment reasoning operation according to the analyzed misoperation judgment rules; d) generating a misoperation judgment result; e) sending the misoperation judgment result to a display interface to warn or remind the operator.

[0047] Here, the a) in the embodiment of the application can generate a misoperation judgment result according to the result of misoperation judgment rule reasoning operation.

[0048] b) the result of misoperation judgment rule judgment is defined by using a simple data structure to save storage space and misoperation judgment rule result output time.

[0049] c) the misoperation judgment rule result is output by using a communication mode.

[0050] Further, the a) can output the generated misoperation judgment result to a screen display device, a running information storage device, etc.

[0051] b) to ensure the consistency of misoperation judgment result output, only the main main program board can output the misoperation judgment result, and the standby main program board cannot output the misoperation judgment result.

[0052] c) to avoid the misoperation judgment result being incorrect due to incomplete data acquisition or incomplete system running state in the initial period after the system is powered on, the misoperation judgment result should not be output within the initialization period.

[0053] d) the misoperation judgment result output time period is about 100 ms.

[0054] For example, when (1# cooling water tank water level <200 cm or 2# cooling water tank water level <200 cm), and the bridge pipe valve connected with the two water tanks is in a closed state, and the 1# generator is in a running state, and the state of the 1# drain valve is open, If the "start" button of the No. 1 drainage pump is pressed, the following prompts are given: 1) the No. 1 drainage pump should not be started at this time; 2) it is suggested to start the No. 1 or No. 2 makeup pump to supply water to the cooling water tank, and to open the bridge valve between the two cooling water tanks.

[0055] The method provided by the embodiment of the application acquires operation parameter information and equipment operation state information of a power device process system and operation action information of a man-machine interactive operation platform, and then performs rule matching on the operation parameter information, the equipment operation state information and the operation action information based on misoperation judgment rules in a rule base to obtain a misoperation judgment result. Finally, misoperation prompting is performed based on the misoperation judgment result. On the one hand, the rule base defines in detail normal operation conditions and misoperation modes corresponding to different combinations of operation parameters and equipment states. In actual operation, the system can quickly find matching rules in the rule base according to the real-time collected operation parameters and equipment state information. This process directly obtains the corresponding misoperation judgment result and converts it into misoperation prompt information, reduces the complex logical reasoning process, and significantly improves the reasoning efficiency. Compared with traditional methods, the rule base of the application is more comprehensive and structured, can quickly respond to changes in system state, and ensures that misoperations can be discovered in time. On the other hand, the misoperation judgment mechanism comprehensively considers multiple key operation parameters in the power device process system, so as to more comprehensively evaluate the operation state of the power device process system. This comprehensive analysis method can more accurately identify misoperations and avoid false judgments caused by a single parameter or state.

[0056] In addition, after completing rule matching, misoperation prompting can be immediately performed based on the misoperation judgment result. This function not only can timely notify the operator, but also can provide specific misoperation information and correction suggestions to help the operator quickly take measures and avoid potential risks. Compared with the delayed misoperation prompting in traditional methods, the instant prompting function greatly improves the response speed of the system and reduces the impact of misoperations on system operation.

[0057] Based on the above embodiment, step 120 comprises: Step 121, performing rule comparison based on an analog quantity parameter value in the misoperation judgment rules in the rule base and a first on-off quantity parameter value in the operation parameter information and a second on-off quantity parameter value in the equipment operation state information to obtain a candidate misoperation judgment result. Step 122, performing rule condition matching based on the operation action information and the candidate misoperation judgment result to determine the misoperation judgment result.

[0058] Specifically, the analog quantity parameter value in the misoperation judgment rule in the rule library, and the first on-off quantity parameter value in the operation parameter information and the second on-off quantity parameter value in the equipment operation state information can be compared based on rules to obtain a candidate misoperation judgment result.

[0059] Then, rule condition matching is performed based on the operation action information and the candidate misoperation judgment result to determine the misoperation judgment result.

[0060] For example, a) greater than comparison of the analog quantity parameter value with a certain value; b) less than comparison of the analog quantity parameter value with a certain value; c) equal to comparison of the analog quantity parameter value with a certain value; d) not equal to comparison of the analog quantity parameter value with a certain value; e) comparison of the analog quantity parameter value between two parameters; f) greater than comparison of the analog quantity parameter value with the current value or historical value of another analog quantity parameter value; h) less than comparison of the analog quantity parameter value with the current value or historical value of another analog quantity parameter value; i) comparison of the analog quantity parameter value between the current value or historical value of two analog quantity parameter values; j) equal to comparison of the analog quantity parameter value with the current value or historical value of another analog quantity parameter value; k) equal to comparison of the on-off quantity parameter value with a certain state value; l) not equal to comparison of the on-off quantity parameter value with a certain state value; m) state switching or flipping (change from 0 to 1 or from 1 to 0 in the current clock cycle) judgment of the on-off quantity parameter value.

[0061] For this purpose, the data structure is defined as follows: struct demand{ int indexParam; / / parameter serial number char op; / / operator char* value1; char* value2; int hisParam; int his1; int his2; struct demand* pNext; }; By combining the comparison of analog parameter values and switch parameter values, and the rule condition matching of operation action information and candidate misoperation judgment results, a more accurate misoperation judgment result can be generated to realize more accurate misoperation prompting.

[0062] Based on the above embodiment, step 110 includes: Step 111, through the Ethernet interface, obtaining the running parameter information message and the running state information message corresponding to the power device process system; Step 112, based on the configuration file of the running state parameter, respectively parsing the running parameter information message and the running state information message to obtain the running parameter information and the device running state information; Step 113, obtaining the operation action information of the man-machine interactive operation platform screen.

[0063] Specifically, first, through the Ethernet interface, the running parameter information message and the running state information message corresponding to the power device process system are obtained, and then based on the configuration file of the running state parameter, the running parameter information message and the running state information message are respectively parsed to obtain the running parameter information and the device running state information.

[0064] It can be understood that the Ethernet interface supports high-speed data transmission, which can quickly transmit the running parameter information message and the running state information message corresponding to the power device process system from the data source to the processing center, which ensures the real-time and timeliness of the data, and meets the demand of the power device process system for real-time monitoring.

[0065] By parsing the running parameter information message and the running state information message based on the configuration file of the running state parameter, the parsing logic can be flexibly adjusted according to different data formats and requirements. This flexibility enables the system to adapt to multiple data sources and different data structures, improving the versatility and adaptability of the system.

[0066] Further, the running parameter information message and the running state information message can be parsed based on the configuration file of the running state parameter every preset time period. It can be understood that by processing data in batches through a preset time period instead of processing all data at once, memory occupation can be significantly reduced. The amount of data processed each time is limited within a certain range, avoiding the problem of insufficient memory caused by excessive data.

[0067] After each time period ends, the system can release the memory resources used in the current period to make room for the next period. This periodic memory release mechanism can effectively avoid memory leakage and memory overflow problems.

[0068] And, a) can be received operating status information processing, such as performing 3 take 2 meet the logic of the command conversion, etc.).

[0069] b) can be updated and maintained in the last period of time operating status parameter information history data in real time; c) operating status parameter information history data time window is not less than 10s.

[0070] Switch, button state and action information processing: a) can be collected on the operating table screen switch current gear (such as on, off, or manual, automatic, etc.) state information; b) can be collected on the operating table screen button state (such as pressed, pop up, etc.) state information; c) can be captured on the operating table screen switch action state (such as switching from "on" to "off", or from "manual" to "automatic"); d) can be captured on the operating table screen button action state (such as pressed, or pop up); e) switch, button state and action information acquisition time period is about 100ms.

[0071] The internal interface of the misoperation judgment device mainly includes: a) misoperation judgment rule text format definition.

[0072] b) misoperation judgment rule internal dynamic running data structure definition.

[0073] The above internal interface can be left for design description, but it needs to meet the following requirements: a) completeness: misoperation judgment rule text format definition needs to cover all misoperation judgment function requirements.

[0074] b) unambiguous: the meaning of misoperation judgment rule representation must be clear, translatable, and not ambiguous in understanding.

[0075] c) scalability: misoperation judgment rule representation method must have certain scalability to ensure that new misoperation judgment requirements can be generated in the design phase without affecting the overall framework, and to meet the new misoperation judgment condition description function requirements.

[0076] d) priority override principle: in the same misoperation judgment instruction cycle, the misoperation judgment rule executed later has higher priority, which can override or modify the misoperation judgment result executed before, to ensure the consistency of misoperation judgment reasoning logic and the effectiveness of the final result.

[0077] The internal data of the misoperation judgment device mainly includes: a) Internal representation and storage format definition of operation parameter information (including switch, button state and action information).

[0078] b) Historical data list data structure definition of device operation state parameters (including switch, button state and action information).

[0079] c) Internal global clock counter.

[0080] The above internal data can be described at the design time, but it needs to meet the following requirements: a) Independence principle: The attribute description of the operation state parameter should be separated from the program code as much as possible to maintain its independence, and to facilitate adjustment or other adaptive modification of the range, upper limit and lower limit value during subsequent development, testing and maintenance.

[0081] b) Descriptive principle: The internal representation and storage format of the operation state parameter need to have a certain description so that software maintenance personnel can clearly understand the physical meaning of each parameter.

[0082] c) Scalability principle: The capacity of the historical data list of the operation state parameter can be adjusted (expanded or reduced) without affecting the overall framework and other module functions.

[0083] d) Scalability: The misoperation judgment rule representation method must have a certain scalability to ensure that new misoperation judgment requirements can be appropriately expanded without affecting the overall framework to meet the new misoperation judgment condition description function requirements.

[0084] d) Meet the maximum continuous operation time requirement: The maximum value of the internal global clock counter should meet the continuous operation requirement to ensure that there will be no errors, faults or other unpredictable consequences due to data overflow within this time period.

[0085] Based on the above embodiment, the rule base construction steps include: Step 210, obtaining a rule file to be identified; Step 220, determining a rule pointer array based on the text in the rule file; The rule pointer array includes a plurality of rule pointers, and the value of the rule pointer is the memory address of the rule; the rule includes a condition head pointer, an output pointer, an enable clock sequence number, a time limit, a rule type, a disable identifier, a timer enable, a timer expiration identifier and a next rule pointer; Step 230, constructing a rule base corresponding to the rule pointer array.

[0086] Specifically, the rule file to be identified is obtained. The rule file is a text file or data file used to store rule information. It defines a series of rules, which are usually used to guide the behavior, decision logic or data processing of the system. The rule file can be a ship power control rule file. This embodiment of the invention does not specifically limit this.

[0087] After obtaining the rule file to be identified, the rule pointer array can be determined based on the text in the rule file.

[0088] For example, during the rule loading process, each line of text is read from the rule file, parsed, and a new rule is created. Once the rule file is fully loaded, an array of rule pointers is generated, with each element pointing to a rule. Figure 3 This is a schematic diagram of the regular pointer array provided by the present invention. Figure 4 This is a schematic diagram of the structure composed of the rules provided by the present invention, such as... Figure 3 and Figure 4 As shown, the rule pointer array contains multiple rule pointers, and the value of each rule pointer is the memory address of the rule. A rule includes a condition header pointer, an output pointer, an enable clock sequence number, a time limit, a rule type, a disable flag, a timer enable flag, a timer expiration flag, and a next rule pointer.

[0089] As you can understand, a rule pointer array is an array where each element is a pointer to a rule. Each rule pointer stores the memory address of a rule. This structure allows for quick access and manipulation of individual rules through the pointer array, making it suitable for scenarios requiring dynamic management and efficient rule access. By storing the memory addresses of rules, the rule pointer array enables programs to quickly locate and manipulate rules. This approach improves the flexibility and efficiency of rule management, especially in systems that require frequent access and modification of rules.

[0090] The condition header pointer points to the beginning of the rule conditions and is used to access and parse the condition logic. The output pointer points to the output result or action when the rule is executed. The enable clock sequence number identifies the time order or priority of rule activation. The time limit refers to the valid time range or timeout period of the rule. The rule type identifies the category or function type of the rule. The disable flag indicates whether the rule is disabled. The timer enable flag indicates whether the timer function is enabled. The timer expiration flag indicates whether the timer has expired. The next rule pointer points to the pointer to the next rule, used for linked storage of rules.

[0091] After determining the rule pointer array, the rule base corresponding to the rule pointer array can be constructed.

[0092] The method provided by the embodiment of the present application comprises the following steps: obtaining a rule file to be identified; determining a rule pointer array based on the text in the rule file; wherein the rule pointer array comprises a plurality of rule pointers, and the value of the rule pointer is the memory address of the rule; the rule comprises a condition head pointer, an output pointer, an enabling clock sequence number, a time limit, a rule type, a disable identifier, a timer enabling, a timer expiration identifier and a next rule pointer; and finally, constructing a rule library corresponding to the rule pointer array. In the method, the rule library is constructed under a unified rule expression protocol, thereby improving the efficiency of rule library construction; and through the unified rule expression protocol, it is ensured that all rules follow the same format and semantics, thereby avoiding the problem of inconsistent data.

[0093] Based on the above embodiment, the value of the condition head pointer is the memory address of the condition head; The condition head comprises a condition pointer and a next condition head pointer, and the value of the next condition head pointer is the memory address of the next condition head; The value of the condition pointer is the memory address of the condition; The condition head comprises a plurality of compound conditions, and each compound condition comprises a plurality of basic conditions; The logical operator between the plurality of basic conditions in the compound condition is an and operator; The logical operator between the plurality of compound conditions is an or operator.

[0094] Specifically, Figure 5 is a schematic diagram of the role of the condition head between the rule and the basic condition provided by the present application, as Figure 5 shown, the value of the condition head pointer is the memory address of the condition head, wherein the condition head comprises a condition pointer and a next condition head pointer, the value of the next condition head pointer is the memory address of the next condition head, and the value of the condition pointer is the memory address of the condition.

[0095] It can be understood that the chain structure can flexibly represent complex condition logic and support the nesting, parallelism and combination of conditions. For example, a rule can comprise a plurality of conditions, and these conditions can be dynamically connected through the chain structure.

[0096] The condition head comprises a plurality of compound conditions, wherein each compound condition comprises a plurality of basic conditions (demand), and the embodiments of the present application provide that: a) the priority of and operation is higher than that of or operation; b) the priority of not operation is higher than that of and operation; c) the plurality of basic conditions in each compound condition must be in an and relationship; d) the plurality of compound conditions in each rule must be in an or relationship; e) not operation is directly defined by binary operator inside basic condition.

[0097] To realize the above design, a data structure for associating between rules and basic conditions is defined in the software of the embodiment of the present application, named condition header. Each condition header pointer represents the start of a composite condition composed of a set of basic conditions. The definition of the data structure is simple, only containing two pointer elements, which are defined as follows: struct demandHeader{ struct demand* pDemand; / / points to the first basic condition of the multiple basic conditions composing the current composite condition struct demandHeader* pNext; / / points to the condition header of the next composite condition of the current rule }; Among them, pDemand points to the first basic condition of the multiple basic conditions composing the current composite condition, and pNext points to the condition header of the next composite condition of the current rule. As can be seen from the above definition, the condition header plays the role of an intermediate layer between rules and basic conditions, as shown in Figure 5 From the diagram, it can be seen that each rule is essentially formed by the cross-linked list adhesion of condition headers.

[0098] Based on the above embodiment, the basic condition is used to perform comparison operation of analog parameter or switching parameter; The comparison operation of the analog parameter includes comparison operation of the analog parameter with a preset value, and current value or historical value comparison operation of the analog parameter with another analog parameter; the comparison operation includes greater than comparison, less than comparison, equal to comparison and not equal to comparison; The comparison operation of the switching parameter includes equal to comparison operation and not equal to comparison operation of the switching parameter with a preset state value, and state switching or flipping judgment of the switching parameter.

[0099] Figure 6 is a structural diagram of the basic condition provided by the present application, as shown in Figure 6 The basic condition is used to perform various judgment or comparison operations of analog parameters or switching parameters, such as: a) greater than comparison of analog parameter value with a certain value; b) less than comparison of analog parameter value with a certain value; c) equal to comparison of analog parameter value with a certain value; d) not equal to comparison of analog parameter value with a certain value; e) comparison of analog parameter value between two parameters; f) greater than comparison of analog parameter value with current or historical value of another analog parameter value; h) less than comparison of analog parameter value with current or historical value of another analog parameter value; i) comparison of analog parameter value between current or historical value of two analog parameter values; j) equal to comparison of analog parameter value with current or historical value of another analog parameter value; k) equal to comparison of on-off parameter value with a certain state value; l) not equal to comparison of on-off parameter value with a certain state value; m) state switching or toggling (in current clock cycle, state changes from 0 to 1 or from 1 to 0) determination of on-off parameter value.

[0100] For this purpose, the data structure of the basic condition is defined as follows: struct demand{ int indexParam; / / parameter serial number char op; / / operator char* value1; char* value2; int hisParam; int his1; int his2; struct demand* pNext; }; Correspondingly, Figure 7 is a schematic diagram of the composite condition composed of multiple basic conditions provided by the present application, as shown in Figure 7 The basic condition includes parameter serial number, operator, first numerical value or first parameter serial number, second numerical value or second parameter serial number, first parameter history serial number, second parameter history serial number, and next condition pointer.

[0101] Here, the parameter serial number is a unique identifier for identifying the parameter involved in the current condition. Through the parameter serial number, the specific parameter value can be quickly located and accessed. For example, assuming that there is a temperature sensor with a parameter serial number of 1, the current value of the sensor can be referenced by parameter serial number 1 in the condition.

[0102] Among them, the first numerical value or the first parameter serial number is a field, which can be a specific numerical value (such as 30) or the serial number of another parameter (such as parameter serial number 1).

[0103] The second numerical value or the second parameter serial number is a field, which can be a specific numerical value (such as 30) or the serial number of another parameter (such as parameter serial number 1).

[0104] The first parameter history serial number is used to refer to the historical value of the current parameter, instead of the current value. The second parameter history serial number is similar to the first parameter history serial number, and is used to refer to the historical value of the second parameter.

[0105] The next condition pointer is a pointer pointing to the memory address of the next basic condition. The next condition pointer is used to connect multiple basic conditions into a linked list, thereby representing complex conditional logic.

[0106] It should be noted that the rule output is implemented through the output pointer, Figure 8 is a schematic diagram of the rule output linked list provided by the present application, as Figure 8 indicated, the value of the output pointer is the memory address of the first output head in the rule output linked list.

[0107] Based on the above embodiment, the rule output linked list includes multiple output heads; The output head includes an output parameter serial number, an output parameter value, a flip identifier, and a next output pointer; The value of the next output pointer is the memory address of the output parameter value of the next output head.

[0108] Specifically, in the output result of each rule execution, the parameters of the operation can be more than one, and multiple outputs are connected using a linked list.

[0109] Figure 9 is a schematic diagram of the rule output linked list provided by the present application, as Figure 9 indicated, the rule output linked list includes multiple output heads, wherein the output head includes an output parameter serial number, an output parameter value, a flip identifier, and a next output pointer.

[0110] Here, the output parameter serial number is a unique identifier used to identify the parameter involved in the current output action. Through the output parameter serial number, the specific output parameter can be quickly located and accessed. For example, assuming that an output action is to set the temperature of a device, and the output parameter serial number of the device is 1, then the output value of the device can be referred to by the parameter serial number 1.

[0111] The output parameter value is the specific value of the output action, indicating the value to be set when the rule meets the condition. For example, if the output parameter serial number is 1 and the output parameter value is 30, then the temperature of the device will be set to 30 when the rule meets the condition.

[0112] The flip flag is a Boolean value indicating whether a flip operation is needed for the output parameter value.

[0113] Based on any of the above embodiments, Figure 10 is a schematic diagram of the rule data structure provided by the present application, as Figure 10 shown, the rule pointer array includes a plurality of rule pointers, and the value of the rule pointer is the memory address of the rule, wherein the rule includes a condition head pointer, an output pointer, an enable clock sequence number, a time limit, a rule type, a disable flag, a timer enable, a timer expiration flag, and a next rule pointer, and the value of the output pointer is the memory address of the first output head in the rule output linked list.

[0114] The value of the condition head pointer is the memory address of the condition head; the condition head includes a condition pointer and a next condition head pointer, and the value of the next condition head pointer is the memory address of the next condition head, and the value of the condition pointer is the memory address of the condition.

[0115] The condition head includes a plurality of composite conditions, and the composite condition includes a plurality of basic conditions; the logical operator between the plurality of basic conditions in the composite condition is an AND operator, and the logical operator between the plurality of composite conditions is an OR operator.

[0116] The basic condition includes a parameter sequence number, an operator, a first value or a first parameter sequence number, a second value or a second parameter sequence number, a first parameter history sequence number, a second parameter history sequence number, and a next condition pointer.

[0117] The rule output linked list includes a plurality of output heads, and the output head includes an output parameter sequence number, an output parameter value, a flip flag, and a next output pointer; the value of the next output pointer is the memory address of the output parameter value of the next output head.

[0118] The method provided by the embodiment of the present application is parallel and cooperative control of units and equipment included in each subsystem of the power device, so as to improve the maneuverability of the ship. A set of cooperative control system is constructed, including a controller and a driving software thereof, an open cooperative control software framework, a cooperative control rule library, etc. In order to ensure the scalability and maintainability of the cooperative control function, a set of complete and unambiguous coordination control rule expression protocol with priority coverage function and scalability is proposed, and the related syntax is defined. Based on the syntax, a coordination control rule parser, an inference engine and an executor are designed, and the separation between the cooperative control software framework and the cooperative control rule is realized.

[0119] In the embodiment of the present application, the systems and devices of the ship power plant are highly associated and tightly coupled, and the complexity of the operation and control of the power plant is further improved, which brings new challenges to the operation and control technology and ability of the operator. Especially in the case of needing to handle quickly, there is a possibility of misjudgment and misoperation of human operation. Adding the anti-misoperation or misoperation judgment and prompt function in the power plant integrated display console screen can not only relieve the mental stress of the operator and reduce the work burden of the operator, but also improve the operation safety of the power plant.

[0120] Therefore, on the basis of obtaining the operation parameter information (such as flow, temperature, pressure, water level, etc.) and the operation state (such as valve opening / closing, pump start / stop, etc.) of the power plant process system, a console signal acquisition system is further set to comprehensively obtain the gear state and control action information of the switches and buttons on each console of the power plant. On this basis, a rule library for misoperation judgment is designed, and according to the judgment rules in the rule library, the operation state and working condition of the power plant are combined to analyze the operation action state information, so as to judge whether the current hard operation is correct (or appropriate), and for the inappropriate operation, the operator can be prompted through the display screen. The rule library is deployed in an open manner, which is conducive to the extension of the misoperation judgment and prevention rules.

[0121] The misoperation prompt device provided by the present application is described below, and the misoperation prompt device described below can be correspondingly referred to the misoperation prompt method described above.

[0122] Based on any of the above embodiments, the present application provides a misoperation prompt device, Figure 11 is a structural schematic diagram of the misoperation prompt device provided by the present application, as Figure 11 shown, the device comprises: An acquisition unit 1110 is configured to acquire operation parameter information and device operation state information of a power plant process system, and operation action information of a human-computer interaction console. A rule matching unit 1120 is configured to perform rule matching on the operation parameter information, the device operation state information and the operation action information based on misoperation judgment rules in a rule library, to obtain a misoperation judgment result. A prompt unit 1130 is configured to perform misoperation prompting based on the misoperation judgment result.

[0123] The apparatus provided in this invention acquires operating parameter information and equipment operating status information of a power plant process system, as well as operation action information from a human-machine interface control panel. Based on error judgment rules in a rule base, it performs rule matching on the operating parameter information, equipment operating status information, and operation action information to obtain an error judgment result. Finally, based on the error judgment result, it provides an error prompt. On one hand, the rule base defines in detail the normal operating conditions and error modes corresponding to different combinations of operating parameters and equipment status. In actual operation, the system can quickly search for matching rules in the rule base based on the real-time collected operating parameters and equipment status information. This process directly yields the corresponding error judgment result and converts it into error prompt information, reducing complex logical reasoning processes and significantly improving reasoning efficiency. Compared with traditional methods, the rule base of this application is more comprehensive and structured, enabling rapid response to changes in system status and ensuring that errors can be detected in a timely manner. On the other hand, the error judgment mechanism comprehensively considers multiple key operating parameters in the power plant process system, thereby enabling a more comprehensive assessment of the operating status of the power plant process system. This comprehensive analysis method can more accurately identify misoperations and avoid incorrect judgments caused by misjudgment of a single parameter or state.

[0124] Based on any of the above embodiments, the rule matching unit 1120 is specifically used for: Based on the analog quantity parameter values ​​in the erroneous operation judgment rules in the rule base, the first switch quantity parameter value in the operating parameter information, and the second switch quantity parameter value in the equipment operating status information, the rules are compared to obtain the candidate erroneous operation judgment results; Based on the operation action information and the candidate erroneous operation judgment results, rule condition matching is performed to determine the erroneous operation judgment result.

[0125] Based on any of the above embodiments, the operating parameter information includes the flow rate, temperature, pressure, and liquid level of the power unit process system; wherein, the liquid level refers to the liquid level height in the container or pipeline of the power unit process system; The equipment operating status information includes the on / off status of valves and pumps in the power unit process system.

[0126] Based on any of the above embodiments, the acquisition unit 1110 is specifically used for: The operating parameter information message and operating status information message corresponding to the power unit process system are obtained through the Ethernet interface. Based on the configuration file of the operating status parameters, the operating parameter information message and the operating status information message are parsed respectively to obtain the operating parameter information and the device operating status information; Obtain operation action information of the man-machine interaction console screen.

[0127] Based on any of the above embodiments, further comprising a construction unit, specifically for: Obtain a rule file to be identified; Based on the text in the rule file, determine a rule pointer array; The rule pointer array includes a plurality of rule pointers, and the value of the rule pointer is the memory address of the rule; the rule includes a condition head pointer, an output pointer, an enable clock sequence number, a time limit, a rule type, a disable identifier, a timer enable, a timer expiration identifier, and a next rule pointer; Construct a rule library corresponding to the rule pointer array.

[0128] Based on any of the above embodiments, the value of the condition head pointer is the memory address of the condition head; The condition head includes a condition pointer and a next condition head pointer, and the value of the next condition head pointer is the memory address of the next condition head; The value of the condition pointer is the memory address of the condition; The condition head includes a plurality of composite conditions, and the composite condition includes a plurality of basic conditions; The logical operator between the plurality of basic conditions in the composite condition is an AND operator; The logical operator between the plurality of composite conditions is an OR operator.

[0129] Based on any of the above embodiments, the basic condition is used to perform a comparison operation of an analog parameter or a switching parameter; The comparison operation of the analog parameter includes a comparison operation of the analog parameter with a preset numerical value, and a current value or a historical value comparison operation of the analog parameter with another analog parameter; the comparison operation includes greater than comparison, less than comparison, equal to comparison, and not equal to comparison; The comparison operation of the switching parameter includes an equal to comparison operation of the switching parameter with a preset state value, a not equal to comparison operation, and a state switching or flipping judgment of the switching parameter.

[0130] Figure 12 is a structural schematic diagram of an electronic device provided by the present application, such as Figure 12As shown, the electronic device can include a processor 1210, a communications interface 1220, a memory 1230, and a communications bus 1240, wherein the processor 1210, the communications interface 1220, and the memory 1230 complete mutual communication through the communications bus 1240. The processor 1210 can invoke a logic instruction in the memory 1230 to execute the misoperation prompting method, which includes: obtaining running parameter information and device running state information of a power device process system, and operation action information of a human-computer interaction operation console screen; performing rule matching on the running parameter information, the device running state information, and the operation action information based on misoperation judgment rules in a rule library to obtain a misoperation judgment result; and performing misoperation prompting based on the misoperation judgment result.

[0131] In addition, the logic instruction in the memory 1230 described above can be implemented in the form of a software functional unit and sold or used as an independent product, and can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.

[0132] On the other hand, the present application also provides a computer program product, which includes a computer program, the computer program can be stored on a non-transitory computer readable storage medium, and the computer program is executed by a processor, so that the computer can execute the misoperation prompting method provided by the above-mentioned methods, which includes: obtaining running parameter information and device running state information of a power device process system, and operation action information of a human-computer interaction operation console screen; performing rule matching on the running parameter information, the device running state information, and the operation action information based on misoperation judgment rules in a rule library to obtain a misoperation judgment result; and performing misoperation prompting based on the misoperation judgment result.

[0133] In yet another aspect, the present application also provides a non-transitory computer readable storage medium having stored thereon a computer program, which, when executed by a processor, implements the misoperation prompting method provided by any of the above methods, and the method comprises: obtaining operation parameter information and equipment operation state information of a power device process system, and operation action information of a human-computer interaction operation platform; performing rule matching on the operation parameter information, the equipment operation state information and the operation action information based on misoperation judgment rules in a rule base to obtain a misoperation judgment result; and performing misoperation prompting based on the misoperation judgment result.

[0134] The device embodiments described above are merely illustrative, wherein the units described as separate components can or can not be physically separated, and the components displayed as units can or can not be physical units, i.e., can be located in one place or distributed on multiple network units. Part or all of the modules can be selected to achieve the purpose of the present embodiment scheme according to actual needs. Those skilled in the art can understand and implement without creative labor.

[0135] From the above description of the embodiments, those skilled in the art can clearly understand that the embodiments can be realized by means of software plus necessary universal hardware platforms, and of course can also be realized by hardware. Based on such understanding, the above technical solutions, essentially or in other words, the part that contributes to the prior art, can be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes a number of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods described in each embodiment or some parts of the embodiments.

[0136] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to 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: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement to some technical features; 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.

Claims

1. A method for indicating erroneous operations, characterized in that, include: Acquire operating parameter information and equipment operating status information of the power unit process system, as well as operation action information of the human-machine interface control panel; Based on the erroneous operation judgment rules in the rule base, the operating parameter information, the device operating status information and the operation action information are matched by rules to obtain the erroneous operation judgment result; Based on the results of the error judgment, an error prompt will be issued.

2. The method for prompting incorrect operation according to claim 1, characterized in that, The rule-based error judgment rules in the rule base are used to match the operating parameter information, the device operating status information, and the operation action information to obtain the error judgment result, including: Based on the analog quantity parameter values ​​in the erroneous operation judgment rules in the rule base, the first switch quantity parameter value in the operating parameter information, and the second switch quantity parameter value in the equipment operating status information, the rules are compared to obtain the candidate erroneous operation judgment results; Based on the operation action information and the candidate erroneous operation judgment results, rule condition matching is performed to determine the erroneous operation judgment result.

3. The method for prompting incorrect operation according to claim 1, characterized in that, The operating parameter information includes the flow rate, temperature, pressure, and liquid level of the power unit's process system; wherein, the liquid level refers to the liquid level height in the container or pipeline of the power unit's process system. The equipment operating status information includes the on / off status of valves and pumps in the power unit process system.

4. The method for indicating erroneous operation according to any one of claims 1 to 3, characterized in that, The acquisition of operating parameter information and equipment operating status information of the power unit process system, as well as operation action information of the human-machine interface control panel, includes: The operating parameter information message and operating status information message corresponding to the power unit process system are obtained through the Ethernet interface. Based on the configuration file of the operating status parameters, the operating parameter information message and the operating status information message are parsed respectively to obtain the operating parameter information and the device operating status information; Obtain the operation action information of the human-computer interaction control panel.

5. The method for indicating erroneous operation according to any one of claims 1 to 3, characterized in that, The steps for constructing the rule base include: Obtain the rule file to be identified; Based on the text in the rule file, determine the rule pointer array; The rule pointer array includes multiple rule pointers, and the value of each rule pointer is the memory address of a rule. Each rule includes a condition header pointer, an output pointer, an enable clock sequence number, a time limit, a rule type, a disable flag, a timer enable flag, a timer expiration flag, and a next rule pointer. Construct the rule library corresponding to the rule pointer array.

6. The method for prompting incorrect operation according to claim 5, characterized in that, The value of the condition header pointer is the memory address of the condition header; The condition header includes a condition pointer and a next condition header pointer, wherein the value of the next condition header pointer is the memory address of the next condition header; The value of the condition pointer is the memory address of the condition; The condition header includes multiple composite conditions, and the composite conditions include multiple basic conditions; The logical operator between the multiple basic conditions in the composite condition is the AND operator; The logical operator between the multiple composite conditions is the OR operator.

7. The method for prompting incorrect operation according to claim 6, characterized in that, The basic conditions are used to perform comparison operations on analog or digital parameters; The comparison operation of the analog parameter includes a comparison operation between the analog parameter and a preset value, and a comparison operation between the analog parameter and the current value or historical value of another analog parameter; the comparison operation includes greater than comparison, less than comparison, equal to comparison and not equal to comparison; The comparison operation of the switch quantity parameter includes an equal comparison operation and a not equal comparison operation between the switch quantity parameter and a preset state value, as well as a state switching or flipping judgment of the switch quantity parameter.

8. A device for indicating misoperation, characterized in that, include: The acquisition unit is used to acquire operating parameter information and equipment operating status information of the power unit process system, as well as operation action information of the human-machine interface control panel. The rule matching unit is used to perform rule matching on the operating parameter information, the device operating status information and the operation action information based on the erroneous operation judgment rules in the rule base, so as to obtain the erroneous operation judgment result; The prompting unit is used to provide a prompt for incorrect operation based on the result of the incorrect operation judgment.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the error prompting method as described in any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the error prompting method as described in any one of claims 1 to 7.