CN110532536A - A kind of rule configuration method and device - Google Patents
A kind of rule configuration method and device Download PDFInfo
- Publication number
- CN110532536A CN110532536A CN201910817941.7A CN201910817941A CN110532536A CN 110532536 A CN110532536 A CN 110532536A CN 201910817941 A CN201910817941 A CN 201910817941A CN 110532536 A CN110532536 A CN 110532536A
- Authority
- CN
- China
- Prior art keywords
- rule
- character string
- attribute value
- matched
- configuration 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
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/90335—Query processing
- G06F16/90344—Query processing by using string matching techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/03—Credit; Loans; Processing thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- General Business, Economics & Management (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Computational Linguistics (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention discloses a kind of regular configuration method and devices, suitable for banking system, wherein, method includes: the configuration information for obtaining user's input, determine the corresponding rule template of configuration information, wherein rule template is to be pre-set to have the execution logic for determining rules results by rule condition in banking system, the corresponding rule template of configuration information is called, the corresponding regular character string of configuration information is generated and stores the corresponding regular character string of configuration information into rule database.The technical solution is for reducing to the professional requirement of user and reduction amount of user effort.
Description
Technical field
The present embodiments relate to the financial technology field (Fintech) more particularly to a kind of regular configuration method and devices.
Background technique
With the development of computer technology, more and more technical applications are in financial field, and traditional financial industry is gradually
Changing to financial technology, regular configuration technology is no exception, but due to finance, the payment safety of industry, requirement of real-time,
The higher requirement that regular configuration technology is proposed.
Existing banking system rule configuration in, user can according to the product attribute of banking, client properties, borrow
Business rule is configured one by one according to attribute etc., and is combined into the code for executing logic, this has execution logical code
Rule condition and the movement for indicating business rule, for example, for the client's receipt for meeting certain rule condition, according to presetting
Deduction and exemption amount of money formula do interest deduction transaction.
But in this kind of mode, user needs to carry out all properties involved in business rule by way of writing code
It configures one by one, and needs to test configured business rule, it is big to the professional requirement height and amount of user effort of user.
Summary of the invention
The embodiment of the present invention provides a kind of regular configuration method and device, for reducing to the professional requirement of user and subtracting
Few amount of user effort.
A kind of regular configuration method provided in an embodiment of the present invention is suitable for banking system;
The described method includes:
Obtain the configuration information of user's input;The configuration information includes rule condition attribute value and rules results attribute
Value;
Determine the corresponding rule template of the configuration information;The rule template is to be pre-set at the banking system
There is the execution logic that rules results are determined by rule condition in system;
The corresponding rule template of the configuration information is called, generates the corresponding regular character string of the configuration information and by institute
The corresponding regular character string of configuration information is stated to store into rule database.
In above-mentioned technical proposal, the configuration information of user's input is obtained, and corresponding regular mould is called according to configuration information
Plate, the rule template are to be pre-set to have in banking system to determine that the execution of rules results is patrolled by rule condition
Volume, then the regular character string generated is to indicate the execution logic of specific rules conditional attribute value and rules results attribute value, bank
Operation system can execute corresponding logic according to the rule character string.The rule template is after being abstracted to banking
Template, user can only configure the attribute value of the rule condition of banking and the attribute value of rules results, banking system
Can binding rule template generation there is the character string for executing logic, reduce professional requirement to user, and reduce use
The workload that family configures business rule.Further, the business rule configured by the technical solution is without carrying out business rule
It then tests, it is only necessary to ensure logical correctness in rule template in the most incipient stage.
Optionally, after described, by the configuration information, corresponding rule character string is stored into rule database, also
Include:
Obtain object to be matched;It include conditional attribute value to be matched in the object to be matched;
According to regular item indicated by rule character string each in the conditional attribute value to be matched, the rule database
Part attribute value, determining the first regular character string to match with the object to be matched;
Determine rules results attribute value indicated by the described first regular character string.
Optionally, described according to rule character string each in the conditional attribute value to be matched, rule database institute
The rule condition attribute value of instruction, determining the first regular character string to match with the object to be matched, comprising:
It, in order will be described to be matched according to rule prioritization indicated by rule character string each in the rule database
Conditional attribute value matched one by one with rule condition attribute value indicated by each regular character string, and it is determining with it is described to
The the first regular character string to match with object.
In above-mentioned technical proposal, according to the conditional attribute value of object to be matched, matched from rule database and condition
The corresponding regular character string of attribute value, and determine rules results attribute value indicated by the rule character string, thus banking
Business system can execute corresponding result action, which can improve bank with Rapid matching to corresponding result action
The response speed of business.
Optionally, after described, by the configuration information, corresponding rule character string is stored into rule database, also
Include:
Obtain the modification information of user's input;The modification information is used to indicate modification Second Rule character string, and described the
Two regular character strings are any one character strings in the rule database;
Determine the corresponding rule template of the modification information;
The corresponding rule template of the modification information is called, generates the corresponding regular character string of the modification information, and will
The corresponding regular character string of the modification information replaces the Second Rule character string.
In above-mentioned technical proposal, when the business rule to banking system is modified, user can input modification
Information, banking system generate the corresponding regular character string of modification information according to modification information, and the modification information is corresponding
The original regular character string of regular character string replacement, the modification of implementation rule character string patrols rule code without user
It collects and modifies (without adjusting regular configuration attribute and control logic), run test without to modified code, this
Scheme reduces the workload that business rule is modified in banking system.
Optionally, the rule condition attribute value be it is multiple, multiple rule condition attribute values include at least following one or
Combination: client properties value, product attribute value, trading object attribute value.
Correspondingly, being suitable for banking system, the dress the embodiment of the invention also provides a kind of regular configuration device
It sets and includes:
Acquiring unit, for obtaining the configuration information of user's input;The configuration information include rule condition attribute value and
Rules results attribute value;
Determination unit, for determining the corresponding rule template of the configuration information;The rule template is to be pre-set at
There is the execution logic that rules results are determined by rule condition in the banking system;
Processing unit generates the corresponding rule of the configuration information for calling the corresponding rule template of the configuration information
Then character string and the corresponding regular character string of the configuration information is stored into rule database.
Optionally, the processing unit is also used to:
After the rule character string that the configuration information is corresponding is stored into rule database, obtained described in control
Unit is taken to obtain object to be matched;It include conditional attribute value to be matched in the object to be matched;
According to regular item indicated by rule character string each in the conditional attribute value to be matched, the rule database
Part attribute value, determining the first regular character string to match with the object to be matched;
Determine rules results attribute value indicated by the described first regular character string.
Optionally, the processing unit is specifically used for:
It, in order will be described to be matched according to rule prioritization indicated by rule character string each in the rule database
Conditional attribute value matched one by one with rule condition attribute value indicated by each regular character string, and it is determining with it is described to
The the first regular character string to match with object.
Optionally, the processing unit is also used to:
After the rule character string that the configuration information is corresponding is stored into rule database, obtained described in control
Unit is taken to obtain the modification information of user's input;The modification information, which is used to indicate, modifies Second Rule character string, and described second
Regular character string is any one character string in the rule database;
Determine the corresponding rule template of the modification information;
The corresponding rule template of the modification information is called, generates the corresponding regular character string of the modification information, and will
The corresponding regular character string of the modification information replaces the Second Rule character string.
Optionally, the rule condition attribute value be it is multiple, multiple rule condition attribute values include at least following one or
Combination: client properties value, product attribute value, trading object attribute value.
Correspondingly, the embodiment of the invention also provides a kind of calculating equipment, comprising:
Memory, for storing program instruction;
Processor executes above-mentioned rule according to the program of acquisition for calling the program instruction stored in the memory
Configuration method.
Correspondingly, the embodiment of the invention also provides a kind of computer-readable non-volatile memory medium, including computer
Readable instruction, when computer is read and executes the computer-readable instruction, so that computer executes above-mentioned regular configuration side
Method.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of schematic diagram of system architecture provided in an embodiment of the present invention;
Fig. 2 is a kind of visualization interface provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of regular configuration method provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of another regular configuration method provided in an embodiment of the present invention;
Fig. 5 is a kind of flow diagram of rule matching method provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of regular configuration device provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
All other embodiment, shall fall within the protection scope of the present invention.
In banking system, by taking loan transaction system as an example, entire loan product attribute involved in process of providing a loan, loan
Client properties, calculate attribute etc. of trading at receipt attribute, specifically, loan product attribute includes: repayment period time, repayment schedule class
Type, refund sequence, meter of postponing mention rule, five-category etc.;Client properties include: scope of the enterprise, industry trend of purchasing, the accrediting amount
Deng;Receipt attribute includes: receipt remaining sum, receipt state, overdue number of days, adds up overdue number of days etc.;Calculating type of transaction includes: to put
Money, refund, interest meter are mentioned, are checked and write off, checking and writing off refund etc..User needs all properties involved in the business rule to banking
It is configured one by one by way of writing code, and needs to test configured business rule, to the profession of user
Property require high and amount of user effort big.And when being modified for any bar business rule, user needs to change generation on backstage
Code and to the code tester after change.
In order to reduce the complexity of above-mentioned business rule configuration, reduces the requirement professional to user and reduce user job
Amount, the embodiment of the present invention provides a kind of configuration method of business rule, specifically, transaction all kinds of in banking system are abstracted
For event, business demand is abstracted as condition (or rule), by client properties, product attribute, trading object attribute abstraction be with
Attribute is set, the execution logical abstraction under conditional branching is met is movement, according to the event taken out, condition, configuration attribute, is moved
Make, realize high abstract business rule, when transaction event triggering, in trading object match trading condition (or rule) success
Under, execute the transaction movement of business rule configuration.
Wherein, event is such as: make loans, refund, count mention, the change of refund account;Condition (or rule) is such as: as interest-free condition,
Five-category computation rule condition, refund Cahn-Ingold-Prelog sequence rule etc.;Configuration attribute is such as: enterprise adds up overdue item number, scope of the enterprise, product
Accounting mechanism, trading object type, receipt issue and interest rate etc.;It acts such as: executing the free of interest transaction of the amount of money, updates receipt Pyatyi
Classify, trade according to the refund of specific refund sequence etc..
Fig. 1 illustratively shows the system architecture that regular configuration method provided in an embodiment of the present invention is applicable in, this is
Framework of uniting can be banking system, which may include configuration server 101, database 102, generates clothes
Business device 103;
Configuration server 101 can provide visualization interface for user (business personnel or developer), and user is by being somebody's turn to do
Visualization interface configures the configuration information of certain event, and if Fig. 2 is a kind of visualization interface provided in an embodiment of the present invention, this is visual
Changing interface is that user provides the choosings such as event type, priority, rule condition, effective date, Close Date, execution movement
, in addition, visualization interface can also show the attribute and attribute codes that configuration syntax sample and configuration event are supported.Match
The configuration information can be stored into database 102 by setting server 101, in the specific implementation, database 102 can be selected as
Relevant database, and configuration information is stored into the rule configuration list of relevant database.
User can also configuration rule template, the rule template be to have to pass through rule condition in configuration server 101
Determine that the execution logic of rules results, configuration server 101 can store the rule template into database 102, Ke Yitong
The mark (ID, identity) of the title (name) or rule template of crossing rule template is marked.
Server 103 is generated to be used to the configuration information loaded from database 102 being matched to the variable in rule template,
And then the regular character string for generating and having practical application logic is compiled, and the rule character string is stored into database 102.
Based on foregoing description, Fig. 3 illustratively shows a kind of stream of regular configuration method provided in an embodiment of the present invention
Journey, the process can be executed by regular configuration device, which can be located in above-mentioned banking system.
As shown in figure 3, the process specifically includes:
Step 301, the configuration information of user's input is obtained.
Configuration information can be what user was inputted by visualization interface, which may include rule condition attribute
Value and rules results attribute value, the rule condition attribute value and rules results attribute value can form business rule expression formula, manage
Xie Wei, the executing rule result attribute value when meeting rule condition attribute value.The business rule expression formula can be Drools language
Speech.In addition, the configuration information can also be that user selects corresponding attribute and attribute value in visualization interface, i.e., should
The selection window of the selection window and rules results attribute of rule condition attribute is shown in visualization interface, user is in regular item
The attribute of the selection window selection rule condition of part attribute simultaneously inputs corresponding attribute value and user in rules results attribute
It selects the attribute of window selection rules results and inputs corresponding attribute value, to complete the input of configuration information.
It can also include event type, business rule priority, the validity period etc. of the event in configuration information.
Step 302, the corresponding rule template of configuration information is determined.
Rule template is to be pre-set to have the execution for determining rules results by rule condition in banking system
In a kind of implementation, different rule templates can be arranged for different banking, by multiple rule template in logic
It stores into banking system.One can be created in the path Classes of banking system in advance for storing rule
The then rule file of template, and multiple rule templates of creation are stored into the rule file.Determining that configuration information is corresponding
Rule template when, can be based on the corresponding banking of configuration information, determine the corresponding rule template of the configuration information.
In another implementation, one rule template, the rule template can be set for multiple banking systems
With high abstractness, it can be adapted for different banking.
It when creating rule template, can be created according to Drools regulation engine, specifically, rule condition and rule
As a result Drools language can be used, Drools language can support operator, comparison operator, regular expression etc..Rule
It include attribute (attributes), rule condition, rules results in template, the rule condition in rule template is by one or more
Condition composition, when all conditions all meet, then rules results are performed.Rule condition and rules results in rule template are
Null value, in create-rule character string, the configuration information for user's input to provide corresponding logic template.
Step 303, the corresponding rule template of configuration information is called, the corresponding regular character string of configuration information is generated and will be matched
The corresponding regular character string of confidence breath is stored into rule database.
The corresponding rule template of configuration information is called, corresponding rule condition attribute value and rules results attribute value is corresponding
It is matched in the rule condition and rules results of rule template, so that generating has the practical regular character string for executing logic.
For example, rule condition attribute value be " client is small-sized or minuscule-type-enterprise, the accrediting amount be 1,000,000 or more and
10000000 or less ", rules results attribute value is that " it is equal capital (RPT-02), grace period 0 that meter, which proposes tax-free, mode of repayment,
It ".Then corresponding rule condition is 4 ') &&cust.creditbusiness > 1000000&& of cust.scope in (' 3 ', '
cust.creditbusiness<10000000;Corresponding rules results are as follows: loan.vatflag=1&&loan.paymethod
=' RPT-02 ' &&loan.graceday=0.
Generating has the regular character string for executing logic are as follows:
In another example, rule condition attribute value is that " customer historical is overdue accumulative more than 15 days, or continuous overdue
Number of days is more than 7 days, or currently has overdue receipt ", rules results attribute value is that " the receipt grace period of making loans is 0, and refund issue
For 3 phases, mode of repayment is equal capital (RPT-02) ".Then corresponding rule condition is cust.alloverdays > 15 | |
Cust.conoverdays > 7 | | cust.existover==' true ';Corresponding rules results are as follows: loan.graceday=
0&&loan.period=3&&loan.paymethod=' RPT-02 '.
Generating has the regular character string for executing logic are as follows:
In above-described embodiment, the configuration information of user's input is obtained, and corresponding rule template is called according to configuration information,
The rule template is to be pre-set to have the execution logic for determining rules results by rule condition in banking system, then
The regular character string of generation is to indicate the execution logic of specific rules conditional attribute value and rules results attribute value, banking system
System can execute corresponding logic according to the rule character string.The rule template is the template after being abstracted to banking,
User can only configure the rule condition attribute value and rules results attribute value of banking, and banking system can combine
Rule template, which generates, has the character string for executing logic, reduces the professional requirement to user, and reduces user and advise to business
The workload then configured.Further, the business rule configured by the technical solution is without carrying out business rule test, it is only necessary to
Logical correctness in rule template is ensured in the most incipient stage.In addition, rule-based conditional attribute value and rules results
Attribute value is generated in rule template with the character string for executing logic, is configured one by one by way of writing code,
Improve the efficiency and convenience of rule configuration.
In a kind of implementation, rule database can be built into Maven structure, specifically, referring to according to concrete engineering
Groupid needed for determining Maven structure (organization), artifactid (item id), version (version number), as only
The three elements of one label Maven Structural Engineering, and call the org.kie.api.builder.KieFil of Drools regulation engine
The side generateAndWritePomXML () of eSystem (memory file system that KieFileSystem is Drools) API
Method generates the Maven Structural Engineering.Regular character string can be stored with .drl format to Maven structure according to preset path
In engineering, such as src/main/resources/190302122001100.drl, that is to say, that regular character string is of the invention real
Apply the regular character string that can be drl format in example.Rule database is built into Maven structure, it can be quickly from regular number
It is used for according to corresponding regular character string is found out in library to object matching to be matched.
In the specific implementation, can store by multiple configuration informations to the rule of database in flow chart as shown in Figure 4
After in allocation list, start banking system, the system container of banking system loads, each in rule searching allocation list
A configuration information, loading rule drl file stream (being equivalent to loading rule template), and it is directed to each configuration information, will each it match
Rule condition attribute value, rules results attribute value, rule prioritization in confidence breath, regular time limit are matched to rule of correspondence template
Variable in, compiling generates drl rule character string, according to the rule of drl rule text string generation Maven structure and in being loaded onto
In depositing.
The embodiment of the present invention can also modify to any one regular character string existing in rule database, specifically
, obtain the modification information of user's input, wherein modification information is used to indicate modification Second Rule character string, Second Rule word
Symbol string is any one character string in rule database, determines the corresponding rule template of modification information, calls modification information corresponding
Rule template, generate the corresponding regular character string of modification information simultaneously for corresponding regular the second rule of character string replacement of modification information
Then character string.The side of the mode and above-mentioned create-rule character string according to modification information and rule template create-rule character string
Formula is similar, then this is repeated no more.
When the business rule to banking system is modified, user can input modification information, banking system
System generates the corresponding regular character string of modification information according to modification information, and the corresponding regular character string of the modification information is replaced
Regular character string originally, the modification of implementation rule character string are modified without logic of the user to rule code (without adjusting
Whole rule configuration attribute and control logic), it is tested without being run to modified code, this programme reduces banking
The workload that business rule is modified in system.
Above example is described in detail create-rule character string (or alteration ruler character string) and will be regular
Character string is stored to the implementation of rule database, and on this basis, the embodiment of the present invention is provided using in rule database
The mode of regular character string, specifically, obtaining object to be matched, it is defeated by visualization interface which can be user
Enter and generate, includes conditional attribute value to be matched in the object to be matched, it can be according to conditional attribute value to be matched, rule
Then rule condition attribute value indicated by each rule character string in database, determining the first rule to match with object to be matched
Character string, and then determine rules results attribute value indicated by the first regular character string.
It can be according to rule prioritization indicated by rule character string each in rule database, in order by item to be matched
Part attribute value is matched one by one with rule condition attribute value indicated by each regular character string, and determination and object phase to be matched
Matched first regular character string.
In the specific implementation, can use Drools regulation engine, object to be matched is to want in Drools regulation engine
The Fact (facts object) matched, Drools regulation engine is indicated by each drl rule character string in Fact and rule database
Rule condition attribute value matched one by one, and the determining drl rule character string to match with object to be matched, and executing
Rules results attribute value indicated by the drl rule character string matched.In process as shown in Figure 5, user's trigger event
When (such as make loans, refund, count mention), banking system creates the Fact under the event, and according to event object information, such as visitor
Fact assignment client properties, product attribute, receipt attribute etc. are called in family ID, receipt ID etc., query traffic data library
The API class method (such as org.kie.api.runtime.StatelessKieSession.execute ()) of Drools, will
Fact transfers to Drools regulation engine to carry out rule match, Drools regulation engine according to rule priority in order one by one
Match, the drl rule character string of the rule condition attribute value to match if it exists with Fact, then executes the drl rule character string and refer to
The rules results attribute value shown, and operation system implementing result is returned, the rule condition attribute to match if it does not exist with Fact
The drl rule character string of value, then terminate.
In the embodiment of the present invention, according to the conditional attribute value of object to be matched, matched from rule database and condition
The corresponding regular character string of attribute value, and determine rules results attribute value indicated by the rule character string, thus banking
Business system can execute corresponding result action, which can improve bank with Rapid matching to corresponding result action
The response speed of business.
Based on the same inventive concept, Fig. 6 illustratively shows a kind of regular configuration device provided in an embodiment of the present invention
Structure, the device be suitable for banking system, which can be with the process of executing rule configuration method.
The device includes:
Acquiring unit 601, for obtaining the configuration information of user's input;The configuration information includes rule condition attribute value
With rules results attribute value;
Determination unit 602, for determining the corresponding rule template of the configuration information;The rule template is to preset
There is the execution logic that rules results are determined by rule condition in the banking system;
It is corresponding to generate the configuration information for calling the corresponding rule template of the configuration information for processing unit 603
Regular character string simultaneously stores the corresponding regular character string of the configuration information into rule database.
Optionally, the processing unit 603 is also used to:
After the rule character string that the configuration information is corresponding is stored into rule database, obtained described in control
Unit 601 is taken to obtain object to be matched;It include conditional attribute value to be matched in the object to be matched;
According to regular item indicated by rule character string each in the conditional attribute value to be matched, the rule database
Part attribute value, determining the first regular character string to match with the object to be matched;
Determine rules results attribute value indicated by the described first regular character string.
Optionally, the processing unit 603 is specifically used for:
It, in order will be described to be matched according to rule prioritization indicated by rule character string each in the rule database
Conditional attribute value matched one by one with rule condition attribute value indicated by each regular character string, and it is determining with it is described to
The the first regular character string to match with object.
Optionally, the processing unit 603 is also used to:
After the rule character string that the configuration information is corresponding is stored into rule database, obtained described in control
Unit 601 is taken to obtain the modification information of user's input;The modification information is used to indicate modification Second Rule character string, and described the
Two regular character strings are any one character strings in the rule database;
Determine the corresponding rule template of the modification information;
The corresponding rule template of the modification information is called, generates the corresponding regular character string of the modification information, and will
The corresponding regular character string of the modification information replaces the Second Rule character string.
Optionally, the rule condition attribute value be it is multiple, multiple rule condition attribute values include at least following one or
Combination: client properties value, product attribute value, trading object attribute value.
Based on the same inventive concept, the embodiment of the invention also provides a kind of calculating equipment, comprising:
Memory, for storing program instruction;
Processor executes above-mentioned rule according to the program of acquisition for calling the program instruction stored in the memory
Configuration method.
Based on the same inventive concept, the embodiment of the invention also provides a kind of computer-readable non-volatile memory medium,
Including computer-readable instruction, when computer is read and executes the computer-readable instruction, so that computer execution is above-mentioned
Regular configuration method.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (12)
1. a kind of rule configuration method, which is characterized in that be suitable for banking system, which comprises
Obtain the configuration information of user's input;The configuration information includes rule condition attribute value and rules results attribute value;
Determine the corresponding rule template of the configuration information;The rule template is to be pre-set in the banking system
With the execution logic for determining rules results by rule condition;
The corresponding rule template of the configuration information is called, the corresponding regular character string of the configuration information is generated and is matched by described in
The corresponding regular character string of confidence breath is stored into rule database.
2. the method as described in claim 1, which is characterized in that deposit the corresponding regular character string of the configuration information described
After storage is into rule database, further includes:
Obtain object to be matched;It include conditional attribute value to be matched in the object to be matched;
According to rule condition category indicated by rule character string each in the conditional attribute value to be matched, the rule database
Property value, determining the first regular character string to match with the object to be matched;
Determine rules results attribute value indicated by the described first regular character string.
3. method according to claim 2, which is characterized in that described according to the conditional attribute value to be matched, the rule
Then rule condition attribute value indicated by each rule character string, determining first to match with the object to be matched in database
Regular character string, comprising:
According to rule prioritization indicated by rule character string each in the rule database, in order by the item to be matched
Part attribute value is matched one by one with rule condition attribute value indicated by each regular character string, and it is determining with it is described to be matched right
The first regular character string as matching.
4. the method as described in claim 1, which is characterized in that deposit the corresponding regular character string of the configuration information described
After storage is into rule database, further includes:
Obtain the modification information of user's input;The modification information is used to indicate modification Second Rule character string, second rule
Then character string is any one character string in the rule database;
Determine the corresponding rule template of the modification information;
The corresponding rule template of the modification information is called, generates the corresponding regular character string of the modification information, and will be described
The corresponding regular character string of modification information replaces the Second Rule character string.
5. such as the described in any item methods of Claims 1-4, which is characterized in that the rule condition attribute value be it is multiple, it is multiple
Rule condition attribute value includes at least following one or combination:
Client properties value, product attribute value, trading object attribute value.
6. a kind of rule configuration device, which is characterized in that be suitable for banking system, described device includes:
Acquiring unit, for obtaining the configuration information of user's input;The configuration information includes rule condition attribute value and rule
As a result attribute value;
Determination unit, for determining the corresponding rule template of the configuration information;The rule template is described to be pre-set at
There is the execution logic that rules results are determined by rule condition in banking system;
Processing unit generates the corresponding regular word of the configuration information for calling the corresponding rule template of the configuration information
Symbol string simultaneously stores the corresponding regular character string of the configuration information into rule database.
7. device as claimed in claim 6, which is characterized in that the processing unit is also used to:
After the rule character string that the configuration information is corresponding is stored into rule database, it is single to control the acquisition
Member obtains object to be matched;It include conditional attribute value to be matched in the object to be matched;
According to rule condition category indicated by rule character string each in the conditional attribute value to be matched, the rule database
Property value, determining the first regular character string to match with the object to be matched;
Determine rules results attribute value indicated by the described first regular character string.
8. device as claimed in claim 7, which is characterized in that the processing unit is specifically used for:
According to rule prioritization indicated by rule character string each in the rule database, in order by the item to be matched
Part attribute value is matched one by one with rule condition attribute value indicated by each regular character string, and it is determining with it is described to be matched right
The first regular character string as matching.
9. device as claimed in claim 6, which is characterized in that the processing unit is also used to:
After the rule character string that the configuration information is corresponding is stored into rule database, it is single to control the acquisition
Member obtains the modification information of user's input;The modification information is used to indicate modification Second Rule character string, the Second Rule
Character string is any one character string in the rule database;
Determine the corresponding rule template of the modification information;
The corresponding rule template of the modification information is called, generates the corresponding regular character string of the modification information, and will be described
The corresponding regular character string of modification information replaces the Second Rule character string.
10. such as the described in any item devices of claim 6 to 9, which is characterized in that the rule condition attribute value be it is multiple, it is more
A rule condition attribute value includes at least following one or combination:
Client properties value, product attribute value, trading object attribute value.
11. a kind of calculating equipment characterized by comprising
Memory, for storing program instruction;
Processor requires 1 to 5 according to the program execution benefit of acquisition for calling the program instruction stored in the memory
Described in any item methods.
12. a kind of computer-readable non-volatile memory medium, which is characterized in that including computer-readable instruction, work as computer
When reading and executing the computer-readable instruction, so that computer executes such as method described in any one of claim 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910817941.7A CN110532536B (en) | 2019-08-30 | 2019-08-30 | Rule configuration method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910817941.7A CN110532536B (en) | 2019-08-30 | 2019-08-30 | Rule configuration method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110532536A true CN110532536A (en) | 2019-12-03 |
CN110532536B CN110532536B (en) | 2023-07-14 |
Family
ID=68665687
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910817941.7A Active CN110532536B (en) | 2019-08-30 | 2019-08-30 | Rule configuration method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110532536B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111177214A (en) * | 2019-12-19 | 2020-05-19 | 腾讯云计算(北京)有限责任公司 | Event linkage processing method, device and system, electronic equipment and storage medium |
CN111399818A (en) * | 2020-03-17 | 2020-07-10 | 深圳市卡牛科技有限公司 | Recommendation engine design method, recommendation engine design device, server and storage medium |
CN112087486A (en) * | 2020-07-30 | 2020-12-15 | 山东浪潮通软信息科技有限公司 | Data integration method, equipment and medium for Internet of things equipment |
CN112114970A (en) * | 2020-09-28 | 2020-12-22 | 中国建设银行股份有限公司 | Rule configuration method and device |
CN113468239A (en) * | 2021-06-23 | 2021-10-01 | 苏州琅润达检测科技有限公司 | Method and system for realizing internet of things industry usage statistics based on rule engine |
CN113553309A (en) * | 2021-07-28 | 2021-10-26 | 恒安嘉新(北京)科技股份公司 | Log template determination method and device, electronic equipment and storage medium |
CN113568612A (en) * | 2021-07-05 | 2021-10-29 | 金蝶软件(中国)有限公司 | Service configuration method, device, computer equipment and storage medium |
CN114969127A (en) * | 2022-07-19 | 2022-08-30 | 中邮消费金融有限公司 | Reconciliation method, reconciliation system and storage medium for automatically combining reconciliation transactions |
CN116204177A (en) * | 2023-03-17 | 2023-06-02 | 湖北坤盈数字科技有限公司 | System service module development coupling assembly method and device and computer equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014085760A1 (en) * | 2012-11-29 | 2014-06-05 | Genesys Telecommunications Laboratories, Inc. | Workload distribution with resource awareness |
CN107220757A (en) * | 2017-05-23 | 2017-09-29 | 上海最会保网络科技有限公司 | A kind of system and method for rule configuration and parsing |
CN108647049A (en) * | 2018-03-18 | 2018-10-12 | 平安科技(深圳)有限公司 | Configurableization system, method, equipment and the storage medium of rule-based engine |
CN109086031A (en) * | 2018-06-28 | 2018-12-25 | 阿里巴巴集团控股有限公司 | A kind of operational decision making method and apparatus of rule-based engine |
CN109144374A (en) * | 2018-09-27 | 2019-01-04 | 范若愚 | Method for processing business, system and relevant device based on visualization regulation engine |
-
2019
- 2019-08-30 CN CN201910817941.7A patent/CN110532536B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014085760A1 (en) * | 2012-11-29 | 2014-06-05 | Genesys Telecommunications Laboratories, Inc. | Workload distribution with resource awareness |
CN107220757A (en) * | 2017-05-23 | 2017-09-29 | 上海最会保网络科技有限公司 | A kind of system and method for rule configuration and parsing |
CN108647049A (en) * | 2018-03-18 | 2018-10-12 | 平安科技(深圳)有限公司 | Configurableization system, method, equipment and the storage medium of rule-based engine |
CN109086031A (en) * | 2018-06-28 | 2018-12-25 | 阿里巴巴集团控股有限公司 | A kind of operational decision making method and apparatus of rule-based engine |
CN109144374A (en) * | 2018-09-27 | 2019-01-04 | 范若愚 | Method for processing business, system and relevant device based on visualization regulation engine |
Non-Patent Citations (1)
Title |
---|
王世春: ""面向银行信贷的规则引擎系统设计与实现"" * |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111177214B (en) * | 2019-12-19 | 2024-02-09 | 腾讯云计算(北京)有限责任公司 | Event linkage processing method, device and system, electronic equipment and storage medium |
CN111177214A (en) * | 2019-12-19 | 2020-05-19 | 腾讯云计算(北京)有限责任公司 | Event linkage processing method, device and system, electronic equipment and storage medium |
CN111399818B (en) * | 2020-03-17 | 2023-10-20 | 深圳市卡牛科技有限公司 | Recommendation engine design method, recommendation engine design device, server and storage medium |
CN111399818A (en) * | 2020-03-17 | 2020-07-10 | 深圳市卡牛科技有限公司 | Recommendation engine design method, recommendation engine design device, server and storage medium |
CN112087486A (en) * | 2020-07-30 | 2020-12-15 | 山东浪潮通软信息科技有限公司 | Data integration method, equipment and medium for Internet of things equipment |
CN112114970A (en) * | 2020-09-28 | 2020-12-22 | 中国建设银行股份有限公司 | Rule configuration method and device |
CN113468239A (en) * | 2021-06-23 | 2021-10-01 | 苏州琅润达检测科技有限公司 | Method and system for realizing internet of things industry usage statistics based on rule engine |
CN113568612A (en) * | 2021-07-05 | 2021-10-29 | 金蝶软件(中国)有限公司 | Service configuration method, device, computer equipment and storage medium |
CN113568612B (en) * | 2021-07-05 | 2024-03-08 | 金蝶软件(中国)有限公司 | Service configuration method, device, computer equipment and storage medium |
CN113553309A (en) * | 2021-07-28 | 2021-10-26 | 恒安嘉新(北京)科技股份公司 | Log template determination method and device, electronic equipment and storage medium |
CN114969127B (en) * | 2022-07-19 | 2022-10-28 | 中邮消费金融有限公司 | Reconciliation method, reconciliation system and storage medium for automatically combining reconciliation transactions |
CN114969127A (en) * | 2022-07-19 | 2022-08-30 | 中邮消费金融有限公司 | Reconciliation method, reconciliation system and storage medium for automatically combining reconciliation transactions |
CN116204177A (en) * | 2023-03-17 | 2023-06-02 | 湖北坤盈数字科技有限公司 | System service module development coupling assembly method and device and computer equipment |
CN116204177B (en) * | 2023-03-17 | 2023-10-03 | 湖北坤盈数字科技有限公司 | System service module development coupling assembly method and device and computer equipment |
Also Published As
Publication number | Publication date |
---|---|
CN110532536B (en) | 2023-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110532536A (en) | A kind of rule configuration method and device | |
EP3635536B1 (en) | Integrated system for rule editing, simulation, version control, and business process management | |
US20200034813A1 (en) | Systems and methods for scheduling business-to-individual payments | |
US11436550B2 (en) | Cash forecast system, apparatus, and method | |
US6985878B1 (en) | Integrated finance risk manager and financial transaction modeling device | |
US11481822B2 (en) | Systems and methods for improving invoice management using enhanced analytical insight | |
WO2009068978A1 (en) | Financial product design and implementation | |
US20210117889A1 (en) | Co-operative resource pooling system | |
US7318200B2 (en) | Master data framework | |
AU2021299440A1 (en) | A machine learning framework and method for using the same | |
US10013538B1 (en) | Matching accounts identified in two different sources of account data | |
US20240005406A1 (en) | Computer-implemented method for evaluating an investment | |
CN113052675B (en) | Data display method and device | |
US11443352B2 (en) | Service bundles in service order management | |
US9189761B1 (en) | Action flow client framework | |
CN113205421A (en) | Accounting method and device for financial products | |
Vieira | Mobile Money Agent Management using Blockchain | |
Gürth | Business model driven ERP customization | |
Almeraz et al. | A Model-Based Systems Engineering Approach to Obtain Fault Trees for Failure Analysis Using SysML | |
Koirala et al. | How to Prepare Software Quotation | |
Brammertz | The Office on Financial Research and Operational Risk | |
Žulovec Sajovic | Spletna aplikacija za vizualizacijo in obdelavo finančnih transakcij | |
CN115879434A (en) | Template generation method, device, equipment and storage medium for information disclosure report | |
CN115438240A (en) | Data processing method and device, electronic equipment and storage medium | |
CN114372005A (en) | Method, device, equipment and medium for writing use case |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |