CN105427545A - Drools-based equipment warning management method and device - Google Patents
Drools-based equipment warning management method and device Download PDFInfo
- Publication number
- CN105427545A CN105427545A CN201511025826.4A CN201511025826A CN105427545A CN 105427545 A CN105427545 A CN 105427545A CN 201511025826 A CN201511025826 A CN 201511025826A CN 105427545 A CN105427545 A CN 105427545A
- Authority
- CN
- China
- Prior art keywords
- alarm
- drools
- regulation
- warning
- warning information
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B21/00—Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
- G08B21/18—Status alarms
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B25/00—Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
- G08B25/007—Details of data content structure of message packets; data protocols
Landscapes
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Alarm Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention provides a drools-based equipment warning management method and device. The method includes the following steps that: state data of equipment are acquired; the state data are encapsulated into warning facts; the warning facts are matched with warning rules in a drools rule library, so that warning rules can be triggered, wherein the warning rules are generated dynamically through users' warning template configuration, and the warning rules are loaded into the drools rule library; and warning information is emitted according to the matching condition of the warning facts and the warning rules, and is displayed through a product warning display interface. With the drools-based equipment warning management method and device of the invention adopted, warning rules can be flexibly configured according to different equipment and different usage scenes, and therefore, usage can be facilitated for the users; and when a large number of warning rules and warning facts exist, warnings can be emitted efficiently and reliably.
Description
Technical field
The present invention relates to device management techniques field, particularly relate to a kind of device Alarm Management method based on drools and device.
Background technology
In equipment management system, device Alarm Management is a wherein important function, and by alarm management function, equipment management personnel or the owner can the faults of Timeliness coverage equipment, thus eliminate fault in time.Alarm management needs to set certain alarm regulation, and equipment, under different scenes, may need to set different alarm regulations.
Realizing in process of the present invention, inventor finds at least there is following technical matters in prior art:
When alarm regulation needs to set with environmental change or change, the personnel of specialty are needed to revise the source code of equipment, very inconvenient.And, due to a large amount of alarm regulation may be there is in source code, when arranging new alarm regulation or original alarm regulation being changed, may conflict with producing between other alarm regulations.
Summary of the invention
Device Alarm Management method based on drools provided by the invention and device, alarm regulation can be configured flexibly for different equipment and different use scenes, convenient for users to use, and when there is a large amount of alarm regulation and alarm and being true, can efficiently and send alarm reliably.
First aspect, the invention provides a kind of device Alarm Management method based on drools, comprising:
The status data of collecting device;
Described status data is packaged into the alarm fact;
Carry out mating with trigger alerts rule with the alarm regulation in drools rule base by true for alarm, wherein, described alarm regulation configures alarm template by user dynamically to generate, and be loaded in the rule base of drools;
According to the described alarm fact and the match condition of described alarm regulation, send warning information, represent to represent interface by product alarm.
Alternatively, after the status data of described collecting device, also comprise:
Store described status data, and described status data is sent to alarm part;
Alternatively, described according to the described alarm fact and the match condition of described alarm regulation, send warning information, represent to represent interface by product alarm, also comprise: the equipment state stored according to described warning information amendment.
Alternatively, described according to the described alarm fact and the match condition of described alarm regulation, send warning information, represent to represent interface by product alarm, also comprise: send alarm notification to user, described alarm notification comprises syslog notification, mail notification, SMS notification.
Alternatively, described according to the described alarm fact and the match condition of described alarm regulation, send warning information, represent to represent interface by product alarm, also comprise: described warning information is stored in database.
Alternatively, described user is by alarm template interface configurations alarm template, and described alarm template comprises alarm name, resource type, alarm description, alarm index and alarm parameter.
Second aspect, the invention provides a kind of device Alarm Management device based on drools, comprising:
Adapter, for the status data of collecting device;
Wrapper, for being packaged into the alarm fact by described status data;
Adaptation, for carrying out mating with trigger alerts rule with the alarm regulation in drools rule base by true for alarm, wherein, described alarm regulation configures alarm template by user dynamically to generate, and be loaded in the rule base of drools;
Alarm device, for match condition with described alarm regulation true according to described alarm, sends warning information, represents to represent interface by product alarm.
Alternatively, described device also comprises status container, for storing described status data, and described status data is sent to alarm part;
Alternatively, described alarm device is also for revising the equipment state that described status container stores according to described warning information.
Alternatively, described alarm device is also for sending alarm notification to user, and described alarm notification comprises syslog notification, mail notification, SMS notification.
Alternatively, described alarm device is also for being stored into described warning information in database.
Alternatively, described user is by alarm template interface configurations alarm template, and described alarm template comprises alarm name, resource type, alarm description, alarm index and alarm parameter.
The device Alarm Management method based on drools that the embodiment of the present invention provides and device, drools is applied in device Alarm Management, alarm regulation can be configured flexibly for different equipment and different use scenes, convenient for users to use, and when there is a large amount of alarm regulation and alarm and being true, can efficiently and send alarm reliably.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of one embodiment of the invention based on the device Alarm Management method of drools;
Fig. 2 is the process flow diagram of another embodiment of the present invention based on the device Alarm Management method of drools;
Fig. 3 is the structural representation of one embodiment of the invention based on the device Alarm Management device of drools.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of device Alarm Management method based on drools, and as shown in Figure 1, described method comprises:
The status data of S11, collecting device;
S12, described status data is packaged into the alarm fact;
S13, to carry out with the alarm regulation in drools rule base mating with trigger alerts regular by true for alarm, wherein, described alarm regulation configures alarm template by user dynamically to generate, and be loaded in the rule base of drools;
S14, match condition with described alarm regulation true according to described alarm, send warning information, represent to represent interface by product alarm.
Drools is a regulation engine of increasing income under Jboss house flag, and it can realize describing business rule by natural language mode, makes business analyst also can understand business rule code, has the advantages that speed is fast, efficiency is high.
The device Alarm Management method based on drools that the embodiment of the present invention provides, drools is applied in device Alarm Management, alarm regulation can be configured flexibly for different equipment and different use scenes, convenient for users to use, and when there is a large amount of alarm regulation and alarm and being true, can efficiently and send alarm reliably.
The embodiment of the present invention also provides a kind of device Alarm Management method based on drools, as shown in Figure 2, described method comprises:
S21, adopt snmp agreement by the status data of pull-mode timing acquisition watch-dog corresponding index by adapter end.
S22, the status data of acquisition to be stored in the status container of product.
Wherein, status container is as buffer memory (cache) the storage device status data after product startup.
S23, status container are used for the indices data representing equipment in real time, with the form of distribution subscription event, status data are sent to alarm entrance simultaneously.
After S24, alarm part get status data, the status data of equipment is packaged into the alarm fact.
S25, by alarm the fact be inserted in the work space of drools regulation engine, trigger alerts rule.
Wherein, drools plug-in unit is mounted is integrated in equipment.User by the parameter of alarm template interface input device alarm configuration, in conjunction with alarm regulation template, dynamically can generate alarm regulation, is loaded in the rule base of drools.Such as, user is at alarm template interface configurations alarm name, resource type, alarm description, alarm index and alarm parameter (such as alarm name: " server memory utilization rate is too high ", resource type: " server ", alarm index: " memory usage ", alarm parameter: " > " " 80% " " minor alarm " " > " " 90% " " high severity alarm "), generate alarm regulation, be carried in rule base.
Drools mates alarm template by regulation engine class, and the alarm template of a class resource is mated by resource type, and the alarm template of single resource is mated by resource identification.The supvr StatefulKnowledgeSession of drools work space can be called, and to obtain the work space entrance of corresponding alarm template, the alarm of the coupling fact is inserted into corresponding work space, trigger alerts rule.
After S26, alarm regulation and alarm circumstances coupling, by the process of agenda conflict decision, send alarm.
After trigger alerts rule, the status data in the alarm fact is mated with alarm regulation.If meet the parameter of alarm template configuration, then send warning information.
After warning information sends, the equipment state stored in status container can be revised, wherein equipment state comprise normally, minor alarm, high severity alarm, without response; Warning information can be stored into database, so that user's inquiry; Can also alarm notification being configured, notifying corresponding personnel to process when sending certain alarm.Wherein, alarm notification has syslog notification, mail notification, SMS notification three kinds of modes.
S27, represent interface by product alarm and check warning information.
Represent interface in product alarm, user can check warning information intuitively, orientation problem root, and make respective handling, also can inquire concrete warning information, this alarm as processed in user then can be clicked and confirm corresponding warning information, represents that user has received and processed this alarm.Represent in the warning information Query List at interface in product alarm, following information can be obtained:
Resource name, type, path: determine which equipment goes wrong.
, namely there is any problem in alarm name: configured by alarm template.
Alarm level: product has minor alarm, high severity alarm two ranks.
Alarm status: comprise current alarm and history alarm.Current alarm and occurent alarm; The alarm that namely history alarm once occurred.When equipment running status does not meet alarm regulation and when equipment recovers normal, current alarm is set to history alarm.
Alarm triggered time, recently alarm time, alarm multiplicity: equipment there occurs alarm in which time period, there occurs how many times alarm.
Acknowledgement state, confirm people, acknowledging time: when which user confirms this alarm, has namely represented the above information of this alarm showing interface treated and provides corresponding querying condition to facilitate user to inquire about.
Product alarm represents interface in addition also provides " my concern " function, allows user to pay close attention to the operation conditions of which equipment, and provides corresponding displaying interface.
The embodiment of the present invention also provides a kind of device Alarm Management device based on drools, and as shown in Figure 3, described device comprises:
Adapter 11, for the status data of collecting device;
Wrapper 12, for being packaged into the alarm fact by described status data;
Adaptation 13, for carrying out mating with trigger alerts rule with the alarm regulation in drools rule base by true for alarm, wherein, described alarm regulation configures alarm template by user dynamically to generate, and be loaded in the rule base of drools;
Alarm device 14, for match condition with described alarm regulation true according to described alarm, sends warning information.
Described device can also comprise status container, for storing described status data, and described status data is sent to alarm part;
Described alarm device also can be used for: the equipment state revising the storage of described status container according to described warning information; Send alarm notification to user, described alarm notification comprises syslog notification, mail notification, SMS notification; Described warning information is stored in database.
User can pass through alarm template interface configurations alarm template, and described alarm template comprises alarm name, resource type, alarm description, alarm index and alarm parameter.
The device Alarm Management device based on drools that the embodiment of the present invention provides, drools is applied in device Alarm Management, alarm regulation can be configured flexibly for different equipment and different use scenes, convenient for users to use, and when there is a large amount of alarm regulation and alarm and being true, can efficiently and send alarm reliably.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.
Claims (12)
1., based on a device Alarm Management method of drools, it is characterized in that, comprising:
The status data of collecting device;
Described status data is packaged into the alarm fact;
Carry out mating with trigger alerts rule with the alarm regulation in drools rule base by true for alarm, wherein, described alarm regulation configures alarm template by user dynamically to generate, and be loaded in the rule base of drools;
According to the described alarm fact and the match condition of described alarm regulation, send warning information, represent to represent interface by product alarm.
2. method according to claim 1, is characterized in that, after the status data of described collecting device, also comprises:
Store described status data, and described status data is sent to alarm part.
3. method according to claim 2, is characterized in that,
Described according to the described alarm fact and the match condition of described alarm regulation, send warning information, represent to represent interface by product alarm, also comprise:
According to the equipment state that described warning information amendment stores.
4. method according to claim 1, is characterized in that, described according to the described alarm fact and the match condition of described alarm regulation, sends warning information, represents, also comprise to represent interface by product alarm:
Send alarm notification to user, described alarm notification comprises syslog notification, mail notification, SMS notification.
5. method according to claim 1, is characterized in that, described according to the described alarm fact and the match condition of described alarm regulation, sends warning information, represents, also comprise to represent interface by product alarm:
Described warning information is stored in database.
6. method according to claim 1, is characterized in that, described user is by alarm template interface configurations alarm template, and described alarm template comprises alarm name, resource type, alarm description, alarm index and alarm parameter.
7., based on a device Alarm Management device of drools, it is characterized in that, comprising:
Adapter, for the status data of collecting device;
Wrapper, for being packaged into the alarm fact by described status data;
Adaptation, for carrying out mating with trigger alerts rule with the alarm regulation in drools rule base by true for alarm, wherein, described alarm regulation configures alarm template by user dynamically to generate, and be loaded in the rule base of drools;
Alarm device, for match condition with described alarm regulation true according to described alarm, sends warning information, represents to represent interface by product alarm.
8. device according to claim 7, is characterized in that, also comprises:
Status container, for storing described status data, and is sent to alarm part by described status data.
9. device according to claim 8, is characterized in that,
Described alarm device, also for revising the equipment state that described status container stores according to described warning information.
10. device according to claim 7, is characterized in that, described alarm device, and also for sending alarm notification to user, described alarm notification comprises syslog notification, mail notification, SMS notification.
11. devices according to claim 7, is characterized in that,
Described alarm device, also for being stored in database by described warning information.
12. devices according to claim 7, is characterized in that, described user is by alarm template interface configurations alarm template, and described alarm template comprises alarm name, resource type, alarm description, alarm index and alarm parameter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511025826.4A CN105427545B (en) | 2015-12-30 | 2015-12-30 | Device Alarm Management method and device based on drools |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511025826.4A CN105427545B (en) | 2015-12-30 | 2015-12-30 | Device Alarm Management method and device based on drools |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105427545A true CN105427545A (en) | 2016-03-23 |
CN105427545B CN105427545B (en) | 2018-07-17 |
Family
ID=55505720
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511025826.4A Active CN105427545B (en) | 2015-12-30 | 2015-12-30 | Device Alarm Management method and device based on drools |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105427545B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106250290A (en) * | 2016-08-03 | 2016-12-21 | 广州唯品会信息科技有限公司 | The analysis method and device of abnormal information |
CN106991033A (en) * | 2017-04-01 | 2017-07-28 | 北京蓝海讯通科技股份有限公司 | Notify method, device, server and the readable storage medium storing program for executing of alarm information |
CN109726073A (en) * | 2018-07-26 | 2019-05-07 | 平安科技(深圳)有限公司 | Database monitoring method, device, equipment and readable storage medium storing program for executing |
CN110401570A (en) * | 2019-08-06 | 2019-11-01 | 中国联合网络通信集团有限公司 | Alarm method, device, system, equipment and readable storage medium storing program for executing |
CN110751815A (en) * | 2019-11-01 | 2020-02-04 | 天地(常州)自动化股份有限公司 | Intelligent control system and method for mine audible and visual alarm |
WO2020024369A1 (en) * | 2018-08-01 | 2020-02-06 | 平安科技(深圳)有限公司 | Method and device for configuring operation and maintenance alarm template based on private cloud |
CN114253244A (en) * | 2022-01-17 | 2022-03-29 | 广州粤芯半导体技术有限公司 | System and method for automatically identifying alarm level of product manufacturing equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101651576A (en) * | 2009-08-28 | 2010-02-17 | 曙光信息产业(北京)有限公司 | Alarm information processing method and system |
CN102520965A (en) * | 2011-12-28 | 2012-06-27 | 山东中创软件工程股份有限公司 | Method and system for message processing |
CN102568135A (en) * | 2011-12-28 | 2012-07-11 | 南京理工大学常熟研究院有限公司 | Data storing and matching method facing to pulse electronic fence system |
CN102724057A (en) * | 2012-02-23 | 2012-10-10 | 北京市计算中心 | Distributed hierarchical autonomous management method facing cloud calculating platform |
CN103617705A (en) * | 2013-12-10 | 2014-03-05 | 北京邮电大学 | Rule-based method and system for alarming of Internet of things |
CN103856339A (en) * | 2012-12-04 | 2014-06-11 | 中国移动通信集团广西有限公司 | Method and device for compressing alarm information |
CN105117315A (en) * | 2015-08-06 | 2015-12-02 | 携程计算机技术(上海)有限公司 | CEP-based alarm processing system and method |
-
2015
- 2015-12-30 CN CN201511025826.4A patent/CN105427545B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101651576A (en) * | 2009-08-28 | 2010-02-17 | 曙光信息产业(北京)有限公司 | Alarm information processing method and system |
CN102520965A (en) * | 2011-12-28 | 2012-06-27 | 山东中创软件工程股份有限公司 | Method and system for message processing |
CN102568135A (en) * | 2011-12-28 | 2012-07-11 | 南京理工大学常熟研究院有限公司 | Data storing and matching method facing to pulse electronic fence system |
CN102724057A (en) * | 2012-02-23 | 2012-10-10 | 北京市计算中心 | Distributed hierarchical autonomous management method facing cloud calculating platform |
CN103856339A (en) * | 2012-12-04 | 2014-06-11 | 中国移动通信集团广西有限公司 | Method and device for compressing alarm information |
CN103617705A (en) * | 2013-12-10 | 2014-03-05 | 北京邮电大学 | Rule-based method and system for alarming of Internet of things |
CN105117315A (en) * | 2015-08-06 | 2015-12-02 | 携程计算机技术(上海)有限公司 | CEP-based alarm processing system and method |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106250290A (en) * | 2016-08-03 | 2016-12-21 | 广州唯品会信息科技有限公司 | The analysis method and device of abnormal information |
CN106991033A (en) * | 2017-04-01 | 2017-07-28 | 北京蓝海讯通科技股份有限公司 | Notify method, device, server and the readable storage medium storing program for executing of alarm information |
CN109726073A (en) * | 2018-07-26 | 2019-05-07 | 平安科技(深圳)有限公司 | Database monitoring method, device, equipment and readable storage medium storing program for executing |
WO2020024369A1 (en) * | 2018-08-01 | 2020-02-06 | 平安科技(深圳)有限公司 | Method and device for configuring operation and maintenance alarm template based on private cloud |
CN110401570A (en) * | 2019-08-06 | 2019-11-01 | 中国联合网络通信集团有限公司 | Alarm method, device, system, equipment and readable storage medium storing program for executing |
CN110401570B (en) * | 2019-08-06 | 2022-09-27 | 中国联合网络通信集团有限公司 | Alarm method, device, system, equipment and readable storage medium |
CN110751815A (en) * | 2019-11-01 | 2020-02-04 | 天地(常州)自动化股份有限公司 | Intelligent control system and method for mine audible and visual alarm |
CN114253244A (en) * | 2022-01-17 | 2022-03-29 | 广州粤芯半导体技术有限公司 | System and method for automatically identifying alarm level of product manufacturing equipment |
CN114253244B (en) * | 2022-01-17 | 2024-04-05 | 粤芯半导体技术股份有限公司 | System and method for automatically identifying alarm level of product manufacturing equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105427545B (en) | 2018-07-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105427545A (en) | Drools-based equipment warning management method and device | |
US10878355B2 (en) | Systems and methods for incident queue assignment and prioritization | |
CN107330034B (en) | Log analysis method and device, computer equipment and storage medium | |
US11457029B2 (en) | Log analysis based on user activity volume | |
CN110661659A (en) | Alarm method, device and system and electronic equipment | |
CN104111983A (en) | Open-type multi-source data collection system and method | |
CN108289034B (en) | A kind of fault discovery method and apparatus | |
CN104246761A (en) | Supporting multi-tenancy in a federated data management system | |
CN102196373A (en) | Short message alarm system and short message alarm method | |
CN110019001A (en) | Promote method, system and the monitoring module of message-oriented middleware message trace ability | |
CN105653436A (en) | Data displaying method and system | |
CN113157947A (en) | Knowledge graph construction method, tool, device and server | |
EP3386151B1 (en) | System of actions for iot devices | |
CN105491078A (en) | Data processing method and device in SOA system, and SOA system | |
CN110708232A (en) | Method and system for realizing JIRA message real-time notification | |
US8850321B2 (en) | Cross-domain business service management | |
CN105488191A (en) | Data acquisition processing method and device based on big data information safety management operation and maintenance service platform | |
CN109800133A (en) | A kind of method, one-stop monitoring alarm platform and the system of unified monitoring alarm | |
US9659266B2 (en) | Enterprise intelligence (‘EI’) management in an EI framework | |
US9639815B2 (en) | Managing processes in an enterprise intelligence (‘EI’) assembly of an EI framework | |
CN105988881B (en) | Method and device for processing resource access operation information | |
CN105607983A (en) | Data exception monitoring method and apparatus | |
US8424019B1 (en) | Managing channel instances in a messaging-middleware environment | |
US10417597B2 (en) | Enabling synchronicity between architectural models and operating environments | |
US9646278B2 (en) | Decomposing a process model in an enterprise intelligence (‘EI’) framework |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |