CN109101840A - A kind of authorization business rule structuring conversion method and device - Google Patents

A kind of authorization business rule structuring conversion method and device Download PDF

Info

Publication number
CN109101840A
CN109101840A CN201810942022.8A CN201810942022A CN109101840A CN 109101840 A CN109101840 A CN 109101840A CN 201810942022 A CN201810942022 A CN 201810942022A CN 109101840 A CN109101840 A CN 109101840A
Authority
CN
China
Prior art keywords
authorization
data
business
rule
parameter
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
CN201810942022.8A
Other languages
Chinese (zh)
Inventor
郑建
彭慧琴
李海
董文奇
高原
张琳
周乐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN201810942022.8A priority Critical patent/CN109101840A/en
Publication of CN109101840A publication Critical patent/CN109101840A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/02Banking, e.g. interest calculation or account maintenance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes

Abstract

The invention discloses a kind of authorization business rule structuring conversion method and devices, it include: to obtain authorization review parameter, and based on authorization review rule, business rule table is generated according to authorization review parameter, wherein, business rule table characterizes the relevance between authorization review parameter;The technology conversion template to match with the business scenario determined is obtained, and based on technology conversion template load verification rule;Based on verification rule, the data in business rule table are verified;The data verified in successful business rule table are obtained, and according to authorization control level field, successful data will be verified and generate parameter preset form, obtain script argument.The conversion for supporting complicated authorization review parameter under several scenes is realized through the invention, and reduces manual errors rate.

Description

