CN110187874A - A kind of regular configuration method executed in computer equipment and device - Google Patents

A kind of regular configuration method executed in computer equipment and device Download PDF

Info

Publication number
CN110187874A
CN110187874A CN201910394017.2A CN201910394017A CN110187874A CN 110187874 A CN110187874 A CN 110187874A CN 201910394017 A CN201910394017 A CN 201910394017A CN 110187874 A CN110187874 A CN 110187874A
Authority
CN
China
Prior art keywords
card
rule
user
configuration interface
rale element
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
Application number
CN201910394017.2A
Other languages
Chinese (zh)
Other versions
CN110187874B (en
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.)
4Paradigm Beijing Technology Co Ltd
Original Assignee
4Paradigm Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 4Paradigm Beijing Technology Co Ltd filed Critical 4Paradigm Beijing Technology Co Ltd
Priority to CN201910394017.2A priority Critical patent/CN110187874B/en
Publication of CN110187874A publication Critical patent/CN110187874A/en
Application granted granted Critical
Publication of CN110187874B publication Critical patent/CN110187874B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present invention provides a kind of regular configuration method executed in computer equipment and device, this method comprises: showing the configuration interface for being used for configuration rule;It obtains user and passes through rale element set by the configuration interface, wherein the rale element is used to forming and/or connecting one or more conditions for composition rule;Based on the rale element, corresponding rule is generated.In this way, rale element needed for create-rule is arranged by configuration interface as user, can be realized and easily configure custom rule, improve the efficiency of configuration rule.

Description

A kind of regular configuration method executed in computer equipment and device
Technical field
The present embodiments relate to computer application technology more particularly to a kind of rule executed in computer equipment Then configuration method and device.
Background technique
With the rapid development of Computer Applied Technology, computer equipment has become in many people's daily work lifes not The tool that can or lack.Smoothly it is unfolded for the ease of business, often configures certain rule to each decision node in operational decision making stream Then, so that computer equipment can carry out operational decision making according to the rule.
Currently, code is mainly write manually come configuration rule according to different operational decision making demands by developer, For example, developer writes out complexity using structured query language (Structured Query Language, SQL) SQL statement realizes corresponding business rule.Since this regular configuration mode needs user to understand certain computer programming language Speech, on the one hand, for being ignorant of the non-technical personnel of computer programming language, regular configuration can not be carried out if business personnel, is matched It sets inconvenient.On the other hand, when being configured to more complicated rule, due to including a large amount of items in rule Logical relation between part, such as indicate the logical relation of "AND" relationship, indicate the logical relation of "or" relationship, it results in the need for compiling The size of code write is larger, time-consuming more, so that allocative efficiency is more low.
As it can be seen that there are configuration process inconvenience and allocative efficiency compares at present by way of writing code configuration rule Low problem.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of regular configuration method executed in computer equipment and device, Rale element needed for create-rule being arranged by configuration interface as user, can be realized and easily configure customized rule Then, the efficiency of configuration rule is improved.
In order to solve the above technical problems, the embodiment of the present invention provides the following technical solutions:
In a first aspect, the embodiment of the present invention provides a kind of regular configuration method executed in computer equipment, the side Method includes: to show the configuration interface for being used for configuration rule;User is obtained by rale element set by the configuration interface, In, the rale element is used to forming and/or connecting one or more conditions for composition rule;Based on the rule member Element generates corresponding rule.
In embodiments of the present invention, the rale element includes variable, constant, bracket, arithmetic operator, relational operator With at least one among logical operator.
In embodiments of the present invention, the acquisition user passes through rale element set by the configuration interface, comprising: obtains Family is taken on the configuration interface by rale element set by input operation and/or selection operation.
In embodiments of the present invention, the configuration interface is shown as that regular member can be arranged in a manner of condition one by one Element.
In embodiments of the present invention, the acquisition user passes through rale element set by the configuration interface, comprising: obtains Family is taken on the configuration interface for each respectively arranged rale element of condition, wherein each condition is with card Form is presented in the configuration interface.
In embodiments of the present invention, the card includes: for the control of relational operator to be arranged, closes for being arranged to be located at It is the control of the rale element on the left of operator and/or the control for the rale element being located on the right side of relational operator to be arranged.
In embodiments of the present invention, described for the control of relational operator to be arranged as selection control;And/or the use It is located at the control of the rale element on the left of relational operator in setting for selection control;And/or it is described for the relationship of being located to be arranged The control of rale element on the right side of operator is input control.
In embodiments of the present invention, if the rule is made of multiple conditions, the configuration interface further include: for being arranged The control of logical operator.
In embodiments of the present invention, the acquisition user passes through rale element set by the configuration interface, comprising: rings It should be shown on the configuration interface each in the operation that is used to add at least one condition of the user on the configuration interface The corresponding card of condition institute;The input of each control shown in each card is operated and/or selected in response to user Operation obtains user for the rale element for being used to form each condition set by each condition.
In embodiments of the present invention, the acquisition user passes through rale element set by the configuration interface, further includes: If the rule is made of multiple conditions, in response to user to the combination operation between multiple cards, on the configuration interface It shows the compound card combined by the multiple card, and shows in the composite card on piece for logical operator to be arranged Control;The fortune of logic set by user is obtained for the operation of the control of logical operator to be arranged to described in response to user Operator is as the rale element for connecting the multiple condition.
In embodiments of the present invention, the compound card, which has, wraps the frame of the card that is combined, also, described is used for The control that logical operator is arranged is located on the frame.
In embodiments of the present invention, the control for logical operator to be arranged is switch button, wherein the switch The switch state of button corresponds respectively to the logical operator for characterizing "AND" relationship or the logic for characterizing "or" relationship Operator;Alternatively, the control for logical operator to be arranged is switching push button, the switching state of the switching push button is distinguished Corresponding to the logical operator for characterizing "AND" relationship, the logical operator for characterizing "or" relationship or for characterizing " non-" The logical operator of relationship.
In embodiments of the present invention, the method also includes: in the case where the compound card is in selected state, in response to Operation for adding conditional of the family on the configuration interface, generates new card, and by the new card and the composite card The card that is combined in piece is shown in the composite card on piece side by side;The setting of the new card is operated in response to user, is obtained Obtain the rale element for being used to form New Terms of user setting.
In embodiments of the present invention, the method also includes: in the case where the compound card is in unselected state, in response to Operation for adding conditional of the user on the configuration interface, generates new card, and by the new card with it is described compound Card is shown in side by side on the configuration interface;The combination between the compound card and the new card is grasped in response to user Make, the new compound card closed by the compound card and the new card sets is shown on the configuration interface, and in institute It states new composite card on piece and shows control for logical operator to be arranged;The setting of the new card is operated in response to user, Obtain the rale element for being used to form New Terms of user setting;In response to user to described for the control of logical operator to be arranged The input operation of part and/or selection operation obtain logical operator set by user.
In embodiments of the present invention, the method also includes: in the case where the compound card is in unselected state, in response to User deletes the delete operation of the card that is combined in selected state in the compound card in the composite card on piece The card that is combined;Condition corresponding with the card that is combined is deleted in the rule of generation.
In embodiments of the present invention, the method also includes: in the case where the compound card is in selected state, in response to Is deleted in the configuration interface to the delete operation of the compound card by the compound card for family;It is deleted in the rule of generation Except multiple conditions corresponding with the compound card.
In embodiments of the present invention, the method also includes: in the case where the compound card is in selected state, in response to The card separation that is combined in the compound card is showed in the configuration interface to the lock out operation of the compound card by family In.
In embodiments of the present invention, described to be based on the rale element, generate corresponding rule, comprising: according to for group At the rale element of each condition, the corresponding atomic expression of each condition is generated;Based on the atomic expression, determine described in Rule.
In embodiments of the present invention, described to be based on the atomic expression, determine the rule, comprising: if the rule It is made of a condition, an atomic expression corresponding to one condition is determined as the rule.
In embodiments of the present invention, described to be based on the atomic expression, determine the rule, comprising: if the rule It is made of multiple conditions, multiple atomic expressions according to corresponding to the multiple condition and for connecting the multiple condition Rale element, generate the compound expression for characterizing the logical combination of the multiple condition;The compound expression is true It is set to the rule.
In embodiments of the present invention, the method also includes: send the rule and determine to service process platform and/or business Plan node, so that the service process platform and/or operational decision making node are treated processing business based on the rule and handled.
In embodiments of the present invention, the method also includes: obtain the corresponding business datum of target service to be determined;It is logical It crosses the rule to determine the business datum, and generates the corresponding result of decision of the target service.
In embodiments of the present invention, described to obtain the corresponding business datum of target service to be determined, comprising: if the rule Then for for determining whether user is the rule of user of can providing a loan, also, the target service to be determined is that target user is defeated What is entered is used to carry out the request of loan application, is based on the request, the target user is obtained from operation system or database Personal information as the business datum.
In embodiments of the present invention, described that the business datum is determined by the rule, and generate the mesh The corresponding result of decision of mark business, comprising: match the personal information of the target user with the rule;If matching at Function then determines that the target user is that can provide a loan user, and generate and be used to indicate through the loan application of the target user The result of decision;Otherwise, the result of decision for being used to indicate the loan application for refusing the target user is generated.
Second aspect, the embodiment of the present invention provide a kind of regular configuration device executed in computer equipment, the dress Setting includes: display unit, for showing the configuration interface for being used for configuration rule;First acquisition unit passes through for obtaining user Rale element set by the configuration interface, wherein the rale element is for forming and/or connecting for composition rule One or more conditions;Rule generating unit generates corresponding rule for being based on the rale element.
The third aspect, the embodiment of the present invention provide a kind of computer readable storage medium, and the storage medium includes storage Program, wherein computer equipment where controlling the storage medium in described program operation executes above-mentioned to be set in computer The step of regular configuration method of standby middle execution.
Fourth aspect, the embodiment of the present invention provide a kind of computer equipment, and the computer equipment includes: at least one Manage device;And at least one processor, the bus being connected to the processor;Wherein, the processor, memory pass through described Bus completes mutual communication;The processor is used to call the program instruction in the memory, above-mentioned in terms of to execute The step of calculating the regular configuration method executed in machine equipment.
The regular configuration method provided in an embodiment of the present invention executed in computer equipment and device need to match in user When setting rule, can to user show be used for configuration rule configuration interface, in this way, user can by the configuration interface come Rale element is set, wherein rale element is used to forming and/or connecting one or more conditions for composition rule.It connects down Come, after getting user by rale element set by configuration interface, computer equipment can be according to accessed Rale element generate corresponding rule.In this way, user does not need to understand certain computer programming language, it is only necessary to pass through Configuration interface is come rale element needed for create-rule is arranged, it will be able to realize and easily carry out regular configuration, configure ten It is convenient to divide, and also improves the efficiency of configuration rule.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is the flow diagram of the regular configuration method executed in computer equipment in the embodiment of the present invention;
Fig. 2-1 to Fig. 2-9 is the schematic diagram of the configuration interface in the embodiment of the present invention;
Fig. 3 is the structural schematic diagram of the regular configuration device executed in computer equipment in the embodiment of the present invention;
Fig. 4 is the structural schematic diagram of the computer equipment in the embodiment of the present invention.
Specific embodiment
The exemplary embodiment that the present invention will be described in more detail below with reference to accompanying drawings.Although showing the present invention in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here It is limited.It is to be able to thoroughly understand the present invention on the contrary, providing these embodiments, and can be by the scope of the present invention It is fully disclosed to those skilled in the art.
The embodiment of the present invention provides a kind of regular configuration method executed in computer equipment.In practical applications, should The regular configuration method executed in computer equipment can be applied to the various occasions for needing easily and fast configuration rule.Example Such as, it needs to configure for a certain decision node in the case where user is to the unfamiliar situation of computer programming language for configuration rule Rule, alternatively, the rule configured needed for user is complex.
Fig. 1 is the flow diagram of the regular configuration method executed in computer equipment in the embodiment of the present invention, ginseng As shown in Figure 1, being somebody's turn to do the regular configuration method that executed in computer equipment may include:
S101: the configuration interface for being used for configuration rule is shown;
Here, above-mentioned rule can be made of one or more conditions.
As an example, computer equipment can show the configuration interface to user when user needs to configure rule, with Just user easily configures required rule by the configuration interface.It should be noted that those skilled in the art can root The exhibition method of configuration interface is set according to actual conditions, here, the embodiment of the present invention does not do the exhibition method of configuration interface It is specific to limit.
In practical applications, more complicated rule is often made of multiple conditions and comprising between multiple condition Logical relation, then, more complicated rule is more easily set for the ease of user, and improve user configuration rule Efficiency, illustratively, above-mentioned configuration interface can be shown as that rale element can be arranged in a manner of condition one by one.
In other embodiments of the present invention, in order to realize that configuration interface is shown as to be arranged in a manner of condition one by one Rale element, as an example, one or more conditions of composition rule can will be used in configuration interface with one or more The form of card shows.So, when user needs to configure rule, user can on configuration interface by card into Corresponding rale element is respectively set to be directed to each condition in row operation.Certainly, in practical applications, other energy can also be passed through The exhibition method of rale element is arranged in a manner of condition one by one to show configuration interface in enough realizations.Here, the embodiment of the present invention The implementation for being shown as to be arranged in a manner of condition one by one rale element for configuration interface is not specifically limited.
In practical applications, according to the difference of the quantity of the condition for composition rule, the required rule being arranged of user The type of element is different, then, above-mentioned card, which may exist but be not limited to following two, realizes situation.
The first situation, if rule is made of a condition, user needs to be configured to by card to form an item The rale element of part.At this point, card may include the control that the rale element for forming a condition can be arranged.
As an example, when be used to form the rale element of a condition by relational operator, be located on the left of relational operator Rale element, one of rale element on the right side of relational operator or a variety of when realizing, set for the ease of user Rale element is set, in the specific implementation process, card may include: for the control of relational operator to be arranged, for position to be arranged The control of rale element on the left of relational operator, for be arranged be located at relational operator on the right side of rale element control in One or more combinations.
In practical applications, the above-mentioned control for relational operator to be arranged can be transported by that can show for choice relation The selection control of the selective listing of operator is realized, can also be realized by that can input the input control of relational operator, when So, can also by it is other types of can be arranged relational operator can operational controls realize that here, the embodiment of the present invention is not It is specifically limited.
In practical applications, the above-mentioned control for the rale element for being located at relational operator left/right side be arranged can be by The selection control of the rale element positioned at relational operator left/right side can be selected to realize, can also be located at by that can input The input control of the rale element of relational operator left/right side is realized, it is, of course, also possible to position can be arranged by other types of In relational operator left/right side rale element can operational controls realize that here, the embodiment of the present invention does not do specific limit It is fixed.
Illustratively, in above-mentioned card, for the control of relational operator to be arranged as selection control;And/or for setting Control setting in the rale element on the left of relational operator is selection control;And/or it is located at the relational operator right side for being arranged The control of the rale element of side is input control.
Illustratively, the candidate variables in control as selectable rale element are selected to can be in advance from certain above-mentioned The field imported in a table is possible to carry out the field of rule setting.For example, if the control for relational operator to be arranged is Select control, then selectable candidate variables can be the field for being related to " being equal to " relationship, the field for being related to " being not equal to " relationship, It is related to the field of " being greater than " relationship, the field for being related to " being less than " relationship etc..
Second situation, if rule is made of multiple conditions, user is in addition to needing to be configured to group respectively by card Other than rale element at multiple conditions, it is also necessary to be configured to connect the rale element of multiple conditions by card.At this point, card Piece can also include that can be arranged other than it may include the control of the rale element for forming each condition can be arranged For connecting the control of the rale element of multiple conditions.
As an example, when the rale element for connecting multiple conditions by logical operator to realize when, for the ease of with The rale element for connecting multiple conditions is arranged in family, and the configuration interface can also include: for logical operator to be arranged Control.
In practical applications, the above-mentioned control for logical operator to be arranged can be by that can show for selecting logic to transport The selection control of the selective listing of operator is realized, can also be realized by capableing of the input control of input arithmetic logic symbol, when So, can also by it is other types of can be arranged logical operator can operational controls realize, for example, for logic fortune to be arranged The control of operator can be switch button, wherein the switch state of the switch button can be corresponded respectively to for characterizing "AND" The logical operator of relationship or logical operator for characterizing "or" relationship.In another example described for logical operator to be arranged Control can be switching push button, the switching state of the switching push button correspond respectively to the logic for characterizing "AND" relationship fortune Operator, the logical operator for characterizing "or" relationship or the logical operator for characterizing " non-" relationship.Here, the present invention is real Example is applied to be not specifically limited.
Certainly, other than above-mentioned two listed kind situation, the realization situation of above-mentioned card can also be it is other, here, this Inventive embodiments are not specifically limited.
S102: it obtains user and passes through rale element set by configuration interface;
Wherein, rale element is used to forming and/or connecting one or more conditions for composition rule.
As an example, when user needs to configure rule, after computer equipment shows the configuration interface to user, user The rale element of create-rule can be configured in interface through the above configuration, so that computer equipment is according to rule member Usually generate corresponding rule.
In practical applications, the difference of the easily and fast occasion of configuration rule is needed according to user, user, which passes through, to be configured Rale element set by interface is different.Illustratively, when the rule that user needs to configure is made of a condition When, the rale element for forming a condition can be arranged in user by configuration interface;When the rule that user needs to configure is When being made of multiple conditions, user can be arranged by configuration interface for forming the rale element of each condition and for connecting Connect the rale element of multiple condition;When user needs to change configured rule, user can be arranged by configuration interface For forming the rale element of one or more conditions, alternatively, user can also be multiple for connecting by configuration interface setting The rale element of condition.Here, the embodiment of the present invention is not specifically limited.
In practical applications, above-mentioned rale element can be variable, or constant, it can also such as relational calculus The operators such as symbol, logical operator, it is, of course, also possible to be other elements that can be carried out rule setting, such as bracket.Here, The embodiment of the present invention is not specifically limited.
As an example, above-mentioned rale element may include variable, constant, bracket, arithmetic operator, relational operator and patrol Collect at least one among operator.In turn, for form one or more conditions rale element can by variable, constant, One of bracket, arithmetic operator, relational operator or multiple combinations are realized, for connecting the rale element of multiple conditions It can be realized by logical operator.
S103: rule-based element generates corresponding rule.
Specifically, after computer equipment obtains rale element by configuration interface, computer equipment can root Corresponding rule is generated according to the rale element.
In practical applications, according to the difference of the complexity of rule, rule, which can be, to be made of a condition, can also Being made of multiple conditions.
In embodiments of the present invention, the corresponding rule of rale element generation in order to be configured according to user by configuration interface Then, above-mentioned S103 may comprise steps of 1031~1032:
Step 1031: according to the rale element for forming each condition, generating the corresponding atomic expression of each condition;
Step 1032: being based on atomic expression, determine rule.
In practical applications, according to the difference of the quantity of the condition of composition rule, above-mentioned steps 1032 can be used but not It is limited to following two method to realize.
The first implementation method, if rule be made of a condition, then, as an example, above-mentioned steps 1032 can To include: that an atomic expression corresponding to a condition is determined as rule.
In practical applications, if rule is relatively simple, then the rule can be and be made of a condition, thus, rule It then can be an atomic expression.
As an example it is assumed that user includes: by the rale element set by configuration interface for forming a condition Relational operator, the rale element on the left of relational operator, the rale element on the right side of relational operator, wherein close It is operator for " > ", the rale element on the left of relational operator is " age ", the rule on the right side of relational operator is first Element is " 18 years old ", then is " age > 18 year old " according to a rale element atomic expression generated, it is thus possible to obtain The rule that user is configured is " age > 18 year old ".
Second of implementation, if rule be made of multiple conditions, then, as an example, above-mentioned steps 1032 can To include: multiple atomic expressions according to corresponding to multiple conditions and the rale element for connecting multiple conditions, generate For characterizing the compound expression of the logical combination of multiple conditions;Compound expression is determined as rule.
Here, above-mentioned atomic expression can characterize a condition, only comprising the rale element for forming a condition; Above-mentioned compound expression can characterize the combination of multiple conditions, not only comprising the rale element for forming multiple conditions, and Include the rale element for connecting multiple conditions.As an example it is assumed that being by patrolling for connecting the rale element of multiple conditions It collects operator to realize, for example, logical operator can be "AND", "or" etc..So, above-mentioned atomic expression can refer to Expression formula not comprising logical operator, such as " age > 30 year old ", " previous graduate college is school A ", correspondingly, above-mentioned composite table It can refer to the expression formula comprising logical operator up to formula, such as " [previous graduate college is school A] or [previous graduate college is school B] ", " [age > 30 year old] and [previous graduate college is school A or previous graduate college is school B] " etc..
In practical applications, if user need to configure rule it is complex, then, which can be by multiple conditions It constitutes, thus, which can be combined compound for multiple atomic expressions as corresponding to multiple condition Expression formula.As an example, compound expression can be the logical combination of at least two atomic expressions, such as [previous graduate college is to learn School A] or [previous graduate college be school B] ", or the logical combination of at least two compound expressions, such as " [age > 30 year old and Age < 50 year old] and [previous graduate college is school A or previous graduate college is school B] " it is, of course, also possible to be other combinations, such as at least one The logical combination of a atomic expression and at least one compound expression, such as " [age > 30 year old] and [previous graduate college be school A or Previous graduate college is school B] " etc..Here, the embodiment of the present invention is not specifically limited.
So far, the process of the rule configuration executed in computer equipment is just completed.
As shown in the above, the regular configuration method provided in an embodiment of the present invention executed in computer equipment, When user needs to configure rule, the configuration interface for being used for configuration rule can be shown to user, in this way, user can be by this Rale element is arranged in configuration interface, wherein rale element is used to forming and/or connecting the one or more for composition rule Condition.Next, computer equipment can basis after getting user by rale element set by configuration interface Accessed rale element generates corresponding rule.In this way, user does not need to understand certain computer programming language, only Rale element needed for needing that create-rule is arranged by configuration interface, it will be able to realize and easily carry out regular configuration, match It is very convenient to set, and also improves the efficiency of configuration rule.
Based on previous embodiment, in an alternative embodiment of the invention, it is used to set according to what is shown on configuration interface to user Set rale element can operational controls type difference, the operation that rale element is carried out is arranged by configuration interface in user Type be different.In turn, the difference of the action type according to used by user setting rale element, above-mentioned S102 can be deposited And be not limited to include following implementations.
Mode one, for be arranged rale element can operational controls can be realized by input control, at this point, user can be with Rale element is arranged by input operation on configuration interface, then, above-mentioned S102 may include: to obtain user on configuration circle Pass through rale element set by input operation on face;
Mode two, for be arranged rale element can operational controls can also be realized by selection control, at this point, user can Rale element is arranged by selection operation on configuration interface, then, above-mentioned S102 may include: to obtain user configuring Pass through rale element set by selection operation on interface.
Certainly, other than above-mentioned listed implementation, above-mentioned S102 can also be other implementations, for example, if For be arranged rale element can operational controls by input control and selection control combination realize when, above-mentioned S102 may include: User is obtained on configuration interface by rale element set by input operation and selection operation.Here, the embodiment of the present invention The action type of user setting rale element is not specifically limited.
Based on previous embodiment, the embodiment of the present invention also provides a kind of regular configuration side executed in computer equipment Method can be applied in following scene: for the ease of user, more complicated rule is easily set by configuration interface, and And the efficiency of user configuration rule is improved, configuration interface can be shown as that regular member can be arranged in a manner of condition one by one Element.
So, in the specific implementation process, above-mentioned S102 may include: to obtain user on configuration interface for each The respectively arranged rale element of part institute, wherein each condition is presented in configuration interface in the form of card.
Below with specific example to how being described in detail by configuration interface with card form rule is arranged.
Firstly, being said to how to be arranged by configuration interface for forming the rale element of one or more conditions It is bright.
In embodiments of the present invention, above-mentioned S102 may include: to be used to be added on configuration interface in response to user The operation of a few condition shows the corresponding card of each condition institute on configuration interface;In response to user to each card The input operation and/or selection operation of each control shown in piece obtain user and are directed to set by each condition for group At the rale element of each condition.
As an example, when user wants configuration rule, user can match as shown in Fig. 2-1 referring to fig. 2 shown in-1 The operation carried out on interface for adding at least one condition is set, for example, when user needs to add a condition, user can be with A button 201 is clicked, in this manner it is possible to obtain the configuration interface as shown in Fig. 2-2, an item is shown on the configuration interface Card 202a corresponding to part;Alternatively, user can click button 201 twice when user needs to add two conditions, this Sample, so that it may obtain configuration interface as Figure 2-3, the corresponding card of two condition institutes is shown on the configuration interface 202a and card 202b.Next, user can correspond to configuration in order to which corresponding rale element is respectively configured for each condition Shown control is configured operation in the cards such as card 202a, card 202b on interface, such as user can be to card In each control carry out input operation and/or selection operation.So that it may to get user for set by each condition For forming the rale element of each condition.
Secondly, being illustrated to how to be arranged by configuration interface for connecting the rale element of multiple conditions.
In embodiments of the present invention, if above-mentioned S102 can also include: that rule is made of multiple conditions, in response to user couple Combination operation between multiple cards shows the compound card combined by multiple cards on configuration interface, and compound The control for logical operator to be arranged is shown on card;In response to user to the behaviour of the control for logical operator to be arranged Make, obtains logical operator set by user as the rale element for connecting multiple conditions.
Here, compound card is combined to obtain by least two different cards, forms the class of the card that is combined of compound card Type can based on card, or compound card.
As an example, being used to connect the rale element of multiple conditions for the ease of user setting, above-mentioned compound card has The frame for the card that is combined is wrapped, also, the control for logical operator to be arranged is located at frame.
In practical applications, when the rule that user needs to configure is the logical combination of multiple conditions, user just needs to match Set the rale element for connecting multiple conditions.So, it is assumed that for connecting the rale element of multiple conditions by logical operator It realizes, user can characterize multiple conditions by being combined operation to the corresponding card of multiple condition to be arranged Syntagmatic logical operator.As an example, card 202a and card 202b are in unselected shown in referring to figure 2-3 State.Next, user can be combined operation to card 202a and card 202b, for example, user can choose card simultaneously Piece 202a and card 202b, and click button 203.So, in response to user to the combination between card 202a and card 202b Operation, so that it may configuration interface as in Figure 2-4 is obtained, at this point, can show on configuration interface by card 202a and card The compound card 202 obtained combined by 202b, and show on compound card 202 control for logical operator to be arranged 202c.In this way, user can be by being configured operation, such as input operation or selection operation to control 202c, to be arranged Syntagmatic for connecting card 202a and card 202b.In this way, can be got set by user by control 202c The logical operator for two conditions corresponding to connecting card 202a and card 202b.
Finally, to how to be illustrated by configuration interface alteration ruler.
In practical applications, the difference of operation card carried out according to user, can be used by configuration interface but Following methods are not limited to to realize alteration ruler.
Method one is realized by way of increasing the card that is combined into compound card and is used for composition rule by increasing The quantity of condition modify to rule.So, in embodiments of the present invention, the above method can also include: compound Card is under selected state, in response to operation for adding conditional of the user on configuration interface, generates new card, and will The card that is combined in new card and compound card is shown in composite card on piece side by side;The setting of new card is grasped in response to user Make, obtains the rale element for being used to form New Terms of user setting.
As an example, during configuration rule, referring to fig. 2 shown in -4, compound card 202 is by the card that is combined: card It is obtained combined by piece 202a and card 202b, at this point, compound card 202 is under unselected state.Then, it is chosen in user multiple After closing card 202, so that it may configuration interface as shown in Figure 2-5 is obtained, at this point, compound card 202 would be at selected state Under.Next, user just carries out the operation that can be used for adding conditional on configuration interface, for example, user can click configuration Button 201 on interface.So, in the case where compound card 202 is in selected state, in response to user's being used on configuration interface The operation of adding conditional, so that it may configuration interface as shown in figures 2-6 is obtained, at this point, 204 meeting of new card generated and card 202a and card 202b is shown in side by side on compound card 202.In this way, user can be by being configured operation to new card To increase the rale element for forming New Terms.It modifies in this way, being achieved that rule.
Here, according on card for be arranged rale element can operational controls type difference, in order to pass through neocaine New rale element is arranged in piece, and user can be input operation to the setting operation of new card, or selection operation, when It so, can also be other, such as input operates and the combination of selection operation, here, the embodiment of the present invention is not specifically limited.
Method two, by increasing new card, and the mode that compound card and new card are combined to outside compound card, The quantity by increasing the condition for composition rule is realized to modify to rule.So, in embodiments of the present invention, on The method of stating can also include: to be used to add on configuration interface in response to user in the case where compound card is in unselected state The operation of condition generates new card, and new card and compound card is shown on configuration interface side by side;In response to user to multiple The combination operation between card and new card is closed, display is closed new multiple by compound card and new card sets on configuration interface Card is closed, and shows the control for logical operator to be arranged in new composite card on piece;Setting in response to user to new card Operation obtains the rale element for being used to form New Terms of user setting;In response to user to for logical operator to be arranged The input operation of control and/or selection operation obtain logical operator set by user.
As an example, during configuration rule, referring to fig. 2 shown in -4, compound card 202 is by the card that is combined: card It is obtained combined by piece 202a and card 202b, at this point, compound card 202 is under unselected state.Then, user can be The operation for adding conditional is carried out on configuration interface, for example, user can click the button 201 on configuration interface.So, exist Compound card 202 is under unselected state, in response to operation for adding conditional of the user on configuration interface, so that it may Configuration interface as illustrated in figs. 2-7 is obtained, at this point, the new card 205 and compound card 202 that generate are shown in configuration interface side by side On.Next, user can be combined operation between compound card 202 and new card 205, for example, user can be simultaneously Compound card 202 and new card 205 are chosen, and clicks button 203.So, in response to user to compound card 202 and new card Combination operation between 205, so that it may configuration interface as illustrated in figs. 2 through 8 is obtained, at this point, can show on configuration interface by multiple The new compound card 206 obtained combined by card 202 and new card 205 is closed, and is shown on new compound card 206 for being arranged The control 207 of logical operator.In this way, user can be increased by being configured operation to new card 205 for forming The rale element of New Terms, and can be by the combination that is operable to be arranged between compound card and new card to control 207 Relationship.It modifies in this way, being achieved that rule.
Method three is realized by way of deleting the card that is combined in compound card and is used for composition rule by reducing The quantity of condition modify to rule.So, in embodiments of the present invention, the above method can also include: compound Card is under unselected state, is grasped in response to user to the deletion of the card that is combined in selected state in compound card Make, deletes the card that is combined in composite card on piece;Condition corresponding with the card that is combined is deleted in the rule of generation.
As an example, during configuration rule, referring to fig. 2 shown in -4, compound card 202 is by the card that is combined: card It is obtained combined by piece 202a and card 202b, at this point, compound card 202 is under unselected state.Then, user can select Middle card 202b simultaneously carries out delete operation to it, for example, choosing card 202b in compound card 202 and pressing such as delete The default shortcut keys such as key, backspace key.So, in response to user to the card in selected state in compound card 202 The delete operation of 202b, so that it may the configuration interface as shown in Fig. 2-2 is obtained, at this point, the card that is combined on compound card 202 Piece: card 202b is deleted.Here, since compound card 202 is originally by card 202a and card 202b the two quilts What composite card combined, at this point, compound card 202 is changed to common card 202a.In turn, so that it may in the rule of generation Condition corresponding with the card 208 that is combined is deleted in then, is modified in this way, being achieved that rule.
As an example, during configuration rule, referring to fig. 2 shown in -8, new compound card 206 is by the card that is combined: It is obtained combined by compound card 202 and new card 205, at this point, new compound card 206 is under unselected state.Then, user Compound card 202 can be chosen and delete operation is carried out to it, for example, user can choose compound card 202 and press Such as delete key, the default shortcut key of backspace key, then, in response to user to the delete operation of compound card 202, just Configuration interface shown in available similar Fig. 2-2, wherein compound 202 meeting of card on the configuration interface shown in similar Fig. 2-2 It is deleted, only shows new card 205;Alternatively, user can also choose new card 205 and carry out delete operation to it, for example, User can choose the new card 205 and press such as delete key, the default shortcut key of backspace key, then, in response to Delete operation of the family to new card 205, so that it may obtain configuration interface shown in similar Fig. 2-4, wherein in similar Fig. 2-4 institute New card 205 can be deleted on the configuration interface shown, only shown compound card 202, repaired in this way, being achieved that rule Change.
Method four, by way of deleting compound card, realize the quantity by reducing the condition for composition rule come It modifies to rule.So, in embodiments of the present invention, the above method can also include: and be in choose shape in compound card Under state, in response to user to the delete operation of compound card, compound card is deleted in configuration interface;It is deleted in the rule of generation Except multiple conditions corresponding with compound card.
As an example, during configuration rule, referring to fig. 2 shown in -4, at this point, compound card 202 is in unselected Under state.Then, user can choose compound card 202, and carry out delete operation to the compound card 202, for example, pressing Such as delete key, the default shortcut key of backspace key.So, in response to user to the delete operation of compound card 202, just The available configuration interface as shown in Fig. 2-1, at this point, compound card 202 can be deleted on configuration interface.In this way, just real Show and has modified to rule.
Method five, by way of separating compound card, realize by cancel the syntagmatic between different condition come pair Rule is modified.So, in embodiments of the present invention, the above method can also include: to be in selected state in compound card Under, in response to user to the lock out operation of compound card, the card separation that is combined in compound card is showed in configuration interface In.Correspondingly, the logical relation being combined between card is deleted from rule.
In practical applications, the difference of the number of plies of the syntagmatic according to included in compound card, user is to composite card Piece carries out lock out operation, and the implementation that card separation is showed in configuration interface that is combined in compound card exists and unlimited In including following two situation.
The first situation, when compound card includes one layer of syntagmatic, user carries out first separation to the compound card Operation, one layer of syntagmatic will be cancelled, so that the quilt connected by one layer of syntagmatic wrapped up in compound card Composite card can be showed in configuration interface by separation.
As an example, referring to fig. 2 shown in -4, compound card 202 is by the card that is combined: card 202a and card 202b are combined It obtains, and the compound card 202 only includes one layer of syntagmatic, at this point, compound card 202 is under unselected state.Then, User can choose compound card 202, and carry out lock out operation to the compound card 202, for example, user can click button 208.So, in response to user to the lock out operation of compound card 202, be combined card: between card 202a and card 202b Syntagmatic will be cancelled, allow card 202a and card 202b to separate and be showed in configuration interface, thus can To obtain configuration interface as Figure 2-3.It modifies in this way, being achieved that rule.
Second situation, when compound card includes multiple layer combination relationship, user carries out first separation to the compound card Operation, only the outermost layer syntagmatic in the multiple layer combination relationship can be cancelled so that compound card in wrapped up by this What outermost layer syntagmatic was connected be combined, and card can be showed in configuration interface by separation, and by the multiple layer combination relationship The card that is combined that is connected of other layers of syntagmatic be then still within assembled state.
As an example, referring to fig. 2 shown in -8, new compound card 206 is by the card that is combined: compound card 202 and new card It is obtained combined by 205, the syntagmatic for connecting compound card 202 and new card 205 is outermost layer syntagmatic, and compound card 202 by the card that is combined: card 202a and card 202b combine to obtain, and connecting card 202a and the syntagmatic of card 202b are Inner-layer combination relationship, at this point, new compound card 206 is under unselected state.Then, user can choose new compound card 206, and lock out operation is carried out to the new compound card 206, for example, user can click button 208.So, in response to user To by the lock out operation of compound card 206, the syntagmatic between compound card 202 and new card 205 will be cancelled, so that Compound card 202 and new card 205, which can separate, to be showed in configuration interface, at this point, between card 202a and card 202b Syntagmatic will not be cancelled, and card 202a and card 202b are still within assembled state, so that it may to obtain such as Fig. 2-7 Shown in configuration interface.It modifies in this way, being achieved that rule.
Method six, by the side operated shown by composite card on piece for the control of logical operator to be arranged Formula is realized and is modified by modifying the syntagmatic between different cards to rule.So, in embodiments of the present invention, The above method can also include: in the case where compound card is in selected state, in response to user to use shown by composite card on piece In the operation of the control of setting logical operator, the new logic operator of user setting is obtained.
As an example, referring to fig. 2 shown in -4, being shown on compound card 202 for being arranged during configuration rule The control 202c of logical operator at this point, compound card 202 is under unselected state, and shows there is user in control 202c The new logic operator of setting: the field " AND " of "AND" logical relation is indicated.Then, user can carry out control 202c Operation, for example, user can click control 202c.So, the operation in response to user to control 202c, so that it may obtain such as figure Configuration interface shown in 2-9, at this point, showing the new logic operator for having user setting in control 202c: indicating that "AND" logic is closed The field " OR " of system.It modifies in this way, being achieved that rule.
Certainly, other than using above-mentioned six kinds of listed implementation methods, can also be arranged using other implementation methods Rule, for example, the combination of above-mentioned a variety of methods, here, the embodiment of the present invention is not specifically limited.
Based on previous embodiment, the embodiment of the present invention also provides a kind of regular configuration side executed in computer equipment Method can be applied in following scene: in the rale element that computer equipment is arranged according to user by configuration interface, generation pair After the rule answered, rule can be used to carry out business processing.
In practical applications, the module of business device is carried out in logic or object with rule is passed through according to the equipment of create-rule Whether close and set in reason, can use but does not limit to following methods to realize through the rule of generation the mistake for carrying out business processing Journey.
Implementation one is put down according to the computer equipment of create-rule with the business processing for carrying out business processing by rule Platform and/or operational decision making node physically set up separately, in this way, for the ease of service process platform and/or operational decision making section Point can carry out business processing according to the rule of user configuration, be arranged according to user by configuration interface in computer equipment Rale element, generate it is corresponding rule after, it is necessary to rule generated is sent to service process platform by computer equipment And/or operational decision making node.So, in embodiments of the present invention, after S103, the above method can also include step 104: Rule is sent to service process platform and/or operational decision making node, so that service process platform and/or operational decision making node are based on Rule is treated processing business and is handled.
Implementation two is put down according to the computer equipment of create-rule with the business processing for carrying out business processing by rule Platform and/or operational decision making node, which physically close, to be set, in this way, being arranged according to user by configuration interface in computer equipment Rale element, generate it is corresponding rule after, so that it may business processing is directly carried out according to the rule of user configuration.That , in embodiments of the present invention, after S103, the above method can also include the following steps 105~106:
Step 105: obtaining the corresponding business datum of target service to be determined;
Step 106: business datum being determined by rule, and generates the corresponding result of decision of target service.
As an example, if target service is loan application, then, above-mentioned steps 105 may include: when rule is for sentencing Determine whether user is the rule of user of can providing a loan, target service to be determined is target user's input for carrying out loan application Request when, based on request, from operation system or database obtain target user personal information as business datum.
As an example, if target service is loan application, then, above-mentioned steps 106 may include: by of target user People's information is matched with rule;If successful match, determine that target user is the user that can provide a loan, and generate to be used to indicate and pass through The result of decision of the loan application of target user;Otherwise, the decision knot for being used to indicate the loan application of refusal target user is generated Fruit.
As an example it is assumed that rule is " age>30 year old and age<50 year old ", and assume the personal information packet of target user Include: the age is XX years old.So, if " XX>30 " and " XX<50 ", then it represents that personal information and the rule match success of target user, At this point, it is determined that target user is that can provide a loan user, and generate and be used to indicate through the loan application of target user out The result of decision.Otherwise, the personal information and rule match for indicating target user fail, at this point, it is determined that target user out For the non-user that provides a loan, the result of decision for being used to indicate the loan application of refusal target user is generated.
Based on the same inventive concept, as an implementation of the above method, the embodiment of the invention provides one kind in computer The regular configuration device executed in equipment.
Fig. 3 is the structural schematic diagram of the regular configuration device executed in computer equipment in the embodiment of the present invention, ginseng As shown in Figure 3, which may include: display unit 301, for showing configuration circle for being used for configuration rule Face;First acquisition unit 302 passes through rale element set by configuration interface for obtaining user, wherein rale element is used for Composition and/or connection are used for one or more conditions of composition rule;Rule generating unit 303 is used for rule-based element, raw At corresponding rule.
In embodiments of the present invention, above-mentioned rale element includes variable, constant, bracket, arithmetic operator, relational operator With at least one among logical operator.
In embodiments of the present invention, above-mentioned first acquisition unit, for obtaining user on configuration interface by input behaviour Rale element set by work and/or selection operation.
In embodiments of the present invention, above-mentioned configuration interface is shown as that regular member can be arranged in a manner of condition one by one Element.
In embodiments of the present invention, above-mentioned first acquisition unit, for obtaining user on configuration interface for each The respectively arranged rale element of part institute, wherein each condition is presented in configuration interface in the form of card.
In embodiments of the present invention, above-mentioned card includes: for the control of relational operator to be arranged, closes for being arranged to be located at It is the control of the rale element on the left of operator and/or the control for the rale element being located on the right side of relational operator to be arranged.
In embodiments of the present invention, above-mentioned for the control of relational operator to be arranged as selection control;And/or above-mentioned use It is located at the control of the rale element on the left of relational operator in setting for selection control;And/or it is above-mentioned for the relationship of being located to be arranged The control of rale element on the right side of operator is input control.
In embodiments of the present invention, if above-mentioned rule is made of multiple conditions, above-mentioned configuration interface further include: for being arranged The control of logical operator.
In embodiments of the present invention, above-mentioned first acquisition unit, for being used to add on configuration interface in response to user The operation for adding at least one condition shows the corresponding card of each condition institute on configuration interface;In response to user to every The input operation and/or selection operation of each control shown in a card obtain user for use set by each condition In the rale element for forming each condition.
In embodiments of the present invention, above-mentioned first acquisition unit, if being made of for rule multiple conditions, in response to user To the combination operation between multiple cards, the compound card combined by multiple cards is shown on configuration interface, and multiple Close the control shown on card for logical operator to be arranged;In response to user to the behaviour of the control for logical operator to be arranged Make, obtains logical operator set by user as the rale element for connecting multiple conditions.
In embodiments of the present invention, above-mentioned compound card has the frame for wrapping the card that is combined, also, for being arranged The control of logical operator is located on frame.
In embodiments of the present invention, the above-mentioned control for logical operator to be arranged is switch button, wherein the switch is pressed The switch state of button corresponds respectively to the logical operator for characterizing "AND" relationship or the logic fortune for characterizing "or" relationship Operator;Alternatively, the control for logical operator to be arranged is switching push button, the switching state of the switching push button is right respectively Ying Yu is for characterizing the logical operator of "AND" relationship, the logical operator for characterizing "or" relationship or for characterizing " non-" close The logical operator of system.
In embodiments of the present invention, above-mentioned regular configuration device can also include: the first card adding unit, for multiple It closes card to be under selected state, in response to operation for adding conditional of the user on configuration interface, generates new card, and The card that is combined in new card and compound card is shown side by side in composite card on piece;First obtains unit, in response to User operates the setting of new card, obtains the rale element for being used to form New Terms of user setting.
In embodiments of the present invention, above-mentioned regular configuration device can also include: the second card adding unit, for multiple It closes card to be under unselected state, in response to operation for adding conditional of the user on configuration interface, generates new card, And new card and compound card are shown on configuration interface side by side;Display unit is combined, is used in response to user to composite card Combination operation between piece and new card shows the new composite card closed by compound card and new card sets on configuration interface Piece, and the control for logical operator to be arranged is shown in new composite card on piece;Second obtaining unit, in response to user couple The setting operation of new card, obtains the rale element for being used to form New Terms of user setting;Second acquisition unit, for responding In user to the input operation of the control for logical operator to be arranged and/or selection operation, logic set by user is obtained Operator.
In embodiments of the present invention, above-mentioned regular configuration device can also include: that the first card deletes unit, for multiple It closes card to be under unselected state, the deletion in response to user to the card that is combined in selected state in compound card Operation deletes the card that is combined in composite card on piece;First condition deletes unit, for deleting in the rule of generation and by group Close the corresponding condition of card.
In embodiments of the present invention, above-mentioned regular configuration device can also include: that the second card deletes unit, for multiple It closes card to be under selected state, in response to user to the delete operation of compound card, compound card is deleted in configuration interface; Second condition deletes unit, for deleting multiple conditions corresponding with compound card in the rule of generation.
In embodiments of the present invention, above-mentioned regular configuration device can also include: card separative unit, in composite card Piece is under selected state, in response to user to the lock out operation of compound card, by the card separation that is combined in compound card It is showed in configuration interface.
In embodiments of the present invention, above-mentioned rule generating unit, for basis for forming the rale element of each condition, Generate the corresponding atomic expression of each condition;Based on atomic expression, rule is determined.
In embodiments of the present invention, above-mentioned rule generating unit, if being made of for rule a condition, by a condition A corresponding atomic expression is determined as rule.
In embodiments of the present invention, above-mentioned rule generating unit, if being made of for rule multiple conditions, according to multiple Multiple atomic expressions and the rale element for connecting multiple conditions corresponding to part are generated for characterizing multiple conditions The compound expression of logical combination;Compound expression is determined as rule.
In embodiments of the present invention, above-mentioned regular configuration device can also include: transmission unit, for sending rule to industry Business processing platform and/or operational decision making node, so that service process platform and/or operational decision making node are rule-based to be processed Business is handled.
In embodiments of the present invention, above-mentioned regular configuration device can also include: third acquiring unit, for obtaining wait sentence The corresponding business datum of fixed target service;Decision package for determining by rule business datum, and generates target The corresponding result of decision of business.
In embodiments of the present invention, above-mentioned third acquiring unit, if for rule for for determining whether user is that can borrow The rule of money user, also, target service to be determined is target user's input for carrying out the request of loan application, is based on Request obtains the personal information of target user as business datum from operation system or database.
In embodiments of the present invention, above-mentioned decision package, for matching the personal information of target user with rule; If successful match, determine that target user is that can provide a loan user, and generate and be used to indicate through the loan application of target user The result of decision;Otherwise, the result of decision for being used to indicate the loan application of refusal target user is generated.
Based on the same inventive concept, the embodiment of the present invention provides a kind of computer equipment.Fig. 4 is in the embodiment of the present invention The structural schematic diagram of computer equipment, shown in Figure 4, which includes: at least one processor 401;And At least one processor 402, the bus 403 being connect with processor 401;Wherein, processor 401, memory 402 pass through bus 403 complete mutual communication;Processor 401 is used to call program instruction in memory 402, to execute said one or more The step of regular configuration method executed in computer equipment in a embodiment.
For example, computer equipment described in the embodiment of the present invention can be such as mobile phone, tablet computer, notebook It is solid to be also possible to smart television, desktop computer, server etc. for the mobile terminals such as computer, palm PC, portable computer Determine terminal.Here, the embodiment of the present invention is not specifically limited.
Correspondingly, based on the same inventive concept, the embodiment of the invention also provides a kind of processors, and processor is for running Program, wherein the rule configuration executed in computer equipment in said one or multiple embodiments is executed when program is run The step of method.
Above-mentioned processor can be by central processing unit (Central Processing Unit, CPU), microprocessor (Micro Processor Unit, MPU), digital signal processor (Digital Signal Processor, DSP) or field-programmable Gate array (Field Programmable Gate Array, FPGA) etc. is realized.Memory may include computer-readable medium In non-volatile memory, the shapes such as random access memory (Random Access Memory, RAM) and/or Nonvolatile memory Formula, if read-only memory (Read Only Memory, ROM) or flash memory (Flash RAM), memory include at least one storage Chip.
It should be noted that in embodiments of the present invention, if realized in the form of software function module said one or The regular configuration method executed in computer equipment in multiple embodiments, and when sold or used as an independent product, Also it can store in a computer readable storage medium.Based on this understanding, the technical solution of the embodiment of the present invention Substantially the part that contributes to existing technology can be embodied in the form of software products in other words, the computer software Product is stored in a storage medium, including some instructions are used so that computer equipment (can be smart phone, a People's computer, server or network equipment etc.) execute all or part of each embodiment method of the present invention.
Correspondingly, based on the same inventive concept, the embodiment of the present invention provides a kind of computer readable storage medium again, above-mentioned Computer readable storage medium includes the program of storage, wherein the computer equipment where control storage medium in program operation The step of executing the regular configuration method executed in computer equipment in said one or multiple embodiments.
It need to be noted that: the description of apparatus above, computer equipment or computer readable storage medium embodiment Description with preceding method embodiment be it is similar, have with embodiment of the method similar beneficial effect, for apparatus of the present invention, Undisclosed technical detail in computer equipment or computer readable storage medium embodiment, please refers to embodiment of the present invention method Description and understand, to be easy to read, apparatus above, computer equipment or computer readable storage medium embodiment are no longer to preceding The detail content stated in embodiment of the method is repeated one by one, it should be understood that apparatus above, computer equipment or computer can The full content realized in preceding method embodiment can be corresponded to by reading storage medium.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, equipment, system or calculate Machine program product.Therefore, the present invention can be used complete hardware embodiment, complete software embodiment or combine software and hardware side The form of the embodiment in face.Moreover, it wherein includes computer usable program code that the present invention, which can be used in one or more, Computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM (Compact Disc Read-Only Memory, CD-ROM), optical memory etc.) on the form of computer program product implemented.
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.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, RAM and/or Nonvolatile memory etc. Form, such as ROM or Flash RAM.Memory is the example of computer-readable medium.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. Computer readable storage medium can be ROM, programmable read only memory (Programmable Read-Only Memory, PROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read-Only Memory, EPROM), electricity Erasable Programmable Read Only Memory EPROM (Electrically Erasable Programmable Read-Only Memory, EEPROM), magnetic RAM (Ferromagnetic Random Access Memory, FRAM), flash The memories such as device (Flash Memory), magnetic surface storage, CD or CD-ROM;Be also possible to flash memory or its His memory techniques, CD-ROM, digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage Or other magnetic storage devices or any other non-transmission medium, it can be used for storing and can be accessed by a computing device information;Also Can be the various electronic equipments including one of above-mentioned memory or any combination, as mobile phone, computer, tablet device, Personal digital assistant etc..As defined in this article, computer-readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that the embodiment of the present invention can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the present invention Form.It is deposited moreover, the present invention can be used to can be used in the computer that one or more wherein includes computer usable program code The form for the computer program product implemented on storage media (including but not limited to magnetic disk storage, optical memory etc.).
The above is only the embodiment of the present invention, are not intended to restrict the invention.To those skilled in the art, The invention may be variously modified and varied.It is all within the spirit and principles of the present invention made by any modification, equivalent replacement, Improve etc., it should be included within scope of the presently claimed invention.

Claims (10)

1. a kind of regular configuration method executed in computer equipment, which is characterized in that the described method includes:
Show the configuration interface for being used for configuration rule;
It obtains user and passes through rale element set by the configuration interface, wherein the rale element is for forming and/or even Connect one or more conditions for composition rule;
Based on the rale element, corresponding rule is generated.
2. the method according to claim 1, wherein the rale element includes variable, constant, bracket, arithmetic At least one of among operator, relational operator and logical operator.
3. the method according to claim 1, wherein the acquisition user passes through set by the configuration interface Rale element, comprising:
User is obtained on the configuration interface by rale element set by input operation and/or selection operation.
4. method according to claim 1 or 3, which is characterized in that the configuration interface is shown as can be with item one by one Rale element is arranged in the mode of part.
5. according to the method described in claim 4, it is characterized in that, the acquisition user passes through set by the configuration interface Rale element, comprising:
User is obtained on the configuration interface for the respectively arranged rale element of each condition institute, wherein each condition with The form of card is presented in the configuration interface.
6. according to the method described in claim 5, it is characterized in that, the card includes: the control for relational operator to be arranged Part, for be arranged be located at relational operator on the left of rale element control and/or for be arranged be located at relational operator on the right side of Rale element control.
7. according to the method described in claim 6, it is characterized in that, described for the control of relational operator to be arranged as selection control Part;And/or it is described for the control for the rale element being located on the left of relational operator to be arranged as selection control;And/or it is described Control for the rale element being located on the right side of relational operator to be arranged is input control.
8. a kind of regular configuration device executed in computer equipment, which is characterized in that described device includes:
Display unit, for showing the configuration interface for being used for configuration rule;
First acquisition unit passes through rale element set by the configuration interface for obtaining user, wherein the rule member Element is for forming and/or connecting one or more conditions for composition rule;
Rule generating unit generates corresponding rule for being based on the rale element.
9. a kind of computer readable storage medium, which is characterized in that the storage medium includes the program of storage, wherein in institute Computer equipment where controlling the storage medium when stating program operation executes as described in any one of claim 1 to 7 counting The step of calculating the regular configuration method executed in machine equipment.
10. a kind of computer equipment, which is characterized in that the computer equipment includes:
At least one processor;
And at least one processor, the bus being connected to the processor;
Wherein, the processor, memory complete mutual communication by the bus;The processor is described for calling Program instruction in memory is matched with executing the rule as described in any one of claim 1 to 7 executed in computer equipment The step of setting method.
CN201910394017.2A 2019-05-13 2019-05-13 Rule configuration method and device executed in computer equipment Active CN110187874B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910394017.2A CN110187874B (en) 2019-05-13 2019-05-13 Rule configuration method and device executed in computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910394017.2A CN110187874B (en) 2019-05-13 2019-05-13 Rule configuration method and device executed in computer equipment

Publications (2)

Publication Number Publication Date
CN110187874A true CN110187874A (en) 2019-08-30
CN110187874B CN110187874B (en) 2023-12-15

Family

ID=67716074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910394017.2A Active CN110187874B (en) 2019-05-13 2019-05-13 Rule configuration method and device executed in computer equipment

Country Status (1)

Country Link
CN (1) CN110187874B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112395268A (en) * 2020-11-12 2021-02-23 中国人寿保险股份有限公司 Visual configuration method and device for complex condition rules
CN113625930A (en) * 2021-10-11 2021-11-09 统信软件技术有限公司 Data display method, computing device and readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070112717A1 (en) * 2005-02-15 2007-05-17 Serrano-Morales Carlos A Approach for re-using business rules
US20090106238A1 (en) * 2007-10-18 2009-04-23 Siemens Medical Solutions Usa, Inc Contextual Searching of Electronic Records and Visual Rule Construction
US20110087689A1 (en) * 2009-10-09 2011-04-14 Carsten Ziegler Methods and systems for providing a business repository
US20110276913A1 (en) * 2010-05-10 2011-11-10 Accenture Global Services Limited Process modeling rule validation system and method
CN103577174A (en) * 2012-08-01 2014-02-12 北京奥鹏远程教育中心有限公司 Visualized generation method and system of calculation rule scripts
CN106126215A (en) * 2016-06-17 2016-11-16 深圳市麦斯杰网络有限公司 Business rule scenario generation method and device
CN106933889A (en) * 2015-12-31 2017-07-07 华为技术有限公司 For regular collocation method, display methods and the client screened
CN109086031A (en) * 2018-06-28 2018-12-25 阿里巴巴集团控股有限公司 A kind of operational decision making method and apparatus of rule-based engine
CN109445842A (en) * 2018-09-26 2019-03-08 中国平安人寿保险股份有限公司 Rule generating method, device, computer equipment and storage medium
CN109445797A (en) * 2018-10-24 2019-03-08 北京奇虎科技有限公司 Handle task executing method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070112717A1 (en) * 2005-02-15 2007-05-17 Serrano-Morales Carlos A Approach for re-using business rules
US20090106238A1 (en) * 2007-10-18 2009-04-23 Siemens Medical Solutions Usa, Inc Contextual Searching of Electronic Records and Visual Rule Construction
US20110087689A1 (en) * 2009-10-09 2011-04-14 Carsten Ziegler Methods and systems for providing a business repository
US20110276913A1 (en) * 2010-05-10 2011-11-10 Accenture Global Services Limited Process modeling rule validation system and method
CN103577174A (en) * 2012-08-01 2014-02-12 北京奥鹏远程教育中心有限公司 Visualized generation method and system of calculation rule scripts
CN106933889A (en) * 2015-12-31 2017-07-07 华为技术有限公司 For regular collocation method, display methods and the client screened
CN106126215A (en) * 2016-06-17 2016-11-16 深圳市麦斯杰网络有限公司 Business rule scenario generation method and device
CN109086031A (en) * 2018-06-28 2018-12-25 阿里巴巴集团控股有限公司 A kind of operational decision making method and apparatus of rule-based engine
CN109445842A (en) * 2018-09-26 2019-03-08 中国平安人寿保险股份有限公司 Rule generating method, device, computer equipment and storage medium
CN109445797A (en) * 2018-10-24 2019-03-08 北京奇虎科技有限公司 Handle task executing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112395268A (en) * 2020-11-12 2021-02-23 中国人寿保险股份有限公司 Visual configuration method and device for complex condition rules
CN113625930A (en) * 2021-10-11 2021-11-09 统信软件技术有限公司 Data display method, computing device and readable storage medium

Also Published As

Publication number Publication date
CN110187874B (en) 2023-12-15

Similar Documents

Publication Publication Date Title
Etzion et al. Event processing in action
CN112036736B (en) Workflow creation method and device
Ostroff Temporal logic for real time systems
CN108352003A (en) It is presented by the single choice or multiselect data of Cooperative Database service
CN107644286A (en) Workflow processing method and device
CN107391526A (en) A kind of data processing method and equipment based on block chain
CN109597661A (en) A kind of service function configuration method and device
US20150254097A1 (en) Constructing and deploying patterns of flows
US9245256B2 (en) Assigning and managing reviews of a computing file
CN103927174A (en) Service processing method and device
CN107004008A (en) Recognized using the associated documents of the automation inquiry to different data storage locations
CN107679700A (en) Business flow processing method, apparatus and server
US10977309B2 (en) Methods and systems for creating networks
CN111966334B (en) Service processing method, device and equipment
CN108764864A (en) A kind of method, apparatus and equipment for configuring payment flow, executing payment flow
US8555181B2 (en) Method and system for constructing business rules in a business software system using intelligent tiles
CN107729483A (en) A kind of classifying indication method, device, terminal and computer-readable recording medium
CN107844530A (en) A kind of data processing method, device, server and computer-readable recording medium
CN110187874A (en) A kind of regular configuration method executed in computer equipment and device
US20230353646A1 (en) System and Method for Integrating External Services into Process Workflow Environments
Vidgof et al. Cherry-picking from spaghetti: Multi-range filtering of event logs
WO2022247965A1 (en) Bill processing
Behringer et al. A human-centered approach for interactive data processing and analytics
US9058188B2 (en) Transformative user interfaces
US20230385734A1 (en) System and Method for Persisting Data Generated in Executing A Process Workflow

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