CN105701160A - Monitoring rule engine and monitoring realization method thereof - Google Patents

Monitoring rule engine and monitoring realization method thereof Download PDF

Info

Publication number
CN105701160A
CN105701160A CN201511027671.8A CN201511027671A CN105701160A CN 105701160 A CN105701160 A CN 105701160A CN 201511027671 A CN201511027671 A CN 201511027671A CN 105701160 A CN105701160 A CN 105701160A
Authority
CN
China
Prior art keywords
rule
supervision
engine
rules
administration 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
CN201511027671.8A
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.)
Linewell Software Co Ltd
Original Assignee
Linewell Software Co Ltd
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 Linewell Software Co Ltd filed Critical Linewell Software Co Ltd
Priority to CN201511027671.8A priority Critical patent/CN105701160A/en
Publication of CN105701160A publication Critical patent/CN105701160A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24564Applying rules; Deductive queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Tourism & Hospitality (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Primary Health Care (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Human Resources & Organizations (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Educational Administration (AREA)
  • Development Economics (AREA)
  • Computational Linguistics (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

The invention discloses a monitoring rule engine and a monitoring realization method thereof. The method comprises the following steps: acquiring right running data of business systems into a right running factbase; extracting the data in the right running factbase by a fact extraction engine; writing the data in a rule analysis engine and extracting required rules from a rule library; analyzing the execution sequence of monitoring rules and storing the monitoring rules in a rule queue; using the monitoring rules in the rule queue by a rule execution engine to analyze fact data in a data buffer area; and executing a business logic pre-determined by the rules according to the analysis result. According to the monitoring rule engine and the monitoring realization method, the developers do not need to get involved, so that the maintenance cost and the maintenance difficulty are greatly reduced, and for the complicated business rules, complicated and personalized monitoring business logics can be realized through a secondary development interface, opened externally, of the rule analysis engine.

Description

A kind of method supervising regulation engine and realization supervision thereof
Technical field
The present invention is a kind of supervises regulation engine and the method realizing supervision thereof。
Background technology
In recent years, along with country runs the attention of restriction and supervision system and continuous propelling to perfecting right, effective method and approach is actively sought by discipline inspection offices at different levels, put forth effort to promote supervision actual effect, guarantee right orderly function, all parts of the country carry out the building-up work of electronic monitoring system in a large number, and the content of electronic monitoring is extended to other fields such as public resource transaction, administrative law enforcements by examining and approving electronic monitoring。Realize the supervision to the behavior such as administrative examination and approval, administrative law enforcement, information disclosure, public resource transaction (government procurement, property transaction, land auction, bid and tender for construction project), major project, video monitoring, risk prevention system, it is ensured that each administrative power is open and clear, standardized operation is also particularly important。
Along with the continuous extension of supervision, the codes and standards, the laws and regulations that exercise supervision required to all kinds of administrative powers are also continuously increased, and traditional based manner cannot meet demand。The business rule being continually changing all brings huge puzzlement to development teams with end user。The problem being primarily present has: business change is very fast, once need the rule of amendment supervision or needing the right content of newly-increased supervision to be required for the amendment that system is customized, inefficiency, customization cost are high。In order to solve this problem in the urgent need to a kind of scheme supervision application separated with supervision rule。
Summary of the invention
It is an object of the invention to provide a kind of method supervising regulation engine and realization supervision thereof, can according to different supervision rules, imitate the inference mode of the mankind, use tentative approach reasoning, analyze and find that the violation occurred in right running is true, and the violation fact is processed by rule according to response automatically。
One of the present invention supervision regulation engine, including rules administration module, rule analysis engine, rule enforcement engine and true extraction engine, wherein:
Rules administration module: the rule for supervision regulation engine is used is defined, and these rules is stored in rule base, and transfers rule to rule base as required;The rule that this rules administration module manages comprises two kinds of ways of realization, a kind of is the rule defined by regular expression, this regular expression is agreement in supervision regulation engine, it it is the descriptive character expression of one that can be identified by rule enforcement engine, this rule-like can be configured by the visual configuration page in rules administration module, it is possible to processes common supervision;Another kind is based on the special rules that rule analysis engine development interface realizes, and this rule-like realizes by encoding, and can realize the algorithm of complexity, is used for processing the complicated supervision logic that cannot be defined by simple regular expression;
Rule analysis engine: transfer rule from rule base by rules administration module, and the rule in rule base is analyzed, performing before reasoning, analyze the order that the supervision rule to use performs with supervision rule, put into regular queue be managed choosing and forming the supervision rule of sequence number;
True extraction engine: the fact that extract collection from right running from right operation factbase, and put it in data buffer zone, in order to comparing with the supervision rule in rule queue;
Rule enforcement engine: the supervision rule in rule queue is compared with the data in data buffer zone, and perform corresponding operation according to result of the comparison, identify and executing rule expression formula, and perform the business rule logic that rule-based analysis engine development interface realizes。
A kind of described method supervising regulation engine realization supervision, it is characterised in that comprise the steps:
Step 1, by rules administration module, the supervision rule that uses of regulation engine is defined, these rules is stored in rule base, and transfers rule to rule base as required;The rule that this rules administration module manages comprises two kinds of ways of realization, a kind of is the rule defined by regular expression, this regular expression is agreement in supervision regulation engine, it it is the descriptive character expression of one that can be identified by rule enforcement engine, this rule-like can be configured by the visual configuration page in rules administration module, it is possible to processes common supervision;Another kind is based on the special rules that rule analysis engine development interface realizes, and this rule-like realizes by encoding, and can realize the algorithm of complexity, is used for processing the complicated supervision logic that cannot be defined by simple regular expression;
The right service data of each operation system is collected right by acquisition interface and runs in factbase by step 2, observation system;
Step 3, when supervising regulation engine and starting, true extract the data that right run in factbase by engine and extract, the data buffer zone of write rule analysis engine;
Step 4, rule analysis engine extract required rule via rules administration module from rule base according to content set in advance, and analyze the execution sequence between supervision rule, supervision rule is arranged in order and is stored in rule queue and waits that rule enforcement engine processes;
Step 5, rule enforcement engine use the supervision rule in rule queue that the data of the fact that in data buffer zone are analyzed, and according to analyzing the predetermined service logic of result executing rule, in the process of implementation if it find that conflict situation, just the rule of conflict is put into conflict set, re-execute analysis, until the rule being finished in rule queue。
Electronic monitoring system is in actual applications along with the continuous extension of supervision, exercise supervision required codes and standards to all kinds of administrative powers, laws and regulations are also continuously increased, traditional electronic monitoring system needs the continuous business logic codes for system to be extended and change when the Rapid Variable Design of rule, product reach the standard grade after the higher need of maintenance cost, the developer wanting specialty gets involved, and the present invention is in the face of the change of supervision, system maintenance personnel have only to be adjusted or increase supervision rule to existing supervision regular traffic logic by the visual configuration page by rules administration module and are just adapted to new supervision demand, get involved without developer, greatly reduce maintenance cost and maintenance difficulties。
For complicated business rule, supervision logic complicated, personalization can be realized by the second development interface that rule analysis engine is opened to the outside world and be stored in rule base, rule analysis engine is loaded into the supervision logic that personalization realizes, rule is given after analyzing the order of required rule and rule execution rule enforcement engine perform, the service logic of all kinds of complexity can well be processed, it is achieved the supervision that different rights are run by custom rule。
Accompanying drawing explanation
Fig. 1 is a kind of structural representation supervising regulation engine of the present invention;
Fig. 2 is the fundamental diagram that the present invention supervises that regulation engine realizes controlling。
Below in conjunction with the drawings and specific embodiments, the invention will be further described。
Detailed description of the invention
As shown in Figure 1, 2, one of the present invention supervision regulation engine, including rules administration module 1, rule analysis engine 2, rule enforcement engine 3 and true extraction engine 4, wherein:
Rules administration module 1: the rule for supervision regulation engine is used is defined, and these rules is stored in rule base 5, and transfers rule to rule base 5 as required;In this rules administration module 1, the rule of management comprises two kinds of ways of realization, a kind of is the rule of manual definition by regular expression, this regular expression is agreement in supervision regulation engine, it it is the descriptive character expression of one that can be identified by rule enforcement engine 4, this rule-like can by visual configuration page manual configuration in rules administration module 1, it is possible to process common supervision;Another kind is based on the special rules that rule analysis engine 2 development interface realizes, and this rule-like realizes by encoding, it is possible to achieve complicated algorithm, is used for processing the complicated supervision logic that cannot be defined by simple regular expression;
Rule analysis engine 2: transfer rule from rule base 5 by rules administration module 1, and the rule in rule base 5 is analyzed, before performing reasoning, analyze the order that the supervision rule to use performs with supervision rule, put into regular queue be managed choosing and forming the supervision rule of sequence number;
True extraction engine 3: the fact that extract collection from right running from right operation factbase 6, and put it in data buffer zone, in order to comparing with the supervision rule in rule queue;
Rule enforcement engine 4: the supervision rule in rule queue is compared with the data in data buffer zone, and perform corresponding operating according to result of the comparison, can not only identify and executing rule expression formula, also can perform the supervision logic that rule-based analysis engine development interface realizes。
Supervision regulation engine is similar with human thinking when making inferences result, adopts two kinds of inference modes: deductive method (Forward-Chaining) and inductive method (Backward-Chaining)。This deductive method is from an initial fact, and constantly application rule reaches a conclusion (or performing the action specified)。And concluding rule is according to it is assumed that the fact that constantly search for meeting hypothesis。
Supervise, as in figure 2 it is shown, a kind of, the method that regulation engine realizes supervision, comprise the steps:
Step 1, by rules administration module 1, the supervision rule that uses of regulation engine is defined, these rules is stored in rule base 5, and transfers rule to rule base 5 as required;The rule that this rules administration module 1 manages comprises two kinds of ways of realization, a kind of is the rule defined by regular expression, this regular expression is agreement in supervision regulation engine, it it is the descriptive character expression of one that can be identified by rule enforcement engine 4, this rule-like can be configured by the visual configuration page in rules administration module 1, it is possible to processes common supervision;Another kind is based on the special rules that rule analysis engine development interface realizes, and this rule-like realizes by encoding, and can realize the algorithm of complexity, is used for processing the complicated supervision logic that cannot be defined by simple regular expression;
The right service data of each operation system is collected right by acquisition interface and runs in factbase by step 2, observation system;
Step 3, when supervising regulation engine and starting, true extract the data that right run in factbase 6 by engine 3 and extract, the data buffer zone of write rule analysis engine 2;
Step 4, rule analysis engine 2 extract required rule via rules administration module 1 from rule base 5 according to content set in advance, and analyze the execution sequence between supervision rule, supervision rule is arranged in order and is stored in rule queue and waits that rule enforcement engine 4 processes;
Step 5, rule enforcement engine 4 use the supervision rule in rule queue that the data of the fact that in data buffer zone are analyzed, and according to analyzing the predetermined service logic of result executing rule, in the process of implementation if it find that conflict situation, the rule of conflict is put into conflict set, re-execute analysis, until the rule being finished in rule queue。
Rule enforcement engine 4 is the core of supervision rule analysis reasoning, and the work of all execution analysis ratiocinations is all undertaken by rule enforcement engine 4。The deduction of the similar human thinking of mode of analysis ratiocination and inductive reasoning method。Deduction method runs factual data from an initial authority of office after extracting authority of office operation factual data from data buffer zone, is analyzed data thus reaching a conclusion according to the order constantly calling rule in rule queue。And inductive reasoning is that rule is required it is assumed that the fact that constantly search for meeting hypothesis in authority of office factual data, conclusion is analyzed in final arriving according to meeting。
The above, it it is only present pre-ferred embodiments, not the technical scope of the present invention is imposed any restrictions, therefore every any trickle amendment, equivalent variations and modification above example made according to the technical spirit of the present invention, all still fall within the scope of technical solution of the present invention。

Claims (2)

1. a supervision regulation engine, it is characterised in that include rules administration module, rule analysis engine, rule enforcement engine and true extraction engine, wherein:
Rules administration module: the rule for supervision regulation engine is used is defined, and these rules is stored in rule base, and transfers rule to rule base as required;The rule that this rules administration module manages comprises two kinds of ways of realization, a kind of is the rule defined by regular expression, this regular expression is agreement in supervision regulation engine, it it is the descriptive character expression of one that can be identified by rule enforcement engine, this rule-like can be configured by the visual configuration page in rules administration module, it is possible to processes common supervision;Another kind is based on the special rules that rule analysis engine development interface realizes, and this rule-like realizes by encoding, and can realize the algorithm of complexity, is used for processing the complicated supervision logic that cannot be defined by simple regular expression;
Rule analysis engine: transfer rule from rule base by rules administration module, and the rule in rule base is analyzed, performing before reasoning, analyze the order that the supervision rule to use performs with supervision rule, put into regular queue be managed choosing and forming the supervision rule of sequence number;
True extraction engine: the fact that extract collection from right running from right operation factbase, and put it in data buffer zone, in order to comparing with the supervision rule in rule queue;
Rule enforcement engine: the supervision rule in rule queue is compared with the data in data buffer zone, and perform corresponding operating according to result of the comparison, identify and executing rule expression formula, and perform the supervision logic that rule-based analysis engine development interface realizes。
2. a kind of method supervising regulation engine realization supervision according to claim 1, it is characterised in that comprise the steps:
Step 1, by rules administration module, the supervision rule that uses of regulation engine is defined, these rules is stored in rule base, and transfers rule to rule base as required;The rule that this rules administration module manages comprises two kinds of ways of realization, a kind of is the rule defined by regular expression, this regular expression is agreement in supervision regulation engine, it it is the descriptive character expression of one that can be identified by rule enforcement engine, this rule-like can be configured by the visual configuration page in rules administration module, it is possible to processes common supervision;Another kind is based on the special rules that rule analysis engine development interface realizes, and this rule-like realizes by encoding, and can realize the algorithm of complexity, is used for processing the complicated supervision logic that cannot be defined by simple regular expression;
The right service data of each operation system is collected right by acquisition interface and runs in factbase by step 2, observation system;
Step 3, when supervising regulation engine and starting, true extract the data that right run in factbase by engine and extract, the data buffer zone of write rule analysis engine;
Step 4, rule analysis engine extract required rule via rules administration module from rule base according to content set in advance, and analyze the execution sequence between supervision rule, supervision rule is arranged in order and is stored in rule queue and waits that rule enforcement engine processes;
Step 5, rule enforcement engine use the supervision rule in rule queue that the data of the fact that in data buffer zone are analyzed, and according to analyzing the predetermined service logic of result executing rule, in the process of implementation if it find that conflict situation, just the rule of conflict is put into conflict set, re-execute analysis, until the rule being finished in rule queue。
CN201511027671.8A 2015-12-31 2015-12-31 Monitoring rule engine and monitoring realization method thereof Pending CN105701160A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511027671.8A CN105701160A (en) 2015-12-31 2015-12-31 Monitoring rule engine and monitoring realization method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511027671.8A CN105701160A (en) 2015-12-31 2015-12-31 Monitoring rule engine and monitoring realization method thereof

Publications (1)

Publication Number Publication Date
CN105701160A true CN105701160A (en) 2016-06-22

Family

ID=56226061

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511027671.8A Pending CN105701160A (en) 2015-12-31 2015-12-31 Monitoring rule engine and monitoring realization method thereof

Country Status (1)

Country Link
CN (1) CN105701160A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107909343A (en) * 2017-11-17 2018-04-13 恒瑞通(福建)信息技术有限公司 Electronic supervision method, system and storage medium
CN108121579A (en) * 2016-11-26 2018-06-05 上海壹账通金融科技有限公司 The method and device of alteration ruler file
CN109542959A (en) * 2018-11-30 2019-03-29 广州净松软件科技有限公司 Business datum display methods, device and the computer equipment of observation system
CN109886410A (en) * 2017-12-26 2019-06-14 广东电网有限责任公司电力调度控制中心 A kind of data verification system based on Actor model
CN111143624A (en) * 2019-08-28 2020-05-12 珠海市测绘院 Land approval surveying and mapping data-oriented adaptive calculation rule base matching method and system
CN111932103A (en) * 2020-08-04 2020-11-13 红旗智行科技(北京)有限公司 Carrier, driver and transportation demand matching calculation method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101706889A (en) * 2009-11-17 2010-05-12 深圳市监察局 Method and system for electronic supervising of administrative examination and approval
CN103530730A (en) * 2013-10-15 2014-01-22 山东浪潮齐鲁软件产业股份有限公司 Supervised object creating and management modeling method of corruption punishment and prevention system
CN105096057A (en) * 2015-08-20 2015-11-25 长威信息科技发展股份有限公司 Supervision model system of power operation and corruption prevention

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101706889A (en) * 2009-11-17 2010-05-12 深圳市监察局 Method and system for electronic supervising of administrative examination and approval
CN103530730A (en) * 2013-10-15 2014-01-22 山东浪潮齐鲁软件产业股份有限公司 Supervised object creating and management modeling method of corruption punishment and prevention system
CN105096057A (en) * 2015-08-20 2015-11-25 长威信息科技发展股份有限公司 Supervision model system of power operation and corruption prevention

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡立龙: "基于规则引擎的电子监察系统的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108121579A (en) * 2016-11-26 2018-06-05 上海壹账通金融科技有限公司 The method and device of alteration ruler file
CN107909343A (en) * 2017-11-17 2018-04-13 恒瑞通(福建)信息技术有限公司 Electronic supervision method, system and storage medium
CN109886410A (en) * 2017-12-26 2019-06-14 广东电网有限责任公司电力调度控制中心 A kind of data verification system based on Actor model
CN109542959A (en) * 2018-11-30 2019-03-29 广州净松软件科技有限公司 Business datum display methods, device and the computer equipment of observation system
CN109542959B (en) * 2018-11-30 2020-07-17 广州净松软件科技有限公司 Service data display method and device of monitoring system and computer equipment
CN111143624A (en) * 2019-08-28 2020-05-12 珠海市测绘院 Land approval surveying and mapping data-oriented adaptive calculation rule base matching method and system
CN111932103A (en) * 2020-08-04 2020-11-13 红旗智行科技(北京)有限公司 Carrier, driver and transportation demand matching calculation method and system

Similar Documents

Publication Publication Date Title
CN105701160A (en) Monitoring rule engine and monitoring realization method thereof
Saad et al. Twitter sentiment analysis based on ordinal regression
US20240127126A1 (en) Utilizing machine learning models to identify insights in a document
Snyder et al. Interactive learning for identifying relevant tweets to support real-time situational awareness
CN106709345A (en) Deep learning method-based method and system for deducing malicious code rules and equipment
CN108153853A (en) Chinese Concept Vectors generation method and device based on Wikipedia link structures
Liu et al. Context-aware social media user sentiment analysis
CN109766475A (en) A kind of recognition methods of rubbish text and device
CN108984514A (en) Acquisition methods and device, storage medium, the processor of word
Siddiqua et al. Combining a rule-based classifier with weakly supervised learning for twitter sentiment analysis
Hong et al. CNN‐based malicious user detection in social networks
CN109299470A (en) The abstracting method and system of trigger word in textual announcement
Cueva et al. Detecting fake news on twitter using machine learning models
Savelev et al. The high-level overview of social media content search engine
US20230047800A1 (en) Artificial intelligence-assisted non-pharmaceutical intervention data curation
Su et al. An improved BERT method for the evolution of network public opinion of major infectious diseases: Case Study of COVID-19
Biswas et al. Drug Usage Analysis by VADER Sentiment Analysis on Leading Countries.
CN115618884B (en) Language analysis method, device and equipment based on multi-task learning
Jong Predicting rating with sentiment analysis
Dass et al. Cyberbullying detection on social networks using LSTM model
Park Trend analysis of artificial intelligence technology using patent information
Zhou et al. Incorporating expert judgement into Bayesian network machine learning
López-López et al. LIWC-based sentiment analysis in Spanish product reviews
TWI742312B (en) Machine learning system, machine learning method and non-transitory computer readable medium for operating the same
Ahire et al. Fuzzy Approach for Context Identification into Ambient Computing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160622

WD01 Invention patent application deemed withdrawn after publication