CN116048926A - Custom rule engine system and judging method based on equipment inspection worksheet and equipment data analysis - Google Patents

Custom rule engine system and judging method based on equipment inspection worksheet and equipment data analysis Download PDF

Info

Publication number
CN116048926A
CN116048926A CN202310117297.9A CN202310117297A CN116048926A CN 116048926 A CN116048926 A CN 116048926A CN 202310117297 A CN202310117297 A CN 202310117297A CN 116048926 A CN116048926 A CN 116048926A
Authority
CN
China
Prior art keywords
equipment
rule
inspection
rule engine
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310117297.9A
Other languages
Chinese (zh)
Inventor
杨璇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huatian Engineering and Technology Corp MCC
Original Assignee
Huatian Engineering and Technology Corp MCC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huatian Engineering and Technology Corp MCC filed Critical Huatian Engineering and Technology Corp MCC
Priority to CN202310117297.9A priority Critical patent/CN116048926A/en
Publication of CN116048926A publication Critical patent/CN116048926A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a custom rule engine system and a judging method based on equipment inspection worksheets and equipment data analysis. The rule engine system includes: the system comprises an acquisition and transmission module, a patrol service management module, a real-time event driven rule engine, a real-time rule data analysis module, a rule management and result analysis display module and a data storage module; the acquisition and transmission module is used for transmitting the acquired equipment value equipment state into the rule engine and writing into the time sequence database; triggering a rule engine to start rule verification; the inspection business management module has the main functions of inputting inspection worker single fruits and writing the inspection worker single fruits into a business management database; meanwhile, triggering a rule engine to start rule verification; the real-time event-driven rule engine module is used for writing business decisions according to the predefined semantic module, receiving input data after the rule engine is triggered, interpreting business rules and making business decisions according to the business rules.

Description

Custom rule engine system and judging method based on equipment inspection worksheet and equipment data analysis
Technical Field
The invention relates to the field of business decision making. A custom rule engine system based on equipment inspection worksheets and equipment data analysis is designed.
Background
Along with popularization and application of the intelligent technology, the intelligent degree of a factory is greatly improved. The equipment inspection of the intelligent factory is updated from the manual paper filling input with low efficiency to the automatic filling input of the mobile terminal. The work efficiency of inspection and recording work order record has been obviously promoted, but the purpose of equipment inspection is in order in time to discover the potential problem of equipment, provide inspection suggestion and in time produce the unusual warning of the technological section that this equipment is located, experienced operative employee still need carry out careful browsing and analysis to the work order of recording, locate abnormal equipment, give inspection suggestion, browse analysis to work order record is a tedious consuming time work also, simultaneously, only rely on inspection work order record's data and can not carry out comprehensive judgement to the equipment behavior, still need the data support of equipment long-term operation.
Disclosure of Invention
In order to overcome the above-mentioned drawbacks, the present invention is directed to a system and method for a custom rule engine based on equipment inspection worksheets and equipment data analysis.
In order to achieve the above object, the present invention provides a custom rule engine system based on equipment inspection worksheets and equipment data analysis, the rule engine system comprising: the system comprises an acquisition and transmission module, a patrol service management module, a real-time event driven rule engine, a real-time rule data analysis module, a rule management and result analysis display module and a data storage module;
the acquisition and transmission module is used for transmitting the acquired equipment value equipment state into the rule engine and writing into the time sequence database; triggering a rule engine to start rule verification;
the inspection business management module has the main functions of inputting inspection worker single fruits and writing the inspection worker single fruits into a business management database; meanwhile, triggering a rule engine to start rule verification;
the real-time event-driven rule engine module is used for writing business decisions according to the predefined semantic module, receiving input data after the rule engine is triggered, interpreting business rules and making business decisions according to the business rules.
Further, the rule engine triggering process includes:
a) When the device value device state is reported, writing the device reporting information time sequence database, and triggering the rule engine module. If the equipment value and the equipment state are judged to be abnormal, the rule engine outputs rule operation monitoring data;
b) When the inspection result is submitted, writing the inspection event database of the equipment, triggering a rule engine module, and outputting rule operation result data if the rule engine judges that the inspection result is abnormal;
c) In the operation of the rule engine, according to the basic information of the equipment, inquiring an information reporting time sequence database of the equipment and an equipment inspection event library; and combining the basic information of the equipment, and comprehensively judging the operation data of the equipment and the historical inspection abnormal event of the equipment to give a judging result.
Further, the setting basic information is stored in a service management database of the inspection service management platform; the setting basic information includes: attribute characteristics of the equipment, liability person information, service life and process interval;
the abnormal condition of the equipment operation comprises atomic conditions of the abnormal event of the history of the inquired equipment operation after the rule engine is triggered, wherein the atomic conditions comprise the times that the value of the equipment exceeds the upper limit and the lower limit in a period of time; the equipment reports abnormal times in a period of time; when the device value generates abnormality, the highest value and the lowest value; when the equipment state is abnormal, the number of times of abnormal states is at most what kind of state;
the equipment inspection abnormal condition comprises an atomic condition of an equipment history inspection abnormal event after a rule engine is triggered, wherein the atomic condition comprises the number of times of submitting the equipment maintenance application form in a period of time; submitting the number of damage condition descriptions of the equipment within a period of time; and submitting the abnormal inspection record times of the process section within a period of time.
Further, the rule engine judging method comprises the following steps:
when an event arrives, inquiring a device reporting information time sequence database and an event detail database according to the device type and preset atomic conditions to obtain the atomic conditions of the event;
the traversal is compared with an atomic condition judgment threshold value or judgment standard set according to the scene; if the condition is met, the count is increased and recorded; finally, outputting a comparison result;
the atomic condition judgment threshold or judgment standard set according to the scene is generated by a rule management and effect analysis system and is stored in a rule management metadata base;
further, the output of the last output comparison result is sent to a real-time data analysis system to give a final result.
In order to achieve the above purpose, the equipment inspection method based on equipment inspection work orders and equipment data analysis of the invention comprises the following steps:
the device report data reaches a real-time event driving rule engine through the acquisition and transmission system, and is written into a device report information time sequence database; meanwhile, inquiring a service management database to obtain equipment attribute conditions and thresholds;
the equipment inspection result data is input into an inspection event detail library through an inspection service management platform, and reaches a real-time event driving rule engine;
if the reported data exceeds a threshold value defined by a certain device or the inspection result is abnormal, triggering a rule engine; according to the equipment information query rule management metadata base to obtain the equipment rule atomic condition and the threshold value passed by the condition judgment;
and comparing the specific information of all the atomic conditions of the equipment with preset judgment conditions to obtain rule operation result data.
Further, the method also comprises the following steps:
inputting rule operation result data into a real-time rule data analysis system; and according to the output result data, giving out the processing decision of the equipment, and outputting the processing decision to a rule management and rule result analysis display system.
In the invention, the rule engine can be triggered by the operation of the logging inspection work order or the abnormality of the equipment value, the historical inspection work order data and the event details thereof are combined with the equipment historical abnormal data, the rule operation monitoring data is obtained according to the rule management metadata, and the data is input into the real-time data analysis system to obtain the result analysis of whether the equipment needs to be overhauled, what type of overhauling should be carried out, whether abnormal alarm should be thrown out or not and the like.
The service management platform is a service platform related to the inspection worksheet, is responsible for inputting worksheet data, is in butt joint with the mobile terminal, realizes automatic inputting and storing of the worksheet, and adopts a springboot frame; the underlying data acquisition and transmission system selects an ActiveMQ or Kafka technology; the method comprises the steps that a real-time event driven rule engine system and a real-time data analysis system select a Flink technology; the rule management and effect analysis system adopts a Drools technology and is based on a springboot framework. The data storage system comprises a time sequence database, a cache system, a relational database and the like.
Drawings
FIG. 1 rule engine system architecture diagram
FIG. 2 rule engine triggering flow chart
FIG. 3 rule model example
FIG. 4 conditional decision method
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
In the description of the present invention, it should be understood that the terms "center," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like indicate orientations or positional relationships based on the orientation or positional relationships shown in the drawings, merely to facilitate describing the present invention and simplify the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention.
The terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present invention, unless otherwise indicated, the meaning of "a plurality" is two or more.
In the description of the present invention, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
As shown in FIG. 1, the rule engine system is divided into an acquisition and transmission module, a patrol service management module, a real-time event driven rule engine, a real-time rule data analysis module, a rule management and result analysis display module and a data storage module.
The acquisition and transmission module is realized by adopting an ActiveMQ (or Kafka) and Telegraf technology, and the main functions are that the acquired device value device state is transmitted into a rule engine and written into a time sequence database. And triggers the rules engine to turn on rule verification.
The inspection business management module is mainly used for inputting inspection worker single fruits and writing the inspection worker single fruits into the business management database. At the same time, the triggering rule engine opens rule verification.
The past business rules were written in the business code, which has several disadvantages: business rules implemented by hard coding are difficult to maintain; business rules implemented by hard coding are difficult to cope with changes; when the business rule is changed, the code is required to be modified and the server is restarted to be effective, so that the efficiency is low.
Therefore, a real-time event-driven rule engine module is adopted to separate the business decisions from the application program codes, the business decisions are written according to a predefined semantic module, and after the rule engine is triggered, the module receives input data, interprets business rules and makes business decisions according to the business rules.
The rule engine triggering flow is shown in FIG. 2
a) The MQTT transmits the device value and the state in real time, and when the device value and the state of the device are reported, the device is written into the device reporting information time sequence database, and meanwhile, the rule engine module is triggered. And if the device value and the device state are judged to be abnormal, the rule engine outputs rule operation monitoring data.
b) When the inspection result is submitted, writing the inspection event database of the equipment, triggering the rule engine module, and outputting rule operation result data if the rule engine judges that the inspection result is abnormal.
c) And in the operation of the rule engine, inquiring a time sequence database of the information reported by the equipment and an equipment inspection event library according to the basic information of the equipment. The rule result determination needs to be combined with the equipment portrait (equipment basic information), equipment operation data and equipment history inspection abnormal events to perform comprehensive determination, and fig. 3 illustrates a rule atomic model: wherein the equipment attribute conditions describe the attribute characteristics of the equipment, the information of responsible persons, the service life, the process interval and the like, and the information is stored in a structured database (service management database) of the inspection service management platform. The abnormal condition of the equipment operation comprises atomic conditions of the abnormal event of the history of the inquired equipment operation after the rule engine is triggered, wherein the atomic conditions comprise the times that the value of the equipment exceeds the upper limit and the lower limit in a period of time; the equipment reports abnormal times in a period of time; when the device value generates abnormality, the highest value and the lowest value; when the device state is abnormal, the number of abnormal states is at most what kind of state is. The equipment inspection abnormal condition comprises an atomic condition of an equipment history inspection abnormal event after a rule engine is triggered, wherein the atomic condition comprises the number of times of submitting the equipment maintenance application form in a period of time; submitting the number of damage condition descriptions of the equipment within a period of time; and submitting the abnormal inspection record times of the process section in a period of time.
d) The method for judging the rule engine is shown in fig. 4, when an event arrives, according to the type of the device, the preset atomic condition queries the device to report the information time sequence database and the event detail database, and the atomic condition of the event is obtained. The traversal is then compared to an atomic condition decision threshold or criterion set according to the scene. If the condition is met, the count is incremented and which is met is recorded. And finally, outputting a comparison result. In this step, an atomic condition judgment threshold or judgment standard set according to the scene is generated by a rule management and effect analysis system and stored in a rule management metadata base.
e) And inputting the comparison result output in the steps into a real-time data analysis system to give a final result. Whether the equipment should be overhauled or whether the monitoring point is abnormal needs attention of operators and the like is judged.
f) The rule management and effect analysis system adopts a Drools technology, and the main functions of the rule management and effect analysis system are as follows:
1. result analysis, statistics and display functions, and a man-machine interaction interface.
2. The rule and each atomic condition of the rule and the threshold value through which the condition is judged are flexibly formulated.
3. Alarm function
And the equipment reports data, and the inspection result data is processed and analyzed by a custom rule engine system formed by the modules, so that the processing opinion of the equipment and the process section where the equipment is positioned is finally obtained.
The decision method of the present invention is further described below in conjunction with the above system:
1. the device report data reaches the real-time event driven rule engine through the acquisition and transmission system, and is written into the device report information time sequence database. And querying a service management database to obtain equipment attribute conditions, thresholds and the like.
2. The equipment inspection result data is input into an inspection event detail library through an inspection service management platform, and reaches a real-time event driving rule engine.
3. And if the reported data exceeds a threshold value defined by certain equipment or the inspection result is abnormal, triggering a rule engine. And inquiring a rule management metadata base according to the equipment information to obtain the atomic conditions of the equipment rule and the threshold value through which the conditions are judged.
4. Inquiring historical report information of equipment and historical patrol events according to the equipment attribute conditions, the threshold information and the rule atom conditions. And inquiring the atom condition specific information of the equipment according to the preset atom condition and threshold information. For example, the preset atomic condition is the number of times the device reports data exceeding a certain value in the last month, and the specific information of the atomic condition is obtained by inquiring the historical report information of the device according to the condition, wherein the number of times the device reports data exceeding the certain value in the last month is 5.
5. The specific information of all the atomic conditions of the device is compared with the preset judgment conditions. For example, the preset decision condition is that the number of times the device reports data exceeding the threshold value is greater than 4 in the last month. In actual situations, the number of times that the data reported by the device exceeds the threshold value is 5, and the passing of the data is judged. And by analogy, comparing all the conditions with preset judgment conditions to obtain rule operation result data.
6. The rule running result data is input into a real-time rule data analysis system. And according to the output result data, giving out the processing decision of the equipment, and outputting the processing decision to a rule management and rule result analysis display system.
7. The rule management and rule result analysis display system outputs an intuitive analysis chart or an alarm prompt for displaying to a user, reminding the user of overhauling the equipment or prompting the process section to have abnormality. Meanwhile, the rule management and rule result analysis and display system can flexibly formulate rule atomic conditions.
In summary, the system of the invention inputs the equipment inspection worksheet recorded by the service management platform and the equipment data acquired by the bottom layer into the real-time event-driven rule engine, and combines the data storage system to obtain the rule operation monitoring data. The monitoring data is input into a real-time data analysis system, and overhaul prompt can be carried out on the equipment according to the result, or abnormal alarm and the like can be carried out on the monitoring point.
The present invention has been described in detail with reference to the drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the spirit of the present invention. Many other changes and modifications may be made without departing from the spirit and scope of the invention and should be considered as within the scope of the invention.
In the description of the present specification, a particular feature, structure, material, or characteristic may be combined in any suitable manner in one or more embodiments or examples.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (7)

1. A self-defined rule engine system based on equipment inspection worksheets and equipment data analysis is characterized in that the rule engine system comprises: the system comprises an acquisition and transmission module, a patrol service management module, a real-time event driven rule engine, a real-time rule data analysis module, a rule management and result analysis display module and a data storage module;
the acquisition and transmission module is used for transmitting the acquired equipment value equipment state into the rule engine and writing into the time sequence database; triggering a rule engine to start rule verification;
the inspection business management module has the main functions of inputting inspection worker single fruits and writing the inspection worker single fruits into a business management database; meanwhile, triggering a rule engine to start rule verification;
the real-time event-driven rule engine module is used for writing business decisions according to the predefined semantic module, receiving input data after the rule engine is triggered, interpreting business rules and making business decisions according to the business rules.
2. The custom rule engine system based on equipment inspection worksheets and equipment data analysis of claim 1, wherein the rule engine triggering process comprises:
a) When the device value device state is reported, writing the device reporting information time sequence database, and triggering the rule engine module. If the equipment value and the equipment state are judged to be abnormal, the rule engine outputs rule operation monitoring data;
b) When the inspection result is submitted, writing the inspection event database of the equipment, triggering a rule engine module, and outputting rule operation result data if the rule engine judges that the inspection result is abnormal;
c) In the operation of the rule engine, according to the basic information of the equipment, inquiring an information reporting time sequence database of the equipment and an equipment inspection event library; and combining the basic information of the equipment, and comprehensively judging the operation data of the equipment and the historical inspection abnormal event of the equipment to give a judging result.
3. The custom rule engine system based on equipment inspection worksheets and equipment data analysis according to claim 1, wherein the setting basic information is stored in a service management database of an inspection service management platform; the setting basic information includes: attribute characteristics of the equipment, liability person information, service life and process interval;
the abnormal condition of the equipment operation comprises atomic conditions of the abnormal event of the history of the inquired equipment operation after the rule engine is triggered, wherein the atomic conditions comprise the times that the value of the equipment exceeds the upper limit and the lower limit in a period of time; the equipment reports abnormal times in a period of time; when the device value generates abnormality, the highest value and the lowest value; when the equipment state is abnormal, the number of times of abnormal states is at most what kind of state;
the equipment inspection abnormal condition comprises an atomic condition of an equipment history inspection abnormal event after a rule engine is triggered, wherein the atomic condition comprises the number of times of submitting the equipment maintenance application form in a period of time; submitting the number of damage condition descriptions of the equipment within a period of time; and submitting the abnormal inspection record times of the process section within a period of time.
4. The custom rule engine system based on equipment inspection worksheets and equipment data analysis of claim 1, wherein the rule engine decision method comprises the following steps:
when an event arrives, inquiring a device reporting information time sequence database and an event detail database according to the device type and preset atomic conditions to obtain the atomic conditions of the event;
the traversal is compared with an atomic condition judgment threshold value or judgment standard set according to the scene; if the condition is met, the count is increased and recorded; finally, outputting a comparison result;
the atomic condition judgment threshold or judgment standard set according to the scene is generated by a rule management and effect analysis system and is stored in a rule management metadata base.
5. The custom rules engine system based on equipment inspection worksheets and equipment data analysis of claim 4, wherein the output of the last output comparison result is sent to a real-time data analysis system to give a final result.
6. A method for judging a custom rule engine system based on equipment inspection worksheet and equipment data analysis is characterized by comprising the following steps:
the device report data reaches a real-time event driving rule engine through the acquisition and transmission system, and is written into a device report information time sequence database; meanwhile, inquiring a service management database to obtain equipment attribute conditions and thresholds;
the equipment inspection result data is input into an inspection event detail library through an inspection service management platform, and reaches a real-time event driving rule engine;
if the reported data exceeds a threshold value defined by a certain device or the inspection result is abnormal, triggering a rule engine; according to the equipment information query rule management metadata base to obtain the equipment rule atomic condition and the threshold value passed by the condition judgment;
and comparing the specific information of all the atomic conditions of the equipment with preset judgment conditions to obtain rule operation result data.
7. The equipment inspection method based on equipment inspection worksheets and equipment data analysis according to claim 6, further comprising the steps of:
inputting rule operation result data into a real-time rule data analysis system; and according to the output result data, giving out the processing decision of the equipment, and outputting the processing decision to a rule management and rule result analysis display system.
CN202310117297.9A 2023-02-15 2023-02-15 Custom rule engine system and judging method based on equipment inspection worksheet and equipment data analysis Pending CN116048926A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310117297.9A CN116048926A (en) 2023-02-15 2023-02-15 Custom rule engine system and judging method based on equipment inspection worksheet and equipment data analysis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310117297.9A CN116048926A (en) 2023-02-15 2023-02-15 Custom rule engine system and judging method based on equipment inspection worksheet and equipment data analysis

Publications (1)

Publication Number Publication Date
CN116048926A true CN116048926A (en) 2023-05-02

Family

ID=86127332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310117297.9A Pending CN116048926A (en) 2023-02-15 2023-02-15 Custom rule engine system and judging method based on equipment inspection worksheet and equipment data analysis

Country Status (1)

Country Link
CN (1) CN116048926A (en)

Similar Documents

Publication Publication Date Title
CN111782890B (en) Equipment state analysis and management system
US8428982B2 (en) Monitoring business performance
US20070150581A1 (en) System and method for monitoring system performance levels across a network
CN102768511B (en) Searching method and system for reasons of fault event in process industry
US7398187B2 (en) Method of batching and analyzing of data from computerized process and control systems
US9152604B2 (en) System and method for event logging in a technical installation or a technical process
CN101582811A (en) Method for establishing integration of network monitoring and operating management
EP3686819A1 (en) Cost analysis system and method for detecting anomalous cost signals
CN111612341A (en) IT equipment allocation management and control system and allocation method thereof
CN108734201B (en) Classification method and system for experience feedback events of nuclear power plant based on hierarchical reason analysis method
CN115081997B (en) Equipment spare part inventory diagnostic system
CN114124743B (en) Method and system for executing full-link inspection rule of data application
US20220207988A1 (en) Methods, systems, and computer programs for alarm handling
US20170236071A1 (en) Alarm management system
CN113722304A (en) Accounting talent big data management system and method
CN116048926A (en) Custom rule engine system and judging method based on equipment inspection worksheet and equipment data analysis
US11954945B2 (en) Systems and methods for analyzing machine performance
CN113469584A (en) Risk management method and device for business service operation
CN113849337B (en) System exception handling method and device
CN117149892A (en) Enterprise dimension information display method based on big data display screen
CN117992309A (en) Batch operation monitoring and early warning method and device
CN116708484A (en) Intelligent city management big data analysis early warning platform
CN115187122A (en) Enterprise policy deduction method, device, equipment and medium
CN117312249A (en) Method, device and storage medium for updating security responsibility performance portrait
CN117950713A (en) Rule engine platform for quality judgment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination