CN107122220A - Construction method/system, business management method/system and the equipment of regulation engine - Google Patents

Construction method/system, business management method/system and the equipment of regulation engine Download PDF

Info

Publication number
CN107122220A
CN107122220A CN201710236528.2A CN201710236528A CN107122220A CN 107122220 A CN107122220 A CN 107122220A CN 201710236528 A CN201710236528 A CN 201710236528A CN 107122220 A CN107122220 A CN 107122220A
Authority
CN
China
Prior art keywords
rule
logic
configuration interface
engineering name
logic rules
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
CN201710236528.2A
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.)
Shanghai Long Ago Financial Information Service Co Ltd
Original Assignee
Shanghai Long Ago Financial Information Service 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 Shanghai Long Ago Financial Information Service Co Ltd filed Critical Shanghai Long Ago Financial Information Service Co Ltd
Priority to CN201710236528.2A priority Critical patent/CN107122220A/en
Publication of CN107122220A publication Critical patent/CN107122220A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/06Asset management; Financial planning or analysis

Abstract

The present invention provides a kind of construction method/system of regulation engine, business management method/system and equipment, and the construction method of regulation engine includes:One the first regular configuration interface for being used to enter logic rules edlin is provided;At least one rule components for being used to configure logic rules are compiled on the described first regular configuration interface;The rule components are combined with layout miscellaneous service logic, and by the miscellaneous service logic of institute's layout, the rule components of combination are stored in a predetermined format, form the Second Rule configuration interface for disassociation service and application;Wherein, the service logic has the engineering name specified;The engineering name is used for the business purpose for representing user.Construction method/system, business management method/system and the equipment of regulation engine of the present invention being capable of the regular flows of flexible configuration;Implementation rule visualizes manageability;Improve the issue speed of business game.

Description

Construction method/system, business management method/system and the equipment of regulation engine
Technical field
The invention belongs to field of computer technology, it is related to a kind of construction method and system, and management method and system, especially It is the construction method/system, business management method/system and equipment for being related to a kind of regulation engine.
Background technology
Instantly, information system becomes to become increasingly complex, and the change of business demand is also increasingly faster, and business confidentiality requirement is got over Come higher, the iteration cycle requirement of business demand is swift in response, and the logic of code is increasingly difficult to management.Traditional application and development stream Cheng Duo, the cycle is long, and the communication cost of business and technology is big.Enterprise does not reach quick response, and market rhythm is not caught up with finally.
What is business ruleWe are often constraint inside demand, and integrality is verified, and affluent-dividing etc. can be calculated Inside to business rule.The business rule emphasis talked inside regulation engine is talked when which type of condition is met, and is needed Which type of operation performed.Therefore a complete business rule includes condition and trigger action two parts content.And draw It is important operating mechanism inside the matters to hold up, and regulation engine is that emphasis is how solution rule describes, and how to perform, how to supervise A series of problems, such as control.
Traditional development platform is that service logic is hard coded into application system, is led to not service logic and application The separation of logic, needs to recompilate and application deployment system, development platform does not have reusability when in face of new application And configurability, and this greatly reduces reaction speed of the enterprise to turn of the market.
Therefore, the construction method/system, business management method/system and equipment of a kind of regulation engine how are provided, to solve Certainly the separation of service logic and application logic can not be needed to recompilate and deployment should by prior art when in face of new application With system, development platform does not have reusability and configurability, and this greatly reduces reaction speed of the enterprise to turn of the market It is real to have turned into those skilled in the art's technical problem urgently to be resolved hurrily etc. defect.
The content of the invention
The shortcoming of prior art in view of the above, it is an object of the invention to provide a kind of establishment side of regulation engine Method/system, business management method/system and equipment, can not be by service logic with answering for solving prior art in the prior art With the separation of logic, need to recompilate and application deployment system when in face of new application, development platform is without reusable Property and configurability, and this greatly reduces the problem of enterprise is fast to the reaction of turn of the market.
In order to achieve the above objects and other related objects, one aspect of the present invention provides a kind of establishment side of regulation engine Method, the construction method of the regulation engine comprises the following steps:One the first rule for being used to enter logic rules edlin is provided Configuration interface;At least one rule components for being used to configure logic rules are compiled on the described first regular configuration interface;Combination The rule components are with layout miscellaneous service logic, and by the miscellaneous service logic of institute's layout, and the rule components of combination are with predetermined Form is stored, and forms the Second Rule configuration interface for disassociation service and application;Wherein, the service logic has what is specified Engineering name;The engineering name is used for the business purpose for representing user.
In one embodiment of the invention, the rule components include:Decision tree, for being patrolled so that branched form configuration is some Collect the execution sequence of rule and rule components;Scorecard, under a branch for the decision tree, being commented according to predefined Divider then, scores the logic rules related to engineering name inputted on the described first regular configuration interface;Rule Collection, under a branch for the decision tree, according to predefined admittable regulation, judges on the described first rule configuration circle Inputted on face to the related logic rules of engineering name whether access;And/or perform script, for defeated according to engineering name and institute The logic rules entered, execution logic rule, code of points and/or admittable regulation, and obtain respectively with the code of points, access The logical consequence of rule match.
In one embodiment of the invention, it is described combination the rule components the step of refer to it is suitable with the execution of rule components Sequence combines the rule components.
In one embodiment of the invention, the predetermined format is the data interchange format of lightweight.
Another aspect of the present invention provides a kind of business management method of the construction method of rule-based engine, the business pipe Reason method comprises the following steps:By the Second Rule configuration interface, the engineering name specified by user is received;According to the work Journey name, searches perform script corresponding with engineering name;In the running of the perform script, advised by described second Then configuration interface records the logic rules related to engineering name, to obtain the operational decision making matched with the logic rules;Should Logic rules are that user inputs according to business demand.
In one embodiment of the invention, after the input logic rule is received, the rule-based business is determined Plan management method also includes storing input logic rule with text formatting.
In one embodiment of the invention, the business management method is additionally included in the running of the perform script In, need to whether there is dependence between resolution rules component.
Another aspect of the present invention also provides a kind of establishment system of regulation engine, the establishment system bag of the regulation engine Include:Module is provided, for providing a first regular configuration interface for being used to enter logic rules edlin;Collector, is used for At least one rule components for being used to configure logic rules are compiled on the described first regular configuration interface;First processing module, For combining the rule components with layout miscellaneous service logic, and by the miscellaneous service logic of institute's layout, regular group of combination Part is stored in a predetermined format, forms the Second Rule configuration interface for disassociation service and application;Wherein, the service logic tool There is the engineering name specified;The engineering name is used for the business purpose for representing user.
Another aspect of the present invention also provides a kind of business management system of the establishment system of rule-based engine, the business Management system includes:Receiving module, for by the Second Rule configuration interface, receiving the engineering name specified by user;Look into Module is looked for, for according to engineering name, searching perform script corresponding with engineering name;Second processing module, for In the running of the perform script, the logic related to engineering name is recorded by the Second Rule configuration interface and advised Then, the operational decision making matched with acquisition with the logic rules;The logic rules are that user inputs according to business demand.
Last aspect of the present invention provides a kind of equipment, the equipment include described regulation engine establishment system and/ Or described business management system.
As described above, construction method/system, business management method/system and the equipment of the regulation engine of the present invention, have Following beneficial effect:
First, regular flow flexible configuration;Various assemblies various combination, completes complicated regular flow.
Second, rule visualization manageability;The flow path visual editted, business personnel can understand whole strategy rapidly Outline, and details therein can be inquired about.
3rd, it is obviously improved the issue speed of business game;Traditional development mode, adjusts a strategy, changes a valve Value, will research and develop exploitation, test access by business and the requirement validation of research and development, and use after regulation engine, and business personnel is certainly Row exploitation, test (regulation engine platform provides unit testing and batch testing interface).Whole issue flow is greatly simplified, originally Rule and strategy modification if necessary to if could formally being issued for some days, and that is used after regulation engine within a very short time just It can issue, simple rule even half an hour just can be with formally effective.
4th, regular confidentiality;Developed according to traditional mode, in some industries, such as air control, business personnel need by Complete air control policy is informed and research staff, can just be developed, after regulation engine, and R&D team need not further relate to Rule specifics, improve the confidentiality of rule.So, the present invention effectively overcomes various shortcoming of the prior art and has height Industrial utilization.
Brief description of the drawings
Fig. 1 is shown as schematic flow sheet of the construction method of the regulation engine of the present invention in an embodiment.
Fig. 2 is shown as stream of the business management method of the construction method of the rule-based engine of the present invention in an embodiment Journey schematic diagram.
Fig. 3 is shown as the service management of the establishment system of the regulation engine of the present invention and the establishment system of rule-based engine Theory structure schematic diagram of the system in an embodiment.
Component label instructions
The establishment system of 2 regulation engines
21 provide module
22 collectors
23 first processing modules
The establishment of 3 rule-based engines
The business management system of system
31 receiving modules
32 searching moduls
33 Second processing modules
S1~S3 steps
S1 '~S4 ' steps
Embodiment
Illustrate embodiments of the present invention below by way of specific instantiation, those skilled in the art can be by this specification Disclosed content understands other advantages and effect of the present invention easily.The present invention can also pass through specific realities different in addition The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints with application, without departing from Various modifications or alterations are carried out under the spirit of the present invention.It should be noted that, in the case where not conflicting, following examples and implementation Feature in example can be mutually combined.
It should be noted that the diagram provided in following examples only illustrates the basic structure of the present invention in a schematic way Think, then in schema only display with relevant component in the present invention rather than according to component count, shape and the size during actual implement Draw, it is actual when implementing, and kenel, quantity and the ratio of each component can be a kind of random change, and its assembly layout kenel It is likely more complexity.
The regulation engine provided of the present invention is a kind of component of insertion in the application, is realized operational decision making Operational decision making is write from the separation in application code, and using predefined semantic modules.Data input is received, industry is explained Business rule, and operational decision making is made according to rule.
Embodiment one
The present embodiment provides a kind of construction method of regulation engine, and the construction method of the regulation engine includes following step Suddenly:
One the first regular configuration interface for being used to enter logic rules edlin is provided;
At least one rule components for being used to configure logic rules are compiled on the described first regular configuration interface;
The rule components are combined with layout miscellaneous service logic, and by the miscellaneous service logic of institute's layout, the rule of combination Then component is stored in a predetermined format, forms the Second Rule configuration interface for disassociation service and application;Wherein, the business is patrolled Collect with the engineering name specified;The engineering name is used for the business purpose for representing user.
The construction method of the regulation engine described in the present embodiment is described in detail below with reference to diagram.Refer to figure 1, it is shown as schematic flow sheet of the construction method of regulation engine in an embodiment.As shown in figure 1, the group of the regulation engine Construction method specifically includes following steps:
There is provided a first regular configuration interface for logic rules to be entered with edlin by S1.In the present embodiment, described One regular configuration interface is the initial interface of state to be configured.In the present embodiment, can on the described first regular configuration interface To set up, change and delete logic rules.
S2, compiles at least one rule components for being used to configure logic rules on the described first regular configuration interface. In the present embodiment, the rule components include engineering name, decision tree, scorecard, rule set and perform script etc..
Wherein, the engineering name is used for the business purpose for representing user.For example, pay after tax is calculated, examination & approval loan etc..
The decision tree is used for the execution sequence that some logic rules and rule components are configured with branched form.First layer point Branch configuration logic rules are whether user is a line city.Therefore, income is more than 10000 branch for being divided into a line city and non- The branch in one line city.In the present embodiment, the execution sequence of rule components is advised to set up decision tree, compiling scorecard, compiling Then collect and Complied executing script.
The scorecard is used under a branch for the decision tree, according to predefined code of points, to described The logic rules related to engineering name inputted on first regular configuration interface are scored.
The logic rules related to engineering name inputted on the described first regular configuration interface, be, for example, sex, year Age, user's income, position etc..
Predefined code of points, be, for example, sex:40 points of man, 60 points of female;
Age:14~18 years old 20 points, 19~30 years old 40 points, more than 30 years old 30 points;
Income:Less than 10000 60 points, 10000~20000 is interval 100 points, more than 20,000 200 points;
Position:100 points of manager, common 60 points of office worker.
Predefined code of points, draws a TOP SCORES more than.
The rule set is used under a branch for the decision tree, according to predefined admittable regulation, judges in institute State the logic rules related to engineering name that are inputted on the first regular configuration interface whether access.
The logic rules related to engineering name inputted on the described first regular configuration interface, are, for example, totally comment Point, total address list number and effective communication record number, in contact person with the presence or absence of blacklist, educational background whether it is more than junior college, be rejected One in logic rules in the logic rules crossed in scorecard, and Chinese scorecard, address list are used with the presence or absence of blacklist Family etc..
Predefined admittable regulation, be, for example, TOP SCORES<220
Total address list number>50 and effective communication record<10
There is blacklist (not including programmed emergency) in contact person
It is more than academic junior college
It was rejected and middle one crossed in reason code 10,20,30
There is black list user in address list.
In the present embodiment, also need according to predefined admittable regulation, be that each logic rules in rule set set one Individual rule number, for example, the rule number that the age is less than configuration in 18 years old is 1001, the rule number that the age is more than or equal to configuration in 18 years old is 1002, sex is that the rule number of man's configuration is 1002 etc..On the first regular configuration interface after input logic rule, according to predetermined The admittable regulation of justice sets rule number.
The perform script is used for according to engineering name and the logic rules inputted, performs code of points and/or access rule Then, and the logical consequence that is matched respectively with the code of points, admittable regulation is obtained.
For example, the logic rules related to engineering name inputted on the described first regular configuration interface are age of user Less than 18 years old, then refuse.
So perform script is according to admittable regulation, and age of user is more than or equal to 18 years old, output logical consequence " passing through ", user Age is less than 18 years old, output logical consequence " refusal ".
For example, if (input.# ages # < 18)
Output.# logical consequence #=' D ';
else
Output.# logical consequence #=' P '.
In the present embodiment, the rule components of engineering name, decision tree, scorecard, rule set and perform script etc. are included It is equipped with the component ID to recognizer component.
S3, the various rule components that step S2 is compiled, i.e., decision tree, scorecard, rule set and perform script are according to rule The then execution sequence of component, layout miscellaneous service logic, and by the miscellaneous service logic of institute's layout, the rule components of combination are with pre- The formula that fixes is stored, and forms the Second Rule configuration interface for disassociation service and application;Wherein, the service logic, which has, specifies Engineering name;The engineering name is used for the business purpose for representing user.In the present embodiment, the predetermined format is lightweight Data interchange format, i.e. JSON.
The present embodiment also provides a kind of business management method of the construction method of rule-based engine, the service management side Method comprises the following steps:
By the Second Rule configuration interface, the engineering name specified by user is received;
According to engineering name, perform script corresponding with engineering name is searched;
It is related to engineering name by Second Rule configuration interface record in the running of the perform script Logic rules, to obtain the operational decision making that is matched with the logic rules;The logic rules are users according to business demand Input.
The business management method of the construction method of the rule-based engine provided below with reference to diagram the present embodiment enters Row is described in detail.Referring to Fig. 2, being shown as schematic flow sheet of the business management method in an embodiment.As shown in Fig. 2 institute State business management method and specifically include following steps:
S1 ', by the Second Rule configuration interface, receives the engineering name specified by user.The engineering name is substantially For a mark.For example, calcuGongzi, its implication is exactly that the business purpose of user is calculating pay after tax.
S2 ', according to engineering name, searches perform script corresponding with engineering name.For example, searching with calculating after-tax The corresponding perform script of wage.
S3 ', in the running of the perform script, passes through Second Rule configuration interface record and engineering name Related logic rules, to obtain the operational decision making matched with the logic rules;The logic rules are users according to business need Ask and input.To patrolling that the engineering related logic rules of name include configuring in the logic rules that configure on decision tree, scorecard Volume rule, and/or regular centralized configuration logic rules.
In the present embodiment, in the running of the perform script, before perform script operation, resolution rules component is needed Between whether there is dependence.Resolving is:
JSON contents corresponding with the component are searched according to rule components;
Judge whether the rule components are existing;If so, parsing the component, and judge whether dependent on the component Another component is not resolved, if so, searching the JSON contents of another component according to the component ID of another component.If it is not, then should Component register is into database.
In the present embodiment, by the Second Rule configuration interface record the logic rules related with the engineering it Afterwards, the logic rules related to engineering name can be stored on hard disk in the form of text.Because the text that hard disk is deleted is to work as Program goes execution logic, then need to just read these texts, searches perform script corresponding with these texts and carrys out execution logic rule Then.
S4 ', the operational decision making matched with the logic rules is exported in API forms.
The service management side of the construction method of the construction method of regulation engine described in the present embodiment and rule-based engine Method has the advantages that:
First, regular flow flexible configuration;Various assemblies various combination, completes complicated regular flow.
Second, rule visualization manageability;The flow path visual editted, business personnel can understand whole strategy rapidly Outline, and details therein can be inquired about.
3rd, it is obviously improved the issue speed of strategy;Traditional development mode, adjusts a strategy, changes a threshold values, all Will be by business and the requirement validation of research and development, research and development exploitation, test access, and use after regulation engine, business personnel voluntarily opens Hair, test (regulation engine platform provides unit testing and batch testing interface).Whole issue flow is greatly simplified, original rule With strategy modification if necessary to if could formally issuing within some days, that is used after regulation engine within a very short time just can be with Issue, simple rule even half an hour just can be with formally effective.
4th, regular confidentiality;Developed according to traditional mode, in some industries, such as air control, business personnel need by Complete air control policy is informed and research staff, can just be developed, after regulation engine, and R&D team need not further relate to Rule specifics, improve the confidentiality of rule.
Embodiment two
The present embodiment provides the service management of a kind of establishment system 2 of regulation engine and the establishment system of rule-based engine System 3, referring to Fig. 3, being shown as the service management system of the establishment system of regulation engine and the establishment system of rule-based engine 3 theory structure schematic diagram in an embodiment of system.As shown in figure 3, the establishment system 2 of the regulation engine includes:Mould is provided Block 21, collector 22 and first processing module 23.
The module 21 that provides is used to provide a first regular configuration interface for being used to enter logic rules edlin.At this In embodiment, the described first regular configuration interface is the initial interface of state to be configured.In the present embodiment, user can be in institute Logic rules can be set up, changes and delete on the first regular configuration interface by stating.
The collector 22 being connected with the offer module 21 is used to configure in the original regular configuration interface rule At least one rule components for being used to configure logic rules are compiled on interface.In the present embodiment, the rule components include work Journey name, decision tree, scorecard, rule set and perform script etc..
Wherein, the engineering name is used for the business purpose for representing user.For example, pay after tax is calculated, examination & approval loan etc..
The decision tree is used for the execution sequence that some logic rules and rule components are configured with branched form.First layer point Branch configuration logic rules are whether user is a line city.Therefore, income is more than 10000 branch for being divided into a line city and non- The branch in one line city.In the present embodiment, the execution sequence of rule components is advised to set up decision tree, compiling scorecard, compiling Then collect and Complied executing script.
The scorecard is used under a branch for the decision tree, according to predefined code of points, to described The logic rules related to engineering name inputted on first regular configuration interface are scored.
The logic rules related to engineering name inputted on the described first regular configuration interface, be, for example, sex, year Age, user's income, position etc..
Predefined code of points, be, for example, sex:40 points of man, 60 points of female;
Age:14~18 years old 20 points, 19~30 years old 40 points, more than 30 years old 30 points;
Income:Less than 10000 60 points, 10000~20000 is interval 100 points, more than 20,000 200 points;
Position:100 points of manager, common 60 points of office worker.
Predefined code of points, draws a TOP SCORES more than.
The rule set is used under a branch for the decision tree, according to predefined admittable regulation, judges in institute State the logic rules related to engineering name that are inputted on the first regular configuration interface whether access.
The logic rules related to engineering name inputted on the described first regular configuration interface, are, for example, totally comment Point, total address list number and effective communication record number, in contact person with the presence or absence of blacklist, educational background whether it is more than junior college, be rejected One in logic rules in the logic rules crossed in scorecard, and Chinese scorecard, address list are used with the presence or absence of blacklist Family etc..
Predefined admittable regulation, be, for example, TOP SCORES<220
Total address list number>50 and effective communication record<10
There is blacklist (not including programmed emergency) in contact person
It is more than academic junior college
It was rejected and middle one crossed in reason code 10,20,30
There is black list user in address list.
In the present embodiment, also need according to predefined admittable regulation, be that each logic rules in rule set set one Individual rule number.On the first regular configuration interface after input logic rule, rule number is set according to predefined admittable regulation.
The perform script is used for according to engineering name and the logic rules inputted, performs code of points and/or access rule Then, and the logical consequence that is matched respectively with the code of points, admittable regulation is obtained.
For example, the logic rules related to engineering name inputted on the described first regular configuration interface are age of user Less than 18 years old, then refuse.
So perform script is according to admittable regulation, and age of user is more than or equal to 18 years old, output logical consequence " passing through ", user Age is less than 18 years old, output logical consequence " refusal ".
In the present embodiment, the rule components of engineering name, decision tree, scorecard, rule set and perform script etc. are included It is equipped with the component ID to recognizer component.
The first processing module 23 being connected with the collector 22 is used for the various rule for compiling the collector 22 Then component, i.e. decision tree, scorecard, rule set and perform script are according to the execution sequence of rule components, and layout miscellaneous service patrols Volume, and by the miscellaneous service logic of institute's layout, the rule components of combination are stored in a predetermined format, are formed for disassociation service and answered Second Rule configuration interface;Wherein, the service logic has the engineering name specified;The engineering name is used to represent user Business purpose.In the present embodiment, the predetermined format is the data interchange format of lightweight, i.e. JSON.
With continued reference to Fig. 3, the business management system 3 of the establishment system of the rule-based engine include receiving module 31, Searching modul 32 and Second processing module 33.
The receiving module 31 receives the engineering name specified by user by the Second Rule configuration interface.The work Journey name is essentially a mark.For example, calcuGongzi, its implication is exactly that the business purpose of user is calculating pay after tax.
The searching modul 32 being connected with the receiving module 31 is used for according to engineering name, and it is right with engineering name to search The perform script answered.For example, searching perform script corresponding with calculating pay after tax.
The Second processing module 33 being connected with the searching modul 32 is used in the running of the perform script, leads to The Second Rule configuration interface record logic rules related to engineering name are crossed, to obtain what is matched with the logic rules Operational decision making;The logic rules are that user inputs according to business demand.The logic rules related to engineering name include decision-making The logic rules configured in the logic rules configured on tree, scorecard, and/or regular centralized configuration logic rules.
In the present embodiment, the Second processing module 33 is in the running of the perform script, perform script fortune Before row, also need to whether there is dependence between resolution rules component.Resolving is:
JSON contents corresponding with the component are searched according to rule components;
Judge whether the rule components are existing;If so, parsing the component, and judge whether dependent on the component Another component is not resolved, if so, searching the JSON contents of another component according to the component ID of another component.If it is not, then should Component register is into database.
In the present embodiment, by the Second Rule configuration interface record the logic rules related with the engineering it Afterwards, the logic rules related to engineering name can be stored on hard disk by the Second processing module 33 in the form of text.Due to The text that hard disk is deleted is can not to work as program to go execution logic, then need to just read these texts, is searched corresponding with these texts Perform script carrys out execution logic rule.
The operational decision making that the Second processing module 33 is additionally operable to match with the logic rules is exported in API forms.
The present embodiment also provides a kind of equipment, the establishment system 2 of the equipment including above-mentioned regulation engine and/or rule-based The business management system 3 of the establishment system of engine.
In summary, the business of the construction method of the construction method of regulation engine of the present invention and rule-based engine The business management system of the construction method of management method, the establishment system of regulation engine and rule-based engine, and with establishment The equipment of system and business management system has the advantages that:
First, regular flow flexible configuration;Various assemblies various combination, completes complicated regular flow.
Second, rule visualization manageability;The flow path visual editted, business personnel can understand whole strategy rapidly Outline, and details therein can be inquired about.
3rd, it is obviously improved the issue speed of strategy;Traditional development mode, adjusts a strategy, changes a threshold values, all Will be by business and the requirement validation of research and development, research and development exploitation, test access, and use after regulation engine, business personnel voluntarily opens Hair, test (regulation engine platform provides unit testing and batch testing interface).Whole issue flow is greatly simplified, original rule With strategy modification if necessary to if could formally issuing within some days, that is used after regulation engine within a very short time just can be with Issue, simple rule even half an hour just can be with formally effective.
4th, regular confidentiality;Developed according to traditional mode, in some industries, such as air control, business personnel need by Complete air control policy is informed and research staff, can just be developed, after regulation engine, and R&D team need not further relate to Rule specifics, improve the confidentiality of rule.So, the present invention effectively overcomes various shortcoming of the prior art and has height Industrial utilization.
The above-described embodiments merely illustrate the principles and effects of the present invention, not for the limitation present invention.It is any ripe Know the personage of this technology all can carry out modifications and changes under the spirit and scope without prejudice to the present invention to above-described embodiment.Cause This, those of ordinary skill in the art is complete without departing from disclosed spirit and institute under technological thought such as Into all equivalent modifications or change, should by the present invention claim be covered.

Claims (10)

1. a kind of construction method of regulation engine, it is characterised in that the construction method of the regulation engine comprises the following steps:
One the first regular configuration interface for being used to enter logic rules edlin is provided;
At least one rule components for being used to configure logic rules are compiled on the described first regular configuration interface;
The rule components are combined with layout miscellaneous service logic, and by the miscellaneous service logic of institute's layout, regular group of combination Part is stored in a predetermined format, forms the Second Rule configuration interface for disassociation service and application;Wherein, the service logic tool There is the engineering name specified;The engineering name is used for the business purpose for representing user.
2. the construction method of regulation engine according to claim 1, it is characterised in that:The rule components include:
Decision tree, the execution sequence for configuring some logic rules and rule components with branched form;
Scorecard, under a branch for the decision tree, according to predefined code of points, in the described first rule The logic rules related to engineering name inputted on configuration interface are scored;
Rule set, under a branch for the decision tree, according to predefined admittable regulation, judges in the described first rule Then inputted on configuration interface to the related logic rules of engineering name whether access;And/or
Perform script, for according to engineering name and the logic rules inputted, execution logic rule, code of points and/or access Rule, and obtain the logical consequence matched respectively with the code of points, admittable regulation.
3. the construction method of regulation engine according to claim 2, it is characterised in that:The combination rule components Step refers to the rule components combine with the execution sequence of rule components.
4. the construction method of regulation engine according to claim 1, it is characterised in that:The predetermined format is lightweight Data interchange format.
5. a kind of business management method of the construction method of rule-based engine, it is characterised in that the business management method bag Include following steps:
By the Second Rule configuration interface, the engineering name specified by user is received;
According to engineering name, perform script corresponding with engineering name is searched;
In the running of the perform script, patrolled by the way that Second Rule configuration interface record is related to engineering name Rule is collected, to obtain the operational decision making matched with the logic rules;The logic rules are that user inputs according to business demand.
6. business management method according to claim 5, it is characterised in that:After the input logic rule is received, The rule-based operational decision making management method also includes storing input logic rule with text formatting.
7. business management method according to claim 2, it is characterised in that:The business management method is additionally included in described In the running of perform script, need to whether there is dependence between resolution rules component.
8. the establishment system of a kind of regulation engine, it is characterised in that the establishment system of the regulation engine includes:
Module is provided, for providing a first regular configuration interface for being used to enter logic rules edlin;
Collector, for compiling at least one be used to configure logic rules regular group on the described first regular configuration interface Part;
First processing module, for combining the rule components with layout miscellaneous service logic, and by the miscellaneous service of institute's layout Logic, the rule components of combination are stored in a predetermined format, form the Second Rule configuration interface for disassociation service and application;Its In, the service logic has the engineering name specified;The engineering name is used for the business purpose for representing user.
9. a kind of business management system of the establishment system of rule-based engine, it is characterised in that the business management system bag Include:
Receiving module, for by the Second Rule configuration interface, receiving the engineering name specified by user;
Searching modul, for according to engineering name, searching perform script corresponding with engineering name;
Second processing module, in the running of the perform script, being recorded by the Second Rule configuration interface The logic rules related to engineering name, to obtain the operational decision making matched with the logic rules;The logic rules are users Inputted according to business demand.
10. a kind of equipment, it is characterised in that the equipment include regulation engine as claimed in claim 8 establishment system and/ Or business management system as claimed in claim 9.
CN201710236528.2A 2017-04-12 2017-04-12 Construction method/system, business management method/system and the equipment of regulation engine Pending CN107122220A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710236528.2A CN107122220A (en) 2017-04-12 2017-04-12 Construction method/system, business management method/system and the equipment of regulation engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710236528.2A CN107122220A (en) 2017-04-12 2017-04-12 Construction method/system, business management method/system and the equipment of regulation engine

Publications (1)

Publication Number Publication Date
CN107122220A true CN107122220A (en) 2017-09-01

Family

ID=59724614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710236528.2A Pending CN107122220A (en) 2017-04-12 2017-04-12 Construction method/system, business management method/system and the equipment of regulation engine

Country Status (1)

Country Link
CN (1) CN107122220A (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107797823A (en) * 2017-09-27 2018-03-13 平安科技(深圳)有限公司 Business Rule Management method, apparatus, storage medium and computer equipment
CN108008944A (en) * 2017-11-29 2018-05-08 千寻位置网络有限公司 Regulation engine response method and system, regulation engine, service terminal, memory
CN108198081A (en) * 2017-12-29 2018-06-22 上海栈略数据技术有限公司 A kind of configurable insurance air control rule engine system and flow and method
CN108304164A (en) * 2017-09-12 2018-07-20 马上消费金融股份有限公司 A kind of development approach and development system of service logic
CN108768715A (en) * 2018-05-22 2018-11-06 烽火通信科技股份有限公司 Access the business configuration adaptation method and system of webmaster
CN109086031A (en) * 2018-06-28 2018-12-25 阿里巴巴集团控股有限公司 A kind of operational decision making method and apparatus of rule-based engine
CN109118353A (en) * 2018-07-20 2019-01-01 中国邮政储蓄银行股份有限公司 The data processing method and device of air control model
CN109324793A (en) * 2018-10-24 2019-02-12 北京奇虎科技有限公司 Support the processing system and method for algorithm assembly
WO2019051835A1 (en) * 2017-09-18 2019-03-21 华为技术有限公司 Recommendation method and terminal
CN109542432A (en) * 2018-10-16 2019-03-29 深圳壹账通智能科技有限公司 Air control rule editing method and terminal device
CN109741087A (en) * 2018-12-11 2019-05-10 中国联合网络通信集团有限公司 The management method and device of electronic coupons
CN110458595A (en) * 2019-06-21 2019-11-15 平安普惠企业管理有限公司 Rules process method, electronic device and the computer equipment of configurableization
CN110750415A (en) * 2019-09-20 2020-02-04 平安普惠企业管理有限公司 Interface service configuration method, device, medium and computer equipment
CN111241186A (en) * 2020-01-17 2020-06-05 中信银行股份有限公司 Rule-based visual parallel data preparation method, system, equipment and medium
CN111489163A (en) * 2020-04-07 2020-08-04 支付宝(杭州)信息技术有限公司 Service processing method and device and electronic equipment
CN111538493A (en) * 2020-04-28 2020-08-14 京东数字科技控股有限公司 Streaming data processing method, system, storage medium and electronic equipment
CN111694615A (en) * 2020-06-16 2020-09-22 北京同邦卓益科技有限公司 Data configuration method, device, equipment and storage medium
CN111932192A (en) * 2019-05-13 2020-11-13 第四范式(北京)技术有限公司 Decision flow configuration method executed in computer equipment and decision flow engine
CN113326042A (en) * 2021-06-28 2021-08-31 上海致景信息科技有限公司 Method and device for visually configuring salary, storage medium and processor

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102054047A (en) * 2011-01-07 2011-05-11 焦点科技股份有限公司 Extracting method for service-configurable service rule
CN102231162A (en) * 2011-07-01 2011-11-02 福建富士通信息软件有限公司 Dynamic rule engine configuration method based on service processing
CN103532808A (en) * 2013-10-30 2014-01-22 江苏万全科技有限公司 Enterprise service bus for integrating rule engine
US20150142699A1 (en) * 2013-11-16 2015-05-21 International Business Machines Corporation Driving an Interactive Decision Service From a Forward-Chaining Rule Engine
CN105956104A (en) * 2016-04-29 2016-09-21 努比亚技术有限公司 Business view framework and development method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102054047A (en) * 2011-01-07 2011-05-11 焦点科技股份有限公司 Extracting method for service-configurable service rule
CN102231162A (en) * 2011-07-01 2011-11-02 福建富士通信息软件有限公司 Dynamic rule engine configuration method based on service processing
CN103532808A (en) * 2013-10-30 2014-01-22 江苏万全科技有限公司 Enterprise service bus for integrating rule engine
US20150142699A1 (en) * 2013-11-16 2015-05-21 International Business Machines Corporation Driving an Interactive Decision Service From a Forward-Chaining Rule Engine
CN105956104A (en) * 2016-04-29 2016-09-21 努比亚技术有限公司 Business view framework and development method thereof

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108304164A (en) * 2017-09-12 2018-07-20 马上消费金融股份有限公司 A kind of development approach and development system of service logic
CN108304164B (en) * 2017-09-12 2021-12-03 马上消费金融股份有限公司 Business logic development method and development system
WO2019051835A1 (en) * 2017-09-18 2019-03-21 华为技术有限公司 Recommendation method and terminal
US11245786B2 (en) 2017-09-18 2022-02-08 Huawei Technologies Co., Ltd. Recommendation method and terminal
CN107797823B (en) * 2017-09-27 2020-01-17 平安科技(深圳)有限公司 Business rule management method and device, storage medium and computer equipment
CN107797823A (en) * 2017-09-27 2018-03-13 平安科技(深圳)有限公司 Business Rule Management method, apparatus, storage medium and computer equipment
CN108008944A (en) * 2017-11-29 2018-05-08 千寻位置网络有限公司 Regulation engine response method and system, regulation engine, service terminal, memory
CN108198081A (en) * 2017-12-29 2018-06-22 上海栈略数据技术有限公司 A kind of configurable insurance air control rule engine system and flow and method
CN108768715A (en) * 2018-05-22 2018-11-06 烽火通信科技股份有限公司 Access the business configuration adaptation method and system of webmaster
CN109086031A (en) * 2018-06-28 2018-12-25 阿里巴巴集团控股有限公司 A kind of operational decision making method and apparatus of rule-based engine
CN109086031B (en) * 2018-06-28 2022-08-05 创新先进技术有限公司 Business decision method and device based on rule engine
CN109118353A (en) * 2018-07-20 2019-01-01 中国邮政储蓄银行股份有限公司 The data processing method and device of air control model
CN109118353B (en) * 2018-07-20 2022-03-15 中国邮政储蓄银行股份有限公司 Data processing method and device of wind control model
CN109542432A (en) * 2018-10-16 2019-03-29 深圳壹账通智能科技有限公司 Air control rule editing method and terminal device
CN109324793A (en) * 2018-10-24 2019-02-12 北京奇虎科技有限公司 Support the processing system and method for algorithm assembly
CN109741087A (en) * 2018-12-11 2019-05-10 中国联合网络通信集团有限公司 The management method and device of electronic coupons
CN111932192A (en) * 2019-05-13 2020-11-13 第四范式(北京)技术有限公司 Decision flow configuration method executed in computer equipment and decision flow engine
CN111932192B (en) * 2019-05-13 2024-01-26 第四范式(北京)技术有限公司 Decision flow configuration method and decision flow engine executed in computer equipment
CN110458595A (en) * 2019-06-21 2019-11-15 平安普惠企业管理有限公司 Rules process method, electronic device and the computer equipment of configurableization
CN110750415A (en) * 2019-09-20 2020-02-04 平安普惠企业管理有限公司 Interface service configuration method, device, medium and computer equipment
CN111241186A (en) * 2020-01-17 2020-06-05 中信银行股份有限公司 Rule-based visual parallel data preparation method, system, equipment and medium
CN111489163A (en) * 2020-04-07 2020-08-04 支付宝(杭州)信息技术有限公司 Service processing method and device and electronic equipment
CN111538493A (en) * 2020-04-28 2020-08-14 京东数字科技控股有限公司 Streaming data processing method, system, storage medium and electronic equipment
CN111694615A (en) * 2020-06-16 2020-09-22 北京同邦卓益科技有限公司 Data configuration method, device, equipment and storage medium
CN111694615B (en) * 2020-06-16 2024-04-05 北京同邦卓益科技有限公司 Method, device, equipment and storage medium for data configuration
CN113326042A (en) * 2021-06-28 2021-08-31 上海致景信息科技有限公司 Method and device for visually configuring salary, storage medium and processor

Similar Documents

Publication Publication Date Title
CN107122220A (en) Construction method/system, business management method/system and the equipment of regulation engine
Tang et al. Human-object interaction recognition for automatic construction site safety inspection
Bavota et al. Methodbook: Recommending move method refactorings via relational topic models
Yuan et al. A graph-search based approach to BPEL4WS test generation
Bouajjani et al. Abstract regular (tree) model checking
CN110543951B (en) Virtual assistant system for maintenance of railway bridge
Fantoni et al. Text mining tool for translating terms of contract into technical specifications: Development and application in the railway sector
CN111177322A (en) Ontology model construction method of domain knowledge graph
Mota et al. Integrated commonsense reasoning and deep learning for transparent decision making in robotics
CN107103363A (en) A kind of construction method of the software fault expert system based on LDA
Kiesel et al. A shared task on argumentation mining in newspaper editorials
Lenzerini et al. Concept Languages as Query Languages.
Manino et al. Systematicity, compositionality and transitivity of deep NLP models: a metamorphic testing perspective
CN106021114A (en) Automated testing method and system for intelligent robot
Fantechi et al. VIBE: looking for variability in ambiguous requirements
Abid et al. A Real-Time Specification Patterns Language
CN104885060B (en) Data leakage updates and checks that the leakage of device, data updates inspection method
CN106649318A (en) Information display method and device
Etzkorn et al. A documentation-related approach to object-oriented program understanding
Feng et al. Case Repositories: Towards Case-Based Reasoning for AI Alignment
CN112540928A (en) Test case layout method and device based on to-be-tested line intersection information
Gransden et al. Mining state-based models from proof corpora
McCluskey et al. The automated refinement of a requirements domain theory
CN103020714A (en) Solution method for cognitive description program based on generation-verification
Prager et al. Improving QA accuracy by question inversion

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
CB02 Change of applicant information

Address after: 200080 room 1050, No. 901-908 East Daming Road, Shanghai, Hongkou District

Applicant after: Shanghai pre long Mdt InfoTech Ltd

Address before: 200080 room 1050, No. 901-908 East Daming Road, Hongkou District, Shanghai, Hongkou District

Applicant before: Shanghai long ago Financial Information Service Co., Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20170901

RJ01 Rejection of invention patent application after publication