A kind of authorization business rule structuring conversion method and device
Technical field
The present invention relates to authorization business treatment technique fields, more particularly to a kind of authorization business rule structuring conversion side Method and device.
Background technique
Bank played by cabinet face handle there are risk, be more than certain amount of money or specially treated business, need by The internal control measures for auditing approval in advance, in thing, as authorization review process are carried out with corresponding authority personnel.It mainly by The Service control rule of a set of complexity, and these rules are realized by the content of parameterisable, authorization review parameter needs to add It is loaded into and reaches the business effect that authorization review intercepts in system.Since authorization review business rule is complicated, is associated between parameter Property it is huge compared with number of parameters that is strong, needing to safeguard, often each environment needs to be put in storage by way of initializtion script.This is just needed Authorization business rule is subjected to corresponding data conversion and makes script argument.
Therefore, the executable parameter codes of machine are converted into from business rule, need a set of conversion plan.But it is existing Conversion plan do not have compatibility in different business scenarios, and rely primarily on and manually filled in a form and checked, be easy to make At the mistake of human factor.How a kind of reliable research weight that authorizes business rule conversion plan have become industry is obtained Point.
Summary of the invention
It is directed to the above problem, the present invention provides a kind of authorization business rule structuring conversion method and device, realizes It supports the conversion of complicated authorization review parameter under several scenes, and reduces manual errors rate.
To achieve the goals above, the present invention provides the following technical scheme that
A kind of authorization business rule structuring conversion method, comprising:
Authorization review parameter is obtained, and based on authorization review rule, parameter is checked according to the authorization and generates business rule Table, wherein the business rule table characterizes the relevance between the authorization review parameter;
The technology conversion template to match with the business scenario determined is obtained, and school is loaded based on technology conversion template Test rule;
Based on the verification rule, the data in the business rule table are verified;
The data verified in the successfully business rule table are obtained, and according to authorization control level field, will be verified Successful data generate parameter preset form, obtain script argument.
Optionally, the technology conversion template that the acquisition matches with the business scenario determined, and turned based on the technology Change the mold version load verification rule, comprising:
Template is converted based on script format creation technology to be generated;
Obtain the technology conversion template to match with the business scenario determined;
Template is converted based on the technology, and according to the rule determined in the business scenario, determines verification rule, In, the technology conversion template and verification rule match with the business scenario.
Optionally, described based on the verification rule, the data in the business rule table are verified, comprising:
Based on the verification rule, data integrity is carried out to the data in the business rule table and is checked, to discontented The data of the default completeness condition of foot, generate prompt information;
Based on the verification rule, data format is carried out to the data in the business rule table and is checked;
Based on the verification rule, business rule logic is carried out to the data in the business rule table and is checked;
Based on the verification rule, redundant data is carried out to the data in the business rule table and is checked.
Optionally, described to obtain the data verified in the successfully business rule table, and according to authorization control level Field will verify successful data and generate parameter preset form, obtains script argument, comprising:
Authorization is obtained according to the business rule table and checks regular level, wherein regular level packet is checked in the authorization Include authorization review Service control level and code fo practice control level;
Regular level is checked according to the authorization, determines authorization control level field;
Based on the authorization control level field, the data verified in the successfully business rule table are generated into master ga(u)ge Then parameter and code fo practice parameter;
According to the main parameter of regularity and code fo practice parameter, creation obtains script argument.
Optionally, further includes:
Whether include parameter self-defined pattern, if it is, certainly according to the parameter if detecting in the business rule table Defining mode is configured the script argument.
A kind of authorization business rule structuring conversion equipment, comprising:
Table generation unit is checked for obtaining authorization review parameter, and based on authorization review rule according to the authorization Parameter generates business rule table, wherein the business rule table characterizes the relevance between the authorization review parameter;
Regular loading unit, the technology that the business scenario for obtaining with determining matches convert template, and based on described Technology converts template load verification rule;
Data check unit, for being verified to the data in the business rule table based on the verification rule;
Parameter generating unit is controlled for obtaining the data verified in the successfully business rule table, and according to authorization Level field processed will verify successful data and generate parameter preset form, obtains script argument.
Optionally, the regular loading unit includes:
Template creates subelement, for converting template based on script format creation technology to be generated;
Template obtains subelement, and the technology that the business scenario for obtaining with determining matches converts template;
Rule determines subelement, for converting template based on the technology, and according to the rule determined in the business scenario Then, verification rule is determined, wherein the technology conversion template and verification rule match with the business scenario.
Optionally, the data check unit includes:
First examines subelement, for being counted to the data in the business rule table based on the verification rule It is checked according to integrality, to the data for being unsatisfactory for default completeness condition, generates prompt information;
Second examines subelement, for being counted to the data in the business rule table based on the verification rule It is checked according to format;
Third examines subelement, for carrying out industry to the data in the business rule table based on the verification rule Business logic rules check;
4th examines subelement, for carrying out to the data in the business rule table superfluous based on the verification rule Remaining data validation.
Optionally, the parameter generating unit includes:
Level obtains subelement, checks regular level for obtaining authorization according to the business rule table, wherein described It includes that authorization review Service control level and code fo practice control level that regular level is checked in authorization;
Field determines subelement, for checking regular level according to the authorization, determines authorization control level field;
Parameter generates subelement, for being based on the authorization control level field, will verify the successfully business rule Data in table generate main parameter of regularity and code fo practice parameter;
Parameter creates subelement, for according to the main parameter of regularity and code fo practice parameter, creation to obtain script argument.
Optionally, further includes:
Customized subelement, for detecting whether including parameter self-defined pattern in the business rule table, if so, Then the script argument is configured according to the parameter self-defined pattern.
Compared to the prior art, the present invention provides a kind of authorization business rule structuring conversion method and device, according to The business rule table that authorization review parameter generates, and technology conversion template is determined to load verification rule based on business scenario Then, the data in business rule table are verified, ultimately generates script argument.Since business scenario difference can configure not Same technology template simultaneously loads different verification rules, therefore, can support turn of authorization review parameter under multiple business scene It changes;The correctness of business rule parameter can be guaranteed by carrying out verification according to verification rule simultaneously, and be not necessarily to the ginseng of desk checking With to reduce manual errors rate.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow diagram for authorizing business rule structuring conversion method provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of the method for load verification rule provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of data check content provided in an embodiment of the present invention;
Fig. 4 is a kind of flow diagram of method for generating script argument provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram for authorizing business rule structuring conversion equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Term " first " and " second " in description and claims of this specification and above-mentioned attached drawing etc. are for area Not different objects, rather than for describing specific sequence.Furthermore term " includes " and " having " and their any deformations, It is intended to cover and non-exclusive includes.Such as it contains the process, method of a series of steps or units, system, product or sets It is standby not to be set in listed step or unit, but may include the step of not listing or unit.
In order to carry out more clear detailed description to the embodiment of the present invention, now by the correlation in the embodiment of the present invention Word is explained.
Front-end business authorization, refer to by cabinet face channel handle there are risk, be more than certain amount of money or special place Reason business, by carrying out the internal control measures for auditing approval in advance, in thing with corresponding authority personnel.Licensing mode includes scene Authorization and remote centralized authorization.
This authorization terminal refers in same terminal, in kind to teller's transactional operation interface, voucher data by site supervisor Etc. carrying out audit confirmation, and the authorization of authorization is completed by modes such as fingerprint or passwords.
Remote centralized authorization refers to that front end system saves the business information picture of this transaction typing, and prompts Site teller carries out image collection, business information is uploaded to remote authorization center together with image data, by remote authorization personnel The authorization of audit authorization is carried out to business according to upload information.
Front-end business review refers to that teller passes through secondary typing important elements by another teller after typing information in systems Or the form of complex point confirmation verifies legitimacy, the correctness of transaction, takes precautions against operation error risk.
Authorization/review trigger parameter, referring to needs authorization/review business trigger criteria constant or variable for control cabinet face The parameters such as data, including product, transaction, sub- transaction, function, transaction categories, currency, the amount of money, account, voucher type (medium).
Auditing standards parameter is authorized, refers to the constant or variable data that need to authorize business audit standard for control cabinet face, Including image collection prompt, authorization audit prompt, pay close attention to the parameters such as field.
Standard parameter is implemented in authorization, refers to the constant or variable data that service implementation standard need to be authorized for control cabinet face, Including parameters such as authorization post, licensing mode, audit confirmation/business approval, service processing mode, priority.
A kind of authorization business rule structuring conversion method is provided in embodiments of the present invention, referring to Fig. 1, comprising:
S11, authorization review parameter is obtained, and based on authorization review rule, business rule is generated according to authorization review parameter Table.
It needs business personnel to complete collection and corresponding classification to authorization review parameter, associated authorization review rule is filled out It writes in template table, that is, will record authorization review parameter in the template table, and authorization review parameter can be based on Authorization review rule is stored, and generates business rule table using template table in this way, the purpose of the business rule table It is the relevance for being easy to express between authorization review parameter, that is, expresses the relevance between parameter of regularity, be conducive to business people Member understanding and fill in.
The technology conversion template that S12, acquisition and the business scenario determined match, and school is loaded based on technology conversion template Test rule.
According to the business scenario that business personnel selects, meeting Auto-load technic converts template, is then converted based on the technology Template loads data check rule.The format that technology modulus of conversion edition owner will generate script as needed is customized, data check Rule is according to checking logic, fill in the requirements such as data format and determine between the rule determined in business scenario.Technology conversion Template and the equal flexibly configurable of load data check rule, handle the rule of different business scene.
Therefore, a kind of method for additionally providing load verification rule in an embodiment of the present invention can wrap referring to fig. 2 Include following steps:
S121, template is converted based on script format creation technology to be generated;
The technology conversion template that S122, acquisition and the business scenario determined match;
S123, template is converted based on technology, and according to the rule determined in business scenario, determine verification rule, wherein skill Art conversion template and verification rule match with business scenario.
S13, it is based on the verification rule, the data in the business rule table is verified;
The purpose of data check is primarily to the mistake being likely to occur in the business rule table that inspection is filled in manually, is protected Card generates the correctness of script argument.Wherein, the aspect that need to mainly verify includes but is not limited to: integrality that data are filled in, Correctness, business rule logical correctness, the repeated and redundant data of data format.
S14, the data verified in the successfully business rule table are obtained, and according to authorization control level field, it will It verifies successful data and generates parameter preset form, obtain script argument.
The multiple fields relevant to authorization control level defined according to every rule in business rule table, such as wrap Authorization rule control level, code fo practice control level etc. are included, generates script argument to successful data are verified, while can support Individual mechanisms personalized customization demand, utmostly reduces the triviality that business is filled up a form.
The present invention provides a kind of authorization business rule structuring conversion method, the business generated according to authorization review parameter Rule table, and technology conversion template is determined to load verification rule, in business rule table based on business scenario Data are verified, and script argument is ultimately generated.Since business scenario difference can configure different technology templates and load not Therefore same verification rule can support the conversion of authorization review parameter under multiple business scene;Simultaneously according to verification rule into Row verification can guarantee the correctness of business rule parameter, and be not necessarily to the participation of desk checking, to reduce manual errors Rate.
Authorization rule is divided into head office's control rule and head office issues permission and controls rule to the branch of branch, wherein branch Control rule is refined as 37 personalized rules of level-one branch of full row.Business department's rule when finishing collecting component is traded It is the authorization rule that service-oriented language is arranged according to total line discipline template and branch's rule template, if specific branch has spy Different personalized rule, then refine the frame volume of specific branch, business rule structuring transform engine is arranged according to service part Rule controls rule according to the total line discipline of rule control permission build, default branch.Such as there is personalized branch's rule, then generates Personalized branch's rule.The transform engine supports domestic Static authorization rule, dynamic authorization rule, review rule, abroad Maker-checker review examination & approval rule conversion, which is the bridge of service-oriented part and software development technique, skill Art is transparent to business, while can support the extension demand of business, including individual rows are personalized, other rows are uniformly controlled, and supports The element of transaction of various dimensions multi-layer controls, licensing mode control, and personalized authorization audit prompt and authorization reason are shown.
In a kind of authorization business rule structuring conversion method provided in an embodiment of the present invention, filled according to business personnel Form document, different knots can be customized by generating a set of corresponding authorization review business rule parameter according to different business rules The generation template of structure copes with the business scenario of changeable complexity.
A kind of data check mode is provided in embodiments of the present invention, referring to Fig. 3, includes in the data check: Data integrity checks, data format checks, business rule logic is checked and checked with repeated data.
Data integrity checks that mainly to check whether some non-empty fields that must be filled out fill in complete.By in advance in business The agreement in rule is checked, if the case where not filling in for the non-empty field appearance that must be filled out, gives miscue.
The correctness of data format checks and mainly checks filling in for non-textual class field, and such field, which generally has, fills in lattice The requirement of formula, and there is certain regularity.Using regular expression to it is each check field and write specifically check rule. For example, transaction code be necessary for 9 be the combination of letter or number, licensing mode coding be necessary between 1-5 with for number, authorization Column path must meet [' _ in_data '] [' abc '] similar format etc..
Business rule logical correctness checks complex, needs the business rule logic in specific business scenario, It is converted into technical logic.For example, same branch transaction, the same mechanism that comes into force, same post of coming into force, configure the authorization mould of Different Rule Formula should be consistent.
Repeated and redundant data validation provides repetition to prevent from causing transaction data to repeat to be put in storage due to artificially filling in mistake Data validation guarantees the uniqueness of data.
A kind of method for generating script argument is additionally provided in embodiments of the present invention, referring to fig. 4, comprising:
S141, the regular level of authorization review is obtained according to the business rule table, wherein rules layer is checked in the authorization Grade includes that authorization review Service control level and code fo practice control level;
S142, regular level is checked according to the authorization, determines authorization control level field;
S143, it is based on the authorization control level field, the data in the successfully business rule table are raw by verifying At main parameter of regularity and code fo practice parameter;
S144, according to the main parameter of regularity and code fo practice parameter, creation obtains script argument.
For example, filling in authorization in business rule table checks regular level, including authorization review business control Preparative layer grade and code fo practice control level, and according to different regular level parameters, the script architectural differenceization of generation is very big.Example Such as, the authorization control level of certain transaction is head office's control, and code fo practice level is that branch controls, then generates one and controlled by head office Main parameter of regularity, while to generate the real-time parameter of regularity for the branch's control being consistent with branch quantity.If the authorization of certain transaction Controlling level is that branch controls, and rule level is that branch controls in real time, then need to generate be consistent with branch quantity by each branch The main parameter of regularity of control, and generate the real-time parameter of regularity of branch's control of corresponding number.It is above-mentioned to show simplest two Kind trading privilege scene generates parameter according to the difference for controlling the fields such as level in parameter, has and generate many kinds of parameters form Ability.
It generates script argument and equally supports the customized special pattern of branch, special parameter can be carried out to personalized branch and set Fixed, remaining sets according to unified parameters in lines.Customized degree is high, and realization, business can be configured in the table that business is filled in Experience is good, and compatibility is strong.
In embodiments of the present invention by configuring different technology templates, Different Rule check logic, a variety of industry can be supported The conversion of complicated authorization review parameter under scene of being engaged in, customization, personalization level are high, and compatibility is strong;And it is based on strict number According to check logic, the correctness of the integrality, data format filled in from table, whether there is weight at business rule logical correctness Four aspects of multiple redundant data verify the data form filled in, and utmostly avoid data difference caused by artificial origin Mistake ensure that the correctness of business rule parameter.
Meanwhile authorization business rule structuring conversion method based on the embodiment of the present invention, liberate configuration authorization The extensive work of parameter business personnel avoids repeatedly matching for the business realizing of different system environments without repeating configuration data The difference of generation is set, working efficiency is improved, ensure that the consistency of business.The exploitation maintenance cost of technical staff can be saved, Different business scene only needs configuration technology production master and inspection rule, is not necessarily to overlapping development.It is provided by way of structuring The reusability of code.
A kind of authorization business rule structuring conversion equipment is additionally provided in embodiments of the present invention, referring to Fig. 5, comprising:
Table generation unit 10, it is multiple according to the authorization for obtaining authorization review parameter, and based on authorization review rule Nuclear parameter generates business rule table, wherein the business rule table characterizes the association between the authorization review parameter Property;
Regular loading unit 20, the technology that the business scenario for obtaining with determining matches converts template, and is based on institute State technology conversion template load verification rule;
Data check unit 30, for carrying out school to the data in the business rule table based on the verification rule It tests;
Parameter generating unit 40, for obtaining the data verified in the successfully business rule table, and according to authorization Level field is controlled, successful data will be verified and generate parameter preset form, obtain script argument.
The present invention provides a kind of authorization business rule structuring conversion method and device, the basis in table generation unit The business rule table that authorization review parameter generates, and technology modulus of conversion is determined based on business scenario in regular loading unit Version verifies the data in business rule table by data check unit, to load verification rule finally in parameter Script argument is generated in generation unit.Since business scenario difference can configure different technology templates and load different verifications Therefore rule can support the conversion of authorization review parameter under multiple business scene;Carrying out verification according to verification rule simultaneously can To guarantee the correctness of business rule parameter, and it is not necessarily to the participation of desk checking, to reduce manual errors rate.
On the basis of Fig. 5 embodiment optionally, the regular loading unit includes:
Template creates subelement, for converting template based on script format creation technology to be generated;
Template obtains subelement, and the technology that the business scenario for obtaining with determining matches converts template;
Rule determines subelement, for converting template based on the technology, and according to the rule determined in the business scenario Then, verification rule is determined, wherein the technology conversion template and verification rule match with the business scenario.
On the basis of Fig. 5 embodiment optionally, the data check unit includes:
First examines subelement, for being counted to the data in the business rule table based on the verification rule It is checked according to integrality, to the data for being unsatisfactory for default completeness condition, generates prompt information;
Second examines subelement, for being counted to the data in the business rule table based on the verification rule It is checked according to format;
Third examines subelement, for carrying out industry to the data in the business rule table based on the verification rule Business logic rules check;
4th examines subelement, for carrying out to the data in the business rule table superfluous based on the verification rule Remaining data validation.
On the basis of Fig. 5 embodiment optionally, the parameter generating unit includes:
Level obtains subelement, checks regular level for obtaining authorization according to the business rule table, wherein described It includes that authorization review Service control level and code fo practice control level that regular level is checked in authorization;
Field determines subelement, for checking regular level according to the authorization, determines authorization control level field;
Parameter generates subelement, for being based on the authorization control level field, will verify the successfully business rule Data in table generate main parameter of regularity and code fo practice parameter;
Parameter creates subelement, for according to the main parameter of regularity and code fo practice parameter, creation to obtain script argument.
On the basis of Fig. 5 embodiment optionally, further includes:
Customized subelement, for detecting whether including parameter self-defined pattern in the business rule table, if so, Then the script argument is configured according to the parameter self-defined pattern.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part It is bright.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of authorization business rule structuring conversion method characterized by comprising
Authorization review parameter is obtained, and based on authorization review rule, parameter is checked according to the authorization and generates business rule table, Wherein, the business rule table characterizes the relevance between the authorization review parameter;
The technology conversion template to match with the business scenario determined is obtained, and based on technology conversion template load verification rule Then;
Based on the verification rule, the data in the business rule table are verified;
The data verified in the successfully business rule table are obtained, and according to authorization control level field, will be verified successfully Data generate parameter preset form, obtain script argument.
2. the method according to claim 1, wherein the technology that the acquisition matches with the business scenario determined Template is converted, and based on technology conversion template load verification rule, comprising:
Template is converted based on script format creation technology to be generated;
Obtain the technology conversion template to match with the business scenario determined;
Template is converted based on the technology, and according to the rule determined in the business scenario, determines verification rule, wherein institute It states technology conversion template and verification rule matches with the business scenario.
3. the method according to claim 1, wherein described be based on the verification rule, to the business rule Data in table are verified, comprising:
Based on the verification rule, data integrity is carried out to the data in the business rule table and is checked, it is pre- to being unsatisfactory for If the data of completeness condition, prompt information is generated;
Based on the verification rule, data format is carried out to the data in the business rule table and is checked;
Based on the verification rule, business rule logic is carried out to the data in the business rule table and is checked;
Based on the verification rule, redundant data is carried out to the data in the business rule table and is checked.
4. the method according to claim 1, wherein the acquisition verifies in the successfully business rule table Data will verify successful data and generate parameter preset form, obtain script argument and according to authorization control level field, Include:
Authorization is obtained according to the business rule table and checks regular level, wherein it includes awarding that regular level is checked in the authorization Power review Service control level and code fo practice control level;
Regular level is checked according to the authorization, determines authorization control level field;
Based on the authorization control level field, the data verified in the successfully business rule table are generated into master ga(u)ge and are then joined Several and code fo practice parameter;
According to the main parameter of regularity and code fo practice parameter, creation obtains script argument.
5. according to the method described in claim 4, it is characterized by further comprising:
Whether include parameter self-defined pattern, if it is, customized according to the parameter if detecting in the business rule table Mode is configured the script argument.
6. a kind of authorization business rule structuring conversion equipment characterized by comprising
Table generation unit checks parameter according to the authorization for obtaining authorization review parameter, and based on authorization review rule Generate business rule table, wherein the business rule table characterizes the relevance between the authorization review parameter;
Regular loading unit, the technology that the business scenario for obtaining with determining matches converts template, and is based on the technology Convert template load verification rule;
Data check unit, for being verified to the data in the business rule table based on the verification rule;
Parameter generating unit, for obtaining the data verified in the successfully business rule table, and according to authorization control layer Grade field will verify successful data and generate parameter preset form, obtains script argument.
7. device according to claim 6, which is characterized in that it is described rule loading unit include:
Template creates subelement, for converting template based on script format creation technology to be generated;
Template obtains subelement, and the technology that the business scenario for obtaining with determining matches converts template;
Rule determines subelement, for converting template based on the technology, and according to the rule determined in the business scenario, really Fixed verification rule, wherein the technology conversion template and verification rule match with the business scenario.
8. device according to claim 6, which is characterized in that the data check unit includes:
First examines subelement, for it is complete to carry out data to the data in the business rule table based on the verification rule Whole property checks, and to the data for being unsatisfactory for default completeness condition, generates prompt information;
Second examines subelement, for carrying out data lattice to the data in the business rule table based on the verification rule Formula checks;
Third examines subelement, for carrying out business rule to the data in the business rule table based on the verification rule Then logic checks;
4th examines subelement, for carrying out redundant digit to the data in the business rule table based on the verification rule According to checking.
9. device according to claim 6, which is characterized in that the parameter generating unit includes:
Level obtains subelement, checks regular level for obtaining authorization according to the business rule table, wherein the authorization Checking regular level includes that authorization review Service control level and code fo practice control level;
Field determines subelement, for checking regular level according to the authorization, determines authorization control level field;
Parameter generates subelement, for being based on the authorization control level field, will verify the successfully business rule table In data generate main parameter of regularity and code fo practice parameter;
Parameter creates subelement, for according to the main parameter of regularity and code fo practice parameter, creation to obtain script argument.
10. device according to claim 9, which is characterized in that further include:
Customized subelement, for detecting whether including parameter self-defined pattern in the business rule table, if it is, root The script argument is configured according to the parameter self-defined pattern.
CN201810942022.8A 2018-08-17 2018-08-17 A kind of authorization business rule structuring conversion method and device Pending CN109101840A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810942022.8A CN109101840A (en) 2018-08-17 2018-08-17 A kind of authorization business rule structuring conversion method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810942022.8A CN109101840A (en) 2018-08-17 2018-08-17 A kind of authorization business rule structuring conversion method and device

Publications (1)

Publication Number Publication Date
CN109101840A true CN109101840A (en) 2018-12-28

Family

ID=64850197

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810942022.8A Pending CN109101840A (en) 2018-08-17 2018-08-17 A kind of authorization business rule structuring conversion method and device

Country Status (1)

Country Link
CN (1) CN109101840A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111178850A (en) * 2019-12-31 2020-05-19 中国银行股份有限公司 Transaction method, device and system
CN111339136A (en) * 2020-02-19 2020-06-26 中国建设银行股份有限公司 Data checking method and device, electronic equipment and storage medium
CN113886131A (en) * 2021-10-28 2022-01-04 建信金融科技有限责任公司 Data checking method, device, equipment and storage medium
CN114723400A (en) * 2022-04-06 2022-07-08 平安科技(深圳)有限公司 Business authorization management method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6102970A (en) * 1998-03-27 2000-08-15 Davox Corporation System and method for optimizing a program containing a number of the flows through flow branches
CN101060372A (en) * 2007-06-26 2007-10-24 华为技术有限公司 A method and system for rapid creating the automation test script
CN102081762A (en) * 2009-11-26 2011-06-01 株式会社日立制作所 Inspection rule design support method, system and program
CN102541730A (en) * 2011-12-08 2012-07-04 北京空间飞行器总体设计部 Semantic identification and automatic generation method for spacecraft test script
CN104007984A (en) * 2014-06-20 2014-08-27 中国银行股份有限公司 Data converting method and device
CN104298705A (en) * 2014-08-20 2015-01-21 龙国良 Converting method of relational data and unstructured data
CN106547877A (en) * 2016-10-26 2017-03-29 红有软件股份有限公司 Data element Smart Logo analytic method based on 6W service logic models

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6102970A (en) * 1998-03-27 2000-08-15 Davox Corporation System and method for optimizing a program containing a number of the flows through flow branches
CN101060372A (en) * 2007-06-26 2007-10-24 华为技术有限公司 A method and system for rapid creating the automation test script
CN102081762A (en) * 2009-11-26 2011-06-01 株式会社日立制作所 Inspection rule design support method, system and program
CN102541730A (en) * 2011-12-08 2012-07-04 北京空间飞行器总体设计部 Semantic identification and automatic generation method for spacecraft test script
CN104007984A (en) * 2014-06-20 2014-08-27 中国银行股份有限公司 Data converting method and device
CN104298705A (en) * 2014-08-20 2015-01-21 龙国良 Converting method of relational data and unstructured data
CN106547877A (en) * 2016-10-26 2017-03-29 红有软件股份有限公司 Data element Smart Logo analytic method based on 6W service logic models

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111178850A (en) * 2019-12-31 2020-05-19 中国银行股份有限公司 Transaction method, device and system
CN111178850B (en) * 2019-12-31 2023-07-21 中国银行股份有限公司 Transaction method, device and system
CN111339136A (en) * 2020-02-19 2020-06-26 中国建设银行股份有限公司 Data checking method and device, electronic equipment and storage medium
CN113886131A (en) * 2021-10-28 2022-01-04 建信金融科技有限责任公司 Data checking method, device, equipment and storage medium
CN113886131B (en) * 2021-10-28 2023-05-26 建信金融科技有限责任公司 Data checking method, device, equipment and storage medium
CN114723400A (en) * 2022-04-06 2022-07-08 平安科技(深圳)有限公司 Business authorization management method, device, equipment and storage medium
CN114723400B (en) * 2022-04-06 2024-04-12 平安科技(深圳)有限公司 Service authorization management method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109101840A (en) A kind of authorization business rule structuring conversion method and device
Ellul et al. Runtime verification of ethereum smart contracts
CN104104672B (en) The method that dynamic authorization code is established in identity-based certification
CN106776349A (en) A kind of method to set up and system of interface testing process
CN108460683A (en) Submit an expense account self-service application method and device
CN103177388B (en) For authoring system and for authorization method
CN107644372A (en) A kind of processing method, system and the terminal of refund of leaving a country
CN106815725A (en) A kind of transaction verification method and device
CN109447790A (en) A kind of matching process, device and the equipment of debit request and channels to fund
CN108337211A (en) Method, apparatus, electronic equipment and the readable storage medium storing program for executing of Information Authentication
CN109978684A (en) A kind of bank acceptance checking method, system and relevant device
CN106776326A (en) The modeling method and system of a kind of Data Analysis Model
US20230247058A1 (en) Distributed ledger based document image extracting and processing within an enterprise system
CN108460068A (en) Method, apparatus, storage medium and the terminal that report imports and exports
Satish et al. Deriving combinatorial test design model from UML activity diagram
CN107257328A (en) A kind of safety of payment dispositions method, system, terminal and proof of identity method
CN106997322A (en) Method and apparatus for automatic test
Wassyng et al. Software certification experience in the Canadian nuclear industry: lessons for the future
CN111352835B (en) Intelligent contract testing method, device, equipment and storage medium
CN110490602A (en) Three layers of block chain framework construction method of one kind and system
CN107395623A (en) Interface access data verification method and device, computer-readable storage medium and equipment
CN109544254A (en) Invoice information processing method, apparatus and system
CN104504379B (en) A kind of fingerprint mandate and the method and system of verification
CN113837753A (en) Intelligent contract template design method based on block chain contract model
CN106209785A (en) A kind of many accounts binding method, Apparatus and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181228

RJ01 Rejection of invention patent application after publication